42-qemu-usb.rules revision b6910d225116f68bafe2d8e2b860527493f5fdc2
0N/A#
0N/A# Enable autosuspend for qemu emulated usb hid devices.
0N/A#
0N/A# Note that there are buggy qemu versions which advertise remote
0N/A# wakeup support but don't actually implement it correctly. This
0N/A# is the reason why we need a match for the serial number here.
0N/A# The serial number "42" is used to tag the implementations where
0N/A# remote wakeup is working.
0N/A#
0N/A
0N/AACTION=="add", SUBSYSTEM=="usb", ATTR{product}=="QEMU USB Mouse", ATTR{serial}=="42", TEST=="power/control", ATTR{power/control}="auto"
0N/AACTION=="add", SUBSYSTEM=="usb", ATTR{product}=="QEMU USB Tablet", ATTR{serial}=="42", TEST=="power/control", ATTR{power/control}="auto"
0N/AACTION=="add", SUBSYSTEM=="usb", ATTR{product}=="QEMU USB Keyboard", ATTR{serial}=="42", TEST=="power/control", ATTR{power/control}="auto"
0N/A