lmsensors 2.x: how to hide entry from 2.4 driver that 2.6 driver does not have?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi Krzysztof,

On Thu, 26 Jul 2007 23:18:31 +0200, Krzysztof Helt wrote:
> 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).

-- 
Jean Delvare




[Index of Archives]     [Linux Kernel]     [Linux Hardware Monitoring]     [Linux USB Devel]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [Yosemite Backpacking]

  Powered by Linux