* ACPI Suspend on Inspiron 1100
@ 2005-03-31 19:19 ross-iWlVPHNiaoT2fBVCVOL8/A
[not found] ` <20050331191931.GA16450-0dTycEvvTfOQTptMt33A/4dd74u8MsAO@public.gmane.org>
0 siblings, 1 reply; 10+ messages in thread
From: ross-iWlVPHNiaoT2fBVCVOL8/A @ 2005-03-31 19:19 UTC (permalink / raw)
To: acpi-devel-TtF/mJH4Jtrk1uMJSBkQmQ
Hello everyone,
I have some questions on ACPI suspend on a Dell Inspiron 1100. I have
tried two different kernels: 2.6.8 (as comes with Debian sarge) and a
2.6.11.6 (which I built myself). This is with BIOS A31.
Neither one has working ACPI suspend, though the symptoms are different:
1) 2.6.8: putting the machine to sleep via proc/sysfs works, but the
laptop immediately wakes back up. It looks almost like some device is
not going to sleep, generating activity, and then causing a wakeup.
2) 2.6.11.6: putting the machine to sleep via proc/sysfs works, but
the machine never fully wakes up. I can still login to a console and
halt the laptop, but the display won't turn back on. Switching
to/from X11 VT doesn't seem to help.
It behaves this way for all suspend/sleep types except disk, which
does nothing (as I kind of expected, and is OK). I've dumped the
DSDT, disassembled and recompiled. No errors are produce, just a few
warnings - mostly about invalid return types.
I'd like to get this working. Is is likely? Should I fix the DSDT
warnings? My understanding is that they won't make a big difference.
Any help is much appreciated!
--
Ross Vandegrift
ross-iWlVPHNiaoT2fBVCVOL8/A@public.gmane.org
"The good Christian should beware of mathematicians, and all those who
make empty prophecies. The danger already exists that the mathematicians
have made a covenant with the devil to darken the spirit and to confine
man in the bonds of Hell."
--St. Augustine, De Genesi ad Litteram, Book II, xviii, 37
-------------------------------------------------------
This SF.net email is sponsored by Demarc:
A global provider of Threat Management Solutions.
Download our HomeAdmin security software for free today!
http://www.demarc.com/Info/Sentarus/hamr30
^ permalink raw reply [flat|nested] 10+ messages in thread[parent not found: <20050331191931.GA16450-0dTycEvvTfOQTptMt33A/4dd74u8MsAO@public.gmane.org>]
* Re: ACPI Suspend on Inspiron 1100 [not found] ` <20050331191931.GA16450-0dTycEvvTfOQTptMt33A/4dd74u8MsAO@public.gmane.org> @ 2005-04-01 16:02 ` Stefan Dösinger [not found] ` <200504011602.06831.stefandoesinger-RbZlAiThDcE@public.gmane.org> 2005-04-05 13:36 ` Christopher Gahlon 2005-04-12 23:07 ` Pavel Machek 2 siblings, 1 reply; 10+ messages in thread From: Stefan Dösinger @ 2005-04-01 16:02 UTC (permalink / raw) To: acpi-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f; +Cc: ross-iWlVPHNiaoT2fBVCVOL8/A Hello, > 2) 2.6.11.6: putting the machine to sleep via proc/sysfs works, but > the machine never fully wakes up. I can still login to a console and > halt the laptop, but the display won't turn back on. Switching > to/from X11 VT doesn't seem to help. Try the suggestions in Documentation/power/video.txt(in the Linux source tree). What video card do you use? Stefan ------------------------------------------------------- This SF.net email is sponsored by Demarc: A global provider of Threat Management Solutions. Download our HomeAdmin security software for free today! http://www.demarc.com/Info/Sentarus/hamr30 ^ permalink raw reply [flat|nested] 10+ messages in thread
[parent not found: <200504011602.06831.stefandoesinger-RbZlAiThDcE@public.gmane.org>]
* Re: ACPI Suspend on Inspiron 1100 [not found] ` <200504011602.06831.stefandoesinger-RbZlAiThDcE@public.gmane.org> @ 2005-04-03 22:40 ` ross-iWlVPHNiaoT2fBVCVOL8/A [not found] ` <20050403224042.GA30240-0dTycEvvTfOQTptMt33A/4dd74u8MsAO@public.gmane.org> 0 siblings, 1 reply; 10+ messages in thread From: ross-iWlVPHNiaoT2fBVCVOL8/A @ 2005-04-03 22:40 UTC (permalink / raw) To: Stefan D?singer Cc: acpi-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f, ross-iWlVPHNiaoT2fBVCVOL8/A On Fri, Apr 01, 2005 at 04:02:05PM +0000, Stefan D?singer wrote: > > 2) 2.6.11.6: putting the machine to sleep via proc/sysfs works, but > > the machine never fully wakes up. I can still login to a console and > > halt the laptop, but the display won't turn back on. Switching > > to/from X11 VT doesn't seem to help. > Try the suggestions in Documentation/power/video.txt(in the Linux source > tree). > What video card do you use? It's an Intel i845G on the laptop. I actually just got S3 states working correctly with the tip you gave in another thread with vbetool. Oddly, vbetool vbestate restore seems to lock the terminal up. Buton that machine, vbetool post is enough to get the display initialized. So I just wrote a script that will flip around VTs and run that after restoring. Works well. Thanks a ton! -- Ross Vandegrift ross-iWlVPHNiaoT2fBVCVOL8/A@public.gmane.org "The good Christian should beware of mathematicians, and all those who make empty prophecies. The danger already exists that the mathematicians have made a covenant with the devil to darken the spirit and to confine man in the bonds of Hell." --St. Augustine, De Genesi ad Litteram, Book II, xviii, 37 ------------------------------------------------------- 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 ^ permalink raw reply [flat|nested] 10+ messages in thread
[parent not found: <20050403224042.GA30240-0dTycEvvTfOQTptMt33A/4dd74u8MsAO@public.gmane.org>]
* Re: ACPI Suspend on Inspiron 1100 [not found] ` <20050403224042.GA30240-0dTycEvvTfOQTptMt33A/4dd74u8MsAO@public.gmane.org> @ 2005-04-03 22:57 ` Matthew Garrett 2005-04-04 7:15 ` Stefan Seyfried 0 siblings, 1 reply; 10+ messages in thread From: Matthew Garrett @ 2005-04-03 22:57 UTC (permalink / raw) To: acpi-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f On Sun, 2005-04-03 at 18:40 -0400, ross-iWlVPHNiaoT2fBVCVOL8/A@public.gmane.org wrote: > Oddly, vbetool vbestate restore seems to lock the terminal up. It happens on some machines. I haven't been able to figure out why. I'd tend to blame crappy video BIOSes, but it's possible that there's some issue in the emulation. -- Matthew Garrett | mjg59-1xO5oi07KQx4cg9Nei1l7Q@public.gmane.org ------------------------------------------------------- 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 ^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: ACPI Suspend on Inspiron 1100 2005-04-03 22:57 ` Matthew Garrett @ 2005-04-04 7:15 ` Stefan Seyfried [not found] ` <20050404071524.GB8666-l0tNAEGuAhhzZ8+rp42Dbp9+tswZ0GTaehPwdyo5hKaELgA04lAiVw@public.gmane.org> 0 siblings, 1 reply; 10+ messages in thread From: Stefan Seyfried @ 2005-04-04 7:15 UTC (permalink / raw) To: acpi-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f On Sun, Apr 03, 2005 at 11:57:10PM +0100, Matthew Garrett wrote: > On Sun, 2005-04-03 at 18:40 -0400, ross-iWlVPHNiaoT2fBVCVOL8/A@public.gmane.org wrote: > > > Oddly, vbetool vbestate restore seems to lock the terminal up. > > It happens on some machines. I haven't been able to figure out why. I'd > tend to blame crappy video BIOSes, but it's possible that there's some > issue in the emulation. Some of our X gurus told me, that it is actually illegal to simply restore vbestate without further knowledge and that "bad things may happen" when i asked them if they could not put "vbetool {save,restore}" functionality into vt-switch of all x servers. I have not enough knowledge about this stuff and could only tell them "but it works sometimes" :-) -- 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 ^ permalink raw reply [flat|nested] 10+ messages in thread
[parent not found: <20050404071524.GB8666-l0tNAEGuAhhzZ8+rp42Dbp9+tswZ0GTaehPwdyo5hKaELgA04lAiVw@public.gmane.org>]
* Re: Re: ACPI Suspend on Inspiron 1100 [not found] ` <20050404071524.GB8666-l0tNAEGuAhhzZ8+rp42Dbp9+tswZ0GTaehPwdyo5hKaELgA04lAiVw@public.gmane.org> @ 2005-04-04 13:27 ` Matthew Garrett 2005-04-04 15:22 ` ross-iWlVPHNiaoT2fBVCVOL8/A 1 sibling, 0 replies; 10+ messages in thread From: Matthew Garrett @ 2005-04-04 13:27 UTC (permalink / raw) To: acpi-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f On Mon, 2005-04-04 at 09:15 +0200, Stefan Seyfried wrote: > Some of our X gurus told me, that it is actually illegal to simply restore > vbestate without further knowledge and that "bad things may happen" when > i asked them if they could not put "vbetool {save,restore}" functionality > into vt-switch of all x servers. I have not enough knowledge about this stuff > and could only tell them "but it works sometimes" :-) I can imagine that restoring a graphical state may not put the card back in exactly the same mode as X expects it to be in, and that bad things might then happen. The way we tend to use it for ACPI is to restore a text mode, and things seem to work well enough then. I've had /some/ luck with using it with vesafb, and it may well be possible to hack suspend/resume support into vesafb. We'd either need in-kernel vm86 or to resume vesafb after userspace is up, though. -- Matthew Garrett | mjg59-1xO5oi07KQx4cg9Nei1l7Q@public.gmane.org ------------------------------------------------------- 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 ^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: Re: ACPI Suspend on Inspiron 1100 [not found] ` <20050404071524.GB8666-l0tNAEGuAhhzZ8+rp42Dbp9+tswZ0GTaehPwdyo5hKaELgA04lAiVw@public.gmane.org> 2005-04-04 13:27 ` Matthew Garrett @ 2005-04-04 15:22 ` ross-iWlVPHNiaoT2fBVCVOL8/A 1 sibling, 0 replies; 10+ messages in thread From: ross-iWlVPHNiaoT2fBVCVOL8/A @ 2005-04-04 15:22 UTC (permalink / raw) To: Stefan Seyfried; +Cc: acpi-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f On Mon, Apr 04, 2005 at 09:15:24AM +0200, Stefan Seyfried wrote: > Some of our X gurus told me, that it is actually illegal to simply restore > vbestate without further knowledge and that "bad things may happen" when > i asked them if they could not put "vbetool {save,restore}" functionality > into vt-switch of all x servers. I have not enough knowledge about this stuff > and could only tell them "but it works sometimes" :-) Interestingly though, it locks up for me in text mode as well. Now, X has been started and is running on another VT, and I haven't tried with it disabled - that could be related. But at any rate, the laptop appears not to need it, since posting the video hardware works well enough to restore text mode, and then switching back to X11 works smoothly. -- Ross Vandegrift ross-iWlVPHNiaoT2fBVCVOL8/A@public.gmane.org "The good Christian should beware of mathematicians, and all those who make empty prophecies. The danger already exists that the mathematicians have made a covenant with the devil to darken the spirit and to confine man in the bonds of Hell." --St. Augustine, De Genesi ad Litteram, Book II, xviii, 37 ------------------------------------------------------- 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 ^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: ACPI Suspend on Inspiron 1100 [not found] ` <20050331191931.GA16450-0dTycEvvTfOQTptMt33A/4dd74u8MsAO@public.gmane.org> 2005-04-01 16:02 ` Stefan Dösinger @ 2005-04-05 13:36 ` Christopher Gahlon [not found] ` <200504050836.17659.lists-xMsVY1q4kzvQT0dZR+AlfA@public.gmane.org> 2005-04-12 23:07 ` Pavel Machek 2 siblings, 1 reply; 10+ messages in thread From: Christopher Gahlon @ 2005-04-05 13:36 UTC (permalink / raw) To: acpi-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f On Thursday 31 March 2005 01:19 pm, ross-iWlVPHNiaoT2fBVCVOL8/A@public.gmane.org wrote: > I have some questions on ACPI suspend on a Dell Inspiron 1100. I have > tried two different kernels: 2.6.8 (as comes with Debian sarge) and a > 2.6.11.6 (which I built myself). This is with BIOS A31. I'm running the A31 Bios as well. My fan actually shuts off once in a while now too! Woohoo! Now if Dell would just address REAL problems... > 1) 2.6.8: putting the machine to sleep via proc/sysfs works, but the > laptop immediately wakes back up. It looks almost like some device is > not going to sleep, generating activity, and then causing a wakeup. If you have USB drivers as modules, unload them and this should go away. I had to with the 2.6.8 series and had to remove the monolithic USB drivers. (I had to force module unloading, but i never had problems as a result) > 2) 2.6.11.6: putting the machine to sleep via proc/sysfs works, but > the machine never fully wakes up. I can still login to a console and > halt the laptop, but the display won't turn back on. Switching > to/from X11 VT doesn't seem to help. I'm using a gentoo kernel: 2.6.11-gentoo-r2 Gentoo does patch their kernel, but I don't think they touch the ACPI code. I'm not 100% sure though... I have S3 working on my Inspiron 1100 using vbetool and this script. You have to do it from a text terminal. Using it inside of X borks the system when you resume. (The usuall, keyboard/video don't work but you can ssh in and shut it down...) I've found that the sleep commands are necessary. I haven't experimented with shortening them. YMMV. #!/bin/bash echo "Turning off display..." vbetool dpms off echo "Executing sleep command." echo 3 > /proc/acpi/sleep echo "Waiting 3 seconds before dpms on command." sleep 3 echo "executing: vbetool dpms on" vbetool dpms on sleep 3 echo "executing: vbetool post" vbetool post -- Christopher Gahlon "They that can give up essential liberty to obtain a little temporary safety deserve neither liberty nor safety." -Benjamin Franklin, Historical Review of Pennsylvania. ------------------------------------------------------- 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 ^ permalink raw reply [flat|nested] 10+ messages in thread
[parent not found: <200504050836.17659.lists-xMsVY1q4kzvQT0dZR+AlfA@public.gmane.org>]
* Re: ACPI Suspend on Inspiron 1100 [not found] ` <200504050836.17659.lists-xMsVY1q4kzvQT0dZR+AlfA@public.gmane.org> @ 2005-04-05 13:43 ` Christopher Gahlon 0 siblings, 0 replies; 10+ messages in thread From: Christopher Gahlon @ 2005-04-05 13:43 UTC (permalink / raw) To: acpi-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f On Tuesday 05 April 2005 08:36 am, Christopher Gahlon wrote: > #!/bin/bash > echo "Turning off display..." > vbetool dpms off > echo "Executing sleep command." > echo 3 > /proc/acpi/sleep > echo "Waiting 3 seconds before dpms on command." > sleep 3 > echo "executing: vbetool dpms on" > vbetool dpms on > sleep 3 > echo "executing: vbetool post" > vbetool post A quick follow up. After the post runs you're left looking at the Video Post message. Hit enter and you get your prompt back, or just switch to the VT with X and compute away. If anyone working on ACPI wants information from my boxen (DSTD etc.) shoot the list, or me and email and I'll do whatever I can to help improve ACPI on Dell's borked implementation... Thanks for all your hard work! It's greatly appreciated. -- Christopher Gahlon "They that can give up essential liberty to obtain a little temporary safety deserve neither liberty nor safety." -Benjamin Franklin, Historical Review of Pennsylvania. ------------------------------------------------------- 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 ^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: ACPI Suspend on Inspiron 1100 [not found] ` <20050331191931.GA16450-0dTycEvvTfOQTptMt33A/4dd74u8MsAO@public.gmane.org> 2005-04-01 16:02 ` Stefan Dösinger 2005-04-05 13:36 ` Christopher Gahlon @ 2005-04-12 23:07 ` Pavel Machek 2 siblings, 0 replies; 10+ messages in thread From: Pavel Machek @ 2005-04-12 23:07 UTC (permalink / raw) To: ross-iWlVPHNiaoT2fBVCVOL8/A; +Cc: acpi-devel-TtF/mJH4Jtrk1uMJSBkQmQ On Čt 31-03-05 14:19:32, ross-iWlVPHNiaoT2fBVCVOL8/A@public.gmane.org wrote: > Hello everyone, > > I have some questions on ACPI suspend on a Dell Inspiron 1100. I have > tried two different kernels: 2.6.8 (as comes with Debian sarge) and a > 2.6.11.6 (which I built myself). This is with BIOS A31. > > Neither one has working ACPI suspend, though the symptoms are different: > > 1) 2.6.8: putting the machine to sleep via proc/sysfs works, but the > laptop immediately wakes back up. It looks almost like some device is > not going to sleep, generating activity, and then causing a wakeup. > > 2) 2.6.11.6: putting the machine to sleep via proc/sysfs works, but > the machine never fully wakes up. I can still login to a console and > halt the laptop, but the display won't turn back on. Switching > to/from X11 VT doesn't seem to help. Doc*/power/video.txt. -- Boycott Kodak -- for their patent abuse against Java. ------------------------------------------------------- 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_ide95&alloc_id\x14396&op=click ^ permalink raw reply [flat|nested] 10+ messages in thread
end of thread, other threads:[~2005-04-12 23:07 UTC | newest]
Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-03-31 19:19 ACPI Suspend on Inspiron 1100 ross-iWlVPHNiaoT2fBVCVOL8/A
[not found] ` <20050331191931.GA16450-0dTycEvvTfOQTptMt33A/4dd74u8MsAO@public.gmane.org>
2005-04-01 16:02 ` Stefan Dösinger
[not found] ` <200504011602.06831.stefandoesinger-RbZlAiThDcE@public.gmane.org>
2005-04-03 22:40 ` ross-iWlVPHNiaoT2fBVCVOL8/A
[not found] ` <20050403224042.GA30240-0dTycEvvTfOQTptMt33A/4dd74u8MsAO@public.gmane.org>
2005-04-03 22:57 ` Matthew Garrett
2005-04-04 7:15 ` Stefan Seyfried
[not found] ` <20050404071524.GB8666-l0tNAEGuAhhzZ8+rp42Dbp9+tswZ0GTaehPwdyo5hKaELgA04lAiVw@public.gmane.org>
2005-04-04 13:27 ` Matthew Garrett
2005-04-04 15:22 ` ross-iWlVPHNiaoT2fBVCVOL8/A
2005-04-05 13:36 ` Christopher Gahlon
[not found] ` <200504050836.17659.lists-xMsVY1q4kzvQT0dZR+AlfA@public.gmane.org>
2005-04-05 13:43 ` Christopher Gahlon
2005-04-12 23:07 ` Pavel Machek
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox