Ticket #2086 (closed defect: fixed)
sensors-detect does not detect anything
| Reported by: | vaclav@… | Owned by: | somebody |
|---|---|---|---|
| Priority: | minor | Milestone: | |
| Component: | interface | Version: | 2.9.2 |
| Keywords: | sensors-detect | Cc: |
Description
Hello!
Script sensors-detect does not detect anything.
I'm running Ubuntu 6.06 LTS - Dapper Drake.
The same bug I had discovered in the previous release.
Kernel: 2.6.15-25-386
Motherboard: ASUSTeK P4P800 Mainboard
Package: lm-sensors=2.9.2-5ubuntu3
root@vaclav:/root# sensors-detect No i2c device files found. Use prog/mkdev/mkdev.sh to create them. root@vaclav:/root#
probable solution (a patch):
--- /usr/sbin/sensors-detect 2006-04-20 20:49:01.000000000 +0400
+++ upgrade/sensors-detect 2006-04-13 12:51:08.000000000 +0400
@@ -2009,10 +2009,12 @@
}
}
close INPUTFILE;
- } else {
+ }
+ if (!$use_udev) {
# Try some known default udev db locations, just in case
- if (-e '/dev/.udev.tdb' || -e '/dev/.udev'
- || -e '/dev/.udevdb' || -e '/dev/.udevdb') {
+ if (-e '/dev/.udev.tdb' || -e '/dev/.udev' || -e '/dev/.udev/db'
+ || -e '/dev/.udevdb' || -e '/dev/.udevdb')
+ {
$use_udev = 1;
$dev_i2c = '/dev/i2c-';
}
Best regards!
Change History
Note: See
TracTickets for help on using
tickets.
