[ltp] x61s suspend problem

Peter Frühberger linux-thinkpad@linux-thinkpad.org
Sun, 27 Jan 2008 19:56:11 +0100


------=_Part_4335_27207981.1201460171052
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable
Content-Disposition: inline

Hi Vincent,

2008/1/27, Vincent C Jones <v.jones@networkingunlimited.com>:
>
> On Sun, 2008-01-27 at 16:22 +0000, Ashok Leyland wrote:
> > On Sun, Jan 27, 2008 at 12:48:26PM +0100, Peter Fr?hberger wrote:
> > > Hi Pete,
> > > Am Sonntag 27 Januar 2008 01:26:45 schrieben Sie:
> > > > >>>>> "Peter" =3D=3D Peter Fr=FChberger <peter.fruehberger@gmail.co=
m>
> writes:
> > > >
> > > >     Peter> I filed a bugreport, some time ago. Someone has tracked
> this
> > > >     Peter> issue down to two patches which where introduced into th=
e
> > > >     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 kern=
el
> ?
> > > >
> > > > 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
> ubuntu
> > > config from 2.6.22-14-generic, added the iwlwifi stuff and the snd_hd=
a
> > > driver, because ubuntu ships these modules separately.
> > >
> > > I use the following grub options: acpi_sleep=3Ds3_bios,s3_mode
> acpi_osi=3D"Linux"
> > > usbcore autosuspend=3D1
> >
> > FWIW, 'kernel/acpi_video_flags =3D 3' in /etc/sysctl.conf is equivalent=
 to
> > 'acpi_sleep=3Ds3_bios,s3_mode' on the kernel command line.
> >
> > I'm not using 'acpi_osi=3D"Linux"' - should I be?
> >
> > X61s running 2.6.24, using the in-kernel thinkpad-acpi.
>
> FYI: Since the X61 and X61s seem to have a lot in common, and I just
> went through two days getting 2.6.24 to work correctly on my X61,
> thought you might benefit from my results. In particular, the default
> for "acpi_osi" changed between 2.6.22 and 2.6.24 so you now need to
> explicitly ask for it rather than getting it by default and on my 7675
> X61, you need it, along with several other options.
>
> Suspend/resume works from text console & X using S2RAM_OPTS=3D"-f -a 3"
>
> Linux is SuSE 10.3 using SuSE "kernel-default-2.6.24-32.1" with disk
> protect and tp_smapi patches.
>
> X61:~ # s2ram -i
> This machine can be identified by:
>     sys_vendor   =3D "LENOVO"
>     sys_product  =3D "7675CTO"
>     sys_version  =3D "ThinkPad X61"
>     bios_version =3D "7NET30WW (1.11 )"
> See http://suspend.sf.net/s2ram-support.html for details.
>
> If you report a problem, please include the complete output above.
> X61:~ #
>
> Note that the following additional kernel options are also needed:
>   pci=3Drouteirq
>   irqfixup
>   acpi_osi=3DLinux
> The first two to get the right side USB ports and SD card slots to work,
> the last to get resume & hibernate to work.
>
> Good luck and have fun!
>
> Vince
>
> --
> The linux-thinkpad mailing list home page is at:
> http://mailman.linux-thinkpad.org/mailman/listinfo/linux-thinkpad
>

I did not need pci=3Drouteirq and the irqfixup parameter to get these two
devices working

Peter


--=20
"The Death of One is a tragedy, the Death of Millions is just a
statistic" - 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
Fingerprint: 4606 DA19 EC2E 9A0B 0157  C81B DA07 CF63 1A99 5A9B

------=_Part_4335_27207981.1201460171052
Content-Type: text/html; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable
Content-Disposition: inline

Hi Vincent,<br><br><div><span class=3D"gmail_quote">2008/1/27, Vincent C Jo=
nes &lt;<a href=3D"mailto:v.jones@networkingunlimited.com">v.jones@networki=
ngunlimited.com</a>&gt;:</span><blockquote class=3D"gmail_quote" style=3D"b=
order-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; paddin=
g-left: 1ex;">
On Sun, 2008-01-27 at 16:22 +0000, Ashok Leyland wrote:<br>&gt; On Sun, Jan=
 27, 2008 at 12:48:26PM +0100, Peter Fr?hberger wrote:<br>&gt; &gt; Hi Pete=
