[ltp] x61s suspend problem

Peter Frühberger linux-thinkpad@linux-thinkpad.org
Sun, 27 Jan 2008 12:48:26 +0100


--nextPart13212623.b1fhm3Anh4
Content-Type: text/plain;
  charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable
Content-Disposition: inline

Hi Pete,
Am Sonntag 27 Januar 2008 01:26:45 schrieben Sie:
> >>>>> "Peter" =3D=3D Peter Fr=FChberger <peter.fruehberger@gmail.com> wri=
tes:
>
>     Peter> I filed a bugreport, some time ago. Someone has tracked this
>     Peter> issue down to two patches which where introduced into the
>     Peter> ubuntu kernel as well as into 2.6.23 mainline. The workaround
>     Peter> for the display being blank after resume was to append the
>     Peter> s3bios option to grub.
>
>     Peter>
> https://bugs.launchpad.net/ubuntu/+source/linux-source-2.6.22/+bug/153545
>
>     Peter> I am running 2.6.24 successfully for 3 days now, did 5
>     Peter> suspends in a row and everything is fine.
>
> Hi Peter
>
> a few questions.
>
> 1 - do you use the acpi_sleep=3Ds3_bios option with the 2.6.24 kernel ?
>
> 2 - are your USB ports OK after resume ?
>
> 3 - what procedure did you use to upgrade the kernel ? was it this
>
>   http://ubuntuforums.org/showthread.php?t=3D646755
>
> i'm running gutsy on an x61s so would love to know what the final answer
> is!
>
> regards
> Pete

I just got the vanilla kernel sources from www.kernel.org. I used the ubunt=
u=20
config from 2.6.22-14-generic, added the iwlwifi stuff and the snd_hda=20
driver, because ubuntu ships these modules separately.

I use the following grub options: acpi_sleep=3Ds3_bios,s3_mode acpi_osi=3D"=
Linux"=20
usbcore autosuspend=3D1=20

The last one is because of powersaving suggested by powertop, but though no=
t=20
working i think.

One important change could be, that i changed the IRQs in Bios from 11 to=20
Auto. I use Bios Version 1.10 (1.11 is out already, but the changelog was n=
ot=20
convincing me to upgrade)

I can send you my kernel configuration, etc.

kernel compilation is rather easy:
sudo apt-get install build-essential kernel-package
#get kernel from www.kernel.org and extract it
#get latest thinkpad-acpi patch from sourceforge site
cd /usr/src/linux-2.6.24
#patch with thinkpad-acpi
#copy ubuntu config
cp /boot/config-2.6.22-14-generic .config
sudo make oldconfig
sudo make menuconfig (add iwlwifi and snd_hda)

sudo make-kpkg clean && sudo make-kpkg --append-to-version "-test1" --initr=
d=20
kernel_image

Don`t forget to place the iwlwifi firmware in the right=20
place /lib/firmware/2.6.24-test1/

after the deb package has been created, just install it with sudo dpkg -i=20
kernel....-test1.deb

Peter


=2D-=20
"The Death of One is a tragedy, the Death of Millions is just a statistic" =
=2D=20
M.M.

		    Key-ID:     0x1A995A9B
		    keyserver: pgp.mit.edu
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
=46ingerprint: 4606 DA19 EC2E 9A0B 0157  C81B DA07 CF63 1A99 5A9B

--nextPart13212623.b1fhm3Anh4
Content-Type: application/pgp-signature; name=signature.asc 
Content-Description: This is a digitally signed message part.

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

iD8DBQBHnG+U2gfPYxqZWpsRAuDwAKDl9ik6R1Y9SYqUZWa/i3hgCJR37ACgkrBz
wJ3kF55Qbgi8CnV9X7BP57Y=
=qxjD
-----END PGP SIGNATURE-----

--nextPart13212623.b1fhm3Anh4--