Ticket #1649 (closed task)
Opened 7 years ago
sensors-detect dont work (Examined/Solved - lm_sensors 2.8.6 suse 9.0 kernel 2.6.5)
| Reported by: | contact | Owned by: | somebody |
|---|---|---|---|
| Priority: | minor | Milestone: | |
| Component: | interface | Version: | |
| Keywords: | Cc: |
Description
When I run sensors-detect, the moment I select not to load i2c-dev module, I
see this:
To continue, we need module 'i2c-dev' to be loaded.
If it is built-in into your kernel, you can safely skip this.
i2c-dev is not loaded. Do you want to load it now? (YES/no): n
Well, you will know best. We will just hope you edited '/etc/modules.conf'
(or '/etc/conf.modules') for automatic loading of this module. If not,
you won't be able to open any /dev/i2c[-/]* file (unless youhave it built-in
into your kernel)
We are now going to do the adapter probings. Some adapters may hang halfway
through; we can't really help that. Also, some chips will be double detected;
we choose the one with the highest confidence value in that case.
If you found that the adapter hung after probing a certain address, you can
specify that address to remain unprobed. That often
includes address 0x69 (clock chip).
Couldn't open /proc/bus/i2c?!? at /usr/sbin/sensors-detect line 3608, <STDIN>
line 4.
and when I load it, I see this
i2c-dev is not loaded. Do you want to load it now? (YES/no): y
FATAL: Module i2c_dev not found.
Loading failed, expect problems later on.
We are now going to do the adapter probings. Some adapters may hang halfway
through; we can't really help that. Also, some chips will be double detected;
we choose the one with the highest confidence value in that case.
If you found that the adapter hung after probing a certain address, you can
specify that address to remain unprobed. That often
includes address 0x69 (clock chip).
Couldn't open /proc/bus/i2c?!? at /usr/sbin/sensors-detect line 3608, <STDIN>
line 4.
I have the ic2 options already activated
--- This is not sensors-detect from lm_sensors 2.8.6. The line number doesn't match,
and we do not use /proc/bus/i2c anymore.
You probably have more than one sensors-detect script in your PATH. For example,
you could have an older one brought by Suse in /usr/sbin, and the our new in
/usr/local/sbin. If the later directory is placed after the former in PATH, then
the old one is actually used as you run "sensors-detect".
Remove any older stuff, since it is more than likely to cause trouble. Then it
should work just fine (providing you actually have i2c-dev built into your kernel).
Khali 2004-04-07
