linux-2.6.30rc1 mouse stuck with usb autosuspend enabled

From: Corrado Zoccolo
Date: Thu Apr 09 2009 - 17:54:21 EST


Hello,
I found this regression w.r.t. 2.6.29.
When enabling usb automatic power management for all usb peripherals, with:
> for i in /sys/bus/usb/devices/*/power/level; do echo auto > $i; done

after 2 seconds of inactivity (my autosuspend threshold), the mouse
gets stuck under X.
Pushing a mouse button will revive it (and the event is passed to X).
Disabling automatic power management, with:
> for i in /sys/bus/usb/devices/*/power/level; do echo on > $i; done
removes the problem.

My kernel config is attached.

Thanks,
Corrado
--
__________________________________________________________________________

dott. Corrado Zoccolo mailto:czoccolo@xxxxxxxxx
PhD - Department of Computer Science - University of Pisa, Italy
--------------------------------------------------------------------------

Attachment: kernconfig
Description: Binary data