public inbox for linux-acpi@vger.kernel.org
 help / color / mirror / Atom feed
From: Matthew Garrett <mjg59@srcf.ucam.org>
To: Thomas Renninger <trenn@suse.de>
Cc: Len Brown <lenb@kernel.org>,
	linux-acpi <linux-acpi@vger.kernel.org>,
	Theodore Tso <tytso@MIT.EDU>,
	Henrique de Moraes Holschuh <hmh@hmh.eng.br>,
	"Starikovskiy, Alexey Y" <aystarik@gmail.com>
Subject: Re: Kernel Version specific vendor override possibilities needed - Revert and provide osi=linux or provide a replacement
Date: Wed, 20 Feb 2008 18:46:52 +0000	[thread overview]
Message-ID: <20080220184651.GA23679@srcf.ucam.org> (raw)
In-Reply-To: <1203531717.6019.324.camel@queen.suse.de>

On Wed, Feb 20, 2008 at 07:21:57PM +0100, Thomas Renninger wrote:
> On Wed, 2008-02-20 at 17:32 +0000, Matthew Garrett wrote:
> > Let's look at this differently. Most hardware is produced by vendors who 
> > don't care about Linux. We need to make that hardware work anyway.
> Not really. If you buy machine noname XY, you have to face the fact that
> HW may not work on Linux correctly. 

No. You have failed. Do not pass go.

> You can try fix to it, but you
> cannot write a driver for WLAN card from vendor noname and card reader
> from "never heard of that company". If you buy the wrong graphics card
> you may end up without 3D and whatever else cool features the card
> supports.

That's fine. Some hardware support is difficult. Some hardware support 
is not difficult. The only possible situation in which exporting some 
sort of OSI value for Linux is helpful is when the firmware authors know 
what the difference between the Linux and Windows behaviours are. If we 
know that, we can fix it. Fixing it not only fixes the machine in 
question, it probably fixes a large number of other machines. This is a 
preferable solution.

> So at least since HP, Dell, Lenovo (also Acer?) are selling pre-loaded
> Linux laptops, you should be smart enough to take such a thing where the
> BIOS is adjusted to run on Linux or you pretty much have to reckon with
> trouble.

Argh. No. If the BIOS is adjusted to run on Linux, it indicates that 
we've failed. Completely. Utterly.

> So being Windows compatible is nice, but sticking to specifications is
> more important (we are far away from and never will be Windows
> compatibility in WMI implementation right?).

No! What's the point in sticking to specifications when there's only one 
implementation? Windows is the de-facto specification for ACPI, and we 
should follow it.

> Next point is that if vendors pre-load their model with a specific
> distribution, they need such a knob.

Fixing Linux is easier than fixing firmware in almost every single case. 
If vendors are installing Linux without working with the distribution 
vendor, then that's unfortunate and they're likely to have problems. I'm 
not going to prioritise them above the huge number of users buying 
hardware from vendors who aren't as foolish.

> Please do not think about what happens when I upgrade to the latest
> kernel (which should still be no problem when they know how to use
> this). Think about how these vendors should fix a complex Linux bug via
> a BIOS hot-fix update ...

They shouldn't. They should push out a software update.

> >  The 
> > only way we can achieve that is to be bug-compatible with Windows. 
> > Therefore, any way in which Linux behaviour varies from Windows 
> > behaviour is a bug. The only reason to export any indication that the 
> > kernel is Linux is because our behaviour is not identical to Windows. 
> Linux behaviour is not identical to Windows, never will be and after
> vendors start pre-loading also do not need to be...

Wrong.

> > But, given that that's a bug, the solution should be to fix Linux and 
> > not to encourage vendors to put workarounds in their firmware.
> I see it the other way round. Encourage vendors to fix their BIOSes,
> instead of putting "Windows compatibility" workarounds into the kernel.

By which you mean "Cater for a small market, rather than the large one"? 
No. That would be ridiculous. Our compatibility is sufficiently good 
that I'm not going to recommend users buy one of the tiny number of 
laptops available with a "supported" Linux install over buying a laptop 
that actually fits their needs.

-- 
Matthew Garrett | mjg59@srcf.ucam.org

  reply	other threads:[~2008-02-20 18:47 UTC|newest]

Thread overview: 30+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-02-20  1:44 Kernel Version specific vendor override possibilities needed - Revert and provide osi=linux or provide a replacement Thomas Renninger
2008-02-20 10:31 ` Tomas Carnecky
2008-02-20 13:14   ` Henrique de Moraes Holschuh
2008-02-20 15:31   ` Thomas Renninger
2008-02-20 17:32 ` Matthew Garrett
2008-02-20 18:21   ` Thomas Renninger
2008-02-20 18:46     ` Matthew Garrett [this message]
2008-02-20 18:23   ` Henrique de Moraes Holschuh
2008-02-20 18:49     ` Matthew Garrett
2008-02-21  3:13       ` Henrique de Moraes Holschuh
2008-02-21  5:31         ` Sergio Monteiro Basto
2008-02-21 15:55           ` Henrique de Moraes Holschuh
2008-02-21  9:15         ` Matthew Garrett
2008-02-21 13:51           ` Theodore Tso
2008-02-21 14:30             ` Matthew Garrett
2008-02-21 14:48               ` Alexey Starikovskiy
2008-02-21 14:55                 ` Matthew Garrett
2008-02-21 15:07                   ` Alexey Starikovskiy
2008-02-21 15:50               ` Henrique de Moraes Holschuh
2008-02-26 16:26             ` Thomas Renninger
2008-02-26 16:31               ` Matthew Garrett
2008-02-22 14:07   ` Thomas Renninger
2008-02-22 18:10     ` Matthew Garrett
2008-02-26 16:26       ` Thomas Renninger
2008-02-21  8:41 ` Len Brown
2008-02-21 15:41   ` Thomas Renninger
2008-02-21 15:58     ` Matthew Garrett
2008-02-21 17:15     ` Theodore Tso
2008-02-22 23:36       ` Len Brown
2008-02-23  0:06     ` Len Brown

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20080220184651.GA23679@srcf.ucam.org \
    --to=mjg59@srcf.ucam.org \
    --cc=aystarik@gmail.com \
    --cc=hmh@hmh.eng.br \
    --cc=lenb@kernel.org \
    --cc=linux-acpi@vger.kernel.org \
    --cc=trenn@suse.de \
    --cc=tytso@MIT.EDU \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox