All of lore.kernel.org
 help / color / mirror / Atom feed
* Probing for System Model Information
@ 2004-09-28 13:32 Brian McGrew
  2004-09-28 13:47 ` Dave Jones
  2004-09-28 13:51 ` Jesper Juhl
  0 siblings, 2 replies; 5+ messages in thread
From: Brian McGrew @ 2004-09-28 13:32 UTC (permalink / raw)
  To: linux-kernel

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?

Thanks,

-brian

Brian D. McGrew        { brian@doubledimension.com || brian@visionpro.com }
---
> YOU!  Off my planet!

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: Probing for System Model Information
  2004-09-28 13:32 Probing for System Model Information Brian McGrew
@ 2004-09-28 13:47 ` Dave Jones
  2004-09-28 14:06   ` Matt Domsch
  2004-09-28 14:23   ` Buddy Lucas
  2004-09-28 13:51 ` Jesper Juhl
  1 sibling, 2 replies; 5+ messages in thread
From: Dave Jones @ 2004-09-28 13:47 UTC (permalink / raw)
  To: Brian McGrew; +Cc: linux-kernel

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).

dmidecode will read these tables from userspace.

		Dave

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: Probing for System Model Information
  2004-09-28 13:32 Probing for System Model Information Brian McGrew
  2004-09-28 13:47 ` Dave Jones
@ 2004-09-28 13:51 ` Jesper Juhl
  1 sibling, 0 replies; 5+ messages in thread
From: Jesper Juhl @ 2004-09-28 13:51 UTC (permalink / raw)
  To: Brian McGrew; +Cc: linux-kernel

On Tue, 28 Sep 2004, Brian McGrew wrote:

> Date: Tue, 28 Sep 2004 06:32:31 -0700
> From: Brian McGrew <Brian@doubledimension.com>
> To: linux-kernel@vger.kernel.org
> Subject: Probing for System Model Information
> 
> 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?
> 

Can't answer your question, sorry, but have you considered asking Dell 
that question (and then share the info later) ?

--
Jesper Juhl



^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: Probing for System Model Information
  2004-09-28 13:47 ` Dave Jones
@ 2004-09-28 14:06   ` Matt Domsch
  2004-09-28 14:23   ` Buddy Lucas
  1 sibling, 0 replies; 5+ messages in thread
From: Matt Domsch @ 2004-09-28 14:06 UTC (permalink / raw)
  To: Dave Jones, Brian McGrew, linux-kernel

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

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: Probing for System Model Information
  2004-09-28 13:47 ` Dave Jones
  2004-09-28 14:06   ` Matt Domsch
@ 2004-09-28 14:23   ` Buddy Lucas
  1 sibling, 0 replies; 5+ messages in thread
From: Buddy Lucas @ 2004-09-28 14:23 UTC (permalink / raw)
  To: Dave Jones, Brian McGrew, linux-kernel

Works for my Inspiron 5150. Thanks, didn't know that.


Cheers,
Buddy


On Tue, 28 Sep 2004 14:47:05 +0100, Dave Jones <davej@redhat.com> 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).
> 
> dmidecode will read these tables from userspace.
> 
>                 Dave
> 
> 
> -
> 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/
>

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2004-09-28 14:24 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-09-28 13:32 Probing for System Model Information Brian McGrew
2004-09-28 13:47 ` Dave Jones
2004-09-28 14:06   ` Matt Domsch
2004-09-28 14:23   ` Buddy Lucas
2004-09-28 13:51 ` Jesper Juhl

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.