Package: xosview
Version: 1.8.2-9
Severity: normal

With kernel 2.6, xosview cannot access the lm_sensors temperature data,
as the appropriate path is hardcoded and changed from kernel 2.4's

  /proc/sys/sys/dev/sensors/*

to

  /sys/devices/*/*/i2c-0/*
  
in kernel 2.6 (at least in 2.6.16-2-686).


With

  xosview*lmstemp:    True
  xosview*lmstemp1:   temp
  xosview*lmstemp2:   remote_temp

xosview complains:

  Can not find file : /proc/sys/dev/sensors/*/temp
  Can not find file : /proc/sys/dev/sensors/*/remote_temp

Using

  xosview*lmstemp1: 
/sys/devices/pci0000:00/0000:00:07.3/i2c-0/0-002d/temp2_input

didn't work, xosview printed:

  Can not find file : 
/proc/sys/dev/sensors/*//sys/devices/pci0000:00/0000:00:07.3/i2c-0/0-002d/temp2_input


Suggested remedy
----------------

Add a resource

  xosview*lmspath

which in my case would contain

  /sys/devices/pci0000:00/0000:00:07.3/i2c-0/0-002d

and make xosview*lmstemp{1,2,...} relative to this path.

Additionally, if there are multiple busses, you could also allow
defining absolute file names for lmstemp{1,2,...}.



-- System Information:
Debian Release: testing/unstable
  APT prefers testing
  APT policy: (500, 'testing')
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.16-2-686
Locale: LANG=en_US, [EMAIL PROTECTED] (charmap=ISO-8859-15)

Versions of packages xosview depends on:
ii  libc6                         2.3.6-15   GNU C Library: Shared libraries
ii  libgcc1                       1:4.1.1-5  GCC support library
ii  libstdc++6                    4.1.1-5    The GNU Standard C++ Library v3
ii  libx11-6                      2:1.0.0-8  X11 client-side library

xosview recommends no packages.

-- no debconf information


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

Reply via email to