public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-user] re: trouble with USB mouse on laptop
@ 2014-08-08  7:30 Alexander Kapshuk
  2014-08-08  7:46 ` J. Roeleveld
  0 siblings, 1 reply; 8+ messages in thread
From: Alexander Kapshuk @ 2014-08-08  7:30 UTC (permalink / raw
  To: gentoo-user

Howdy,

I've been having trouble with USB mice on my laptop, with the mouse
pointer and the scroll wheel not responding all the time. It's not until
I click either button that the mouse starts responding again.

The output taken from /var/log/messages shown below does not seem out of
the ordinary:
Aug  8 09:32:56 localhost kernel: [ 5692.801085] usb 4-2: new low-speed
USB device number 6 using uhci_h
cd
Aug  8 09:32:56 localhost kernel: [ 5692.968100] usb 4-2: New USB device
found, idVendor=045e, idProduct
=0084
Aug  8 09:32:56 localhost kernel: [ 5692.968109] usb 4-2: New USB device
strings: Mfr=1, Product=2, Seri
alNumber=0
Aug  8 09:32:56 localhost kernel: [ 5692.968116] usb 4-2: Product:
Microsoft Basic Optical Mouse
Aug  8 09:32:56 localhost kernel: [ 5692.968121] usb 4-2: Manufacturer:
Microsoft
Aug  8 09:32:56 localhost kernel: [ 5692.995929] input: Microsoft
Microsoft Basic Optical Mouse as /devi
ces/pci0000:00/0000:00:1a.1/usb4/4-2/4-2:1.0/0003:045E:0084.0005/input/input12
Aug  8 09:32:56 localhost kernel: [ 5692.996296] hid-generic
0003:045E:0084.0005: input,hidraw0: USB HID
 v1.11 Mouse [Microsoft Microsoft Basic Optical Mouse] on
usb-0000:00:1a.1-2/input0
Aug  8 09:32:56 localhost mtp-probe: checking bus 4, device 6:
"/sys/devices/pci0000:00/0000:00:1a.1/usb4/4-2"
Aug  8 09:32:56 localhost mtp-probe: bus: 4, device: 6 was not an MTP device

Your advice would be appreciated.

Alexander Kapshuk.



^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: [gentoo-user] re: trouble with USB mouse on laptop
  2014-08-08  7:30 [gentoo-user] re: trouble with USB mouse on laptop Alexander Kapshuk
@ 2014-08-08  7:46 ` J. Roeleveld
  2014-08-08  8:11   ` Alexander Kapshuk
  2014-08-23 12:51   ` Alexander Kapshuk
  0 siblings, 2 replies; 8+ messages in thread
