[Nouveau] hwmon directory structure bug

Delan Azabani delan at azabani.com
Fri Nov 5 17:34:27 PDT 2010


The sensors implementation of nouveau has a bug where the name file is
not in hwmonX/device, but in the root of the hwmonX directory. Normally,
the name file (contains driver name) of a sensor is placed:

/sys/class/hwmon/hwmon<int>/device/name

This holds true for coretemp, it8718 and all other sensors I've
encountered. Currently, with the latest nouveau from git, the name file
is placed as

/sys/class/hwmon/hwmon<int>/name

This is incorrect and goes against the convention for hwmon directory
structure. Not a major bug, but a fix would be very helpful.


More information about the Nouveau mailing list