public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* RE: ACPI -- Workaround for broken DSDT
@ 2004-02-04  7:22 Brown, Len
  0 siblings, 0 replies; 10+ messages in thread
From: Brown, Len @ 2004-02-04  7:22 UTC (permalink / raw)
  To: trelane; +Cc: bluefoxicy, linux-kernel, acpi-devel

> From Brown, Len on Sunday, 01 February, 2004:
> >The vendor should supply a correct DSDT with their BIOS.
> >In the case of Dell, you might inquire here: http://linux.dell.com/
> >For non-vendor supplied solutions, you might also follow the 
> DSDT link
> >here: http://acpi.sourceforge.net/  
> 
> Hmm.  Do vendors generally release these?  I know Dell's very shaky on
>   the Linux support front, at least for desktop/laptop.
> Also, how do non-vendor supplied ones get made?  Seems like something
>   you need NDA'ed docs for.

Non-vendor supplied DSDTs are created by end-users who bought machines
that don't work.  Per the DSDT link above, one can extract,
dis-assemble, modify a DSDT -- and tell Linux to use your copy instead
of the version burned into PROM.

While detailed hardware docs would be required to understand all the
code, that is not necessary to fix the majority of DSDT errors that
confuse Linux.  The common errors generally result from simple
programming blunders that are not caught at build-time by the partciular
AML compiler the vendor uses, nor at run-time by the particular OS the
vendor uses for validation.

When vendors use an improved AML compiler (such as the one freely
available from Intel;-), and test their platforms on ACPI-enabled Linux,
these problems generally go away and so does the topic of fixing broken
DSDTs.

Indeed, I'm not confident that fixing DSDTs for vendors is always a good
idea -- particularly if the vendors don't take the feedback.  I'd rather
see Linux users able to vote with their dollars to support vendors that
best support Linux.

That said, if you're stuck with a box that needs a DSDT fix -- I
encourage you to work with the vendor to get the DSDT fixed.  Yes, I've
seen handing them the fix on a silver platter work just fine;-)
However, as I'm not a lawyer and don't play one on TV, note that I can't
give anybody permission to _publish_ modified vendor firmware -- only
the vendor can do that. 

Cheers,
-Len

^ permalink raw reply	[flat|nested] 10+ messages in thread
* RE: ACPI -- Workaround for broken DSDT
@ 2004-02-02  4:33 Brown, Len
  2004-02-02 14:38 ` Matt Domsch
  2004-02-03  1:03 ` Joseph Pingenot
  0 siblings, 2 replies; 10+ messages in thread
From: Brown, Len @ 2004-02-02  4:33 UTC (permalink / raw)
  To: trelane; +Cc: bluefoxicy, linux-kernel

The vendor should supply a correct DSDT with their BIOS.
In the case of Dell, you might inquire here: http://linux.dell.com/

For non-vendor supplied solutions, you might also follow the DSDT link
here: http://acpi.sourceforge.net/  

Cheers,
-Len




> -----Original Message-----
> From: Joseph Pingenot [mailto:trelane@digitasaru.net] 
> Sent: Monday, February 02, 2004 1:05 AM
> To: Brown, Len
> Cc: bluefoxicy@linux.net; linux-kernel@vger.kernel.org
> Subject: Re: ACPI -- Workaround for broken DSDT
> Importance: High
> 
> 
> From Len Brown on Sunday, 01 February, 2004:
> >this is probably best addressed to acpi-devel@lists.sourceforge.net
> >where people over-ride their BIOS ACPI DSDT all the time.
> >However, there is a reason that it isn't push-button, and that is
> >because we don't want to encourage people to do it.  We'd rather fix
> >Linux where Linux is broken, or get the OEMs to fix their 
> BIOS where the
> >BIOS is broken.
> 
> How does one get a hold of a fixed DSDT?  I've seen postings about
>   how to apply them, but how do they get released?  I'd *love* for
>   Dell to release a fix for my Inspiron 8600 (haven't found a fixed
>   DSDT), or to just get a hold of one.
> 
> *sigh*  When will the vendors support Linux?!
> 
> -Joseph
> 

^ permalink raw reply	[flat|nested] 10+ messages in thread
* ACPI -- Workaround for broken DSDT
@ 2004-01-31 19:39 john moser
  0 siblings, 0 replies; 10+ messages in thread
From: john moser @ 2004-01-31 19:39 UTC (permalink / raw)
  To: linux-kernel

Please CC me all replies.


http://abaababa.ouvaton.org/presario/

Please note that a recompiled and fixed DSDT table exists for the Compaq Presario
2100 series.  I would like to be able to simply point my kernel at this file at
compile time from a configuration menu, and compile it in to the kernel.  I can
probably find the DSDT load code myself, but compiling external data into a
program and accessing it is something foreign to me (IDE's like Borland C++ Builder
did it for you and so I never was able to learn how with GCC).

This may be useful in the future for broken ACPI.  Could someone please make a
quick patch to allow the path of a DSDT table to be defined so that it may be
compiled into the kernel and override the ACPI DSDT table in the BIOS?  I'll
peek around, but ACPI and this sort of programming isn't my strong point.

If anyone is familiar with this area and would be willing to write up a patch,
please CC me so I don't spend days/weeks trying to figure out how the heck to
do this ;)



_____________________________________________________________
Linux.Net -->Open Source to everyone
Powered by Linare Corporation
http://www.linare.com/

^ permalink raw reply	[flat|nested] 10+ messages in thread

end of thread, other threads:[~2004-02-18  3:32 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
     [not found] <BF1FE1855350A0479097B3A0D2A80EE0020AEB5C@hdsmsx402.hd.intel.com>
2004-02-01 19:53 ` ACPI -- Workaround for broken DSDT Len Brown
2004-02-02  6:04   ` Joseph Pingenot
2004-02-04  7:22 Brown, Len
  -- strict thread matches above, loose matches on Subject: below --
2004-02-02  4:33 Brown, Len
2004-02-02 14:38 ` Matt Domsch
2004-02-17 11:47   ` Pavel Machek
2004-02-18  3:32     ` Joseph Pingenot
2004-02-03  1:03 ` Joseph Pingenot
2004-02-03  1:32   ` Stian Jordet
2004-01-31 19:39 john moser

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox