Skip to contentSkip to conversation

D600 + S3 Sleep

DISCUSSION Ow Mun Heng 5 participants 14 messages Mar 18, 2005 – Mar 23, 2005 10 messages not in the archive ACPI

lore
Share & tools
lore
#0 lore raw

Hi All,

Anyone here managed to get S3 to work on the D600?

I'm on 2.6.11 kernel and still the same Black Screen after resume persists.

I've tried Software Suspend 2 and By golly, it's much faster then SW1.

Signature · 13 lines
Ow Mun Heng
Gentoo/Linux on DELL D600 1.4Ghz 
98% Microsoft(tm) Free!! 
Neuromancer 17:13:44 up 1:29, 6 users, load average: 0.81, 1.06, 0.96 




-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click
#2 lore raw
In reply to a message not in the archive
Quoted 9 lines · Ow Mun Heng

Hi All,

Anyone here managed to get S3 to work on the D600?

I'm on 2.6.11 kernel and still the same Black Screen after resume persists.

I've tried Software Suspend 2 and By golly, it's much faster then SW1.

Yes, it's quite simple and reliable, you need to append vga=normal to your command-line as neither vesafb nor radeonfb play nice.

After that - my mileage has been good (4 or 5 day suspends, and 8 or 9 day uptimes so far), yours may vary though

P

#4 lore raw
In reply to a message not in the archive
Quoted 8 lines · Proinnsias Breathnach
Quoted 7 lines · Ow Mun Heng

Hi All,

Anyone here managed to get S3 to work on the D600?

I'm on 2.6.11 kernel and still the same Black Screen after resume persists.

Quoted 7 lines
Quoted 2 lines

I've tried Software Suspend 2 and By golly, it's much faster then SW1.

Yes, it's quite simple and reliable, you need to append vga=normal to your command-line as neither vesafb nor radeonfb play nice.

After that - my mileage has been good (4 or 5 day suspends, and 8 or 9 day uptimes so far), yours may vary though

vga=normal??

So that means no High-Res Console??

Right now, I'm using

root=/dev/hda3 video=vesafb:ywrap,mtrr,1280x1024-24@60 splash=verbose,theme:emergence resume2=swap:/dev/hda5

So.. I need to remove all of those and only left with this??

root=/dev/hda3 vga=normal resume2=swap:/dev/hda5 ??

Signature · 13 lines
Ow Mun Heng
Gentoo/Linux on DELL D600 1.4Ghz 
98% Microsoft(tm) Free!! 
Neuromancer 19:10:31 up 3:26, 6 users, load average: 0.30, 0.57, 0.58 




-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click
#6 lore raw
In reply to a message not in the archive
Quoted 3 lines · Ow Mun Heng

vga=normal??

So that means no High-Res Console??

'fraid so :(

Unless someone comes up with a nice way of making it work with vga=795 (or whatever it was I used have before ...)

Quoted 9 lines

Right now, I'm using

root=/dev/hda3 video=vesafb:ywrap,mtrr,1280x1024-24@60 splash=verbose,theme:emergence resume2=swap:/dev/hda5

So.. I need to remove all of those and only left with this??

root=/dev/hda3 vga=normal resume2=swap:/dev/hda5 ??

Looks about right ... I think I have something else in there as well ... just checking now ...

Nope, used to have something in to have acpi ignore irq7 which was a common problem pre 2.6.9 iirc ... vga=normal is all I have now !

