[ltp] t23 - ACPI or APM?

Marius Gedminas linux-thinkpad@linux-thinkpad.org
Sat, 15 Jan 2005 01:57:13 +0200


--Md/poaVZ8hnGTzuv
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

On Mon, Jan 10, 2005 at 04:56:30PM -0700, Adam Olsen wrote:
> I'm the proud new owner of a thinkpad t23.  I installed ubuntu on it=20
> this morning, and everything seems to be working ok except power manageme=
nt.

Did you look at http://www.ubuntulinux.org/wiki/SuspendHowto?

> ACPI doesn't seem to want to do anything at all - echo "standby" >=20
> /sys/power/state does absolutely nothing.

'echo 3 > /proc/acpi/sleep' works for me.  My sleep.sh on Warty was

  /etc/init.d/hotplug stop
  /sbin/hwclock --systohc
  echo 3 > /proc/acpi/sleep
  /etc/init.d/hotplug start
  /sbin/hwclock --hctosys

Without playing hwclock my clock would go twice as fast while suspended
(cpufreq problem?).  Without restarting hotplug external USB devices
would not work after a resume until I manually did /etc/init.d/hotplug
restart.

Now I upgraded to Hoary (not recommended, unless you like an unstable
system) and the default suspend script that comes from the acpi-support
package works just fine.

> I tried disabling ACPI and just using apm, but when resuming from apm -s=
=20
> all hell broke loose.  My keyboard was typing =3D by itself, and wouldn't=
=20
> respond to any other keypresses.

I tried APM with a 2.6 kernel when I was still using Debian unstable,
and failed to get it working reliably (after a resume I would lose USB,
PCMCIA and network).

APM worked perfectly on a 2.4 kernel on my old Debian.

ACPI works fine on a 2.6 kernel now on my new Ubuntu.

Marius Gedminas
--=20
I'm a shareware signature!  Send $2 if you use me, $10 for a manual.

--Md/poaVZ8hnGTzuv
Content-Type: application/pgp-signature; name="signature.asc"
Content-Description: Digital signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.5 (GNU/Linux)

iD8DBQFB6FxZkVdEXeem148RAriCAJ4ihhFbkFW2004cfapMy96JBxKERQCdE8Sn
FvxgZbnC2+BpmEKtIwJVhZo=
=ioOp
-----END PGP SIGNATURE-----

--Md/poaVZ8hnGTzuv--