Problems with acpi and dmidecode

Richard Hughes hughsient at
Mon Oct 10 14:38:19 PDT 2005

My experimental patches failed to work to fix the broken BIOS of a
COMPAQ EVO N160, for reasons that I now realise:

smbios.* is set after acpi_synthesize_hotplug_events is called.

My dmidecode idea made the BIOS correction check in acpi.c.

There are two ways to fix this: 

1. Call hal_util_helper_invoke ("hald-probe-smbios") before we call
acpi_synthesize_hotplug_events (which will work, and hal-probe-smbios
should just exit cleanly with powermacs, as dmidecode isn't found..)

2. We can do the ACPI BIOS corrections in osspec.c (not ideal, as it
leaks the acpi specific bits into a general module)

What's the consensus of the attached patch?

-------------- next part --------------
A non-text attachment was scrubbed...
Name: osspec-diff-2005-10-10-22-33-42.patch
Type: text/x-patch
Size: 2059 bytes
Desc: not available
Url :

More information about the hal mailing list