Re: [gentoo-user] Suspend to ram: correct behavior?
Hi Daniel, Thanks for your response. I'll try to make some time to test your tips. You can also try booting a Fedora/Ubuntu/SuSE LiveCD, and see if with their kernel the same happens (given that suspend works on their LiveCD). If they manage to switch off the power to your USB-ports, that can give us a hint. That I can try, I still keep the Ubuntu (shame on me! :P) which I used to install Gentoo. Best regards, Damian.
Re: [gentoo-user] Suspend to ram: correct behavior?
LiveCD). If they manage to switch off the power to your USB-ports, that can give us a hint. That I can try, I still keep the Ubuntu (shame on me! :P) which I used to install Gentoo. Nope. I've booted with Ubuntu (damn it boots slow! :P) and after suspending the usb port was still yielding power. I guess it's better for me to find out if there actually is a way to prevent this. Best regards, Damian.
Re: [gentoo-user] Suspend to ram: correct behavior?
On Wed, 31 Dec 2008 11:42:54 +0100 damian damian.o...@gmail.com wrote: LiveCD). If they manage to switch off the power to your USB-ports, that can give us a hint. That I can try, I still keep the Ubuntu (shame on me! :P) which I used to install Gentoo. Nope. I've booted with Ubuntu (damn it boots slow! :P) and after suspending the usb port was still yielding power. I guess it's better for me to find out if there actually is a way to prevent this. Best regards, Damian. I think USB ports normally give power even without the appropriate driver loaded. I know I have seen old computers used to charge USB devices they couldn't communicate with... signature.asc Description: PGP signature
Re: [gentoo-user] Suspend to ram: correct behavior?
Hi Damian, please note, that I'm no kernel (or USB) expert - just guessing around from experience... Am Samstag, den 27.12.2008, 14:48 +0100 schrieb damian: Try enabling or disabling USB_SUSPEND (Device Drivers-USB support-USB selective suspend/resume and wakeup) in your kernel. It was already enabled. Try disabling it :) If that does not help, unloading the USB and wireless drivers before suspend should do the trick. I added this line to /etc/hibernate/common.conf UnloadModules usb-ohci OHCI is nowadays just the USB-1-companion of EHCI, which is the driver for USB-2. EHCI listens on your USB-ports, and activated OHCI only when a USB-1-device is being connected. You should unload both. That is probably only possible, after unload all other usb-related modules :( But no luck. I don't know if I should add UnloadAllModules yes instead, just to be sure :D You could try that - if it works, begin removing modules selectively :) If you use sys-power/pm-utils for suspend hibernate, you can add kernel modules for automatic removal before suspend to SUSPEND_MODULES in /etc/pm/config.d/modules. I have sys-power/pm-utils installed, but no file named /etc/pm/config.d/modules. You can create it, and put into it a single line: SUSPEND_MODULES=iwl3945 mac80211 (my line ;) Anyway, I have USB support built in into the kernel, should I compile it as modules? That would make sense :) You can also try booting a Fedora/Ubuntu/SuSE LiveCD, and see if with their kernel the same happens (given that suspend works on their LiveCD). If they manage to switch off the power to your USB-ports, that can give us a hint. Bye, Daniel signature.asc Description: Dies ist ein digital signierter Nachrichtenteil
Re: [gentoo-user] Suspend to ram: correct behavior?
Hi Daniel, Try enabling or disabling USB_SUSPEND (Device Drivers-USB support-USB selective suspend/resume and wakeup) in your kernel. It was already enabled. If that does not help, unloading the USB and wireless drivers before suspend should do the trick. I added this line to /etc/hibernate/common.conf UnloadModules usb-ohci But no luck. I don't know if I should add UnloadAllModules yes instead, just to be sure :D If you use sys-power/pm-utils for suspend hibernate, you can add kernel modules for automatic removal before suspend to SUSPEND_MODULES in /etc/pm/config.d/modules. I have sys-power/pm-utils installed, but no file named /etc/pm/config.d/modules. Anyway, I have USB support built in into the kernel, should I compile it as modules? Best regards, Damian.
Re: [gentoo-user] Suspend to ram: correct behavior?
On Sunday 21 December 2008 16:04:34 damian wrote: Hi, When I suspend to ram my laptop I've noticed the usb ports still yield energy (the light of my external hard drive stays on) and also the led of the wired network device is on. Is this supposed to happen? I think it should be a problem because the laptop consumes more energy that way. Does anybody know how to solve it? Sounds like wake up from usb and wake up on lan is working. Either that or your devices did not go to sleep properly and are still awake. Do you get any hits from Google using those terms or similar ones? -- alan dot mckinnon at gmail dot com
Re: [gentoo-user] Suspend to ram: correct behavior?
Hi Alan, On Sun, Dec 21, 2008 at 3:16 PM, Alan McKinnon alan.mckin...@gmail.com wrote: On Sunday 21 December 2008 16:04:34 damian wrote: Hi, When I suspend to ram my laptop I've noticed the usb ports still yield energy (the light of my external hard drive stays on) and also the led of the wired network device is on. Is this supposed to happen? I think it should be a problem because the laptop consumes more energy that way. Does anybody know how to solve it? Sounds like wake up from usb and wake up on lan is working. Either that or your devices did not go to sleep properly and are still awake. Do you get any hits from Google using those terms or similar ones? No luck so far :(. I'll keep on looking. Best, Damian.
Re: [gentoo-user] Suspend to ram: correct behavior?
Am Sonntag, den 21.12.2008, 15:04 +0100 schrieb damian: When I suspend to ram my laptop I've noticed the usb ports still yield energy (the light of my external hard drive stays on) and also the led of the wired network device is on. Is this supposed to happen? I think it should be a problem because the laptop consumes more energy that way. Does anybody know how to solve it? Try enabling or disabling USB_SUSPEND (Device Drivers-USB support-USB selective suspend/resume and wakeup) in your kernel. If that does not help, unloading the USB and wireless drivers before suspend should do the trick. If you use sys-power/pm-utils for suspend hibernate, you can add kernel modules for automatic removal before suspend to SUSPEND_MODULES in /etc/pm/config.d/modules. Bye, Daniel signature.asc Description: Dies ist ein digital signierter Nachrichtenteil