lm_sensors question: sensors-detect
When I run sensors-detect I get the following error:
Can't exec "i2cdetect": No such file or directory
at ../../prog/detect/sensors-detect line 4829, <STDIN> line 2.
I've looked through the documentation and couldn't find reference to this error. I also did a scan of my hard drive and could not find the file.
Any help would be appreciated.
Hello,
Quoted 10 lines
When I run sensors-detect I get the following error:
Can't exec "i2cdetect": No such file or directory
at ../../prog/detect/sensors-detect line 4829, <STDIN> line 2.I've looked through the documentation and couldn't find reference to this error. I also did a scan of my hard drive and could not find the file.
Any help would be appreciated.
You are probably trying to run sensors-detect directly from the lm_sensors source directory, but have not compiled it before. i2cdetect is part of lm_sensors. You need to compile it (use "make user"), then install user-space tools ("make user_install"). Then sensors-detect should work.
If you really don't want to install the user-space tools, you can instead add "." (current directory) to your $PATH, and move into prog/detect before running ./sensors-detect. Note that you still need to compile i2cdetect before you do.
Hope that helps,
Signature · 1 line
Jean Delvare