Kernel 2.6.12, suspend and hotplug (success!)
Joan Tur
joantur at cancullet.org
Mon Aug 1 16:00:51 UTC 2005
Es Dilluns, 1 de Agost de 2005 15:41, en Marius Gedminas va escriure:
| On Mon, Aug 01, 2005 at 04:25:46PM +0300, Marius Gedminas wrote:
| > On Mon, Jul 25, 2005 at 04:00:22PM +0300, Marius Gedminas wrote:
| > > I installed linux-image-2.4.16-3-686 from Breezy on my Hoary laptop.
| > > Since them I'm happy to report that the keyboard doesn't wedge up if I
| > > press a key while the laptop is not fully resumed. However, another
| > > problem replaced it: hotplug stops working after a suspend. This means
| > > no USB devices until I manually run /etc/init.d/hotplug restart.
| >
| > Since then I've upgraded to a patched (with the radeon ACPI sleep patch)
| > linux-image-2.4.16-4-686 4.4. After some testing I've found that using
| > /etc/acpi/sleep.sh causes this problem, while a simple replacement
| > script that does
| >
| > /sbin/modprobe -r -s usbhid
| > /sbin/modprobe -r -s uhci_hcd
| > /sbin/modprobe -r -s ehci_hcd
|
| ...
|
| > /sbin/modprobe -s ehci_hcd
| > /sbin/modprobe -s uhci_hcd
| > /sbin/modprobe -s usbhid
| >
| > doesn't.
|
| That's because /etc/acpi/prepare.sh tries to figure out which modules to
| unload by looking at /sys/class/net/*/driver and
| /sys/class/usb_host/*/driver symlinks, which are not present at all in
| 2.6.12.
|
| I edited /etc/default/acpi-support and set
|
| MODULES="usbhid uhci_hcd ehci_hcd"
|
| and suspend seems to work just fine.
Thanks for that tip. Suspend to ram didn't work fine if my usb mouse was
plugged in... and now it does!
I only have to use the kill switch to make the ipw2200 card reconnect (set it
to on, wait 2-4 seconds, then back to off).
| Marius Gedminas
Again: thanks! ;)
PD I've tryed suspending & resuming 3 times before writing this email down
--
Joan Tur (aka Quini), Eivissa-Spain
Jabber: quini2k at jabber.org
Yahoo & AIM: quini2k
www.ClubIbosim.org
Linux: usuari registrat 190.783
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
URL: <https://lists.ubuntu.com/archives/ubuntu-users/attachments/20050801/0b115317/attachment.sig>
More information about the ubuntu-users
mailing list