| Kakyo's profileKakyo.mix.zipPhotosBlogLists | Help |
|
9/29/2009 还是写点啥吧
9/10/2009 改进言论,应对傻逼Solidot | 90后"黑客"誓为国庆献厚礼 改进言论,应对傻逼 ![]() 9/8/2009 Jesus, Suspend finally worked on my HP desktop!!! Finally, here comes the conclusive news of my perfect Ubuntu desktop box. The solution script: echo "SUSPEND_MODULES=ehci-hcd" > /tmp/unload_modules chmod +x /tmp/unload_modules sudo mv /tmp/unload_modules /etc/pm/config.d Before using this, I was having the famous "blinking cursor" after resume; worse, kernel log was not ready before hitting the power button so there would be no readily available system-log to trace after you reboot into desktop; and even worse, network wasn't ready when you saw the blinking cursor, so ssh from another computer would also fall through. Thanks to Google and Ubuntu forums. Detailed clarification follows: "A host controller interface (HCI) is a register level interface which allows a host controller for USB or FireWire to communicate with the operating system of a personal computer. On the expansion card or motherboard controller, this involves much custom logic, with digital logic engines in FPGAs plus analog circuitry managing the high speed differential signals. On the software side, it requires a device driver (called a Host Controller Driver, or HCD). Enhanced Host Controller Interface (EHCI) is a high speed controller standard which is publicly specified. So, what's happening is that, on your particular laptop (which is totally different from the one being discussed here), either the usb chipset itself or the driver is causing problems with suspend. By adding SUSPEND_MODULES=ehci-hcd to /etc/pm/config.d, you are telling linux to unload this module from the kernel before it suspends and reload it when it returns. By having the kernel explicitly unload this module, it ensures that it is not loaded when the actual suspend occurs, and ensures that it is cleanly removed and re-inserted into the running kernel when you come back from suspend. This is a general way to avoid modules that cause problems with suspend. Unfortunately, as I mentioned above, this is a TOTALLY different laptop. Which modules cause these problems (and indeed whether it is a module that causes it or not) is very hardware dependent and will differ greatly between even laptops of the same general make from the same manufacturer." " Ubuntu 8.04/Issues/Failed Studio SuspendFrom DellLinuxWikiJump to: navigation, search
$ echo SUSPEND_MODULES="ehci-hcd" | sudo tee -a /etc/pm/config.d/unload_modules" ![]() |
|
|