On Sat, 24 Feb 2007, Henning Schild wrote:
> switch. And I know from the list that T43 does not have the switch but
> i dont know whether it has one of the DSTS.
It doesn't have any of the WLSW/GSTS methods.
> I was talking about WLSW which is (on T60) a method only returning GSTS.
>
> Scope (\_SB.PCI0.LPC.EC.HKEY)
> {
> Name (WGFL, 0x00)
> Method (WLSW, 0, NotSerialized)
> {
> Return (\_SB.PCI0.LPC.EC.GSTS)
> }
>
> I do not know if it is correct to return GSTS or if it would be better
> to use that getter. (maybe it returns some more/something else on other
Always use the highest-level possible, i.e. use WLSW. Or, if anything else
uses WLSW, check to see if you should not be using that instead.
Also, you need to make sure you understand what GSTS returns if it has more
than one bit. What is its definition in the AML code?
--
"One disk to rule them all, One disk to find them. One disk to bring
them all and in the darkness grind them. In the Land of Redmond
where the shadows lie." -- The Silicon Valley Tarot
Henrique Holschuh
|