Hotplug USB mouse bugs in 2.4+swsusp
I'm not sure if this is a general kernel issue, a hotplug issue, a USB issue, or a swsusp issue, so I'm hoping for guidance here.
I'm running 2.4.21 (+ latest ACPI, toshiba ACPI, and swsusp pre14) and to get my USB mouse working at all with swsusp I had to use hotplug. However, I'm having a number of problems.
1)
The mouse, under normal operation at times of heavy CPU or disk usage, will be spontaneously lost. No messages are issued. Physically unplugging and re-plugging the mouse restores it.
2)
No matter what I've tried, after switching to using hotplug (previously I had been using the 2.5 kernel w/o the hotplug daemon), I have been unable to get the internal pointer multiplexed into /dev/input/mice. USB mouse shows up under /dev/input/mice and internal pointer shows up under /dev/psaux only.
3)
After suspend & resume, USB mouse is gone. Physically replugging it doesn't help. /etc/init.d/hotplug restart fixes it.
Any ideas? /proc cats, dmesgs, .configs, etc, available upon request.
Thanks much!
Eric
Quoted 7 lines · Eric Altendorf
I'm running 2.4.21 (+ latest ACPI, toshiba ACPI, and swsusp pre14) and to get my USB mouse working at all with swsusp I had to use hotplug. However, I'm having a number of problems.
3)
After suspend & resume, USB mouse is gone. Physically replugging it doesn't help./etc/init.d/hotplugrestart fixes it.
That would imply issues with the hotplug driver what we could perhaps fix using the recently added notifier chain. I'll look into it for you. This chain was added after pre14, so you may already get some relief by trying a newer version of swsusp.
Regards,
Nigel
Signature · 6 lines
Nigel Cunningham 495 St Georges Road South, Hastings 4201, New Zealand You see, at just the right time, when we were still powerless, Christ died for the ungodly. -- Romans 5:6, NIV.
Quoted 4 lines · Eric Altendorf
1)
The mouse, under normal operation at times of heavy CPU or disk usage, will be spontaneously lost. No messages are issued. Physically unplugging and re-plugging the mouse restores it.
Can be anything, from lost interrupts to noise on the USB connection. Need more data.
Quoted 6 lines
2)
No matter what I've tried, after switching to using hotplug (previously I had been using the 2.5 kernel w/o the hotplug daemon), I have been unable to get the internal pointer multiplexed into/dev/input/mice. USB mouse shows up under/dev/input/miceand internal pointer shows up under/dev/psauxonly.
Not possible. They're handled by the very same code in 2.5.
Quoted 3 lines
3)
After suspend & resume, USB mouse is gone. Physically replugging it doesn't help./etc/init.d/hotplugrestart fixes it.
No idea here. Too many scripts involved.
Signature · 2 lines
Vojtech Pavlik SuSE Labs, SuSE CR