Bug 578527 - sensors-detect fails to detect
Summary: sensors-detect fails to detect
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: lm_sensors
Version: 12
Hardware: All
OS: Linux
low
medium
Target Milestone: ---
Assignee: Nikola Pajkovsky
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2010-03-31 14:38 UTC by Juha Tuomala
Modified: 2014-02-02 22:14 UTC (History)
5 users (show)

Fixed In Version: lm_sensors-3.1.2-2.fc13
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2010-04-21 02:16:47 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description Juha Tuomala 2010-03-31 14:38:18 UTC
Description of problem:
Systems with "Analog Devices ADT7467 or ADT7468" system monitoring chip fail to detect it and lm_sensors package is practically useless.


Version-Release number of selected component (if applicable):
lm_sensors-3.1.2-1.fc12.x86_64

How reproducible:
always.

Steps to Reproduce:
1. run sensors-detect
2. it doesn't find any monitoring chips.
3.
  

Expected results:
detecting correct chip and able to run pwmconfig, fancontrol etc.

Additional info:
Someone already added support for these chips into lm85 driver,
so it's enough that this gets loaded into kernel. This can be
fixed in place by changing the driver name from /usr/sbin/sensors-detect
script:

        name => "Analog Devices ADT7467 or ADT7468",
        driver => "lm85",
        i2c_addrs => [0x2e],
        i2c_detect => sub { adt7467_detect(@_, 0); },

original version has 'to-be-written' name there. The fix has already been
done in upstream SCM and opensuse includes it.

Comment 1 Jean Delvare 2010-03-31 14:49:56 UTC
Upstream commit for reference:
http://www.lm-sensors.org/changeset/5832

Comment 2 Nikola Pajkovsky 2010-03-31 15:05:53 UTC
Thanks for report. 

Commit is 3 hours old :) I will add this today into lm_sensors. When build will be ready I will ask you if you can test it.

Comment 3 Nikola Pajkovsky 2010-03-31 15:37:52 UTC
build: http://koji.fedoraproject.org/koji/taskinfo?taskID=2087223

Could you try it, please?

Comment 4 Juha Tuomala 2010-03-31 16:07:25 UTC
Driver `lm85':
  * Bus `SMBus2 AMD8111 adapter at 1440'
    Busdriver `i2c_amd8111', I2C address 0x2e
    Chip `Analog Devices ADT7467 or ADT7468' (confidence: 7)

Driver `k8temp' (autoloaded):
  * Chip `AMD K8 thermal sensors' (confidence: 9)

Do you want to overwrite /etc/sysconfig/lm_sensors? (YES/no): 
Starting lm_sensors: loading module lm85                   [  OK  ]
Unloading i2c-dev... OK

Appears to work as should, thanks.

Comment 5 Juha Tuomala 2010-03-31 16:09:49 UTC
btw, it would be nice, if this data: http://mysite.verizon.net/pchardwarelinks/elec.htm#amd

would be somehow available in configuration. That could be added into xml file and somehow automatically matched from /proc/cpuinfo and mapped to configs.

Comment 6 Fedora Update System 2010-03-31 17:39:18 UTC
lm_sensors-3.1.2-2.fc12 has been submitted as an update for Fedora 12.
http://admin.fedoraproject.org/updates/lm_sensors-3.1.2-2.fc12

Comment 7 Fedora Update System 2010-03-31 17:39:22 UTC
lm_sensors-3.1.2-2.fc13 has been submitted as an update for Fedora 13.
http://admin.fedoraproject.org/updates/lm_sensors-3.1.2-2.fc13

Comment 8 Fedora Update System 2010-04-01 19:29:57 UTC
lm_sensors-3.1.2-2.fc13 has been pushed to the Fedora 13 testing repository.  If problems still persist, please make note of it in this bug report.
 If you want to test the update, you can install it with 
 su -c 'yum --enablerepo=updates-testing update lm_sensors'.  You can provide feedback for this update here: http://admin.fedoraproject.org/updates/lm_sensors-3.1.2-2.fc13

Comment 9 Fedora Update System 2010-04-03 04:39:02 UTC
lm_sensors-3.1.2-2.fc12 has been pushed to the Fedora 12 testing repository.  If problems still persist, please make note of it in this bug report.
 If you want to test the update, you can install it with 
 su -c 'yum --enablerepo=updates-testing update lm_sensors'.  You can provide feedback for this update here: http://admin.fedoraproject.org/updates/lm_sensors-3.1.2-2.fc12

Comment 10 Fedora Update System 2010-04-21 02:16:43 UTC
lm_sensors-3.1.2-2.fc12 has been pushed to the Fedora 12 stable repository.  If problems still persist, please make note of it in this bug report.

Comment 11 Fedora Update System 2010-04-23 06:08:02 UTC
lm_sensors-3.1.2-2.fc13 has been pushed to the Fedora 13 stable repository.  If problems still persist, please make note of it in this bug report.


Note You need to log in before you can comment on or make changes to this bug.