[ltp] Suspend woes and strange hardware quirks
André Wyrwa
linux-thinkpad@linux-thinkpad.org
Wed, 29 Sep 2004 00:25:37 +0200
Hei,
it seems to me that all of your three suspend/resume problems should be
solvable by compiling the according drivers as modules and unloading
them before suspend / reloading after. These problems (with also, usb
and network drivers) have been reported a lot here.
So reconfigure your kernel, set these drivers to modules, recompile and
adjust your /etc/acpi/actions scripts to unload/reload the modules. I'm
sorry i can't give you detailed information on that for i'm not a
mandrake user and i only half adjusted my own scripts so far.
> 1. USB: I use a USB mouse quite extensively. With the current state of
> my system, if the mouse is plugged in when I turn on the machine, it's
> not detected (but it does get power). If I remove and reconnect it, it
> starts working.
Concerning the problem of an undetected mouse at startup, it sound to me
like that your hotplug boot script is not setup properly (consider this
a vague guess). Hotplug is called by the kernel when it detects that you
plug in a mouse. Since this pluggin in event doesn't occur when the
mouse is already plugged at startup, the hotplug bootup script scans for
plugged devices and processes the necessary actions to get them work
(the same as when they are plugged). Now your sympton sounds as if this
doesn't work properly.
Unfortunately again, even though i tried to dig into the hotplug
functionality enough to think that together with udev it's a cool thing
giving us nice new oportunities, it was not enough so far to understand
the whole way of how it works. Especially i couldn't figure out how the
bootup scanning works. (Does anyone know if one can find commented
hotplug scripts somewhere?)
André.