Package: lm-sensors
Version: 1:2.10.0-2
Severity: normal

        Hi,

        Here is my lsmod for i2c modules :
"
Module                  Size  Used by
w83627hf               22608  0 
w83781d                29348  0 
hwmon_vid               2432  2 w83627hf,w83781d
i2c_isa                 4608  2 w83627hf,w83781d
eeprom                  6736  0 
i2c_viapro              7956  0 
i2c_dev                 8096  0 
i2c_core               19536  6 
w83627hf,w83781d,i2c_isa,eeprom,i2c_viapro,i2c_dev
"
        Here is my contents of /sys/bus/i2c/devices/9191-0290 , 
        as shown by ls :
"
alarms       fan2_input    in3_input  in6_input  name  temp2_max
beep_enable  fan2_min      in3_max    in6_max    power temp2_max_hyst
beep_mask    hwmon:hwmon0  in3_min    in6_min    pwm1  temp2_type
bus          in0_input     in4_input  in7_input  pwm2  uevent
driver       in0_max       in4_max    in7_max    temp1_input
fan1_div     in0_min       in4_min    in7_min    temp1_max
fan1_input   in2_input     in5_input  in8_input  temp1_max_hyst
fan1_min     in2_max       in5_max    in8_max    temp1_type
fan2_div     in2_min       in5_min    in8_min    temp2_input
"
        Note file names.

        Here is my root's run of 'sensors -s' :
"
w83697hf-isa-0290: Can't access procfs/sysfs file for writing;
Run as root?
"
        Here is root's run of 'sensors' without parameters :
"
w83697hf-isa-0290
Adapter: ISA adapter
ERROR: Can't get IN0 data!
ERROR: Can't get IN2 data!
ERROR: Can't get IN3 data!
ERROR: Can't get IN4 data!
ERROR: Can't get IN5 data!
ERROR: Can't get IN6 data!
ERROR: Can't get IN7 data!
ERROR: Can't get IN8 data!
ERROR: Can't get FAN1 data!
ERROR: Can't get FAN2 data!
ERROR: Can't get TEMP1 data!
ERROR: Can't get TEMP2 data!
alarms:   
beep_enable:
          Sound alarm enabled

eeprom-i2c-0-51
Adapter: SMBus Via Pro adapter at 0400
Memory type:            DDR SDRAM DIMM
Memory size (MB):       1024

eeprom-i2c-0-50
Adapter: SMBus Via Pro adapter at 0400
Memory type:            DDR SDRAM DIMM
Memory size (MB):       512
"
        Here are interesting strace samples taken from '-s' and default
        run :
