HAL does not go to hibernate or sleep on Inspiron 600m

Bug #41709 reported by steppinrazor
12
Affects Status Importance Assigned to Milestone
hal (Ubuntu)
New
Medium
Unassigned

Bug Description

I set my laptop up to go to hibernate on lid closed. I tested this by faking a closed lid, HAL went into hibernate but came out immediately. I then set it to go to sleep on lid closed, HAL went to sleep without a problem but when the lid was open it just gave me a blank white screen. No feedback was given in either case.

I'm using the latest ubuntu kernel on Dapper beta.

Revision history for this message
Rob Frohne (frohro) wrote :

I have possibly the same issue with a Dell D600. I can suspend or hibernate once, but often the hald-addon-storage process will get into an uninterruptible sleep state (as shown by the ps command) and then I cannot hibernate of suspend anymore. If I edit the /usr/share/hal/fdi/policy/... files so that process doesn't start, my suspend and hibernate problems go away, but then all the processes that automatically mount CDs don't work. I can also remove the CDRW/DVD drive from the D600 before booting and I can suspend and hibernate at will. Why don't you check using:

ps aux | grep hald

and see if the hald-addon-storage process has a D or and S in the status collumn. D indicates uninterruptable sleep. S indicates sleep. Sometimes you can change it from D to S by inserting a CD in the CDROM, but sometimes that won't wake it from its coma either.

I'm wondering if there is a way to stop and restart the hald-addon-storage process before and after each suspend or hibernate automatically.

See the laptop testing page for this machine at:

https://wiki.ubuntu.com/LaptopTestingTeam/DellLatitudeD600

Revision history for this message
Rob Frohne (frohro) wrote :

For my Dell D600, the the solution to this problem was to remove the kernel module "cdrom" before suspending, and then have it automatically inserted. You can do this by editing the file /etc/default/acpi-support so that the MODULE section looks like this:

# Add modules to this list to have them removed before suspend and reloaded
# on resume. An example would be MODULES="em8300 yenta_socket"
#
# Note that network cards and USB controllers will automatically be unloaded
# unless they're listed in MODULES_WHITELIST
#MODULES=""
MODULES="cdrom"

Now I can suspend at will. I suspect that in order to safely remove the CDRW/DVD module I should:

sudo modprobe -r cdrom

and then

sudo modprobe cdrom when it is reinserted, but I haven't tested that fully yet.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.