Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 37341 - sensors-detect fails to find /dev/i2c
Summary: sensors-detect fails to find /dev/i2c
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: x86-kernel@gentoo.org (DEPRECATED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-01-05 13:34 UTC by Karl Trygve Kalleberg (RETIRED)
Modified: 2004-04-13 20:06 UTC (History)
3 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Karl Trygve Kalleberg (RETIRED) gentoo-dev 2004-01-05 13:34:01 UTC
After installing i2c and lm_sensors, I run sensors-detect, as per installation instructions. This results in the error message:
No i2c device files found. Use prog/mkdev/mkdev.sh to create them.

Reproducible: Always
Steps to Reproduce:
1. emerge gentoo-sources-2.4.20-gentoo-r2
2. disable i2c support and install the kernel
3. emerge sys-apps/i2c-2.8.1 and sys-apps/lm-sensors-2.8.1
4. run sensors-detect
Actual Results:  
frost linux # sensors-detect
No i2c device files found. Use prog/mkdev/mkdev.sh to create them.


Expected Results:  
It should report back either that my chipset is not supported, or proceed to
give me the usual module parameters and create the proper conf files.

In particular, it should not be necessary to do manual module loading, or if it
is, then the installation instructions should be very clear about it, and not
just claim that "sensors-detect" is sufficient.

It does not help to manually load i2c-core, i2c-dev and i2c-proc, but when I do,
the directory /dev/i2c is created (and is empty). 

My chipset is AMD768, which is supported by the driver i2c-amd756, which gets
installed in
/lib/modules/2.4.20-gentoo-r9/kernel/drivers/i2c/busses/i2c-amd756.o, and if I
manually load it before running sensors-detect, it finds the chipset and does
probing.

However, after probing, it uses a different driver (w83781d).
Comment 1 Tim Yamin (RETIRED) gentoo-dev 2004-01-06 06:14:27 UTC
Try "mkdir /dev/i2c" and see if that helps...
Comment 2 Tim Yamin (RETIRED) gentoo-dev 2004-02-07 04:48:57 UTC
Also, if you're using 2.4.20 you should be using i2c and lm-sensors 2.7.0, not 2.8.1.
Comment 3 Jason Cox (RETIRED) gentoo-dev 2004-04-08 21:44:19 UTC
Is this still a bug? Did you try the right version i2c and lm_sensors?
Comment 4 Jason Cox (RETIRED) gentoo-dev 2004-04-13 20:06:51 UTC
I'm not seeing any form of response on this one. Closing unless I hear otherwise.