Gentoo Archives: gentoo-user

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

Replies

Subject Author
Re: [gentoo-user] re: trouble with USB mouse on laptop Alexander Kapshuk <alexander.kapshuk@×××××.com>