dynamic chip support

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

 



Jean Delvare wrote:
> Hi Hans,
> 
>> Some observations, in an ideal world this dyn chipsupport could replace most of 
>> the 5000 lines of code in prog/sensors/chips.c, however some chips seem to use 
>> non standard sysfs names <sigh> like remote_temp and zone_xxxxx, etc. I'm 
> 
> A Linux 2.6 driver creating a sysfs file named remote_temp? I can't
> believe that. Can you please double-check, and point me to it if it
> really exists? Some Linux 2.4 driver did that, I know, but the feature
> should have been renamed to temp2_input when the driver was ported to
> Linux 2.6.
> 

I might be getting / reading this wrong, but take a look at adm1021_features
in lib/chips.c there it still clearly states:
     { { SENSORS_ADM1021_REMOTE_TEMP, "remote_temp", NOMAP, NOMAP, R },
                                      ADM1021_SYSCTL_REMOTE_TEMP, VALUE(3), 0 },
     { { SENSORS_ADM1021_REMOTE_TEMP_HYST, "remote_temp_low",
...

I haven't looked at the actual 2.6 driver. If the 2.6 driver indeed calls it 
temp2_input, then how does libsensors know this??

Regards,

Hans





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

  Powered by Linux