[PATCH] fix mapping of chassitype to system.formfactor

Artem Kachitchkine Artem.Kachitchkin at Sun.COM
Wed May 10 00:19:21 PDT 2006


> No, I think the ACPI/APM/PMU code is correct. The problem is, that the 
> information for mapping smbios info to system.formfactor are from the prober 
> which call dmidecode and need to parse the information from this output to 
> fill the needed keys. IMO you can't say how long this need

Sure you can. During coldplug everything in hald is serialized through 
the mainloop. E.g. add_blockdev_probing_helper_done() is called after 
hald-probe-volume is finished and if probing failed, removes the device 
from TDL and proceeds to the next hotplug event. The whole mainloop 
thing is kind of perverse, but pretty flexible.

-Artem.


More information about the hal mailing list