linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Andreas Jellinghaus <aj@dungeon.inka.de>
To: linux-kernel@vger.kernel.org
Subject: Re: [ANNOUNCE] Framework for automatic Configuration of a Kernel
Date: Wed, 28 Sep 2005 10:46:30 +0200	[thread overview]
Message-ID: <20050928084206.38991212C7@dungeon.inka.de> (raw)
In-Reply-To: 43396A6A.30104@cs.aau.dk

Emmanuel Fleury wrote:
> I might be wrong, but I don't think that there is any other way to get
> hardware information but through the /proc or /sys interface.
> 
> Can somebody comment on this ?

dmidecode will give you some hardware information on some systems.

for example my dell latitude c600 laptop the bios claims to support:
                        PCI is supported
                        PC Card (PCMCIA) is supported
                        PNP is supported
                        APM is supported
                        BIOS is upgradeable
                        BIOS shadowing is allowed
                        Boot from CD is supported
                        Selectable boot is supported
                        Boot from PC Card (PCMCIA) is supported
                        3.5"/720 KB floppy services are supported (int 13h)
                        Print screen service is supported (int 5h)
                        8042 keyboard services are supported (int 9h)
                        Serial services are supported (int 14h)
                        Printer services are supported (int 17h)
                        CGA/mono video services are supported (int 10h)
                        ACPI is supported
                        USB legacy is supported
                        AGP is supported
                        LS-120 boot is supported
                        ATAPI Zip drive boot is supported
                        Smart battery is supported
                        BIOS boot specification is supported

and the chipsets might include support for hardware that
is left dead. so it is nice to see which connectors the
mainboard has. dmidecode for example tells me:
Handle 0x0800
        DMI type 8, 9 bytes.
        Port Connector Information
                Internal Reference Designator: PARALLEL
                Internal Connector Type: None
                External Reference Designator: Not Specified
                External Connector Type: DB-25 female
                Port Type: Parallel Port PS/2
Handle 0x0801
        DMI type 8, 9 bytes.
        Port Connector Information
                Internal Reference Designator: SERIAL1
                Internal Connector Type: None
                External Reference Designator: Not Specified
                External Connector Type: DB-9 male
                Port Type: Serial Port 16550A Compatible

i.e. I have a serial and parallel connector. even more interesting
is:
Handle 0x0809
        DMI type 8, 9 bytes.
        Port Connector Information
                Internal Reference Designator: IrDA
                Internal Connector Type: None
                External Reference Designator: Not Specified
                External Connector Type: Infrared
                Port Type: Other

because irda hides behind a fake serial port, if I understand
things right, so now you know the first serial port is real,
the second not, but an irda port is missing.

also dmidecode has details on the cpu.

I hope that information helps? good luck!

Regards, Andreas

  reply	other threads:[~2005-09-28  8:42 UTC|newest]

Thread overview: 18+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-09-27  9:39 [ANNOUNCE] Framework for automatic Configuration of a Kernel Ahmad Reza Cheraghi
2005-09-27 12:00 ` Emmanuel Fleury
2005-09-27 12:53   ` Ahmad Reza Cheraghi
2005-09-27 12:58     ` Emmanuel Fleury
2005-09-27 16:47       ` Ahmad Reza Cheraghi
2005-09-27 15:51     ` Emmanuel Fleury
2005-09-28  8:46       ` Andreas Jellinghaus [this message]
2005-09-28  8:46         ` Emmanuel Fleury
2005-09-28  9:05           ` Emmanuel Fleury
2005-09-28  9:16           ` Ahmad Reza Cheraghi
2005-09-28 17:11           ` Andreas Jellinghaus
2005-09-30  3:09       ` Randy.Dunlap
2005-09-30  3:23         ` Jody McIntyre
2005-09-28  9:25 ` Emmanuel Fleury
2005-09-28 11:22   ` Ahmad Reza Cheraghi
2005-09-28 11:43     ` Emmanuel Fleury
2005-09-29  7:22       ` Ahmad Reza Cheraghi
     [not found] <4Rne4-4sd-3@gated-at.bofh.it>
     [not found] ` <4Rq2b-i7-1@gated-at.bofh.it>
     [not found]   ` <E1EKSQx-0002Pf-M5@be1.lrz>
2005-09-28  8:36     ` Emmanuel Fleury

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20050928084206.38991212C7@dungeon.inka.de \
    --to=aj@dungeon.inka.de \
    --cc=linux-kernel@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).