From owner-freebsd-hackers@FreeBSD.ORG Thu Nov 28 15:21:09 2013 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id B4689167 for ; Thu, 28 Nov 2013 15:21:09 +0000 (UTC) Received: from mx1.fisglobal.com (mx1.fisglobal.com [199.200.24.190]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 7CDB613E2 for ; Thu, 28 Nov 2013 15:21:09 +0000 (UTC) Received: from smtp.fisglobal.com ([10.132.206.15]) by ltcfislmsgpa01.fnfis.com (8.14.5/8.14.5) with ESMTP id rASFL8gG009152 (version=TLSv1/SSLv3 cipher=AES128-SHA bits=128 verify=NOT); Thu, 28 Nov 2013 09:21:08 -0600 Received: from LTCFISWMSGMB21.FNFIS.com ([169.254.1.7]) by LTCFISWMSGHT04.FNFIS.com ([10.132.206.15]) with mapi id 14.03.0158.001; Thu, 28 Nov 2013 09:21:07 -0600 From: "Teske, Devin" To: Nomad Esst Subject: Re: Access to hardware informations from an user-space program Thread-Topic: Access to hardware informations from an user-space program Thread-Index: AQHO7E11U8uBSVEz0Em5bJuhv/tXfQ== Date: Thu, 28 Nov 2013 15:21:07 +0000 Message-ID: References: <1385636856.33202.YahooMailNeo@web162703.mail.bf1.yahoo.com> In-Reply-To: <1385636856.33202.YahooMailNeo@web162703.mail.bf1.yahoo.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [10.132.253.120] Content-Type: text/plain; charset="us-ascii" Content-ID: <805C23798A179448B8DEC044EF802733@fisglobal.com> Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10432:5.11.72, 1.0.14, 0.0.0000 definitions=2013-11-28_06:2013-11-28,2013-11-28,1970-01-01 signatures=0 Cc: "freebsd-hackers@freebsd.org" , "Teske, Devin" X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.16 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 28 Nov 2013 15:21:09 -0000 On Nov 28, 2013, at 3:07 AM, Nomad Esst wrote: > Hi list > I have asked this question in another mailing list an I'm waiting or thei= r response. I just thought that it would be better to ask this question her= e too. > How can I do so? By hardware informations I mean which card is located on= which slot, card serial number, manufacturer and ... . I know some utils d= o this e.g. dmesg, pciconf but I want to write something on my own. > Any suggestion is appreciated. dmidecode _____________ The information contained in this message is proprietary and/or confidentia= l. If you are not the intended recipient, please: (i) delete the message an= d all copies; (ii) do not disclose, distribute or use the message in any ma= nner; and (iii) notify the sender immediately. In addition, please be aware= that any message addressed to our domain is subject to archiving and revie= w by persons other than the intended recipient. Thank you.