Re: Probing for System Model Information

From: Matt Domsch
Date: Tue Sep 28 2004 - 09:17:51 EST


On Tue, Sep 28, 2004 at 02:47:05PM +0100, Dave Jones wrote:
> On Tue, Sep 28, 2004 at 06:32:31AM -0700, Brian McGrew wrote:
> > Good morning All! We exclusively ship Dell boxes with our
> > hardware. However, we use several different models, 1400's,
> > 1600's, 2350's, 4600's and so on. I need to write a small
> > program to probe the system for the model information since I
> > don't seem to find it in the logs anywhere. I know the model
> > info is in there somewhere and it's accessible because if I look
> > on the default factory installed version of Windows, it's listed.
> > Does anyone know how to do this or can you point me to one that's
> > already done or some samples?
>
> You can find this info in the DMI tables assuming Dell filled
> them in with sensible data (which they usually do).

Yes, we do. :-) I've abbreviated the output to serve as an example.

# dmidecode
Handle 0x0000
BIOS Information Block
Vendor: Dell Computer Corporation
Version: A08
Handle 0x0100
System Information Block
Vendor: Dell Computer Corporation
Product: PowerEdge 2400
Handle 0x0300
Chassis Information Block
Serial Number: MY_SERIAL_NUMBER
Asset Tag: 0000001


Thanks,
Matt

--
Matt Domsch
Sr. Software Engineer, Lead Engineer
Dell Linux Solutions linux.dell.com & www.dell.com/linux
Linux on Dell mailing lists @ http://lists.us.dell.com
-
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/