S3 hangs Sony Notebook
Hi!
I'm experimenting with Kernel 2.6.0-test9 + acpi-20031002-2.6.0-test9 patch on my Sony Vaio PCG-F403 (P3-450, i440BX, PhoenixBIOS, both APM and ACPI capable). But I have several problems:
- I have to use "acpi=force" because otherwise it says my BIOS is too old. (Actually, I have the newest BIOS from Sony (dated 2000...*hmm*)
- reading Battery status works, but it always says "... battery will never fully charge", although it charges up to 100%
- When entering S3 state, some lines appear (something about hda, it is gone too fast to read), then the screen blanks and the power LED blinks red slowly, just like with Suspend-To-RAM in APM mode (which works fine btw.). But then I can't turn it on again, neither can I turn it off. I have to unplug the PSU and remove the battery to turn it off completely. (IIRC somebody posted the same problem with a Dell notebook some time ago).
- Since I'm running ACPI, my system clock does weird things (going forward/backward some hours or days - ntpdate is my friend ;-)
Most important for me is to get S3 working. Is there any chance? Furthermore, what is the best way to test if the different cpu throttling settings have any effect at all?
Thanks
Martin Emrich
-------------------------------------------------------
This SF.Net email sponsored by: ApacheCon 2003, 16-19 November in Las Vegas. Learn firsthand the latest developments in Apache, PHP, Perl, XML, Java, MySQL, WebDAV, and more! http://www.apachecon.com/
A message that is not in the archive (sent off-list or not yet received): [email protected]
Quoted 6 lines · Martin Emrich
Hi!
I'm experimenting with Kernel 2.6.0-test9 + acpi-20031002-2.6.0-test9 patch on my Sony Vaio PCG-F403 (P3-450, i440BX, PhoenixBIOS, both APM and ACPI capable). But I have several problems:
p3 450 sounds a bit old for acpi support but its possible (got a celron 450 hp to work but it needed a new bios).
I have fxa-53 (athelon 1.3G) and acpi works but the dsdt table had to be replaced due to bugs.
Quoted 6 lines
- I have to use "acpi=force" because otherwise it says my BIOS is too old. (Actually, I have the newest BIOS from Sony (dated 2000...*hmm*)
- reading Battery status works, but it always says "... battery will never fully charge", although it charges up to 100%
This is probably since for some reason the battery status is marked as charging but at 0%, which makes acpi think it will never fully charge inspite of the fact that it is already charged. Checking how long its going to take to charge is calculated using a simple formula and acpi doesn't check its results.
Quoted 8 lines
- When entering S3 state, some lines appear (something about hda, it is gone too fast to read), then the screen blanks and the power LED blinks red slowly, just like with Suspend-To-RAM in APM mode (which works fine btw.). But then I can't turn it on again, neither can I turn it off. I have to unplug the PSU and remove the battery to turn it off completely. (IIRC somebody posted the same problem with a Dell notebook some time ago).
S3 state is very difficult to implement. Most of the work is currently done on s4 state since its easier to implement.
It will probably be some time before S3 will function properly. If S4 doesn't work with 2.6 you could try the swsusp version (swsusp.sourceforge.net) there is an alpha version for 2.6 and a mostly stable version for 2.4 (a few issues but in most cases stable)
Quoted 3 lines
- Since I'm running ACPI, my system clock does weird things (going forward/backward some hours or days - ntpdate is my friend ;-)
Never ran into this problem.
You need to make sure you use hwclock to save system clock to hw be shutdown/suspend and restore it on resume (should be set up by the distribution). I don't think acpi should have anything to do with the clock.
Quoted 4 lines
Most important for me is to get S3 working. Is there any chance? Furthermore, what is the best way to test if the different cpu throttling settings have any effect at all?
You could probably look at some benchmarking software. There is the bogomips program (under the sysutils package in debian, don't know about others). Take note the it gives half the real value on some cpus (I think at list athelons are a problem but don't remember all of them).
Quoted 6 lines
Thanks
Martin Emrich
Quoted 9 lines
-------------------------------------------------------
This SF.Net email sponsored by: ApacheCon 2003, 16-19 November in Las Vegas. Learn firsthand the latest developments in Apache, PHP, Perl, XML, Java, MySQL, WebDAV, and more! http://www.apachecon.com/
_______________________________________________
Acpi-devel mailing list [email protected]
https://lists.sourceforge.net/lists/listinfo/acpi-devel
-------------------------------------------------------
This SF.Net email sponsored by: ApacheCon 2003, 16-19 November in Las Vegas. Learn firsthand the latest developments in Apache, PHP, Perl, XML, Java, MySQL, WebDAV, and more! http://www.apachecon.com/
A message that is not in the archive (sent off-list or not yet received): 1068588639.25527.19.camel-CsF8MuIeXe8qY7RrVmOR32ZHpeb/A1Y/@public.gmane.org
Am Di, den 11.11.2003 schrieb Micha Feigin um 23:10:
Quoted 4 lines · Martin Emrich
p3 450 sounds a bit old for acpi support but its possible (got a celron 450 hp to work but it needed a new bios).
Yes, but W2k works fine with ACPI, including S3 and BIOS-S4 (to a Bios-used partition).
Quoted 2 lines
I have fxa-53 (athelon 1.3G) and acpi works but the dsdt table had to be replaced due to bugs.
I think this might help me, too. How difficult is this? I heard that I have to learn some ACPI-Assembly-Language thingy, and I have of course to know what to patch in there...
Quoted 9 lines
Quoted 8 lines
- When entering S3 state, some lines appear (something about hda, it is gone too fast to read), then the screen blanks and the power LED blinks red slowly, just like with Suspend-To-RAM in APM mode (which works fine btw.). But then I can't turn it on again, neither can I turn it off. I have to unplug the PSU and remove the battery to turn it off completely. (IIRC somebody posted the same problem with a Dell notebook some time ago).
Quoted 3 lines
S3 state is very difficult to implement. Most of the work is currently done on s4 state since its easier to implement.
It will probably be some time before S3 will function properly.
So it might be as well not my notebook's fault, but just that the S3 code is not yet ready to work?
Quoted 3 lines
If S4 doesn't work with 2.6 you could try the swsusp version (swsusp.sourceforge.net) there is an alpha version for 2.6 and a mostly stable version for 2.4 (a few issues but in most cases stable)
Where does Linux save the RAM contents? I'm not interested in the kernel overwriting the first 260MB of my Harddrive...
Quoted 4 lines
You need to make sure you use hwclock to save system clock to hw be shutdown/suspend and restore it on resume (should be set up by the distribution). I don't think acpi should have anything to do with the clock.
I'll keep an eye on it...
According to bogomips, CPU throttling works, after echo 7 > /proc/acpi/processor/CPU0/throttling, it has only 1/10 of the bogomips.
Ciao
Martin
-------------------------------------------------------
This SF.Net email sponsored by: ApacheCon 2003, 16-19 November in Las Vegas. Learn firsthand the latest developments in Apache, PHP, Perl, XML, Java, MySQL, WebDAV, and more! http://www.apachecon.com/
A message that is not in the archive (sent off-list or not yet received): [email protected]
Quoted 9 lines · Martin Emrich
Am Di, den 11.11.2003 schrieb Micha Feigin um 23:10:
Quoted 4 lines · Martin Emrich
p3 450 sounds a bit old for acpi support but its possible (got a celron 450 hp to work but it needed a new bios).
Yes, but W2k works fine with ACPI, including S3 and BIOS-S4 (to a Bios-used partition).
Quoted 7 lines
Quoted 2 lines
I have fxa-53 (athelon 1.3G) and acpi works but the dsdt table had to be replaced due to bugs.
I think this might help me, too. How difficult is this? I heard that I have to learn some ACPI-Assembly-Language thingy, and I have of course to know what to patch in there...
Depends on how problematic you dsdt is.
For the basic stuff I didn't need to know anything. I followed the dsdt links on the acpi site to the tools and an explanation on how to copy and recompile the dsdt. One of the sites linked from there gives you details on how to solve to common compile errors.
I had a problem with reporting the ac status but some grepping through the file a comparing to the things that work I found out a solution. It mostly depends on how good you are with partially understanding code in a language you don't know.
Quoted 9 lines
Quoted 9 lines
Quoted 8 lines
- When entering S3 state, some lines appear (something about hda, it is gone too fast to read), then the screen blanks and the power LED blinks red slowly, just like with Suspend-To-RAM in APM mode (which works fine btw.). But then I can't turn it on again, neither can I turn it off. I have to unplug the PSU and remove the battery to turn it off completely. (IIRC somebody posted the same problem with a Dell notebook some time ago).
Quoted 7 lines
Quoted 3 lines
S3 state is very difficult to implement. Most of the work is currently done on s4 state since its easier to implement.
It will probably be some time before S3 will function properly.So it might be as well not my notebook's fault, but just that the S3 code is not yet ready to work?
AFAIK its more probably the S3 code. I don't know how much work was actually done on it.
Quoted 7 lines
Quoted 3 lines
If S4 doesn't work with 2.6 you could try the swsusp version (swsusp.sourceforge.net) there is an alpha version for 2.6 and a mostly stable version for 2.4 (a few issues but in most cases stable)
Where does Linux save the RAM contents? I'm not interested in the kernel overwriting the first 260MB of my Harddrive...
Linux saves the ram contents to the swap partition. The is partial support for swapfiles. Mostly working but not very well documented. Has some issues in some cases.
You will need to have enough room on you swap space and specify the swap partition to resume from (actually one of them the actual image isn't necessarily on that partition. you can give it in lilo as if not suspend image is found it just does a regular boot).
Notice that there are currently two implementation of swsusp I know of, which should merge at some time in the future. There is the 2.6 builtin version and the swsusp patch (swsusp.sourceforge.net). Couldn't get the first to work for me.
Quoted 16 lines
Quoted 4 lines
You need to make sure you use hwclock to save system clock to hw be shutdown/suspend and restore it on resume (should be set up by the distribution). I don't think acpi should have anything to do with the clock.
I'll keep an eye on it...
According to bogomips, CPU throttling works, after echo 7 >
/proc/acpi/processor/CPU0/throttling, it has only 1/10 of the bogomips.Ciao
Martin
Quoted 9 lines
-------------------------------------------------------
This SF.Net email sponsored by: ApacheCon 2003, 16-19 November in Las Vegas. Learn firsthand the latest developments in Apache, PHP, Perl, XML, Java, MySQL, WebDAV, and more! http://www.apachecon.com/
_______________________________________________
Acpi-devel mailing list [email protected]
https://lists.sourceforge.net/lists/listinfo/acpi-devel
-------------------------------------------------------
This SF.Net email sponsored by: ApacheCon 2003, 16-19 November in Las Vegas. Learn firsthand the latest developments in Apache, PHP, Perl, XML, Java, MySQL, WebDAV, and more! http://www.apachecon.com/
I have similar problem on my FSC AmiloD 8820.
But by the way, before you take off the battery and unplug the PSU, try to switch of the notebook by pressing the power button for more than 5 seconds (perhaps even 10sec).
As on the newer PCs, the button is a "soft button" and in most cases you can switchoff the system with holding down for such a time (hardware curcuit switches off, if system hangs !).
Christoph P
Quoted 44 lines · Martin Emrich
Hi!
I'm experimenting with Kernel 2.6.0-test9 + acpi-20031002-2.6.0-test9 patch on my Sony Vaio PCG-F403 (P3-450, i440BX, PhoenixBIOS, both APM and ACPI capable). But I have several problems:
- I have to use "acpi=force" because otherwise it says my BIOS is too old. (Actually, I have the newest BIOS from Sony (dated 2000...*hmm*)
- reading Battery status works, but it always says "... battery will never fully charge", although it charges up to 100%
- When entering S3 state, some lines appear (something about hda, it is gone too fast to read), then the screen blanks and the power LED blinks red slowly, just like with Suspend-To-RAM in APM mode (which works fine btw.). But then I can't turn it on again, neither can I turn it off. I have to unplug the PSU and remove the battery to turn it off completely. (IIRC somebody posted the same problem with a Dell notebook some time ago).
- Since I'm running ACPI, my system clock does weird things (going forward/backward some hours or days - ntpdate is my friend ;-)
Most important for me is to get S3 working. Is there any chance? Furthermore, what is the best way to test if the different cpu throttling settings have any effect at all?
Thanks
Martin Emrich
-------------------------------------------------------
This SF.Net email sponsored by: ApacheCon 2003, 16-19 November in Las Vegas. Learn firsthand the latest developments in Apache, PHP, Perl, XML, Java, MySQL, WebDAV, and more! http://www.apachecon.com/
_______________________________________________
Acpi-devel mailing list [email protected]
https://lists.sourceforge.net/lists/listinfo/acpi-devel
Signature · 11 lines
------------------------------------------------------- private: [email protected] company: christoph.plattner-xLnV79OblemzZXS1Dc/[email protected] ------------------------------------------------------- This SF.Net email sponsored by: ApacheCon 2003, 16-19 November in Las Vegas. Learn firsthand the latest developments in Apache, PHP, Perl, XML, Java, MySQL, WebDAV, and more! http://www.apachecon.com/
A message that is not in the archive (sent off-list or not yet received): [email protected]
Am Mi, den 12.11.2003 schrieb Christoph Plattner um 22:36:
Quoted 8 lines
I have similar problem on my FSC AmiloD 8820.
But by the way, before you take off the battery and unplug the PSU, try to switch of the notebook by pressing the power button for more than 5 seconds (perhaps even 10sec).
As on the newer PCs, the button is a "soft button" and in most cases you can switchoff the system with holding down for such a time (hardware curcuit switches off, if system hangs !).
I know, but the notebook is so badly locked up, that the button does nothing. Removing all power sources is the only way.
I could go back to APM, but that would be to easy ... *g*
Ciao
Martin
-------------------------------------------------------
This SF.Net email sponsored by: ApacheCon 2003, 16-19 November in Las Vegas. Learn firsthand the latest developments in Apache, PHP, Perl, XML, Java, MySQL, WebDAV, and more! http://www.apachecon.com/
A message that is not in the archive (sent off-list or not yet received): [email protected]
Quoted 10 lines · Martin Emrich
Am Mi, den 12.11.2003 schrieb Christoph Plattner um 22:36:
Quoted 8 lines
I have similar problem on my FSC AmiloD 8820.
But by the way, before you take off the battery and unplug the PSU, try to switch of the notebook by pressing the power button for more than 5 seconds (perhaps even 10sec).
As on the newer PCs, the button is a "soft button" and in most cases you can switchoff the system with holding down for such a time (hardware curcuit switches off, if system hangs !).
Quoted 2 lines
I know, but the notebook is so badly locked up, that the button does nothing. Removing all power sources is the only way.
I have the same problem on my Dell X200. Must remove all power sources.
Quoted 1 line
I could go back to APM, but that would be to easy ... *g*
heck, if it works...
Scott
-------------------------------------------------------
This SF.Net email sponsored by: ApacheCon 2003, 16-19 November in Las Vegas. Learn firsthand the latest developments in Apache, PHP, Perl, XML, Java, MySQL, WebDAV, and more! http://www.apachecon.com/