mirror of
https://github.com/systemd/systemd.git
synced 2025-03-25 18:50:18 +03:00
hid2hci: remove superfluous bmAttributes match
For the retrigger of the device on remove we were trying to match bmAttributes of self powered which is unnecessary.
This commit is contained in:
parent
2ffc9cc191
commit
8a0217ffd4
@ -19,8 +19,7 @@ ENV{DEVTYPE}!="usb_device", GOTO="hid2hci_end"
|
||||
# When a Dell device recovers from S3, the mouse child needs to be repoked
|
||||
# Unfortunately the only event seen is the BT device disappearing, so the mouse
|
||||
# device needs to be chased down on the USB bus.
|
||||
ATTR{bDeviceClass}=="e0", ATTR{bDeviceSubClass}=="01", ATTR{bDeviceProtocol}=="01", \
|
||||
ATTR{idVendor}=="413c", ATTR{bmAttributes}=="e0", \
|
||||
ATTR{bDeviceClass}=="e0", ATTR{bDeviceSubClass}=="01", ATTR{bDeviceProtocol}=="01", ATTR{idVendor}=="413c", \
|
||||
ENV{REMOVE_CMD}="/sbin/udevadm trigger --action=change --subsystem-match=usb --property-match=HID2HCI_SWITCH=1"
|
||||
|
||||
# CSR devices
|
||||
|
Loading…
x
Reference in New Issue
Block a user