* S3 hangs Sony Notebook
@ 2003-11-11 21:07 Martin Emrich
[not found] ` <1068584857.1419.11.camel-NZYYv2kObinUTSZfUHD3qA@public.gmane.org>
2003-11-12 21:36 ` Christoph Plattner
0 siblings, 2 replies; 7+ messages in thread
From: Martin Emrich @ 2003-11-11 21:07 UTC (permalink / raw)
To: Acpi-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f
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/
^ permalink raw reply [flat|nested] 7+ messages in thread[parent not found: <1068584857.1419.11.camel-NZYYv2kObinUTSZfUHD3qA@public.gmane.org>]
* Re: S3 hangs Sony Notebook [not found] ` <1068584857.1419.11.camel-NZYYv2kObinUTSZfUHD3qA@public.gmane.org> @ 2003-11-11 22:10 ` Micha Feigin [not found] ` <1068588639.25527.19.camel-CsF8MuIeXe8qY7RrVmOR32ZHpeb/A1Y/@public.gmane.org> 0 siblings, 1 reply; 7+ messages in thread From: Micha Feigin @ 2003-11-11 22:10 UTC (permalink / raw) To: Acpi-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f On Tue, 2003-11-11 at 23:07, Martin Emrich wrote: > 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. > - 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. > - 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) > - 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. > 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). > 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 > Acpi-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org > 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/ ^ permalink raw reply [flat|nested] 7+ messages in thread
[parent not found: <1068588639.25527.19.camel-CsF8MuIeXe8qY7RrVmOR32ZHpeb/A1Y/@public.gmane.org>]
* Re: S3 hangs Sony Notebook [not found] ` <1068588639.25527.19.camel-CsF8MuIeXe8qY7RrVmOR32ZHpeb/A1Y/@public.gmane.org> @ 2003-11-12 11:23 ` Martin Emrich [not found] ` <1068636191.6719.24.camel-NZYYv2kObinUTSZfUHD3qA@public.gmane.org> 0 siblings, 1 reply; 7+ messages in thread From: Martin Emrich @ 2003-11-12 11:23 UTC (permalink / raw) To: Acpi-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f Am Di, den 11.11.2003 schrieb Micha Feigin um 23:10: > On Tue, 2003-11-11 at 23:07, Martin Emrich wrote: > 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). > 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... > > - 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. So it might be as well not my notebook's fault, but just that the S3 code is not yet ready to work? > 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... > 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/ ^ permalink raw reply [flat|nested] 7+ messages in thread
[parent not found: <1068636191.6719.24.camel-NZYYv2kObinUTSZfUHD3qA@public.gmane.org>]
* Re: S3 hangs Sony Notebook [not found] ` <1068636191.6719.24.camel-NZYYv2kObinUTSZfUHD3qA@public.gmane.org> @ 2003-11-12 16:44 ` Micha Feigin 0 siblings, 0 replies; 7+ messages in thread From: Micha Feigin @ 2003-11-12 16:44 UTC (permalink / raw) To: Acpi-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f On Wed, 2003-11-12 at 13:23, Martin Emrich wrote: > Am Di, den 11.11.2003 schrieb Micha Feigin um 23:10: > > On Tue, 2003-11-11 at 23:07, Martin Emrich wrote: > > > 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). > > > 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. > > > - 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. > > 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. > > 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. > > 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/ > _______________________________________________ > Acpi-devel mailing list > Acpi-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org > 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/ ^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: S3 hangs Sony Notebook 2003-11-11 21:07 S3 hangs Sony Notebook Martin Emrich [not found] ` <1068584857.1419.11.camel-NZYYv2kObinUTSZfUHD3qA@public.gmane.org> @ 2003-11-12 21:36 ` Christoph Plattner [not found] ` <3FB2A7E6.60106-RbZlAiThDcE@public.gmane.org> 1 sibling, 1 reply; 7+ messages in thread From: Christoph Plattner @ 2003-11-12 21:36 UTC (permalink / raw) To: emme-K4UpdBpcDjFP6xvG9yNuTA; +Cc: Acpi-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f 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 Martin Emrich wrote: > 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 > Acpi-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org > https://lists.sourceforge.net/lists/listinfo/acpi-devel > > -- ------------------------------------------------------- private: christoph.plattner-RbZlAiThDcE@public.gmane.org company: christoph.plattner-xLnV79OblemzZXS1Dc/lvw@public.gmane.org ------------------------------------------------------- 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/ ^ permalink raw reply [flat|nested] 7+ messages in thread
[parent not found: <3FB2A7E6.60106-RbZlAiThDcE@public.gmane.org>]
* Re: S3 hangs Sony Notebook [not found] ` <3FB2A7E6.60106-RbZlAiThDcE@public.gmane.org> @ 2003-11-12 22:15 ` Martin Emrich [not found] ` <1068675309.8725.5.camel-NZYYv2kObinUTSZfUHD3qA@public.gmane.org> 0 siblings, 1 reply; 7+ messages in thread From: Martin Emrich @ 2003-11-12 22:15 UTC (permalink / raw) To: Acpi-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f Am Mi, den 12.11.2003 schrieb Christoph Plattner um 22:36: > 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/ ^ permalink raw reply [flat|nested] 7+ messages in thread
[parent not found: <1068675309.8725.5.camel-NZYYv2kObinUTSZfUHD3qA@public.gmane.org>]
* Re: S3 hangs Sony Notebook [not found] ` <1068675309.8725.5.camel-NZYYv2kObinUTSZfUHD3qA@public.gmane.org> @ 2003-11-12 23:03 ` Scott T. Smith 0 siblings, 0 replies; 7+ messages in thread From: Scott T. Smith @ 2003-11-12 23:03 UTC (permalink / raw) To: emme-K4UpdBpcDjFP6xvG9yNuTA; +Cc: Acpi-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f On Wed, 2003-11-12 at 14:15, Martin Emrich wrote: > Am Mi, den 12.11.2003 schrieb Christoph Plattner um 22:36: > > 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 have the same problem on my Dell X200. Must remove all power sources. > 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/ ^ permalink raw reply [flat|nested] 7+ messages in thread
end of thread, other threads:[~2003-11-12 23:03 UTC | newest]
Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-11-11 21:07 S3 hangs Sony Notebook Martin Emrich
[not found] ` <1068584857.1419.11.camel-NZYYv2kObinUTSZfUHD3qA@public.gmane.org>
2003-11-11 22:10 ` Micha Feigin
[not found] ` <1068588639.25527.19.camel-CsF8MuIeXe8qY7RrVmOR32ZHpeb/A1Y/@public.gmane.org>
2003-11-12 11:23 ` Martin Emrich
[not found] ` <1068636191.6719.24.camel-NZYYv2kObinUTSZfUHD3qA@public.gmane.org>
2003-11-12 16:44 ` Micha Feigin
2003-11-12 21:36 ` Christoph Plattner
[not found] ` <3FB2A7E6.60106-RbZlAiThDcE@public.gmane.org>
2003-11-12 22:15 ` Martin Emrich
[not found] ` <1068675309.8725.5.camel-NZYYv2kObinUTSZfUHD3qA@public.gmane.org>
2003-11-12 23:03 ` Scott T. Smith
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox