What does anaconda know?

Kyrre Ness Sjobak kyrre at solution-forge.net
Wed Oct 27 17:56:55 UTC 2004


i think ubuntu/debian has a package called "laptop-detect"

ons, 27.10.2004 kl. 16.23 skrev Dave Jones:
> On Wed, Oct 27, 2004 at 03:19:12PM +0200, Kyrre Ness Sjobak wrote:
>  > if pcmcia exists
> 
> could be a pci card.
> 
>  > unautodetectable monitor
> 
> could be desktop. a lot of old monitors
> dont speak DDC.
> 
>  > bunch of ACPI stuff
> 
> just testing for the presence of /proc/acpi/battery/BAT0
> will probably go a long way. This just leaves laptops
> with broken ACPI (or no ACPI), which could be detected
> with DMI strings.
> 
>  > and then give them weigths? 3/4 "laptop signs" => probably a laptop?
> 
> sounds a little 'too clever' imo. The more complicated heuristics
> become, the more fragile they seem to be in the real world.
> 
> 		Dave




More information about the devel mailing list