(Just realised the laptop's been in S3 for the last four days ! and only half the battery gone !)

P

#23 lore raw
In reply to a message not in the archive
Quoted 3 lines · Ow Mun Heng

Hi All,

Anyone here managed to get S3 to work on the D600?

yes.

Quoted 3 lines

I'm on 2.6.11 kernel and still the same Black Screen after resume persists.

I am using "vga=normal", the X-Server restores the backlight for me. (it also works well with vbetool restore IIRC, but i did not test the last few weeks).

seife@strolchi:~> uname -a
Linux strolchi 2.6.11.4-4-default #1 Wed Mar 16 21:34:20 UTC 2005 i686 i686 i386 GNU/Linux eife@strolchi:~> X -version

X Window System Version 6.8.2
Release Date: 9 February 2005
X Protocol Version 11, Revision 0, Release 6.8.2
Build Operating System: SuSE Linux [ELF] SuSE
Current Operating System: Linux strolchi 2.6.11.4-4-default #1 Wed Mar 16 21:34:20 UTC 2005 i686 Build Date: 16 March 2005
Before reporting problems, check http://wiki.X.Org
to make sure that you have the latest version.
Module Loader present
seife@strolchi:~> lspci|grep VGA
0000:01:00.0 VGA compatible controller: ATI Technologies Inc Radeon R250 Lf [FireGL 9000] (rev 02)

This is the upcoming SUSE 9.3 configuration. Works for me since at least 8 Weeks (always tracking the latest kernel and using pretty latest X.org)

Quoted 1 line

I've tried Software Suspend 2 and By golly, it's much faster then SW1.

Well swsusp is also fast for me, but i have never compared it to swsusp2.

Signature · 9 lines
Stefan Seyfried



-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click
#8 lore raw
In reply to a message not in the archive
Quoted 8 lines · Proinnsias Breathnach
Quoted 3 lines · Ow Mun Heng

vga=normal??

So that means no High-Res Console??

'fraid so :(

Unless someone comes up with a nice way of making it work with vga=795 (or whatever it was I used have before ...)

not much hope here, i have had one of our X developers pondering over this one (he knows the radeon chipsets pretty well) but to no avail. It seems the machine never wakes up if _any_ framebuffer is used (radeonfb also does not work).

Signature · 9 lines
Stefan Seyfried



-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click
#10 lore raw
In reply to a message not in the archive
Quoted 7 lines · Stefan Seyfried
Quoted 6 lines · Proinnsias Breathnach
Quoted 3 lines · Ow Mun Heng

vga=normal??

So that means no High-Res Console??

'fraid so :(

Quoted 7 lines
Quoted 2 lines

Unless someone comes up with a nice way of making it work with vga=795 (or whatever it was I used have before ...)

not much hope here, i have had one of our X developers pondering over this one (he knows the radeon chipsets pretty well) but to no avail. It seems the machine never wakes up if _any_ framebuffer is used (radeonfb also does not work).

I wonder if it is possible to restore original text mode when suspending? Probably not with vesafb but with other specialize FB drivers?

Signature · 8 lines
Dmitry


-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click
#13 lore raw
In reply to a message not in the archive
Quoted 8 lines · Stefan Seyfried
Quoted 2 lines · Proinnsias Breathnach

Unless someone comes up with a nice way of making it work with vga=795 (or whatever it was I used have before ...)

not much hope here, i have had one of our X developers pondering over this one (he knows the radeon chipsets pretty well) but to no avail. It seems the machine never wakes up if _any_ framebuffer is used (radeonfb also does not work).

Oh well :)

Life's like that !

I konw the FB stuff works if the acpi_late_bios patch is used per:
http://www.loria.fr/~thome/d600/

But I've not been bothered to test it personally !

P

#12 lore raw
In reply to a message not in the archive
Quoted 3 lines · Dmitry Torokhov

I wonder if it is possible to restore original text mode when suspending? Probably not with vesafb but with other specialize FB drivers?

We don't know how to program text mode on most cards.

Signature · 9 lines
Matthew Garrett | [email protected]



-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click
#15 lore raw
In reply to a message not in the archive
Quoted 3 lines · Proinnsias Breathnach

I konw the FB stuff works if the acpi_late_bios patch is used per:
http://www.loria.fr/~thome/d600/

ok, i'll take a look at it after the easter holidays.

Signature · 9 lines
Stefan Seyfried



-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click
#16 lore raw
In reply to a message not in the archive
Quoted 9 lines · Proinnsias Breathnach
Quoted 8 lines · Stefan Seyfried
Quoted 2 lines · Proinnsias Breathnach

Unless someone comes up with a nice way of making it work with vga=795 (or whatever it was I used have before ...)

not much hope here, i have had one of our X developers pondering over this one (he knows the radeon chipsets pretty well) but to no avail. It seems the machine never wakes up if _any_ framebuffer is used (radeonfb also does not work).

Quoted 6 lines

Oh well :)

Life's like that !

I konw the FB stuff works if the acpi_late_bios patch is used per:
http://www.loria.fr/~thome/d600/

I've tested it and it worked.

But it was too much work to get S3 done so I dropped it.

Now that I saw S3 is working for others, I thought I try again.

And Yes, Proinnsais, sadly the config you mentioned, I tried but it doesn't work. It doesn't Come back up. POST for the video doesn't happen for some reason for my config.

