Re: Backporting updated lm85 on RHEL5

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

 



On 12/09/13 13:52, Phil Perry wrote:
On 12/09/13 12:08, Jean Delvare wrote:
Hi Phil,

On Thu, 12 Sep 2013 11:40:37 +0100, Phil Perry wrote:
I'm doing this second-hand for another users. As noted above, I managed
to backport most patches subsequent to the I2C change and the module
compiles cleanly but still isn't working. The module loads but isn't
producing any output.

Below is the output the end user is seeing (he's also stuck on an old
version of lm-sensors-2.10.8):

[root@XXXX ~]# sensors-detect
...
Now follows a summary of the probes I have just done.
Just press ENTER to continue:

Driver `lm85' (should be inserted):
    Detects correctly:
    * Bus `SMBus PIIX4 adapter at 0580'
      Busdriver `i2c-piix4', I2C address 0x2e
      Chip `SMSC EMC6D100, EMC6D101 or EMC6D102' (confidence: 7)

Driver `k8temp' (should be inserted):
    Detects correctly:
    * Chip `AMD K8 thermal sensors' (confidence: 9)

Do you want to overwrite /etc/sysconfig/lm_sensors? (YES/no):
Starting lm_sensors: Error: Line 2429: Unknown feature name
Error: Line 2430: Unknown feature name
Error: Line 2431: Unknown feature name
Error: Line 2432: Unknown feature name
emc6d103-i2c-0-2e: No such feature known
                                                             [ OK ]

[root@srv ~]# sensors
emc6d103-i2c-0-2e
Adapter: SMBus PIIX4 adapter at 0580

....HERE SHOULD BE SOME OUTPUT BUT THERE IS NONE....

k8temp-pci-00c3
Adapter: PCI adapter
Core0 Temp:
               +54°C
Core1 Temp:
               +46°C

k8temp-pci-00cb
Adapter: PCI adapter
Core0 Temp:
               +48°C
Core1 Temp:
               +50°C



Maybe we need to backport support for EMC6D103 into his old version of
lm_sensors?

Yes, exactly. Contrary to version 3.x, lm_sensors 2.x needed per-chip
code on the user-space side. The EMC6D103 is too recent to have it.
Not only "sensors" but also libsensors had be told about every new chip
back then.

That being said the code should be almost the same as for other chips
supported by the lm85 so it should be easy enough to add. In fact I
think the EMC6D103 (not S) can be handled just the same as the
EMC6D102. The untested patch attached should do.


Many thanks Jean.

I came up with a similar patch based on the commit for EMC6D102 support.
I've built an updated lm_sensors package with EMC6D103 support and will
let you know how we get on once the end user has had a chance to test.


Just had some feedback from the end user and it looks like we have some success...

[root@srv ~]# sensors-detect
...
Now follows a summary of the probes I have just done.
Just press ENTER to continue:

Driver `lm85' (should be inserted):
  Detects correctly:
  * Bus `SMBus PIIX4 adapter at 0580'
    Busdriver `i2c-piix4', I2C address 0x2e
    Chip `SMSC EMC6D100, EMC6D101, EMC6D102 or EMC6D103' (confidence: 7)

Driver `k8temp' (should be inserted):
  Detects correctly:
  * Chip `AMD K8 thermal sensors' (confidence: 9)
...

[root@srv ~]# sensors
emc6d103-i2c-0-2e
Adapter: SMBus PIIX4 adapter at 0580
CPU Dimm Volt:
           +2.604 V  (min =  +0.00 V, max =  +3.32 V)
CPU Core Volt:
           +1.348 V  (min =  +0.00 V, max =  +2.99 V)
3.3V Standby:
           +3.317 V  (min =  +2.97 V, max =  +3.63 V)
5V Standby:
           +4.922 V  (min =  +4.50 V, max =  +5.50 V)
System Volt 12V1:
          +11.813 V  (min =  +0.00 V, max = +15.94 V)
CPU Fan:   3284 RPM  (min =    0 RPM)
Chassis Fan 1:
              0 RPM  (min =    0 RPM)
Chassis Fan 2:
              0 RPM  (min =    0 RPM)
Chassis Fan 3:
              0 RPM  (min =    0 RPM)
CPU Temp: +43.00°C  (low  =  -127°C, high =  +127°C)
System Temp:
          +36.00°C  (low  =  -127°C, high =  +127°C)

k8temp-pci-00c3
Adapter: PCI adapter
Core0 Temp:
             +54°C
Core1 Temp:
             +44°C

k8temp-pci-00cb
Adapter: PCI adapter
Core0 Temp:
             +45°C
Core1 Temp:
             +48°C


So updated kmod-lm85 and lm_sensor packages with EMC6D103 support on RHEL5 are now available at elrepo.org.

Jean - many thanks for your help, it is much appreciated!

Regards,

Phil


_______________________________________________
lm-sensors mailing list
lm-sensors@xxxxxxxxxxxxxx
http://lists.lm-sensors.org/mailman/listinfo/lm-sensors





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

  Powered by Linux