[ltp] Gentoo Linux - APM problem with T23

Keith Frechette linux-thinkpad@www.bm-soft.com
Fri, 10 May 2002 10:24:42 -0400


This is a multipart message in MIME format.
--=_alternative 004EFB5885256BB5_=
Content-Type: text/plain; charset="us-ascii"

Edi,

> I might take a closer look at what exactly apmd_proxy does in SuSE's
> system but it is my understanding that the machine should be able to
> suspend/resume without apmd being there at all so I suppose it's a
> problem with the kernel.

There seems to be huge differences in opinion between manufacturers about 
the responsibilities of BIOS when it comes to saving/restore the states of 
devices. For instance, should the BIOS attempt to save/restore the state 
of audio, or should it simply let the OS pass the appropriate notification 
to the audio driver and let it handle the event in an appropriate way? In 
that specific case (audio), OEM's seem to differ in their thinking. For 
the IBM ThinkPad T23 notebook, the OS (or apmd script) needs to save and 
restore the state. However, the ThinkPad T23 does save/restore the state 
of "critical" devices.

There is a reasonable chance that audio is causing your hang. I'd compare 
the apmd_proxy scripts as well as the audio drivers (kernel vs. ALSA, 
etc.). You might also want to consult the Linux certification reports for 
the ThinkPad T23 at http://www.linuxcare.com/labs/certs. They include 
procedures for working around such problems.

-- Keith

Keith Frechette
IBM Linux Technology Center, Development and Support for ThinkPad Notebook 
Computers
Research Triangle Park, North Carolina
kfrechet@us.ibm.com / 919-779-1252 / TieLine: 223-8449

--=_alternative 004EFB5885256BB5_=
Content-Type: text/html; charset="us-ascii"


<br><font size=2 face="sans-serif">Edi,</font>
<br>
<br><font size=2><tt>&gt; I might take a closer look at what exactly apmd_proxy does in SuSE's<br>
&gt; system but it is my understanding that the machine should be able to<br>
&gt; suspend/resume without apmd being there at all so I suppose it's a<br>
&gt; problem with the kernel.<br>
</tt></font>
<br><font size=2 face="sans-serif">There seems to be huge differences in opinion between manufacturers about the responsibilities of BIOS when it comes to saving/restore the states of devices. For instance, should the BIOS attempt to save/restore the state of audio, or should it simply let the OS pass the appropriate notification to the audio driver and let it handle the event in an appropriate way? In that specific case (audio), OEM's seem to differ in their thinking. For the IBM ThinkPad T23 notebook, the OS (or apmd script) needs to save and restore the state. However, the ThinkPad T23 does save/restore the state of &quot;critical&quot; devices.</font>
<br>
<br><font size=2 face="sans-serif">There is a reasonable chance that audio is causing your hang. I'd compare the apmd_proxy scripts as well as the audio drivers (kernel vs. ALSA, etc.). You might also want to consult the Linux certification reports for the ThinkPad T23 at http://www.linuxcare.com/labs/certs. They include procedures for working around such problems.</font>
<br>
<br><font size=2 face="sans-serif">-- Keith<br>
<br>
Keith Frechette<br>
IBM Linux Technology Center, Development and Support for ThinkPad Notebook Computers<br>
Research Triangle Park, North Carolina<br>
kfrechet@us.ibm.com / 919-779-1252 / TieLine: 223-8449<br>
</font>
--=_alternative 004EFB5885256BB5_=--

----- The Linux ThinkPad mailing list -----
The linux-thinkpad mailing list home page is at:
http://www.bm-soft.com/~bm/tp_mailing.html