[PATCH] read dmi info from sysfs instead of call dmidecode

Danny Kukawka danny.kukawka at web.de
Tue Nov 20 05:16:41 PST 2007


On Dienstag, 13. November 2007, Danny Kukawka wrote:
> On Dienstag, 13. November 2007, Kay Sievers wrote:
> > On Nov 13, 2007 8:08 PM, Danny Kukawka <danny.kukawka at web.de> wrote:
> > > this patch makes HAL to read dmi/smbios information on Linux from sysfs
> > > (/sys/devices/virtual/dmi/id) instead of use a prober to call and parse
> > > dmidecode.
> >
> > You can't jump into sysfs with a /sys/devices/* path, that is not
> > expected to be stable across kernel releases, and the location of this
> > information can even change at runtime for some devices. You need to
> > use the path starting with /sys/class/dmi/*.
>
> Okay, I change it before the commit to /sys/class/dmi/id.

Any other comments or okay to commit?

Danny




More information about the hal mailing list