Hoary: suspend and hibernate report on HP nc6000

Bug #14081 reported by Mario Vukelic
4
Affects Status Importance Assigned to Milestone
acpi-support (Ubuntu)
Fix Released
Medium
Thom May

Bug Description

My PC is an up-to-date Hoary, hardware is a HP nc6000 laptop. However, it was
"sidegraded" from Debian sid 2 months ago.

After I managed to get basic acpi stuff working (see bug #12194 for the history),
I get a glimpse of working power saving modes:

sudo /etc/acpi/actions/hibernate.sh:
Basically works without me having to change anything. The only problem is that
when I send the machine to hibernate, it needs several minutes actually doing so
(all the while I see a console screen, and from the percentages it _slowly
counts up, it seems it is writing mem to disk). I don't know if this is "normal"
though

sudo /etc/acpi/actions/suspend.sh:
I get a console screen briefly, and then the system goes to suspend. However
when it wakes up again, I get only a white X screen and can't give any input.
Switching to another VT is impossible too.
I have played with the options in /etc/default/acpi-support, but to no avail. So
far I have tried (each setting changed on its own):
ACPI_SLEEP_MODE=standby
POST_VIDEO=false
USE_DPMS=false
DOUBLE_CONSOLE_SWITCH=true
LOCK_SCREEN=false

When I choose "hibernate" or "suspend" from the Gnome Desktop "System" menu,
nothing happens at all.

If I can supply more info, or test something, please tell me

Revision history for this message
Mario Vukelic (kreuzsakra) wrote :

Some more info regarding the time needed to hibernate:
First the console screen says swsusp is copying pages. This goes fairly quickly,
around a minute or so. Then it says that it writes the memory to the swap
partition (and counts up percentages). This is the part that lasts seemingly
forever - I timed 11 minutes. My laptop has 512 MB RAM, but even for that, 11
minutes seems excessive (and not particularly power saving).

Revision history for this message
spo0nman (pankaj) wrote :

I tried using the /etc/acpid/sleep.sh on Hoary.
$ sudo /etc/acpid/sleep.sh

The machine just went to sleep while the cpufan and the power button showed
activity
the machine wont comeback ... I did everything including holding the power
button on
for like 5 minutes... The network was showing some activity. I pulled out the
battery
to reboot the machine.

The hibernate worked as a charm and I even get the video back X comes on with
the same
apps that I was using before I did a hiberate.

Revision history for this message
spo0nman (pankaj) wrote :

Mario Vukelic wrote:
> Hi,
>
> I am the original reporter of the bug. You just posted a comment that
> said "hibernate worked like a charm". Does that mean you don't see the
> issue that I reported, i.e., that while hibernating works, it needs 15
> minutes until it finally turns off?
No it goes off in about half a minute unless im grossly missinformed about the
concept "off."

> If so, did you do anything special? You use a HP nc6000, yes? :)
Yes.Im running hoary on a nc6000.

No, followed wiki/HoaryPM and ran /etc/acpid/hibernate.sh. and when I push the
power button again linux boots and takes me to X takes about 1-2 minutes.

Cheers!
P.

Revision history for this message
Mario Vukelic (kreuzsakra) wrote :

Being optimistic because of Pankaj's success, I played a bit more, with the
following outcome:

First, I found out that my install of acpi-support was somehow wrong: the
hibernate scripts were in /etc/acpi/action instead of directly in /etc/acpi. I
suspect this may be because of my previous playing with PM in Warty (there once
was a tarball in the Wiki that replaced Warty's /etc/acpi).
I deleted /etc/acpi and reinstalled the package with dpkg -i --force-confmiss
/var/cache/apt/archives/acpi-support_0.21_i386.deb

The grub config was already ok as per wiki/HoaryPM, and the hoary install is up
to date

After that, I see an improvement in hibernating:
* The screen goes immediately blank, not displaying the swsusp progress info
that I mentioned in a previous comment
* However after the screen blanks, I still have a running fan, a lit harddisk
LED, and blinking lights at the ethernet port. In addition, the "sound off"
button at the left front lights up
* After 8 minutes, all the mentioned lights go out and the fan stops. When I
press the power button now, the laptop wakes up again and is ok. If I press the
power button before the lights go out, nothing happens, but I haven't tested
whether this messes anything up

Compared to my previous comments, this is a marked improvement -- hibernating
previously lasted 15 minutes. However it is still far from optimal.

Suspend still doesn't work, with the same symptoms Pankaj reported

Revision history for this message
spo0nman (pankaj) wrote :

I was facing problems with the upgrade from warty... with a freash install of
hoary from the cd hibernation and sleep worked out of the box.
Cheers!
P.

Revision history for this message
Matt Zimmerman (mdz) wrote :

Closing per success report, thanks

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.