Page 1 of 1

ACPI Alternative

Posted: Fri Feb 06, 2009 10:09 pm
by JohnnyTheDon
I was wondering if there is alternative to ACPI for obtaining configuration information (other than PlugNPlay or anything involving a 16-bit BIOS call). Could SMBIOS tables be used to get all the necessary information about devices in the system?

Re: ACPI Alternative

Posted: Sat Feb 07, 2009 4:32 am
by djmauretto
Could SMBIOS tables be used to get all the necessary information about devices in the system?
NO,to get information about devices in the system use PCI,PnP information,
I wrote a simply SMBIOS utility, but the information are stupid and Buggy,if you want
i can send you my application, it is for DOS, Win98, XP (VISTA ? ).... :wink:

Re: ACPI Alternative

Posted: Sat Feb 07, 2009 8:56 am
by 01000101
The SMBIOS has alot of that information.
I've parsed the SMBIOS on quite a few machines and I've not found a single error, so I'm assuming it's the parser that's at fault for the person who posted before me.

The MP tables can be useful for some device information (especially interrupt information from PCI/ISA devices).

Re: ACPI Alternative

Posted: Sat Feb 07, 2009 10:16 am
by djmauretto
I've parsed the SMBIOS on quite a few machines and I've not found a single error, so I'm assuming it's the parser that's at fault for the person who posted before me.
The SMBIOs not give you information on configuration of device,my parser is good,
SMBIOS is buggy :-)

Re: ACPI Alternative

Posted: Sat Feb 07, 2009 3:13 pm
by JohnnyTheDon
NO,to get information about devices in the system use PCI,PnP information
I specifically said I didn't want to use PnP.

I've taken a closer look at the SMBIOS specification. It appears that using MP Tables to find processers and interrupt routing and SMBIOS to find onboard controllers (and then using PCI configuration and such) to find info about individual devices will work.

I'm just trying to find a way to do configuration on systems that don't support ACPI (my OS is long mode only so I'm trying to stay away from PnP).

Re: ACPI Alternative

Posted: Sat Feb 07, 2009 4:46 pm
by Combuster
long mode but without ACPI?

Windows Vista kinda forced that not to happen :?

Re: ACPI Alternative

Posted: Sat Feb 07, 2009 4:55 pm
by JohnnyTheDon
You're right, I just took a look and found that 64-bit Vista requires ACPI. I can't see manufactuers making BIOSes that don't support Vista.

No SMBIOS needed :)

Re: ACPI Alternative

Posted: Sat Feb 07, 2009 5:18 pm
by bewing
Brendan has written about this several times when it's been asked. I can find you the links to his comments if you'd like. Or search these forums for SMBIOS, and find his comments.

Basically, he said: SMBIOS is meant only to provide system managers with "system contents" sorts of info -- it does not provide an OS with a sufficient level of detail to actually use when you get down to the details that matter.

So, overall, trying to use it will not work.

Also, in the end, you probably will not be able to avoid PnP, either.