[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: What does anaconda know?



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


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]