Ticket 1671
Hello!
In addition to the case that Khali has looked at i'm sending you more info.
1. I load i2c-dev in modules.conf yes.
2. The sensors -v reveals 2.8.5 and sensors is located in /usr/local/bin. I simply wrote wrong.
3. /sys/bus/i2c/devices contains these directories 1-002d, 1-002e, 1-0048 and 1-0049.
Under the directory 1-002d i can see all correct files telling me voltage, fan rpms and temps, and if i look in at them for example temp1_input i clearly gives me my temperatures. Name contains asb100.
But still when i run sensors i get:
w83l785ts-i2c-1-2e
Adapter: SMBus nForce2 adapter at 5500
ERROR: Can't get temperature data!
Thank you for your help on this!
Regards,
Goofee
_________________________________________________________________
Help STOP SPAM with the new MSN 8 and get 2 months FREE*
http://join.msn.com/?pageþatures/junkmail
Quoted 5 lines
1. I load i2c-dev in modules.conf yes.
2. The sensors -v reveals 2.8.5 and sensors is located in/usr/local/bin. I simply wrote wrong.
3./sys/bus/i2c/devicescontains these directories 1-002d, 1-002e, 1-0048 and 1-0049.
Hmm, OK.
Please provide the full listing of files under 1-002d and 1-002e (exact names matter) as well as full log of "strace sensors" and kernel logs/dmesg of the moment you inserted both drivers (asb100 and w83l785ts).
Thanks.
Signature · 2 lines
Jean Delvare http://khali.linux-fr.org/
Quoted 13 lines
Ok, here goes:
1-002d:
alarms fan3_div in2_input in5_max temp2_input detach_state fan3_input in2_max in5_min temp2_max fan1_div fan3_min in2_min in6_input temp2_max_hyst fan1_input in0_input in3_input in6_max temp3_input fan1_min in0_max in3_max in6_min temp3_max fan1_pwm in0_min in3_min name temp3_max_hyst fan1_pwm_enable in0_ref in4_input power temp4_input fan2_div in1_input in4_max temp1_input temp4_max fan2_input in1_max in4_min temp1_max temp4_max_hyst fan2_min in1_min in5_input temp1_max_hyst vrm
OK, you have been lying to us. This is not Linux 2.6.4. These files follow the new naming scheme, which was introduced with Linux 2.6.5-rc1.
Anyway, just go with lm_sensors 2.8.6 then and it should work fine.
Signature · 2 lines
Jean Delvare http://khali.linux-fr.org/
Ahh crap!
Installed 2.8.6 and can confirm it works now.
Technically it's SuSE's fault, uname -a gives me:
Linux scrooge 2.6.4-52-default #1 Wed Apr 7 02:08:30 UTC 2004 i686 athlon i386 GNU/Linux
But i didn't know this was 2.6.5rc1 or higher. :)
Thank you for your help!
Regards,
Goofee
Quoted 21 lines
From: Jean Delvare <[email protected]>
Reply-To: [email protected]
To: "tom paris" <[email protected]>
CC: [email protected]
Subject: Re: Ticket 1671
Date: Sat, 8 May 2004 20:31:16 +0200Quoted 13 lines
Ok, here goes:
1-002d:
alarms fan3_div in2_input in5_max temp2_input detach_state fan3_input in2_max in5_min temp2_max fan1_div fan3_min in2_min in6_input temp2_max_hyst fan1_input in0_input in3_input in6_max temp3_input fan1_min in0_max in3_max in6_min temp3_max fan1_pwm in0_min in3_min name temp3_max_hyst fan1_pwm_enable in0_ref in4_input power temp4_input fan2_div in1_input in4_max temp1_input temp4_max fan2_input in1_max in4_min temp1_max temp4_max_hyst fan2_min in1_min in5_input temp1_max_hyst vrm
Quoted 8 lines
OK, you have been lying to us. This is not Linux 2.6.4. These files follow the new naming scheme, which was introduced with Linux 2.6.5-rc1.
Anyway, just go with
lm_sensors2.8.6 then and it should work fine.--
Jean Delvare
http://khali.linux-fr.org/
_________________________________________________________________
STOP MORE SPAM with the new MSN 8 and get 2 months FREE*
http://join.msn.com/?pageþatures/junkmail
Ok, here goes:
1-002d:
alarms fan3_div in2_input in5_max temp2_input detach_state fan3_input in2_max in5_min temp2_max fan1_div fan3_min in2_min in6_input temp2_max_hyst fan1_input in0_input in3_input in6_max temp3_input fan1_min in0_max in3_max in6_min temp3_max fan1_pwm in0_min in3_min name temp3_max_hyst fan1_pwm_enable in0_ref in4_input power temp4_input fan2_div in1_input in4_max temp1_input temp4_max fan2_input in1_max in4_min temp1_max temp4_max_hyst fan2_min in1_min in5_input temp1_max_hyst vrm
1-002e:detach_state name power temp1_input temp1_max
strace sensors:execve("/usr/local/bin/sensors", ["sensors"], [/* 70 vars */]) = 0 uname({sys="Linux", node="scrooge", ...}) = 0
brk(0) = 0x8062000
old_mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1,
0) = 0x40017000open("/etc/ld.so.preload", O_RDONLY) = -1 ENOENT (No such file or
directory)open("/usr/local/lib/tls/i686/libsensors.so.3", O_RDONLY) = -1 ENOENT (No such file or directory)stat64("/usr/local/lib/tls/i686", 0xbfffe7f8) = -1 ENOENT (No such file or directory)open("/usr/local/lib/tls/libsensors.so.3", O_RDONLY) = -1 ENOENT (No such file or directory)stat64("/usr/local/lib/tls", 0xbfffe7f8) = -1 ENOENT (No such file or directory)open("/usr/local/lib/i686/libsensors.so.3", O_RDONLY) = -1 ENOENT (No such file or directory)stat64("/usr/local/lib/i686", 0xbfffe7f8) = -1 ENOENT (No such file or directory)open("/usr/local/lib/libsensors.so.3", O_RDONLY) = 3read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0p]\0\000"..., 512) = 512fstat64(3, {st_mode=S_IFREG|0644, st_size7281, ...}) = 0 old_mmap(NULL, 204484, PROT_READ|PROT_EXEC, MAP_PRIVATE, 3, 0) 0x40018000 madvise(0x40018000, 204484, MADV_SEQUENTIAL|0x1) = 0 old_mmap(0x40027000, 73728, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED, 3, 0xf000) = 0x40027000old_mmap(0x40039000, 69316, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x40039000
close(3) = 0open("/usr/local/lib/libc.so.6", O_RDONLY) = -1 ENOENT (No such file or directory)open("/etc/ld.so.cache", O_RDONLY) = 3fstat64(3, {st_mode=S_IFREG|0644, st_sizer871, ...}) = 0 old_mmap(NULL, 72871, PROT_READ, MAP_PRIVATE, 3, 0) = 0x4004a000
close(3) = 0open("/lib/tls/libc.so.6", O_RDONLY) = 3read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0\360U\1"..., 512) = 512fstat64(3, {st_mode=S_IFREG|0755, st_size49081, ...}) = 0 old_mmap(NULL, 1132940, PROT_READ|PROT_EXEC, MAP_PRIVATE, 3, 0) 0x4005c000 madvise(0x4005c000, 1132940, MADV_SEQUENTIAL|0x1) = 0 old_mmap(0x40166000, 32768, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED, 3, 0x10a000) = 0x40166000old_mmap(0x4016e000, 10636, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x4016e000
close(3) = 0open("/lib/tls/libm.so.6", O_RDONLY) = 3read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0p5\0\000"..., 512) = 512fstat64(3, {st_mode=S_IFREG|0755, st_size0563, ...}) = 0 old_mmap(NULL, 137712, PROT_READ|PROT_EXEC, MAP_PRIVATE, 3, 0) 0x40171000 madvise(0x40171000, 137712, MADV_SEQUENTIAL|0x1) = 0 old_mmap(0x40192000, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED, 3, 0x20000) = 0x40192000
close(3) = 0
old_mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1,
0) = 0x40193000
set_thread_area({entry_number:-1 -> 6, base_addr:0x401934e0, limit:1048575, seg_32bit:1, contents:0, read_exec_only:0, limit_in_pages:1, seg_not_present:0, useable:1}) = 0
munmap(0x4004a000, 72871) = 0 brk(0) = 0x8062000 brk(0x8083000) = 0x8083000 brk(0) = 0x8083000
open("/usr/lib/locale/locale-archive", O_RDONLY|O_LARGEFILE) = -1 ENOENT (No such file or directory) open("/usr/share/locale/locale.alias", O_RDONLY) = 3 fstat64(3, {st_mode=S_IFREG|0644, st_size%28, ...}) = 0 mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x4004a000read(3, "# Locale name alias data base.\n#"..., 4096) = 2528
read(3, "", 4096) = 0 close(3) = 0 munmap(0x4004a000, 4096) = 0
open("/usr/lib/locale/en_US.UTF-8/LC_CTYPE", O_RDONLY) = -1 ENOENT (No such file or directory) open("/usr/lib/locale/en_US.utf8/LC_CTYPE", O_RDONLY) = 3 fstat64(3, {st_mode=S_IFREG|0644, st_size 8464, ...}) = 0 mmap2(NULL, 208464, PROT_READ, MAP_PRIVATE, 3, 0) = 0x40194000
close(3) = 0open("/usr/lib/gconv/gconv-modules.cache", O_RDONLY) = 3 fstat64(3, {st_mode=S_IFREG|0644, st_size!436, ...}) = 0 mmap2(NULL, 21436, PROT_READ, MAP_SHARED, 3, 0) = 0x401c7000
close(3) = 0
open("/etc/sensors.conf", O_RDONLY) = 3
open("/proc/mounts", O_RDONLY) = 4fstat64(4, {st_mode=S_IFREG|0444, st_size=0, ...}) = 0 mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x401cd000read(4, "rootfs / rootfs rw 0 0\n/dev/root"..., 1024) = 305
close(4) = 0munmap(0x401cd000, 4096) = 0open("/sys/bus/i2c/devices", O_RDONLY|O_NONBLOCK|O_LARGEFILE|O_DIRECTORY) = 4fstat64(4, {st_mode=S_IFDIR|0755, st_size=0, ...}) = 0fcntl64(4, F_SETFD, FD_CLOEXEC) = 0getdents(4, /* 6 entries */, 4096) = 112open("/sys/bus/i2c/devices/1-002e/name", O_RDONLY) = 5 fstat64(5, {st_mode=S_IFREG|0444, st_size@96, ...}) = 0 mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x401cd000
read(5, "w83l785ts\n", 4096) = 10 close(5) = 0 munmap(0x401cd000, 4096) = 0
open("/sys/class/i2c-adapter/i2c-1/device/name", O_RDONLY) = 5 fstat64(5, {st_mode=S_IFREG|0444, st_size@96, ...}) = 0 mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x401cd000read(5, "SMBus nForce2 adapter at 5500\n", 4096) = 30
close(5) = 0munmap(0x401cd000, 4096) = 0open("/sys/bus/i2c/devices/1-0048/name", O_RDONLY) = 5 fstat64(5, {st_mode=S_IFREG|0444, st_size@96, ...}) = 0 mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x401cd000
read(5, "asb100 subclient\n", 4096) = 17 close(5) = 0 munmap(0x401cd000, 4096) = 0
open("/sys/bus/i2c/devices/1-0049/name", O_RDONLY) = 5 fstat64(5, {st_mode=S_IFREG|0444, st_size@96, ...}) = 0 mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x401cd000
read(5, "asb100 subclient\n", 4096) = 17 close(5) = 0 munmap(0x401cd000, 4096) = 0
open("/sys/bus/i2c/devices/1-002d/name", O_RDONLY) = 5 fstat64(5, {st_mode=S_IFREG|0444, st_size@96, ...}) = 0 mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x401cd000
read(5, "asb100\n", 4096) = 7 close(5) = 0 munmap(0x401cd000, 4096) = 0
open("/sys/class/i2c-adapter/i2c-1/device/name", O_RDONLY) = 5 fstat64(5, {st_mode=S_IFREG|0444, st_size@96, ...}) = 0 mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x401cd000read(5, "SMBus nForce2 adapter at 5500\n", 4096) = 30
close(5) = 0 munmap(0x401cd000, 4096) = 0 getdents(4, /* 0 entries */, 4096) = 0 close(4) = 0
open("/sys/class/i2c-adapter", O_RDONLY|O_NONBLOCK|O_LARGEFILE|O_DIRECTORY) = 4fstat64(4, {st_mode=S_IFDIR|0755, st_size=0, ...}) = 0fcntl64(4, F_SETFD, FD_CLOEXEC) = 0getdents(4, /* 4 entries */, 4096) = 72open("/sys/class/i2c-adapter/i2c-1/device/name", O_RDONLY) = 5 fstat64(5, {st_mode=S_IFREG|0444, st_size@96, ...}) = 0 mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x401cd000read(5, "SMBus nForce2 adapter at 5500\n", 4096) = 30
close(5) = 0munmap(0x401cd000, 4096) = 0open("/sys/class/i2c-adapter/i2c-0/device/name", O_RDONLY) = 5 fstat64(5, {st_mode=S_IFREG|0444, st_size@96, ...}) = 0 mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x401cd000read(5, "SMBus nForce2 adapter at 5000\n", 4096) = 30
close(5) = 0 munmap(0x401cd000, 4096) = 0 getdents(4, /* 0 entries */, 4096) = 0 close(4) = 0
ioctl(3, SNDCTL_TMR_TIMEBASE or TCGETS, 0xbfffdcb8) = -1 ENOTTY (Inappropriate ioctl for device)fstat64(3, {st_mode=S_IFREG|0644, st_sizeW010, ...}) = 0 mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x401cd000read(3, "# Sensors configuration file use"..., 8192) = 8192 read(3, " SMBus adapter\"\n#\n# If we refer "..., 8192) = 8192 read(3, "ard\n# uses the recommended resis"..., 8192) = 8192read(3, "0.90\n set in4_max 12 * 1.10\n "..., 8192) = 8192read(3, "mething to\n# reduce the temp, th"..., 8192) = 8192read(3, "\"\n# label \"5V\" \"xxx\"\n# label"..., 8192) = 8192read(3, "t pwm1 0\n# set pwm2 "..., 8192) = 7858read(3, "", 4096) = 0read(3, "", 8192) = 0ioctl(3, SNDCTL_TMR_TIMEBASE or TCGETS, 0xbfffdcc8) = -1 ENOTTY (Inappropriate ioctl for device)
close(3) = 0munmap(0x401cd000, 4096) = 0fstat64(1, {st_mode=S_IFCHR|0600, st_rdev=makedev(136, 43), ...}) = 0 mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x401cd000
write(1, "w83l785ts-i2c-1-2e\n", 19w83l785ts-i2c-1-2e
) = 19
write(1, "Adapter: SMBus nForce2 adapter a"..., 39Adapter: SMBus nForce2 adapter at 5500
) = 39open("/sys/bus/i2c/devices/1-002e/temp_input1", O_RDONLY) = -1 ENOENT (No such file or directory)
write(1, "ERROR: Can\'t get temperature dat"..., 35ERROR: Can't get temperature data!
) = 35
write(1, "\n", 1
) = 1
write(1, "asb100-i2c-1-2d\n", 16asb100-i2c-1-2d
) = 16
write(1, "Adapter: SMBus nForce2 adapter a"..., 39Adapter: SMBus nForce2 adapter at 5500
) = 39open("/sys/bus/i2c/devices/1-002d/alarms", O_RDONLY) = 3 fstat64(3, {st_mode=S_IFREG|0444, st_size@96, ...}) = 0 mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x401ce000
read(3, "64\n", 4096) = 3 close(3) = 0 munmap(0x401ce000, 4096) = 0
open("/sys/bus/i2c/devices/1-002d/in_input0", O_RDONLY) = -1 ENOENT (No such file or directory)
write(1, "ERROR: Can\'t get IN data! (0x000"..., 35ERROR: Can't get IN data! (0x0001)
) = 35open("/sys/bus/i2c/devices/1-002d/in_input1", O_RDONLY) = -1 ENOENT (No such file or directory)
write(1, "ERROR: Can\'t get IN data! (0x000"..., 35ERROR: Can't get IN data! (0x0002)
) = 35open("/sys/bus/i2c/devices/1-002d/in_input2", O_RDONLY) = -1 ENOENT (No such file or directory)
write(1, "ERROR: Can\'t get IN data! (0x000"..., 35ERROR: Can't get IN data! (0x0003)
) = 35open("/sys/bus/i2c/devices/1-002d/in_input3", O_RDONLY) = -1 ENOENT (No such file or directory)
write(1, "ERROR: Can\'t get IN data! (0x000"..., 35ERROR: Can't get IN data! (0x0004)
) = 35open("/sys/bus/i2c/devices/1-002d/in_input4", O_RDONLY) = -1 ENOENT (No such file or directory)
write(1, "ERROR: Can\'t get IN data! (0x000"..., 35ERROR: Can't get IN data! (0x0005)
) = 35open("/sys/bus/i2c/devices/1-002d/in_input5", O_RDONLY) = -1 ENOENT (No such file or directory)
write(1, "ERROR: Can\'t get IN data! (0x000"..., 35ERROR: Can't get IN data! (0x0006)
) = 35open("/sys/bus/i2c/devices/1-002d/in_input6", O_RDONLY) = -1 ENOENT (No such file or directory)
write(1, "ERROR: Can\'t get IN data! (0x000"..., 35ERROR: Can't get IN data! (0x0007)
) = 35open("/sys/bus/i2c/devices/1-002d/fan_input1", O_RDONLY) = -1 ENOENT (No such file or directory)
write(1, "ERROR: Can\'t get FAN data! (0x00"..., 36ERROR: Can't get FAN data! (0x0031)
) = 36open("/sys/bus/i2c/devices/1-002d/fan_input2", O_RDONLY) = -1 ENOENT (No such file or directory)
write(1, "ERROR: Can\'t get FAN data! (0x00"..., 36ERROR: Can't get FAN data! (0x0032)
) = 36open("/sys/bus/i2c/devices/1-002d/fan_input3", O_RDONLY) = -1 ENOENT (No such file or directory)
write(1, "ERROR: Can\'t get FAN data! (0x00"..., 36ERROR: Can't get FAN data! (0x0033)
) = 36open("/sys/bus/i2c/devices/1-002d/temp_input1", O_RDONLY) = -1 ENOENT (No such file or directory)
write(1, "ERROR: Can\'t get TEMP data! (0x0"..., 37ERROR: Can't get TEMP data! (0x0051)
) = 37open("/sys/bus/i2c/devices/1-002d/temp_input2", O_RDONLY) = -1 ENOENT (No such file or directory)
write(1, "ERROR: Can\'t get TEMP data! (0x0"..., 37ERROR: Can't get TEMP data! (0x0054)
) = 37open("/sys/bus/i2c/devices/1-002d/temp_input3", O_RDONLY) = -1 ENOENT (No such file or directory)
write(1, "ERROR: Can\'t get TEMP data! (0x0"..., 37ERROR: Can't get TEMP data! (0x0057)
) = 37open("/sys/bus/i2c/devices/1-002d/temp_input4", O_RDONLY) = -1 ENOENT (No such file or directory)
write(1, "ERROR: Can\'t get TEMP data! (0x0"..., 37ERROR: Can't get TEMP data! (0x005a)
) = 37open("/sys/bus/i2c/devices/1-002d/vid", O_RDONLY) = -1 ENOENT (No such file or directory)write(1, "ERROR: Can\'t get VID data!\n", 27ERROR: Can't get VID data! ) = 27
write(1, "alarms: \n", 11alarms:
) = 11
write(1, "\n", 1
) = 1munmap(0x401cd000, 4096) = 0exit_group(0) = ?
kernel log:
System Boot Control: Running /etc/init.d/boot.local
asb100-i2c-1-2d: Can't access procfs/sysfs file for writing; Run as root?
dmesg:i2c_adapter i2c-0: nForce2 SMBus adapter at 0x5000 i2c_adapter i2c-1: nForce2 SMBus adapter at 0x5500
Hope this helps us! Thanks!
Goofee
Quoted 20 lines
From: Jean Delvare <[email protected]>
Reply-To: [email protected]
To: "tom paris" <[email protected]>
CC: LM Sensors <[email protected]>
Subject: Re: Ticket 1671
Date: Sat, 8 May 2004 19:57:22 +0200Quoted 5 lines
1. I load i2c-dev in modules.conf yes.
2. The sensors -v reveals 2.8.5 and sensors is located in/usr/local/bin. I simply wrote wrong.
3./sys/bus/i2c/devicescontains these directories 1-002d, 1-002e, 1-0048 and 1-0049.Hmm, OK.
Please provide the full listing of files under 1-002d and 1-002e (exact names matter) as well as full log of "strace sensors" and kernel logs/dmesg of the moment you inserted both drivers (asb100 and w83l785ts).
Quoted 5 lines
Thanks.
--
Jean Delvare
http://khali.linux-fr.org/
_________________________________________________________________
The new MSN 8: advanced junk mail protection and 2 months FREE*
http://join.msn.com/?pageþatures/junkmail