You are not logged in.

#1 2015-09-22 22:38:24

thoth
Member
Registered: 2010-01-10
Posts: 112

USB autosuspend

following this:
https://wiki.archlinux.org/index.php/Po … utosuspend

I opted for the whitelist:

cat /etc/udev/rules.d/50-usb_power_save.rules
# whitelist for usb autosuspend
ACTION=="add", SUBSYSTEM=="usb", TEST=="power/control", ATTR{idVendor}=="05c6", ATTR{idProduct}=="9205", ATTR{power/control}="auto"

cat /etc/modprobe.d/usb-autosuspend.conf
options usbcore autosuspend=500

However, my mouse continues to sleep after 2 seconds.

Looking at the numerous older posts on this subject

I don't have laptop mode tools installed, nor acpid, I ran powertop --auto-tune in the past, but not in many reboots.  What else could be shortening this?  Does powertop leave some configuration somewhere I'm forgetting about?

Offline

#2 2015-09-22 23:06:14

lucke
Member
From: Poland
Registered: 2004-11-30
Posts: 4,019

Re: USB autosuspend

As the wiki says, use lsusb to get values for your device.

-edit-

What does "cat /proc/cmdline" show?

-edit-

Try setting autosuspend to -1, not 500.

Last edited by lucke (2015-09-22 23:14:49)

Offline

#3 2015-09-22 23:20:22

thoth
Member
Registered: 2010-01-10
Posts: 112

Re: USB autosuspend

but please notice I setup a whitelist!  And the ID in that whitelist is not the one associated with my mouse:

sudo lsusb|grep Razer
Bus 001 Device 007: ID 1532:0040 Razer USA, Ltd 

so it should not be affected by the timeout at all, and furthermore the modprobe conf ought to make that timeout 500 seconds?

Offline

#4 2015-09-22 23:40:17

lucke
Member
From: Poland
Registered: 2004-11-30
Posts: 4,019

Re: USB autosuspend

What does "cat /sys/bus/usb/devices/1-6/power/control /sys/bus/usb/devices/1-6/uevent" say?

What does "cat /sys/module/usbcore/parameters/autosuspend" say?

Offline

Board footer

Powered by FluxBB