HP nw8240 suspend to RAM works only after lid close/open

Bug #33827 reported by Luka Renko
10
Affects Status Importance Assigned to Milestone
acpi-support (Ubuntu)
Fix Released
Medium
Unassigned

Bug Description

I am still unable to make suspend to RAM work on HP Compaq nw8240 (model: PY442EA#ABB)

My testing report is here:
https://wiki.ubuntu.com/LaptopTestingTeam/HPNW8240/Kubuntu

I have currnetly installed Kubuntu Dapper Flight 4 (clean install) + all updates up to today.

Suspend part seems to work - machine suspends quickly and LED on power button starts blinking as it should. When I press power button to resume, I just get blank screen. In only one occasion (when running sleep.sh from shell), I got a flashing cursor and I was able to switch consoles (1 and 2) and have seen that sleep.sh was blocked on "modprobe ipw2200" and when I tried to log in on other console, it just blocked after entered password.

I have tried different X drivers ("ati" & "fglrx") and both Ubuntu (GNOME) and Kubuntu (KDE) desktops. Unter Kubuntu it stops even sooner due to klaptopdaemon - see bug 32785.
I have also tried from console (with shuting down kdm/X before), but it still hangs on reboot.

What bothers me the most is that other users (Fangorious) has this working on slighly different model (EG235UC#ABA) - see bug 26386 (has also confirmed this to me over e-mail).

Revision history for this message
Luka Renko (lure) wrote : sleep_output.txt

This is sleep.sh output (as far as it get logged when redirected).

Revision history for this message
Luka Renko (lure) wrote : dmidecode.txt

dmidecode output

Revision history for this message
Paul Sladen (sladen) wrote : Re: suspend to RAM does not work on HP nw8240

Matthew, this is probably similar to the HP's you have access to; can you check it.

Changed in acpi-support:
assignee: nobody → mjg59
status: Unconfirmed → Needs Info
Revision history for this message
Matthew Garrett (mjg59) wrote :

What does dmesg say while the modprobe is hung?

Revision history for this message
Luka Renko (lure) wrote :

Matthew, I have now clean install of Kubuntu Beta (no updates yet) and cannot get to the point that I would see a text cursor. As I said, I got this text mode with ipw2200 hanging on modprobe only once, and even then I could not login to be able to check dmesg output.

I have tried this now several times from text console (kdm/X stopped) and also with and without wireless (using HW button to turn it off), but could not reproduce anything else than blank screen.

Additional note: disk LED is on when machine hangs on resume.

I will now try to build s2ram utility that is being mentioned in this thread:
http://forge.novell.com/pipermail/powersave-devel/2006-April/000484.html

Revision history for this message
Matthew Garrett (mjg59) wrote :

Ok. The next kernel update may help things here.

Revision history for this message
Luka Renko (lure) wrote :

I have tested s2ram (still on 2.6.15-20.30) with init=/bin/bash and still no success. I could not test -a option, as it looks like that /proc/sys/kernel/acpi_video_flags support is missing (added in 2.6.16).

I have also tested with new 2.6.15.21.32 but still no success - this time I cannot even suspend to RAM if I do not unload hci_usb module, which can be unloaded only if I disable wireless/bluetooth.

Revision history for this message
Luka Renko (lure) wrote : sleep.sh output

sleep.sh failing due to hci_usb module

Revision history for this message
Luka Renko (lure) wrote : dmesg output

sleep.sh failing due to hci_usb

Revision history for this message
Matthew Garrett (mjg59) wrote : Re: suspend to RAM does not work on HP nw8240

Can you test with the latest kernel and acpi-support packages?

Revision history for this message
Luka Renko (lure) wrote :

Matthew, still same result - blank screen after resume. But I can confirm that machine is working after resume, as I have run sleep.sh with "set -x" from console with redirected output and after resume typed "echo THANKS >> sleep.log" and it succeeded. It also rebooted properly when pressed Ctrl-Alt-Del, but did not respond to any console switch.

Revision history for this message
Luka Renko (lure) wrote : sleep.log

stdout/stderr of sleep.sh executed with "set -x"

Revision history for this message
Matthew Garrett (mjg59) wrote : Re: suspend to RAM does not work on HP nw8240

Does triggering the suspend from X work any better?

Revision history for this message
Luka Renko (lure) wrote :

It did not work due to bug 32785, but I will try today on my Ubuntu partition (GNOME only), but I need to get it up-to-date.

Revision history for this message
Luka Renko (lure) wrote :

I can get my screen back if I simply close the lid and open it again.
I get my console/lock screen back in that case.

It looks like we need to put something in /etc/acpi/sleep.sh (or resume.sh) that is already in lid.sh...

Revision history for this message
Paul Sladen (sladen) wrote :

Luka: bug 32785 has been fixed, can you make sure you up to date. If suspend is working then, we can while-list it.

Revision history for this message
Luka Renko (lure) wrote :

I have installed fresh copy of Ubuntu Dapper from Desktop CD (20060523.2) and can confirm that suspend to RAM works, but after resume I get the blank screen. Switching consoles or similar does not help
It only helps if I close/open the lid - then I get the screen back, but then I get hit by bug 40808 and I need to manually switch to text console and back to X to get proper resolution in X.

I think it does not make sense to whitelist this notebook as too many workarounds are required to make it work.

Revision history for this message
Luka Renko (lure) wrote :

Tested again with clean install of 6.06 LTC release (Kubuntu DVD).
This problem is only with Radeon driver, while proprietary fglrx driver does not have this problem (resumes properly and I get locked screen).

Revision history for this message
Luka Renko (lure) wrote :

This is fixed with Edgy RC with updated xorg ati driver.

Changed in acpi-support:
status: Needs Info → Fix Released
Revision history for this message
Matt Weller (gapplewagen) wrote :

I am having these same issues while running Feisty. I tested with a fresh Edgy install and suspend worked nicely. I then wiped the system clean and installed Feisty and suspend does not work for me. HP nw8240 just as stated above. I have tried by closing lid and manually putting it into suspend mode with the same end result... a black screen upon trying to resume. I have tested with x.org provided ati driver and with fgrlx (both from repos and directly from ATI website).

Revision history for this message
Luka Renko (lure) wrote :

Feisty regression is tracked under open bug 74877

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.