2 # Enable autosuspend for qemu emulated usb hid devices.
4 # Note that there are buggy qemu versions which advertise remote
5 # wakeup support but don't actually implement it correctly. This
6 # is the reason why we need a match for the serial number here.
7 # The serial number "42" is used to tag the implementations where
8 # remote wakeup is working.
11 ACTION=="add", SUBSYSTEM=="usb", ATTR{product}=="QEMU USB Mouse", ATTR{serial}=="42", TEST=="power/control", ATTR{power/control}="auto"
12 ACTION=="add", SUBSYSTEM=="usb", ATTR{product}=="QEMU USB Tablet", ATTR{serial}=="42", TEST=="power/control", ATTR{power/control}="auto"
13 CTION=="add", SUBSYSTEM=="usb", ATTR{product}=="QEMU USB Keyboard", ATTR{serial}=="42", TEST=="power/control", ATTR{power/control}="auto"