Gentoo Archives: gentoo-user

From: Alexander Kapshuk <alexander.kapshuk@×××××.com>
To: Gentoo mailing list <gentoo-user@l.g.o>
Subject: Re: [gentoo-user] re: trouble with USB mouse on laptop
Date: Thu, 28 Aug 2014 13:25:08
Message-Id: CAJ1xhMWN3S+Asffs8jswghwDBGnhy54k_BztxuZrvgX86bENFg@mail.gmail.com
In Reply to: Re: [gentoo-user] re: trouble with USB mouse on laptop by "J. Roeleveld"
1 On Thu, Aug 28, 2014 at 3:49 PM, J. Roeleveld <joost@××××××××.org> wrote:
2 > On Saturday, August 23, 2014 03:51:40 PM Alexander Kapshuk wrote:
3 >> On 08/08/2014 10:46 AM, J. Roeleveld wrote:
4 >
5 > <snipped>
6 >
7 >> > Alternatively, disable USB powersaving:
8 >> >
9 >> > # for i in /sys/bus/usb/devices/*/power/autosuspend;
10 >> >
11 >> > do echo 2 > $i;
12 >> > done
13 >> >
14 >> > # for foo in /sys/bus/usb/devices/*/power/level;
15 >> >
16 >> > do echo on > $foo;
17 >> > done
18 >>
19 >> I've done as suggested above as well as set AUTOSUSPEND_USBID_BLACKLIST
20 >> in /etc/laptop-mode/conf.d/usb-autosuspend.conf to the ID of my USB
21 >> mouse. So far the mouse has been working OK.
22 >>
23 >> Thanks for your help.
24 >
25 > Glad to hear this works.
26 > Do keep in mind this disables powersaving for ALL USB devices.
27 >
28 > You might want to adjust the scripts to only disable it for the mouse if you
29 > want to have a longer battery-life.
30 >
31 > --
32 > Joost
33 >
34
35 Thanks.