[ltp] corrected dsdt for the 3.05 bios
Alexander Gran
linux-thinkpad@linux-thinkpad.org
Thu, 01 Jul 2004 00:55:13 +0200
Am Donnerstag, 1. Juli 2004 00:43 schrieb Niel Lambrechts:
> > > i had some errors with the original dsdt during bootup, so i corrected
> > > it. nevertheless, two warnings remain, e.g., that "not all paths return
> > > a value {SOMEVALUE}". as i compared it to a t40p dsdt i saw that there
> > > the mentioned "paths" return the value (0x00). is it save to do the
> > > same?
> You could easily fix this by finding the offending function/Method and
> adding a Return to the end.
>
> example:
> 348: Method (\_WAK, 1, NotSerialized)
> 349- {
> 350-455 ...
> 456- Return(Package(0x02){0x00, 0x00})
> 457- }
Well..Fixing the compiler wasn't the problem here...
The real problem is that if you don't know what the method does/should do,
it's hard to add a proper return value..
regards
Alex
--
Encrypted Mails welcome.
PGP-Key at http://zodiac.dnsalias.org/misc/pgpkey.asc | Key-ID: 0x6D7DD291