Re: [PATCH] ppc32: Rework power management take #3
Le vendredi 03 juin 2005 à 16:59 +0200, Stelian Pop a écrit :
> I also have issues with the integrated USB bluetooth controller.
> When suspending to ram all works ok.
> When resuming from suspend to disk, this USB device doesn't answer
> anymore. It doesn't matter if I remove the modules (hci_usb) before
> sleeping and reload them after, it just doesn't work anymore.
For the record, I have been able to work-around this problem by
compiling the USB host controller driver as a module and unloading in
before going to swsusp.
My actual hibernate script is attached below (note that I have to
restart pbbuttonsd or it will take 99% CPU on resume, strace shows it
looping in a select on bad descriptors, probably related to
the /dev/input/* entries disappearing when removing the USB driver. I
haven't looked at this yet, it may even be solved in the latest version
of pbbuttonsd, I am using Ubuntu's 0.6.6-3ubuntu3):
invoke-rc.d pbbuttonsd stop
invoke-rc.d bluez-utils stop
echo "disk" > /sys/power/state
invoke-rc.d bluez-utils start
invoke-rc.d pbbuttonsd start
su stelian -c "gtkpbbuttons -d"
Stelian Pop <email@example.com>