Thread (5 messages) 5 messages, 3 authors, 2012-08-13

Re: 3.5.1 hid_generic causes mouse locking until a button is clicked

From: Bruno Prémont <bonbons@linux-vserver.org>
Date: 2012-08-12 17:54:11

Hi,

On Sat, 11 August 2012 Dâniel Fraga [off-list ref] wrote:
	I upgraded from 3.4.4 to 3.5.1 kernel and now I see the new
hid_generic module is causing problem with my mouse (a regular Logitech
USB optical mouse).

	The problem is: after 2 seconds without moving the mouse, the
pointer will NOT move again UNLESS I click a mouse button.

	So now I have to click a button everytime I want to "unlock"
the mouse pointer. It didn't happen with 3.4.4 so it's clearly a
regression.

Any hints? I can try patches. Thanks.
This might be USB-autosuspend. 2 seconds seems to match the default
delay for autosuspending USB devices.

Have a look at the values under /power/ for your USB devices.
(probably the port to which your mouse is connected and/or the mouse
itself).
Check if disabling USB-autosuspend helps.

Compare the output of:
  grep . /sys/bus/usb/devices/*/power/*
for the time your mouse can move your pointer and when it can't.
Also change the autosuspend delay or disable autosuspend for the
mouse.

See also in your kernel sources:
  Documentation/usb/power-management.txt
  Documentation/ABI/testing/sysfs-bus-usb


Bruno
--
To unsubscribe from this list: send the line "unsubscribe linux-input" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help