,<br>&gt; &gt; Am Sonntag 27 Januar 2008 01:26:45 schrieben Sie:<br>&gt; &g=
t; &gt; &gt;&gt;&gt;&gt;&gt; &quot;Peter&quot; =3D=3D Peter Fr=FChberger &l=
t;<a href=3D"mailto:peter.fruehberger@gmail.com">peter.fruehberger@gmail.co=
m</a>&gt; writes:<br>
&gt; &gt; &gt;<br>&gt; &gt; &gt;&nbsp;&nbsp;&nbsp;&nbsp; Peter&gt; I filed =
a bugreport, some time ago. Someone has tracked this<br>&gt; &gt; &gt;&nbsp=
;&nbsp;&nbsp;&nbsp; Peter&gt; issue down to two patches which where introdu=
ced into the<br>&gt; &gt; &gt;&nbsp;&nbsp;&nbsp;&nbsp; Peter&gt; ubuntu ker=
nel as well as into 2.6.23 mainline. The workaround<br>
&gt; &gt; &gt;&nbsp;&nbsp;&nbsp;&nbsp; Peter&gt; for the display being blan=
k after resume was to append the<br>&gt; &gt; &gt;&nbsp;&nbsp;&nbsp;&nbsp; =
Peter&gt; s3bios option to grub.<br>&gt; &gt; &gt;<br>&gt; &gt; &gt;&nbsp;&=
nbsp;&nbsp;&nbsp; Peter&gt;<br>&gt; &gt; &gt; <a href=3D"https://bugs.launc=
hpad.net/ubuntu/+source/linux-source-2.6.22/+bug/153545">https://bugs.launc=
hpad.net/ubuntu/+source/linux-source-2.6.22/+bug/153545</a><br>
&gt; &gt; &gt;<br>&gt; &gt; &gt;&nbsp;&nbsp;&nbsp;&nbsp; Peter&gt; I am run=
ning 2.6.24 successfully for 3 days now, did 5<br>&gt; &gt; &gt;&nbsp;&nbsp=
;&nbsp;&nbsp; Peter&gt; suspends in a row and everything is fine.<br>&gt; &=
gt; &gt;<br>&gt; &gt; &gt; Hi Peter<br>
&gt; &gt; &gt;<br>&gt; &gt; &gt; a few questions.<br>&gt; &gt; &gt;<br>&gt;=
 &gt; &gt; 1 - do you use the acpi_sleep=3Ds3_bios option with the 2.6.24 k=
ernel ?<br>&gt; &gt; &gt;<br>&gt; &gt; &gt; 2 - are your USB ports OK after=
 resume ?<br>
&gt; &gt; &gt;<br>&gt; &gt; &gt; 3 - what procedure did you use to upgrade =
the kernel ? was it this<br>&gt; &gt; &gt;<br>&gt; &gt; &gt;&nbsp;&nbsp; <a=
 href=3D"http://ubuntuforums.org/showthread.php?t=3D646755">http://ubuntufo=
