You are not logged in.

#1 2022-09-30 12:10:00

mahdi
Member
Registered: 2021-12-17
Posts: 40

[bug] wireless USB keyboard / mouse doesn't wake up device

wireless USB keyboard / mouse doesn't wake up the device from sleep. Windows doesn't have such problem.

I wasn't successful in reporting it: https://bugs.archlinux.org/task/76073
I didn't mention it is wireless, there, but I was mentioned it in re-open request.

Last edited by mahdi (2022-09-30 12:16:45)

Offline

#2 2022-09-30 12:31:48

V1del
Forum Moderator
Registered: 2012-10-16
Posts: 21,427

Re: [bug] wireless USB keyboard / mouse doesn't wake up device

You re-open request won't be granted as you reported the issue against pacman while this has no relation to pacman. You are also providing too little details for a potential bug report to be remotely useful.

What actual real device is this, which driver does it use, did you try disabling usb autosuspend (usbcore.autosuspend=-1 on the kernel command-line) did you check whether the device shows up anywhere in https://wiki.archlinux.org/title/Power_ … p_triggers what's your output of

lsusb

etc...

Offline

#3 2022-09-30 12:45:19

mahdi
Member
Registered: 2021-12-17
Posts: 40

Re: [bug] wireless USB keyboard / mouse doesn't wake up device

$ lsusb
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 005 Device 002: ID 413c:8126 Dell Computer Corp. Wireless 355 Bluetooth
Bus 005 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 004 Device 002: ID 046d:c52f Logitech, Inc. Unifying Receiver
Bus 004 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 003 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 002 Device 002: ID 046d:c52b Logitech, Inc. Unifying Receiver
Bus 002 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
$ grep . /sys/bus/usb/devices/*/power/wakeup
/sys/bus/usb/devices/2-1/power/wakeup:enabled
/sys/bus/usb/devices/4-1/power/wakeup:disabled
/sys/bus/usb/devices/5-2/power/wakeup:disabled
/sys/bus/usb/devices/usb1/power/wakeup:disabled
/sys/bus/usb/devices/usb2/power/wakeup:disabled
/sys/bus/usb/devices/usb3/power/wakeup:disabled
/sys/bus/usb/devices/usb4/power/wakeup:disabled
/sys/bus/usb/devices/usb5/power/wakeup:disabled

I don't think usbcore.autosuspend=-1 is problem as the below commands solve the problem:

# echo enabled > /sys/bus/usb/devices/5-1/power/wakeup
# echo enabled > /sys/bus/usb/devices/5-2/power/wakeup
# echo enabled > /sys/bus/usb/devices/usb1/power/wakeup
# echo enabled > /sys/bus/usb/devices/usb2/power/wakeup
# echo enabled > /sys/bus/usb/devices/usb3/power/wakeup
# echo enabled > /sys/bus/usb/devices/usb4/power/wakeup
# echo enabled > /sys/bus/usb/devices/usb5/power/wakeup

However, I'm not expert

Last edited by mahdi (2022-09-30 12:53:59)

Offline

#4 2022-09-30 13:02:46

mahdi
Member
Registered: 2021-12-17
Posts: 40

Re: [bug] wireless USB keyboard / mouse doesn't wake up device

I don't think being wireless is the case as it uses USB dongle

Last edited by mahdi (2022-09-30 13:03:04)

Offline

#5 2022-09-30 13:26:20

V1del
Forum Moderator
Registered: 2012-10-16
Posts: 21,427

Re: [bug] wireless USB keyboard / mouse doesn't wake up device

See the literal example in https://wiki.archlinux.org/title/Power_ … _with_udev set it to enabled instead of disabled and adjust the productId appropriately.

ACTION=="add", SUBSYSTEM=="usb", DRIVERS=="usb", ATTRS{idVendor}=="046d", ATTRS{idProduct}=="c52b|c52f", ATTR{power/wakeup}="enabled"

If that is not sufficient also specify the actual usb bus granted you don't change that often, an example for that is in the link you find when you follow the linked section.

Last edited by V1del (2022-09-30 13:31:32)

Offline

#6 2022-09-30 14:02:42

mahdi
Member
Registered: 2021-12-17
Posts: 40

Re: [bug] wireless USB keyboard / mouse doesn't wake up device

V1del wrote:

you reported the issue against pacman

I'm not going to open another bug report as it is for experts but FYI "add new task" link in https://bugs.archlinux.org/ open a task for pacman

Offline

#7 2022-09-30 14:08:06

V1del
Forum Moderator
Registered: 2012-10-16
Posts: 21,427

Re: [bug] wireless USB keyboard / mouse doesn't wake up device

Only if the dropdown below your username is set to the pacman space, if you switch that to All Projects you can file bug reports against normal packages.

But if you can fix this with udev configuration then there really is nno bug and you just need to configure things to your preference.

Offline

Board footer

Powered by FluxBB