* Buggy DSDTs policy ?
@ 2004-10-22 12:23 Olivier Galibert
2004-10-22 14:41 ` Onur Kucuk
0 siblings, 1 reply; 11+ messages in thread
From: Olivier Galibert @ 2004-10-22 12:23 UTC (permalink / raw)
To: Hack inc.
What is the policy w.r.t broken DSDTs and the ACPI subsystem?
Specifically, which of these two options is right:
1- Provide a non-buggy DSDT to the kernel
2- Make the ACPI subsystem tolerant of the bugs
The option 3, have all biosen over the world fixed is a nice fantasy,
but nothing else.
If 1, we need to put a mechanism for that in the official kernel.
If 2, I'll start working on patches to make the laptop I play with
work as-is.
So, which it is?
OG.
^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: Buggy DSDTs policy ?
2004-10-22 12:23 Buggy DSDTs policy ? Olivier Galibert
@ 2004-10-22 14:41 ` Onur Kucuk
2004-10-22 14:55 ` Xavier Bestel
0 siblings, 1 reply; 11+ messages in thread
From: Onur Kucuk @ 2004-10-22 14:41 UTC (permalink / raw)
To: Olivier Galibert; +Cc: linux-kernel
On Fri, 22 Oct 2004 14:23:27 +0200
Olivier Galibert <galibert@pobox.com> wrote:
> What is the policy w.r.t broken DSDTs and the ACPI subsystem?
> Specifically, which of these two options is right:
>
> 1- Provide a non-buggy DSDT to the kernel
> 2- Make the ACPI subsystem tolerant of the bugs
>
> The option 3, have all biosen over the world fixed is a nice fantasy,
> but nothing else.
>
> If 1, we need to put a mechanism for that in the official kernel.
CONFIG_ACPI_CUSTOM_DSDT is included in 2.6.9
> If 2, I'll start working on patches to make the laptop I play with
> work as-is.
>
> So, which it is?
--
Onur Kucuk Knowledge speaks,
<onur.--.-.delipenguen.net> but wisdom listens
^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: Buggy DSDTs policy ?
2004-10-22 14:41 ` Onur Kucuk
@ 2004-10-22 14:55 ` Xavier Bestel
2004-10-22 15:19 ` Pekka Pietikainen
0 siblings, 1 reply; 11+ messages in thread
From: Xavier Bestel @ 2004-10-22 14:55 UTC (permalink / raw)
To: Onur Kucuk; +Cc: Olivier Galibert, linux-kernel
Le ven 22/10/2004 à 16:41, Onur Kucuk a écrit :
> On Fri, 22 Oct 2004 14:23:27 +0200
> Olivier Galibert <galibert@pobox.com> wrote:
>
> > What is the policy w.r.t broken DSDTs and the ACPI subsystem?
> > Specifically, which of these two options is right:
> >
> > 1- Provide a non-buggy DSDT to the kernel
> > 2- Make the ACPI subsystem tolerant of the bugs
> >
> > The option 3, have all biosen over the world fixed is a nice fantasy,
> > but nothing else.
> >
> > If 1, we need to put a mechanism for that in the official kernel.
>
> CONFIG_ACPI_CUSTOM_DSDT is included in 2.6.9
But fixed DSDTs are a pain to find, and fixing a buggy DSDT is
impossible for a non-hacker.
Xav
^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: Buggy DSDTs policy ?
2004-10-22 14:55 ` Xavier Bestel
@ 2004-10-22 15:19 ` Pekka Pietikainen
2004-10-22 15:35 ` Xavier Bestel
0 siblings, 1 reply; 11+ messages in thread
From: Pekka Pietikainen @ 2004-10-22 15:19 UTC (permalink / raw)
To: Xavier Bestel; +Cc: Onur Kucuk, Olivier Galibert, linux-kernel
On Fri, Oct 22, 2004 at 04:55:35PM +0200, Xavier Bestel wrote:
> > CONFIG_ACPI_CUSTOM_DSDT is included in 2.6.9
>
> But fixed DSDTs are a pain to find, and fixing a buggy DSDT is
> impossible for a non-hacker.
>
http://acpi.sourceforge.net/dsdt/index.php has quite a few.
The problem is getting the fixed dsdt in use without recompiling your
kernel, since quite a few people, especially non-technical ones, use vendor
kernels. There's an approach that uses initrd, but this isn't merged
yet. I'd say it should be, assuming no better solution can be found.
^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: Buggy DSDTs policy ?
2004-10-22 15:19 ` Pekka Pietikainen
@ 2004-10-22 15:35 ` Xavier Bestel
2004-10-22 16:30 ` Pekka Pietikainen
2004-10-22 16:44 ` Onur Kucuk
0 siblings, 2 replies; 11+ messages in thread
From: Xavier Bestel @ 2004-10-22 15:35 UTC (permalink / raw)
To: Pekka Pietikainen; +Cc: Onur Kucuk, Olivier Galibert, linux-kernel
Le ven 22/10/2004 à 17:19, Pekka Pietikainen a écrit :
> On Fri, Oct 22, 2004 at 04:55:35PM +0200, Xavier Bestel wrote:
> > > CONFIG_ACPI_CUSTOM_DSDT is included in 2.6.9
> >
> > But fixed DSDTs are a pain to find, and fixing a buggy DSDT is
> > impossible for a non-hacker.
> >
> http://acpi.sourceforge.net/dsdt/index.php has quite a few.
.. which aren't all proper fixes (I tried the DSDT for Armada 1700, it's
a partial fix only).
> The problem is getting the fixed dsdt in use without recompiling your
> kernel, since quite a few people, especially non-technical ones, use vendor
> kernels. There's an approach that uses initrd, but this isn't merged
> yet. I'd say it should be, assuming no better solution can be found.
Yes, sure. But real non-technical people won't replace their DSDT
either.
Xav
^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: Buggy DSDTs policy ?
2004-10-22 15:35 ` Xavier Bestel
@ 2004-10-22 16:30 ` Pekka Pietikainen
2004-10-22 16:44 ` Onur Kucuk
1 sibling, 0 replies; 11+ messages in thread
From: Pekka Pietikainen @ 2004-10-22 16:30 UTC (permalink / raw)
To: Xavier Bestel; +Cc: Onur Kucuk, Olivier Galibert, linux-kernel
On Fri, Oct 22, 2004 at 05:35:16PM +0200, Xavier Bestel wrote:
> > The problem is getting the fixed dsdt in use without recompiling your
> > kernel, since quite a few people, especially non-technical ones, use vendor
> > kernels. There's an approach that uses initrd, but this isn't merged
> > yet. I'd say it should be, assuming no better solution can be found.
>
> Yes, sure. But real non-technical people won't replace their DSDT
> either.
Their distro could do it for them :-) A simple approach would be to
store md5sums of known-bad dsdt's and xdeltas to fixed ones, and the
fixed one gets placed in /etc where mkinitrd automagically picks it up
whenever a new kernel is installed.
But that's userspace (with possible problems in distributing dsdt's, which
is why xdelta might be an acceptable solution), the kernel should just make
something like like that possible, if someone wants to do it.
^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: Buggy DSDTs policy ?
2004-10-22 15:35 ` Xavier Bestel
2004-10-22 16:30 ` Pekka Pietikainen
@ 2004-10-22 16:44 ` Onur Kucuk
1 sibling, 0 replies; 11+ messages in thread
From: Onur Kucuk @ 2004-10-22 16:44 UTC (permalink / raw)
To: Xavier Bestel; +Cc: pp, galibert, linux-kernel
Xavier Bestel wrote:
> Le ven 22/10/2004 à 17:19, Pekka Pietikainen a écrit :
> > On Fri, Oct 22, 2004 at 04:55:35PM +0200, Xavier Bestel wrote:
> > > > CONFIG_ACPI_CUSTOM_DSDT is included in 2.6.9
> > >
> > > But fixed DSDTs are a pain to find, and fixing a buggy DSDT is
> > > impossible for a non-hacker.
> > >
> > http://acpi.sourceforge.net/dsdt/index.php has quite a few.
>
> .. which aren't all proper fixes (I tried the DSDT for Armada 1700,
> it's a partial fix only).
This can be an issue to work on. I am sure acpi people won't reject
proper fixes.
> > The problem is getting the fixed dsdt in use without recompiling
> > your kernel, since quite a few people, especially non-technical
> > ones, use vendor kernels. There's an approach that uses initrd, but
> > this isn't merged yet. I'd say it should be, assuming no better
> > solution can be found.
The initrd approach seems nicer and more customisable.
> Yes, sure. But real non-technical people won't replace their DSDT
> either.
Real non-technical people follow their distros. They don't need to
recompile a kernel of their own. It is a distro's job for them.
--
Onur Kucuk Knowledge speaks,
<onur.--.-.delipenguen.net> but wisdom listens
^ permalink raw reply [flat|nested] 11+ messages in thread
* RE: Buggy DSDTs policy ?
@ 2004-10-25 5:56 Yu, Luming
0 siblings, 0 replies; 11+ messages in thread
From: Yu, Luming @ 2004-10-25 5:56 UTC (permalink / raw)
To: Xavier Bestel, Onur Kucuk; +Cc: Olivier Galibert, linux-kernel
>
>But fixed DSDTs are a pain to find, and fixing a buggy DSDT is
>impossible for a non-hacker.
>
> Xav
>
There is some fixed DSDT filed on acpi.sf.net
^ permalink raw reply [flat|nested] 11+ messages in thread
* RE: Buggy DSDTs policy ?
@ 2004-10-25 6:21 Yu, Luming
2004-10-25 9:01 ` Pekka Pietikainen
0 siblings, 1 reply; 11+ messages in thread
From: Yu, Luming @ 2004-10-25 6:21 UTC (permalink / raw)
To: Pekka Pietikainen, Xavier Bestel
Cc: Onur Kucuk, Olivier Galibert, linux-kernel
>> Yes, sure. But real non-technical people won't replace their DSDT
>> either.
>Their distro could do it for them :-) A simple approach would be to
>store md5sums of known-bad dsdt's and xdeltas to fixed ones, and the
>fixed one gets placed in /etc where mkinitrd automagically picks it up
>whenever a new kernel is installed.
I don't think distro can do that, because they are not the owner of
DSDT.
^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: Buggy DSDTs policy ?
2004-10-25 6:21 Yu, Luming
@ 2004-10-25 9:01 ` Pekka Pietikainen
2004-10-25 9:13 ` Xavier Bestel
0 siblings, 1 reply; 11+ messages in thread
From: Pekka Pietikainen @ 2004-10-25 9:01 UTC (permalink / raw)
To: Yu, Luming; +Cc: Xavier Bestel, Onur Kucuk, Olivier Galibert, linux-kernel
On Mon, Oct 25, 2004 at 02:21:09PM +0800, Yu, Luming wrote:
> >> Yes, sure. But real non-technical people won't replace their DSDT
> >> either.
> >Their distro could do it for them :-) A simple approach would be to
> >store md5sums of known-bad dsdt's and xdeltas to fixed ones, and the
> >fixed one gets placed in /etc where mkinitrd automagically picks it up
> >whenever a new kernel is installed.
>
> I don't think distro can do that, because they are not the owner of
> DSDT.
That's what I said xdelta, so the only "new" code is patches against
the broken vendor code in /proc/acpi/dsdt. But it's messy even
that way, I know.
But that's all userspace, the kernel should still make it possible (via
initrd or something else ;) )
^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: Buggy DSDTs policy ?
2004-10-25 9:01 ` Pekka Pietikainen
@ 2004-10-25 9:13 ` Xavier Bestel
0 siblings, 0 replies; 11+ messages in thread
From: Xavier Bestel @ 2004-10-25 9:13 UTC (permalink / raw)
To: Pekka Pietikainen; +Cc: Yu, Luming, Onur Kucuk, Olivier Galibert, linux-kernel
Le lun 25/10/2004 à 11:01, Pekka Pietikainen a écrit :
> On Mon, Oct 25, 2004 at 02:21:09PM +0800, Yu, Luming wrote:
> > >> Yes, sure. But real non-technical people won't replace their DSDT
> > >> either.
> > >Their distro could do it for them :-) A simple approach would be to
> > >store md5sums of known-bad dsdt's and xdeltas to fixed ones, and the
> > >fixed one gets placed in /etc where mkinitrd automagically picks it up
> > >whenever a new kernel is installed.
> >
> > I don't think distro can do that, because they are not the owner of
> > DSDT.
> That's what I said xdelta, so the only "new" code is patches against
> the broken vendor code in /proc/acpi/dsdt. But it's messy even
> that way, I know.
Hackish at best. Having an AML interpreter able to follow MS's quirks
seems a preferred solution (2.6.9's ACPI is said to be better at that, I
haven't tested it yet).
Xav
^ permalink raw reply [flat|nested] 11+ messages in thread
end of thread, other threads:[~2004-10-25 9:15 UTC | newest]
Thread overview: 11+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-10-22 12:23 Buggy DSDTs policy ? Olivier Galibert
2004-10-22 14:41 ` Onur Kucuk
2004-10-22 14:55 ` Xavier Bestel
2004-10-22 15:19 ` Pekka Pietikainen
2004-10-22 15:35 ` Xavier Bestel
2004-10-22 16:30 ` Pekka Pietikainen
2004-10-22 16:44 ` Onur Kucuk
-- strict thread matches above, loose matches on Subject: below --
2004-10-25 5:56 Yu, Luming
2004-10-25 6:21 Yu, Luming
2004-10-25 9:01 ` Pekka Pietikainen
2004-10-25 9:13 ` Xavier Bestel
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox