Skip to contentSkip to conversation

lmsensors 2.x: how to hide entry from 2.4 driver

lm-sensors Jean Delvare 1 participant 1 message Aug 12, 2007

lore
Share & tools
lore
#0 lore raw

Hi Krzysztof,

Quoted 10 lines · Krzysztof Helt

The THMC50 driver for the 2.4 kernel has a feature called "die code". It does not exists in the 2.6 driver. How should I hide it so no message:

"ERROR: Can't get feature `die_code' data!"

is not displayed.

Another question is to how to hide one of tempX features if it does not exists (it depends on chip working mode). The chip name is the same for both modes.

If you are using "sensors -u", you can't. This mode was only meant for testing. If you want a clean output for your chip, you'll have to add a dedicated printing routine for it (in prog/sensors/chips.c).

Signature · 6 lines
Jean Delvare

_______________________________________________
lm-sensors mailing list
[email protected]
http://lists.lm-sensors.org/mailman/listinfo/lm-sensors