-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Hello developers,
I have a problem with the lm_sensor plugin. My system: FreeVo 1.4.1 runtime 0.3.1 SuSE 8.2 sensors-2.7.0-15 lm_sensor is running, for output of command "sensors" see end of this mail. If I activate the plugin with: plugin.activate('idlebar.system.sensors', level=40, args=('temp2', 'temp1', 'MemFree')) it crashes on line 231 (system.py) because the file: /proc/sys/dev/sensors/eeprom-i2c-2-50/temp2 couldn't be found. A ls -l in /proc/sys/dev/sensors/ shows: - -rw-r--r-- 1 root root 0 2004-01-07 17:08 chips dr-xr-xr-x 2 root root 0 2004-01-07 17:08 eeprom-i2c-0-51 dr-xr-xr-x 2 root root 0 2004-01-07 17:08 eeprom-i2c-0-52 dr-xr-xr-x 2 root root 0 2004-01-07 15:59 eeprom-i2c-2-50 dr-xr-xr-x 2 root root 0 2004-01-07 17:08 w83782d-isa-0290 and cat /proc/sys/dev/sensors/chips shows: 256 w83782d-isa-0290 257 eeprom-i2c-0-51 258 eeprom-i2c-0-52 The necessary sensor-info could be found in the directory: w83782d-isa-0290. Hardcoding line 229 to: file = os.path.join( "/proc/sys/dev/sensors/w83782d-isa-0290", self.sensor ) solves the problem for me. Freevo starts and plugin information shows up in the idlebar as expected. I would like to solve this problem without changing source code - does anyone has an idea ? Thanks for your help. Regards Georg P.S.: My lm_sensor-configuration in modules.conf: options w83781d ignore=0,0x2d options i2c-algo-bit bit_test=1 - -- [1] output of "sensors": w83782d-isa-0290 Adapter: ISA adapter Algorithm: ISA algorithm VCore 1: +1.72 V (min = +1.53 V, max = +1.87 V) VCore 2: +1.50 V (min = +1.53 V, max = +1.87 V) +3.3V: +3.47 V (min = +2.97 V, max = +3.63 V) +5V: +5.04 V (min = +4.50 V, max = +5.48 V) +12V: +12.27 V (min = +10.79 V, max = +13.11 V) - -12V: -11.72 V (min = -13.21 V, max = -10.90 V) - -5V: -5.01 V (min = -5.51 V, max = -4.51 V) V5SB: +4.99 V (min = +4.50 V, max = +5.48 V) VBat: +2.52 V (min = +2.70 V, max = +3.29 V) fan1: 2986 RPM (min = 3000 RPM, div = 2) ALARM fan2: 0 RPM (min = 3000 RPM, div = 2) fan3: 0 RPM (min = 3000 RPM, div = 2) temp1: +43°C (limit = +60°C) sensor = thermistor temp2: +35.0°C (limit = +60°C, hysteresis = +50°C) sensor = PII/Celeron diode temp3: +26.5°C (limit = +60°C, hysteresis = +50°C) sensor = thermistor vid: +1.700 V alarms: Chassis intrusion detection ALARM beep_enable: Sound alarm disabled eeprom-i2c-0-51 Adapter: SMBus PIIX4 adapter at 5000 Algorithm: Non-I2C SMBus adapter Memory type: SDRAM DIMM SPD Memory size (MB): 128 eeprom-i2c-0-52 Adapter: SMBus PIIX4 adapter at 5000 Algorithm: Non-I2C SMBus adapter Memory type: SDRAM DIMM SPD Memory size (MB): 128 eeprom-i2c-2-50 Adapter: bt848 #0 Algorithm: Bit-shift algorithm -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.2 (GNU/Linux) iD8DBQE//FljCh15DGPrVcoRAoaXAKCbk9K1srFAprP8Yiuv08y7O4jncACgnyA5 mDHXXgbGRKZ9cSpYuExZgQI= =nkp/ -----END PGP SIGNATURE----- ------------------------------------------------------- This SF.net email is sponsored by: Perforce Software. Perforce is the Fast Software Configuration Management System offering advanced branching capabilities and atomic changes on 50+ platforms. Free Eval! http://www.perforce.com/perforce/loadprog.html _______________________________________________ Freevo-devel mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/freevo-devel