[hal-info patch] Add default video quirks

Stefan Seyfried seife at suse.de
Wed Jun 25 07:06:20 PDT 2008


Matthew Garrett wrote:
> On Wed, Jun 25, 2008 at 01:51:17PM +0200, Stefan Seyfried wrote:
> 
>> Yes. But for some reasons, some machines only work with s3_bios/s3_mode while
>> others work only with vbe_post/vbe_mode.
> 
> If a machine needs one of these sets, then it's no more broken when it 
> has the other than if it has none. Making the calls in-kernel is 
> inherently more dangerous than making them in userspace - if the video 
> BIOS makes calls to unmapped code, then a SIGILL in vbetool is less of 
> an issue than hitting an illegal instruction in the kernel. This is a 
> safer default.

Not if
- it does not work at all with vbetool
- the user thinks "this is taking very long today" and hits alt-f7

So if possible, i always prefer the in-kernel method, since it has proven to
be more reliable. Of course only on machines where it actually works.

(and, on a sidenote: the result of the SIGILL in vbetool for the user is very
probably a black screen, which is as good as "it crashed" for Joe Average).
-- 
Stefan Seyfried
R&D Team Mobile Devices            |              "Any ideas, John?"
SUSE LINUX Products GmbH, Nürnberg | "Well, surrounding them's out."

This footer brought to you by insane German lawmakers:
SUSE Linux Products GmbH, GF: Markus Rex, HRB 16746 (AG Nürnberg)


More information about the hal mailing list