Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932193AbWELUCW (ORCPT ); Fri, 12 May 2006 16:02:22 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S932198AbWELUCW (ORCPT ); Fri, 12 May 2006 16:02:22 -0400 Received: from pentafluge.infradead.org ([213.146.154.40]:58249 "EHLO pentafluge.infradead.org") by vger.kernel.org with ESMTP id S932193AbWELUCV (ORCPT ); Fri, 12 May 2006 16:02:21 -0400 Subject: Re: How to read BIOS information From: Arjan van de Ven To: Dan Carpenter Cc: linux-kernel@vger.kernel.org In-Reply-To: References: <445F5228.7060006@wipro.com> <1147099994.2888.32.camel@laptopd505.fenrus.org> Content-Type: text/plain Date: Fri, 12 May 2006 22:02:19 +0200 Message-Id: <1147464139.3173.58.camel@laptopd505.fenrus.org> Mime-Version: 1.0 X-Mailer: Evolution 2.2.3 (2.2.3-2.fc4) Content-Transfer-Encoding: 7bit X-SRS-Rewrite: SMTP reverse-path rewritten from by pentafluge.infradead.org See http://www.infradead.org/rpr.html Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 953 Lines: 21 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@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/