You are not logged in.
https://www.kernel.org/doc/Documentatio … gement.txt
power/wakeup
This file is empty if the device does not support
remote wakeup. Otherwise the file contains either the
word "enabled" or the word "disabled", and you can
write those words to the file. The setting determines
whether or not remote wakeup will be enabled when the
device is next suspended. (If the setting is changed
while the device is suspended, the change won't take
effect until the following suspend.)
So can someone point me to the part of source in the kernel that determines it to be "enabled" or "disabled"? For example I have two USB mouse/keybaord driver receivers:
logitech-djreceiver 0003:046D:C52B.0003: hiddev0,hidraw0: USB HID v1.11 Device [Logitech USB Receiver] on usb-0000:00:14.0-13/input2
hid-generic 0003:046D:C52E.0005: input,hidraw2: USB HID v1.11 Keyboard [Logitech USB Receiver] on usb-0000:00:14.0-14/input0
The one runs on the driver "hid-generic" has a default value "enabled", while the one on "logitech-djreceiver" has "disabled" (without any relavant udev rules). But I don't quite see any code in these module related to the attribute.
Offline