Not sure why and not sure how much of an incentive I have to go do it since S4 with suspend2 works like a charm. (Except for the stupid Xscreensaver thing causing intermittent hangs. I've sent an email to suspend2 list)

Quoted 4 lines

But I've not been bothered to test it personally !

P

Signature · 14 lines
Ow Mun Heng
Gentoo/Linux on DELL D600 1.4Ghz 
98% Microsoft(tm) Free!! 
Neuromancer 13:33:14 up 1 day, 3:16, 7 users, load average: 1.73, 0.79,
0.48 




-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click
#18 lore raw
In reply to a message not in the archive
Quoted 5 lines · Ow Mun Heng

And Yes, Proinnsais, sadly the config you mentioned, I tried but it doesn't work. It doesn't Come back up. POST for the video doesn't happen for some reason for my config.

Gentoo/Linux on DELL D600 1.4Ghz

For what it's worth - my D600 is running BIOS A14 and is a 1.6Ghz with the full centrino (ipw2200), Radeon M9 and 1400*1050 14" screen.

It's not a vanilla kernel, rather Ubuntu's current 2.6.10 which I believe contains the 2.6.11 acpi code.

Grub boots the kernel with only : root=/dev/hda2 ro vga=normal

What BIOS do you have - and indeed - what command-line are you using ?

It's annoying to get going - but shouldn't take so much time - the laptop can remain in S3 suspend for 5 days or more easily.

P

#20 lore raw
In reply to a message not in the archive
Quoted 9 lines · Proinnsias Breathnach
Quoted 5 lines · Ow Mun Heng

And Yes, Proinnsais, sadly the config you mentioned, I tried but it doesn't work. It doesn't Come back up. POST for the video doesn't happen for some reason for my config.

Gentoo/Linux on DELL D600 1.4Ghz

For what it's worth - my D600 is running BIOS A14 and is a 1.6Ghz with the full centrino (ipw2200), Radeon M9 and 1400*1050 14" screen.

1.4Ghz centrino (ndiswrapper), Radeon M9 and 1400x1050

Quoted 3 lines

It's not a vanilla kernel, rather Ubuntu's current 2.6.10 which I believe contains the 2.6.11 acpi code.

I'm using suspend2-sources from gentoo. Basically it's 2.6.11 patched with suspend2 and gensplash and a few fixes from 2.6.11.2 (IIRC)

Quoted 4 lines

Grub boots the kernel with only : root=/dev/hda2 ro vga=normal

What BIOS do you have - and indeed - what command-line are you using ?

Was A14, upgraded to A15 to see if it works.

root=/dev/hda3 video=vesafb:ywrap,mtrr,1280x1024-24@60 splash=verbose,theme:emergence resume2=swap:/dev/hda5

Orignially, then after you suggested only

root=/dev/hda3 vga=normal resume2=swap:/dev/hda5

Quoted 2 lines

It's annoying to get going - but shouldn't take so much time - the laptop can remain in S3 suspend for 5 days or more easily.

Well.. it's annoying me now.

Signature · 14 lines
Ow Mun Heng
Gentoo/Linux on DELL D600 1.4Ghz 
98% Microsoft(tm) Free!! 
Neuromancer 18:14:55 up 2 days, 7:57, 7 users, load average: 0.73, 0.80,
0.74 




-------------------------------------------------------
This SF.net email is sponsored by: 2005 Windows Mobile Application Contest
Submit applications for Windows Mobile(tm)-based Pocket PCs or Smartphones
for the chance to win $25,000 and application distribution. Enter today at
http://ads.osdn.com/?ad_id=6882&alloc_id=15148&op=click
#22 lore raw
In reply to a message not in the archive
Quoted 4 lines · Ow Mun Heng

1.4Ghz centrino (ndiswrapper), Radeon M9 and 1400x1050

Well.. it's annoying me now.

Any chance it's the ndiswrapper is causing the problems ?

Which wireless chipset do you have ? if it's the ipw2100 (you mentioned 802.11b earlier), it might be worth using the ipw drivers which seem to suspend safely ?

That's about the only big difference I can see !

P

-------------------------------------------------------
This SF.net email is sponsored by: 2005 Windows Mobile Application Contest Submit applications for Windows Mobile(tm)-based Pocket PCs or Smartphones for the chance to win $25,000 and application distribution. Enter today at
http://ads.osdn.com/?ad_id=6882&alloc_id=15148&op=click