hwmon directory structure bug
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.
A message that is not in the archive (sent off-list or not yet received): [email protected]
Quoted 6 lines · Delan Azabani
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
Quoted 8 lines
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.
oh, thanks for spotting this, I'll correct my mistake tomorrow.
Regards,
Martin
A message that is not in the archive (sent off-list or not yet received): [email protected]
Quoted 17 lines · Martin Peres
Quoted 6 lines · Delan Azabani
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
Quoted 8 lines
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.
oh, thanks for spotting this, I'll correct my mistake tomorrow.
Quoted 7 lines
Regards,
Martin
_______________________________________________
Nouveau mailing list [email protected]
http://lists.freedesktop.org/mailman/listinfo/nouveau
No problem, happy to help.
Thanks and best regards,
Delan Azabani