Re: How to read BIOS information

From: Arjan van de Ven
Date: Fri May 12 2006 - 16:01:47 EST


On Wed, 2006-05-10 at 01:32 -0700, Dan Carpenter wrote:
> Arjan van de Ven:
> > But that's the best you can do.
> > (well you could grovel through the acpi tables just like the kernel
> > does, but you really don't want to do that from userspace)
>
> Obviously that would be tricky in this case. But in general it seems
> like writing an acpi table parser should be doable. Couldn't you
> just search through /dev/mem like dmidecode does? What's the
> difficult part?

the difficult part is in all the exceptions, quirks and special rules
the kernel uses (like "don't trust this table if acpi is off", and the
rules for acpi to not get enabled at runtime are highly complex and
continuously evolving).

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/