"
open("/sys/bus/i2c/devices/9191-0290/in_min0", O_WRONLY|O_CREAT|O_TRUNC, 0666) 
= -1 EACCES (Permission denied)
open("/sys/bus/i2c/devices/9191-0290/in_max0", O_WRONLY|O_CREAT|O_TRUNC, 0666) 
= -1 EACCES (Permission denied)
open("/sys/bus/i2c/devices/9191-0290/in_min2", O_WRONLY|O_CREAT|O_TRUNC, 0666) 
= -1 EACCES (Permission denied)
open("/sys/bus/i2c/devices/9191-0290/in_max2", O_WRONLY|O_CREAT|O_TRUNC, 0666) 
= -1 EACCES (Permission denied)
open("/sys/bus/i2c/devices/9191-0290/in_min3", O_WRONLY|O_CREAT|O_TRUNC, 0666) 
= -1 EACCES (Permission denied)
open("/sys/bus/i2c/devices/9191-0290/in_max3", O_WRONLY|O_CREAT|O_TRUNC, 0666) 
= -1 EACCES (Permission denied)
open("/sys/bus/i2c/devices/9191-0290/in_min4", O_WRONLY|O_CREAT|O_TRUNC, 0666) 
= -1 EACCES (Permission denied)
open("/sys/bus/i2c/devices/9191-0290/in_max4", O_WRONLY|O_CREAT|O_TRUNC, 0666) 
= -1 EACCES (Permission denied)
open("/sys/bus/i2c/devices/9191-0290/in_max5", O_WRONLY|O_CREAT|O_TRUNC, 0666) 
= -1 EACCES (Permission denied)
open("/sys/bus/i2c/devices/9191-0290/in_min5", O_WRONLY|O_CREAT|O_TRUNC, 0666) 
= -1 EACCES (Permission denied)
open("/sys/bus/i2c/devices/9191-0290/in_max6", O_WRONLY|O_CREAT|O_TRUNC, 0666) 
= -1 EACCES (Permission denied)
open("/sys/bus/i2c/devices/9191-0290/in_min6", O_WRONLY|O_CREAT|O_TRUNC, 0666) 
= -1 EACCES (Permission denied)
open("/sys/bus/i2c/devices/9191-0290/in_min7", O_WRONLY|O_CREAT|O_TRUNC, 0666) 
= -1 EACCES (Permission denied)
open("/sys/bus/i2c/devices/9191-0290/in_max7", O_WRONLY|O_CREAT|O_TRUNC, 0666) 
= -1 EACCES (Permission denied)
open("/sys/bus/i2c/devices/9191-0290/in_min8", O_WRONLY|O_CREAT|O_TRUNC, 0666) 
= -1 EACCES (Permission denied)
open("/sys/bus/i2c/devices/9191-0290/in_max8", O_WRONLY|O_CREAT|O_TRUNC, 0666) 
= -1 EACCES (Permission denied)
"
"
open("/sys/bus/i2c/devices/9191-0290/in_input0", O_RDONLY) = -1 ENOENT (No such 
file or directory)
open("/sys/bus/i2c/devices/9191-0290/in_input2", O_RDONLY) = -1 ENOENT (No such 
file or directory)
open("/sys/bus/i2c/devices/9191-0290/in_input3", O_RDONLY) = -1 ENOENT (No such 
file or directory)
open("/sys/bus/i2c/devices/9191-0290/in_input4", O_RDONLY) = -1 ENOENT (No such 
file or directory)
open("/sys/bus/i2c/devices/9191-0290/in_input5", O_RDONLY) = -1 ENOENT (No such 
file or directory)
open("/sys/bus/i2c/devices/9191-0290/in_input6", O_RDONLY) = -1 ENOENT (No such 
file or directory)
open("/sys/bus/i2c/devices/9191-0290/in_input7", O_RDONLY) = -1 ENOENT (No such 
file or directory)
open("/sys/bus/i2c/devices/9191-0290/in_input8", O_RDONLY) = -1 ENOENT (No such 
file or directory)
open("/sys/bus/i2c/devices/9191-0290/fan_input1", O_RDONLY) = -1 ENOENT (No 
such file or directory)
open("/sys/bus/i2c/devices/9191-0290/fan_input2", O_RDONLY) = -1 ENOENT (No 
such file or directory)
open("/sys/bus/i2c/devices/9191-0290/temp_input1", O_RDONLY) = -1 ENOENT (No 
such file or directory)
open("/sys/bus/i2c/devices/9191-0290/temp_input2", O_RDONLY) = -1 ENOENT (No 
such file or directory)
"
        So it seems that 'sensors' puts digit in wrong place when it
        forms file names. Don't know, may be it is caused by kernel
        change to 2.6.16 ? Anyway, hope you will deem my message as a
        food for thought. Thank you in advance.

-- System Information:
Debian Release: testing/unstable
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.16-1-k7
Locale: LANG=uk_UA.UTF-8, LC_CTYPE=uk_UA.UTF-8 (charmap=UTF-8)

Versions of packages lm-sensors depends on:
ii  libc6                        2.3.6-4     GNU C Library: Shared libraries an
ii  libsensors3                  1:2.10.0-2  library to read temperature/voltag
ii  makedev                      2.3.1-80    creates device files in /dev
ii  perl                         5.8.8-3     Larry Wall's Practical Extraction 
ii  sed                          4.1.4-5     The GNU sed stream editor
ii  sysvinit                     2.86.ds1-12 System-V-like init utilities
ii  ucf                          2.006       Update Configuration File: preserv

Versions of packages lm-sensors recommends:
ii  linux-image-2.6.16-1-k7 [linu 2.6.16-1   Linux kernel 2.6.16 image on AMD K

-- debconf-show failed


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to