FS#24120 - [lm_sensors] No i2c device files found

Attached to Project: Arch Linux
Opened by Marti (intgr) - Thursday, 05 May 2011, 18:55 GMT
Last edited by Eric Belanger (Snowman) - Wednesday, 11 May 2011, 03:52 GMT
Task Type Bug Report
Category Packages: Extra
Status Closed
Assigned To Eric Belanger (Snowman)
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 1
Private No

Details

Description: The sensors-detect program from lm_sensors 3.3.0-2 can no longer find any sensors on two of my machines.

When I run sensors-detect, I get the output: No i2c device files found.
This task depends upon

Closed by  Eric Belanger (Snowman)
Wednesday, 11 May 2011, 03:52 GMT
Reason for closing:  Fixed
Comment by Eric Belanger (Snowman) - Thursday, 05 May 2011, 20:22 GMT
Can you post the full output? Was it working before with lm_sensors 3.3.0-1 ? The only change with 3.3.0-1 was a depends for sensord is now an optdepends.
Comment by mangust (mangust) - Friday, 06 May 2011, 06:33 GMT
I get the same output. But I think that it is not the bug (maybe not on 100%). Why: I followed these sources:
http://en.gentoo-wiki.com/wiki/Lm_sensors#sensors-detect_spits_out_No_i2c_device_files_found._Use_prog.2Fmkdev.2Fmkdev.sh_to_create_them.21
http://www.debian-administration.org/articles/327

After modprobe i2c-dev, the output of sensors-detect disappears.
May need further investigation.
Comment by Marti (intgr) - Friday, 06 May 2011, 09:08 GMT
Turns out that downgrading to older lm_sensors doesn't help here. Maybe it's something that changed in kernel26 instead -- such that i2c-dev is no longer loaded automatically?

The error message is not very user friendly. It would be better if it loaded the module automatically, or told the user to load it.

In any case, I guess it's not an Arch Linux bug so this can be closed.
Comment by Marti (intgr) - Friday, 06 May 2011, 10:00 GMT
I see now, sensors-detect doesn't find udev because Arch Linux moved it from /dev/.udev to /run/udev

This is already patched upstream: http://www.lm-sensors.org/changeset/5964/lm-sensors/trunk/prog/detect/sensors-detect (see line 2418)
Comment by Sergej Pupykin (sergej) - Tuesday, 10 May 2011, 15:13 GMT
symlink /dev/.udevdb -> /run/udev is workaround

Loading...