Gentoo Archives: gentoo-user

From: Peter Humphrey <peter@××××××××××××.uk>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] re: trouble with USB mouse on laptop
Date: Fri, 08 Aug 2014 08:42:08
Message-Id: 2525247.MbrZjQRbAN@wstn
In Reply to: Re: [gentoo-user] re: trouble with USB mouse on laptop by Alexander Kapshuk
1 On Friday 08 August 2014 11:11:29 Alexander Kapshuk wrote:
2 > On 08/08/2014 10:46 AM, J. Roeleveld wrote:
3
4 --->8
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 > > --
19 > > Joost
20 >
21 > Thanks very much. I did use an A4Tech USD mouse on this laptop as well
22 > with similar symptoms:
23
24 --->8
25
26 > I will google it further and give your suggestion a try.
27
28 I'm sure Joost is right. I was setting up power saving on my Thinkpad last
29 month, and I noticed the same as you. I think I set
30 AUTOSUSPEND_USBID_BLACKLIST in /etc/laptop-mode/conf.d/usb-autosuspend.conf to
31 prevent the mouse being switched off while on battery. I don't have the laptop
32 to hand at the moment to check.
33
34 If that is the cause you're looking for, it won't happen while on AC. Does it?
35
36 (I seem to be writing backwards this morning. I hope it's clear enough.)
37
38 --
39 Regards
40 Peter

Replies

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