From: J. Roeleveld @ 2014-08-08  7:46 UTC (permalink / raw
  To: gentoo-user

On Friday, August 08, 2014 10:30:55 AM Alexander Kapshuk wrote:
> Howdy,
> 
> I've been having trouble with USB mice on my laptop, with the mouse
> pointer and the scroll wheel not responding all the time. It's not until
> I click either button that the mouse starts responding again.
> 
> The output taken from /var/log/messages shown below does not seem out of
> the ordinary:
> Aug  8 09:32:56 localhost kernel: [ 5692.801085] usb 4-2: new low-speed
> USB device number 6 using uhci_h
> cd
> Aug  8 09:32:56 localhost kernel: [ 5692.968100] usb 4-2: New USB device
> found, idVendor=045e, idProduct
> =0084
> Aug  8 09:32:56 localhost kernel: [ 5692.968109] usb 4-2: New USB device
> strings: Mfr=1, Product=2, Seri
> alNumber=0
> Aug  8 09:32:56 localhost kernel: [ 5692.968116] usb 4-2: Product:
> Microsoft Basic Optical Mouse
> Aug  8 09:32:56 localhost kernel: [ 5692.968121] usb 4-2: Manufacturer:
> Microsoft
> Aug  8 09:32:56 localhost kernel: [ 5692.995929] input: Microsoft
> Microsoft Basic Optical Mouse as /devi
> ces/pci0000:00/0000:00:1a.1/usb4/4-2/4-2:1.0/0003:045E:0084.0005/input/input
> 12 Aug  8 09:32:56 localhost kernel: [ 5692.996296] hid-generic
> 0003:045E:0084.0005: input,hidraw0: USB HID
>  v1.11 Mouse [Microsoft Microsoft Basic Optical Mouse] on
> usb-0000:00:1a.1-2/input0
> Aug  8 09:32:56 localhost mtp-probe: checking bus 4, device 6:
> "/sys/devices/pci0000:00/0000:00:1a.1/usb4/4-2"
> Aug  8 09:32:56 localhost mtp-probe: bus: 4, device: 6 was not an MTP device
> 
> Your advice would be appreciated.
> 
> Alexander Kapshuk.

Looks like quite a few people have issues with that mouse. Googling for 
"idVendor=045e, idProduct=0084" brings up several hits with people describing 
what you are seeing.

Basically, it looks like the latest firmware on the mouse seems to have some 
powersaving functions that don't work properly.

Can you test with a different mouse to see if that one works?
Alternatively, disable USB powersaving:

# for i in /sys/bus/usb/devices/*/power/autosuspend;
    do echo 2 > $i;
    done

# for foo in /sys/bus/usb/devices/*/power/level;
  do echo on > $foo;
  done

--
Joost


^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: [gentoo-user] re: trouble with USB mouse on laptop
  2014-08-08  7:46 ` J. Roeleveld
@ 2014-08-08  8:11   ` Alexander Kapshuk
  2014-08-08  8:41     ` Peter Humphrey
  2014-08-23 12:51   ` Alexander Kapshuk
  1 sibling, 1 reply; 8+ messages in thread
From: Alexander Kapshuk @ 2014-08-08  8:11 UTC (permalink / raw
  To: gentoo-user

On 08/08/2014 10:46 AM, J. Roeleveld wrote:
> On Friday, August 08, 2014 10:30:55 AM Alexander Kapshuk wrote:
>> Howdy,
>>
>> I've been having trouble with USB mice on my laptop, with the mouse
>> pointer and the scroll wheel not responding all the time. It's not until
>> I click either button that the mouse starts responding again.
>>
>> The output taken from /var/log/messages shown below does not seem out of
>> the ordinary:
>> Aug  8 09:32:56 localhost kernel: [ 5692.801085] usb 4-2: new low-speed
>> USB device number 6 using uhci_h
>> cd
>> Aug  8 09:32:56 localhost kernel: [ 5692.968100] usb 4-2: New USB device
>> found, idVendor=045e, idProduct
>> =0084
>> Aug  8 09:32:56 localhost kernel: [ 5692.968109] usb 4-2: New USB device
>> strings: Mfr=1, Product=2, Seri
>> alNumber=0
>> Aug  8 09:32:56 localhost kernel: [ 5692.968116] usb 4-2: Product:
>> Microsoft Basic Optical Mouse
>> Aug  8 09:32:56 localhost kernel: [ 5692.968121] usb 4-2: Manufacturer:
>> Microsoft
>> Aug  8 09:32:56 localhost kernel: [ 5692.995929] input: Microsoft
>> Microsoft Basic Optical Mouse as /devi
>> ces/pci0000:00/0000:00:1a.1/usb4/4-2/4-2:1.0/0003:045E:0084.0005/input/input
>> 12 Aug  8 09:32:56 localhost kernel: [ 5692.996296] hid-generic
>> 0003:045E:0084.0005: input,hidraw0: USB HID
>>  v1.11 Mouse [Microsoft Microsoft Basic Optical Mouse] on
>> usb-0000:00:1a.1-2/input0
>> Aug  8 09:32:56 localhost mtp-probe: checking bus 4, device 6:
>> "/sys/devices/pci0000:00/0000:00:1a.1/usb4/4-2"
>> Aug  8 09:32:56 localhost mtp-probe: bus: 4, device: 6 was not an MTP device
>>
>> Your advice would be appreciated.
>>
>> Alexander Kapshuk.
> Looks like quite a few people have issues with that mouse. Googling for 
> "idVendor=045e, idProduct=0084" brings up several hits with people describing 
> what you are seeing.
>
> Basically, it looks like the latest firmware on the mouse seems to have some 
> powersaving functions that don't work properly.
>
> Can you test with a different mouse to see if that one works?
> Alternatively, disable USB powersaving:
>
> # for i in /sys/bus/usb/devices/*/power/autosuspend;
>     do echo 2 > $i;
>     done
>
> # for foo in /sys/bus/usb/devices/*/power/level;
>   do echo on > $foo;
>   done
>
> --
> Joost
>
Thanks very much. I did use an A4Tech USD mouse on this laptop as well
with similar symptoms:
Aug  8 11:08:28 localhost kernel: [11424.824081] usb 4-2: new low-speed
USB device number 9 using uhci_h
cd
Aug  8 11:08:28 localhost kernel: [11424.984472] usb 4-2: New USB device
found, idVendor=09da, idProduct=000a
Aug  8 11:08:28 localhost kernel: [11424.984482] usb 4-2: New USB device
strings: Mfr=1, Product=2, SerialNumber=0
Aug  8 11:08:28 localhost kernel: [11424.984488] usb 4-2: Product:
PS/2+USB Mouse
Aug  8 11:08:28 localhost kernel: [11424.984493] usb 4-2: Manufacturer:
A4Tech
Aug  8 11:08:28 localhost kernel: [11425.010391] input: A4Tech PS/2+USB
Mouse as
/devices/pci0000:00/0000:00:1a.1/usb4/4-2/4-2:1.0/0003:09DA:000A.0008/input/input15
Aug  8 11:08:28 localhost kernel: [11425.010736] a4tech
0003:09DA:000A.0008: input,hidraw0: USB HID v1.10 Mouse [A4Tech PS/2+USB
Mouse] on usb-0000:00:1a.1-2/input0
Aug  8 11:08:28 localhost mtp-probe: checking bus 4, device 9:
"/sys/devices/pci0000:00/0000:00:1a.1/usb4/4-2"
Aug  8 11:08:28 localhost mtp-probe: bus: 4, device: 9 was not an MTP device

I will google it further and give your suggestion a try.



^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: [gentoo-user] re: trouble with USB mouse on laptop
  2014-08-08  8:11   ` Alexander Kapshuk
@ 2014-08-08  8:41     ` Peter Humphrey
  2014-08-08  8:48       ` Alexander Kapshuk
  0 siblings, 1 reply; 8+ messages in thread
From: Peter Humphrey @ 2014-08-08  8:41 UTC (permalink / raw
  To: gentoo-user

On Friday 08 August 2014 11:11:29 Alexander Kapshuk wrote:
> On 08/08/2014 10:46 AM, J. Roeleveld wrote:

--->8

> > Alternatively, disable USB powersaving:
> > 
> > # for i in /sys/bus/usb/devices/*/power/autosuspend;
> > 
> >     do echo 2 > $i;
> >     done
> > 
> > # for foo in /sys/bus/usb/devices/*/power/level;
> > 
> >   do echo on > $foo;
> >   done
> > 
> > --
> > Joost
> 
> Thanks very much. I did use an A4Tech USD mouse on this laptop as well
> with similar symptoms:

--->8

> I will google it further and give your suggestion a try.

I'm sure Joost is right. I was setting up power saving on my Thinkpad last 
month, and I noticed the same as you. I think I set 
AUTOSUSPEND_USBID_BLACKLIST in /etc/laptop-mode/conf.d/usb-autosuspend.conf to 
prevent the mouse being switched off while on battery. I don't have the laptop 
to hand at the moment to check.

If that is the cause you're looking for, it won't happen while on AC. Does it?

(I seem to be writing backwards this morning. I hope it's clear enough.)

-- 
Regards
Peter



^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: [gentoo-user] re: trouble with USB mouse on laptop
  2014-08-08  8:41     ` Peter Humphrey
@ 2014-08-08  8:48       ` Alexander Kapshuk
  0 siblings, 0 replies; 8+ messages in thread
From: Alexander Kapshuk @ 2014-08-08  8:48 UTC (permalink / raw
  To: gentoo-user

On 08/08/2014 11:41 AM, Peter Humphrey wrote:
> I'm sure Joost is right. I was setting up power saving on my Thinkpad last 
> month, and I noticed the same as you. I think I set 
> AUTOSUSPEND_USBID_BLACKLIST in /etc/laptop-mode/conf.d/usb-autosuspend.conf to 
> prevent the mouse being switched off while on battery. I don't have the laptop 
> to hand at the moment to check.
>
> If that is the cause you're looking for, it won't happen while on AC. Does it?
>
> (I seem to be writing backwards this morning. I hope it's clear enough.)
No, you're right.

My laptop battery died a while back, so it's running on AC all the time.
I'll have to tweak my USB power saving settings as Joost and yourself
have suggested. The Microsoft mouse seems to run well on my desktop though.

Thanks.



^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: [gentoo-user] re: trouble with USB mouse on laptop
  2014-08-08  7:46 ` J. Roeleveld
  2014-08-08  8:11   ` Alexander Kapshuk
@ 2014-08-23 12:51   ` Alexander Kapshuk
  2014-08-28 12:49     ` J. Roeleveld
  1 sibling, 1 reply; 8+ messages in thread
From: Alexander Kapshuk @ 2014-08-23 12:51 UTC (permalink / raw
  To: gentoo-user

On 08/08/2014 10:46 AM, J. Roeleveld wrote:
> On Friday, August 08, 2014 10:30:55 AM Alexander Kapshuk wrote:
>> Howdy,
>>
>> I've been having trouble with USB mice on my laptop, with the mouse
>> pointer and the scroll wheel not responding all the time. It's not until
>> I click either button that the mouse starts responding again.
>>
>> The output taken from /var/log/messages shown below does not seem out of
>> the ordinary:
>> Aug  8 09:32:56 localhost kernel: [ 5692.801085] usb 4-2: new low-speed
>> USB device number 6 using uhci_h
>> cd
>> Aug  8 09:32:56 localhost kernel: [ 5692.968100] usb 4-2: New USB device
>> found, idVendor=045e, idProduct
>> =0084
>> Aug  8 09:32:56 localhost kernel: [ 5692.968109] usb 4-2: New USB device
>> strings: Mfr=1, Product=2, Seri
>> alNumber=0
>> Aug  8 09:32:56 localhost kernel: [ 5692.968116] usb 4-2: Product:
>> Microsoft Basic Optical Mouse
>> Aug  8 09:32:56 localhost kernel: [ 5692.968121] usb 4-2: Manufacturer:
>> Microsoft
>> Aug  8 09:32:56 localhost kernel: [ 5692.995929] input: Microsoft
>> Microsoft Basic Optical Mouse as /devi
>> ces/pci0000:00/0000:00:1a.1/usb4/4-2/4-2:1.0/0003:045E:0084.0005/input/input
>> 12 Aug  8 09:32:56 localhost kernel: [ 5692.996296] hid-generic
>> 0003:045E:0084.0005: input,hidraw0: USB HID
>>  v1.11 Mouse [Microsoft Microsoft Basic Optical Mouse] on
>> usb-0000:00:1a.1-2/input0
>> Aug  8 09:32:56 localhost mtp-probe: checking bus 4, device 6:
>> "/sys/devices/pci0000:00/0000:00:1a.1/usb4/4-2"
>> Aug  8 09:32:56 localhost mtp-probe: bus: 4, device: 6 was not an MTP device
>>
>> Your advice would be appreciated.
>>
>> Alexander Kapshuk.
> Looks like quite a few people have issues with that mouse. Googling for 
> "idVendor=045e, idProduct=0084" brings up several hits with people describing 
> what you are seeing.
>
> Basically, it looks like the latest firmware on the mouse seems to have some 
> powersaving functions that don't work properly.
>
> Can you test with a different mouse to see if that one works?
> Alternatively, disable USB powersaving:
>
> # for i in /sys/bus/usb/devices/*/power/autosuspend;
>     do echo 2 > $i;
>     done
>
> # for foo in /sys/bus/usb/devices/*/power/level;
>   do echo on > $foo;
>   done
>
> --
> Joost
>
I've done as suggested above as well as set AUTOSUSPEND_USBID_BLACKLIST
in /etc/laptop-mode/conf.d/usb-autosuspend.conf to the ID of my USB
mouse. So far the mouse has been working OK.

Thanks for your help.



^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: [gentoo-user] re: trouble with USB mouse on laptop
  2014-08-23 12:51   ` Alexander Kapshuk
@ 2014-08-28 12:49     ` J. Roeleveld
  2014-08-28 13:24       ` Alexander Kapshuk
  0 siblings, 1 reply; 8+ messages in thread
From: J. Roeleveld @ 2014-08-28 12:49 UTC (permalink / raw
  To: gentoo-user

On Saturday, August 23, 2014 03:51:40 PM Alexander Kapshuk wrote:
> On 08/08/2014 10:46 AM, J. Roeleveld wrote:

<snipped>

> > Alternatively, disable USB powersaving:
> > 
> > # for i in /sys/bus/usb/devices/*/power/autosuspend;
> > 
> >     do echo 2 > $i;
> >     done
> > 
> > # for foo in /sys/bus/usb/devices/*/power/level;
> > 
> >   do echo on > $foo;
> >   done
> 
> I've done as suggested above as well as set AUTOSUSPEND_USBID_BLACKLIST
> in /etc/laptop-mode/conf.d/usb-autosuspend.conf to the ID of my USB
> mouse. So far the mouse has been working OK.
> 
> Thanks for your help.

Glad to hear this works.
Do keep in mind this disables powersaving for ALL USB devices.

You might want to adjust the scripts to only disable it for the mouse if you 
want to have a longer battery-life.

--
Joost


^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: [gentoo-user] re: trouble with USB mouse on laptop
  2014-08-28 12:49     ` J. Roeleveld
@ 2014-08-28 13:24       ` Alexander Kapshuk
  0 siblings, 0 replies; 8+ messages in thread
From: Alexander Kapshuk @ 2014-08-28 13:24 UTC (permalink / raw
  To: Gentoo mailing list

On Thu, Aug 28, 2014 at 3:49 PM, J. Roeleveld <joost@antarean.org> wrote:
> On Saturday, August 23, 2014 03:51:40 PM Alexander Kapshuk wrote:
>> On 08/08/2014 10:46 AM, J. Roeleveld wrote:
>
> <snipped>
>
>> > Alternatively, disable USB powersaving:
>> >
>> > # for i in /sys/bus/usb/devices/*/power/autosuspend;
>> >
>> >     do echo 2 > $i;
>> >     done
>> >
>> > # for foo in /sys/bus/usb/devices/*/power/level;
>> >
>> >   do echo on > $foo;
>> >   done
>>
>> I've done as suggested above as well as set AUTOSUSPEND_USBID_BLACKLIST
>> in /etc/laptop-mode/conf.d/usb-autosuspend.conf to the ID of my USB
>> mouse. So far the mouse has been working OK.
>>
>> Thanks for your help.
>
> Glad to hear this works.
> Do keep in mind this disables powersaving for ALL USB devices.
>
> You might want to adjust the scripts to only disable it for the mouse if you
> want to have a longer battery-life.
>
> --
> Joost
>

Thanks.


^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2014-08-28 13:25 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-08-08  7:30 [gentoo-user] re: trouble with USB mouse on laptop Alexander Kapshuk
2014-08-08  7:46 ` J. Roeleveld
2014-08-08  8:11   ` Alexander Kapshuk
2014-08-08  8:41     ` Peter Humphrey
2014-08-08  8:48       ` Alexander Kapshuk
2014-08-23 12:51   ` Alexander Kapshuk
2014-08-28 12:49     ` J. Roeleveld
2014-08-28 13:24       ` Alexander Kapshuk

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox