ACPI Alternative

Question about which tools to use, bugs, the best way to implement a function, etc should go here. Don't forget to see if your question is answered in the wiki first! When in doubt post here.
Post Reply
JohnnyTheDon
Member
Member
Posts: 524
Joined: Sun Nov 09, 2008 2:55 am
Location: Pennsylvania, USA

ACPI Alternative

Post 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?
djmauretto
Member
Member
Posts: 116
Joined: Wed Oct 22, 2008 2:21 am
Location: Roma,Italy

Re: ACPI Alternative

Post 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:
User avatar
01000101
Member
Member
Posts: 1599
Joined: Fri Jun 22, 2007 12:47 pm
Contact:

Re: ACPI Alternative

Post 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).
djmauretto
Member
Member
Posts: 116
Joined: Wed Oct 22, 2008 2:21 am
Location: Roma,Italy

Re: ACPI Alternative

Post 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 :-)
JohnnyTheDon
Member
Member
Posts: 524
Joined: Sun Nov 09, 2008 2:55 am
Location: Pennsylvania, USA

Re: ACPI Alternative

Post 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).
User avatar
Combuster
Member
Member
Posts: 9301
Joined: Wed Oct 18, 2006 3:45 am
Libera.chat IRC: [com]buster
Location: On the balcony, where I can actually keep 1½m distance
Contact:

Re: ACPI Alternative

Post by Combuster »

long mode but without ACPI?

Windows Vista kinda forced that not to happen :?
"Certainly avoid yourself. He is a newbie and might not realize it. You'll hate his code deeply a few years down the road." - Sortie
[ My OS ] [ VDisk/SFS ]
JohnnyTheDon
Member
Member
Posts: 524
Joined: Sun Nov 09, 2008 2:55 am
Location: Pennsylvania, USA

Re: ACPI Alternative

Post 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 :)
User avatar
bewing
Member
Member
Posts: 1401
Joined: Wed Feb 07, 2007 1:45 pm
Location: Eugene, OR, US

Re: ACPI Alternative

Post 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.
Post Reply