Bug 697565 - No i2c device files found
Summary: No i2c device files found
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: lm_sensors
Version: 15
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Hans de Goede
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
: 699145 (view as bug list)
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2011-04-18 15:46 UTC by Joachim Frieben
Modified: 2011-04-28 19:19 UTC (History)
10 users (show)

Fixed In Version: lm_sensors-3.3.0-2.fc15
Clone Of:
Environment:
Last Closed: 2011-04-28 19:19:57 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)
Output of sensors-detect for current F14 (9.24 KB, text/plain)
2011-04-18 15:47 UTC, Joachim Frieben
no flags Details

Description Joachim Frieben 2011-04-18 15:46:28 UTC
Description of problem:
For current F15 including testing-updates, command 'sensors-detect' returns:

  "No i2c device files found.".

However, a monitor device `SMSC DME1737' is present (Tyan S2865).

Version-Release number of selected component (if applicable):
kernel-2.6.38.3-15.rc1.fc15.x86_64

How reproducible:
Always.

Steps to Reproduce:
1. Boot system.
2. Run 'sensors-detect'.
  
Actual results:
No i2c device files found.

Expected results:
All monitor devices are detected correctly.

Additional info:
Monitor detection used to work for F14 including the most recent updates.

Comment 1 Joachim Frieben 2011-04-18 15:47:43 UTC
Created attachment 492923 [details]
Output of sensors-detect for current F14

Comment 2 Simon Farnsworth 2011-04-22 09:28:20 UTC
I can confirm that this isn't hardware specific - I'm seeing it on a Dell Inspiron 1525n, also running F15.

A look in the sensors-detect script tells me that that message is only ever output when sensors-detect hasn't spotted that udev is in use, nor can it find a MAKEDEV script.

The relevant block of code is in "sub initialize_conf", at around line 2358 of the script - I don't understand enough about why it's not detecting udev in Fedora 15 to fix it, but I'd speculate that it's something to do with moving the runtime database from /dev/.udev to /run.

Comment 3 VastOne 2011-04-23 15:11:27 UTC
*** Bug 699145 has been marked as a duplicate of this bug. ***

Comment 4 VastOne 2011-04-23 15:15:17 UTC
I can confirm this on a rebuild of F15 yesterday... Prior to to the rebuild, i2c worked flawlessly

I also have a duplicate F15 - Both Phenom Quad Core and it was updated yesterday with the latest updates and it does not have these issues


When running sensors-detect I get the following message

No i2c device files found

One other note, I am now seeing this

k10temp-pci-00c3

when running just sensors, I never did see that before...

I have added i2c-tools 3.0.2-5 which in turn added i2c-dev.conf to
/etc/modprobe.d but this still results in the same error message

I have also updated to the latest kernel today ... 2.6.38.3-18.fc15.x86_64 and
did not resolve this

Comment 5 Hans de Goede 2011-04-24 14:26:46 UTC
Hi,

Thanks for the bug report, the problem is that the udevdb has moved to /run/udev, and sensors-detect does not check there and thus thinks F-15 is a pre udev distro.

I've prepared an update for the F-15 package fixing this, I've also submitted this upstream.

Regards,

Hans

Comment 6 Fedora Update System 2011-04-24 14:30:08 UTC
lm_sensors-3.3.0-2.fc15 has been submitted as an update for Fedora 15.
https://admin.fedoraproject.org/updates/lm_sensors-3.3.0-2.fc15

Comment 7 VastOne 2011-04-24 15:47:07 UTC
Confirmed... Resolved

Thank you Hans

Comment 8 Fedora Update System 2011-04-25 01:23:36 UTC
Package lm_sensors-3.3.0-2.fc15:
* should fix your issue,
* was pushed to the Fedora 15 testing repository,
* should be available at your local mirror within two days.
Update it with:
# su -c 'yum update --enablerepo=updates-testing lm_sensors-3.3.0-2.fc15'
as soon as you are able to.
Please go to the following url:
https://admin.fedoraproject.org/updates/lm_sensors-3.3.0-2.fc15
then log in and leave karma (feedback).

Comment 9 Fedora Update System 2011-04-28 19:19:46 UTC
lm_sensors-3.3.0-2.fc15 has been pushed to the Fedora 15 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.