rums.org/showthread.php?t=3D646755</a><br>
&gt; &gt; &gt;<br>&gt; &gt; &gt; i&#39;m running gutsy on an x61s so would =
love to know what the final answer<br>&gt; &gt; &gt; is!<br>&gt; &gt; &gt;<=
br>&gt; &gt; &gt; regards<br>&gt; &gt; &gt; Pete<br>&gt; &gt;<br>&gt; &gt; =
I just got the vanilla kernel sources from <a href=3D"http://www.kernel.org=
">www.kernel.org</a>. I used the ubuntu<br>
&gt; &gt; config from 2.6.22-14-generic, added the iwlwifi stuff and the sn=
d_hda<br>&gt; &gt; driver, because ubuntu ships these modules separately.<b=
r>&gt; &gt;<br>&gt; &gt; I use the following grub options: acpi_sleep=3Ds3_=
bios,s3_mode acpi_osi=3D&quot;Linux&quot;<br>
&gt; &gt; usbcore autosuspend=3D1<br>&gt;<br>&gt; FWIW, &#39;kernel/acpi_vi=
deo_flags =3D 3&#39; in /etc/sysctl.conf is equivalent to<br>&gt; &#39;acpi=
_sleep=3Ds3_bios,s3_mode&#39; on the kernel command line.<br>&gt;<br>&gt; I=
&#39;m not using &#39;acpi_osi=3D&quot;Linux&quot;&#39; - should I be?<br>
&gt;<br>&gt; X61s running 2.6.24, using the in-kernel thinkpad-acpi.<br><br=
>FYI: Since the X61 and X61s seem to have a lot in common, and I just<br>we=
nt through two days getting 2.6.24 to work correctly on my X61,<br>thought =
you might benefit from my results. In particular, the default<br>
for &quot;acpi_osi&quot; changed between 2.6.22 and 2.6.24 so you now need =
to<br>explicitly ask for it rather than getting it by default and on my 767=
5<br>X61, you need it, along with several other options.<br><br>Suspend/res=
ume works from text console &amp; X using S2RAM_OPTS=3D&quot;-f -a 3&quot;<=
br>
<br>Linux is SuSE 10.3 using SuSE &quot;kernel-default-2.6.24-32.1&quot; wi=
th disk<br>protect and tp_smapi patches.<br><br>X61:~ # s2ram -i<br>This ma=
chine can be identified by:<br>&nbsp;&nbsp;&nbsp;&nbsp;sys_vendor&nbsp;&nbs=
p; =3D &quot;LENOVO&quot;<br>
&nbsp;&nbsp;&nbsp;&nbsp;sys_product&nbsp;&nbsp;=3D &quot;7675CTO&quot;<br>&=
nbsp;&nbsp;&nbsp;&nbsp;sys_version&nbsp;&nbsp;=3D &quot;ThinkPad X61&quot;<=
br>&nbsp;&nbsp;&nbsp;&nbsp;bios_version =3D &quot;7NET30WW (1.11 )&quot;<br=
>See <a href=3D"http://suspend.sf.net/s2ram-support.html">http://suspend.sf=
.net/s2ram-support.html</a> for details.<br>
<br>If you report a problem, please include the complete output above.<br>X=
61:~ #<br><br>Note that the following additional kernel options are also ne=
eded:<br>&nbsp;&nbsp;pci=3Drouteirq<br>&nbsp;&nbsp;irqfixup<br>&nbsp;&nbsp;=
acpi_osi=3DLinux<br>The first two to get the right side USB ports and SD ca=
rd slots to work,<br>
the last to get resume &amp; hibernate to work.<br><br>Good luck and have f=
un!<br><br>Vince<br><br>--<br>The linux-thinkpad mailing list home page is =
at:<br><a href=3D"http://mailman.linux-thinkpad.org/mailman/listinfo/linux-=
thinkpad">http://mailman.linux-thinkpad.org/mailman/listinfo/linux-thinkpad=
</a><br>
</blockquote></div><br>I did not need pci=3Drouteirq and the irqfixup param=
eter to get these two devices working<br><br>Peter<br><br clear=3D"all"><br=
>-- <br>&quot;The Death of One is a tragedy, the Death of Millions is just =
a<br>
statistic&quot; - M.M.<br><br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nb=
sp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Key-ID:&nbs=
p;&nbsp;&nbsp;&nbsp; 0x1A995A9B<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbs=
p;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; keyser=
ver: <a href=3D"http://pgp.mit.edu">pgp.mit.edu</a><br>=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<br>Fingerprint: 4606 DA19 EC2E 9A0B 0157&nbsp;&nbsp;C81B=
 DA07 CF63 1A99 5A9B

------=_Part_4335_27207981.1201460171052--