Using hwmon in-kernel

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

 



I'm possibly missing something here, but. I'm working on improving the 
thermal management of nvidia cards in nouveau. I've got I2C up and 
running and I can bind appropriate hwmon drivers to the chips and read 
temperatures. I've got a couple of remaining problems:

1) I know the offsets that need to be applied to the lm99 sensors. How 
do I do that in-kernel?
2) How do I read the temperature in-kernel? This only seems to be 
exported via sysfs, which is obviously not ideal (I'm not willing to 
leave the thermal management up to userspace).

Are these possible?

Thanks,
-- 
Matthew Garrett | mjg59 at srcf.ucam.org




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

  Powered by Linux