Skip to contentSkip to conversation

2.6.0-test2: lost mouse synchronization after apm-suspend

DISCUSSION Norman Diamond 2 participants 2 messages Aug 9, 2003 – Aug 11, 2003

lore
Share & tools
lore
#0 lore raw

"Greg KH" <[email protected]> wrote to someone else:

Quoted 1 line

Unload all usb drivers before suspending please.

I hope this isn't a general rule? I can't keep up with the list, but I saw this message, and it looks like a disaster.

There are a lot of small-size desktop machines that depend on USB keyboards because they don't have PS/2 ports. In some cases the keyboard includes a PS/2 hub for a PS/2 mouse, but in some cases the keyboard doesn't even have that so the mouse is also USB. In all of these cases the connection to the CPU goes through a USB port.

How should the user restore their keyboard after resuming from suspend? A modprobe or insmod command? In the vast majority of these cases the input of a command would depend on having the USB keyboard already working.

#1 lore raw
Quoted 6 lines · Norman Diamond

"Greg KH" <[email protected]> wrote to someone else:

Quoted 1 line

Unload all usb drivers before suspending please.

I hope this isn't a general rule? I can't keep up with the list, but I saw this message, and it looks like a disaster.

Right now, yes that is the response if anyone has any problems with this, sorry.

Quoted 9 lines

There are a lot of small-size desktop machines that depend on USB keyboards because they don't have PS/2 ports. In some cases the keyboard includes a PS/2 hub for a PS/2 mouse, but in some cases the keyboard doesn't even have that so the mouse is also USB. In all of these cases the connection to the CPU goes through a USB port.

How should the user restore their keyboard after resuming from suspend? A modprobe or insmod command? In the vast majority of these cases the input of a command would depend on having the USB keyboard already working.

Have the resume script re-load the drivers. A lot of people are already doing this.

thanks,

greg k-h