Date: Tue, 22 Aug 2006 21:22:31 +0200 From: Stefan Bethke <stb@lassitu.de> To: m.ehinger@ltur.de Cc: freebsd-hackers@freebsd.org Subject: Re: get DMI information in kernel Message-ID: <8198455F-EC79-4C2B-A5E9-99CE4566325F@lassitu.de> In-Reply-To: <OF02D82BD2.90F7E325-ONC12571D2.0045A581-C12571D2.00461104@gateway-inter.net> References: <OF02D82BD2.90F7E325-ONC12571D2.0045A581-C12571D2.00461104@gateway-inter.net>
next in thread | previous in thread | raw e-mail | index | archive | help
Am 22.08.2006 um 14:45 schrieb m.ehinger@ltur.de: > How do i get DMI Informations (stuff displayed by dmidecode) in a > kernel module? I need some "System Information" like Vendor,Model > and OEM String identifying hardware on a Thinkpad. kenv(2) has smbios entries; they're available through getenv() and getenv_<type>() in the kernel. See http://www.freebsd.org/cgi/ cvsweb.cgi/src/sys/boot/i386/libi386/smbios.c for the history. Stefan -- Stefan Bethke <stb@lassitu.de> Fon +49 170 346 0140
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?8198455F-EC79-4C2B-A5E9-99CE4566325F>