Re: [ACPI-sppt] ACPI problem with Sharp PC UM 20

Sebastian Henschel <[email protected]> Thu, 2 Oct 2003 17:06:32 +0200
Newsgroups gmane.linux.acpi.support
Message-ID <[email protected]>
hello matthew...

* Matthew Panetta <[email protected]> [2003-10-02 09:29 +0200]:
> 
> I was recently given a Sharp PC UM-20 by my employer to do some work
> with.  I've installed Redhat Linux 9 on it and noted that apm would not
 
> Using kernel 2.4.22 from a mag disk I've complied myself a kernel with
> acpi turned on and apm off.  Now I get a whole heap of info about the
> battery status etc but my notebook has developed insomnia.  I just got
> acpid to turn the notebook off when I press the power button but I just
> can't get the notebook to sleep.
> 
> I've tried 
> 
>    echo S3 > /proc/acpi/sleep
> 
> and 
> 
>    echo 3 > /proc/acpi/sleep

this would be the correct syntax if there was S3 in 2.4.x kernels.
you might check
http://acpi.sourceforge.net/documentation/sleep.html

> Nothing I do makes it sleep.  

this is because your machine does not seem to use any supported sleep
modes.

> When I cat /proc/acpi/sleep I get "S0 S3 S4 S5"
> 
> When I cat /proc/info I get
> 
> version:    20030813
> states:    S0 S3 S4 S5

S0: awake
S1: a light sleep which is not supported on your laptop.
S2: unused
S3: suspend to ram, which is not supported by 2.4.x kernels
S4: suspend to disk, which is neither supported by 2.4.x kernels, but
you can use swsusp, see below.
S5: power-off

> There is a line in /proc/pci that tells me I have an Interl 82440MX
> Power Management Controller (rev 0).
> 
> I have not been able to find much info on this notebook at all.  The
> Sharp site is not that helpful.
> 
> I miss the good old days on my first notebook that had a biso that would
> do suspend to disk.  One press of a button and it would do a suspend to
> disk.  Worked great never had a problem with it.  I've tried to install
> swsup but the patches were against 2.4.20... I'll be happy to get just a
> suspend to ram working for now.

you might try 2.6.0-test5, though i am not sure if it really supports S3.
swsusp works quite well even with 2.4.22 kernels. download the tarball
with the patch against 2.4.21, it contains an extra patch against
2.4.22(-preX), though swsusp implements S4.

hth,
 sebastian
-- 
::: sebastian henschel
::: kodeaffe
::: lynx -source http://www.kodeaffe.de/shensche.pub | gpg --import
signature.asc (application/pgp-signature, 189 B)
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.3 (GNU/Linux)

iD8DBQE/fD73reHfL3pi+bQRAnFBAJ9kn65iunLzC1+rL0vJd9VG0z4mAQCgkMZt
9xAk69JG8VEFM30hGu+to9w=
=iprU
-----END PGP SIGNATURE-----