All of lore.kernel.org
 help / color / mirror / Atom feed
* Can't access /proc file for writing
@ 2005-05-19  6:24 Miguel Angelo Rozsas
  2005-05-19  6:24 ` Jean Delvare
                   ` (6 more replies)
  0 siblings, 7 replies; 8+ messages in thread
From: Miguel Angelo Rozsas @ 2005-05-19  6:24 UTC (permalink / raw)
  To: lm-sensors

Hi There !

	Anyone can you help me, please ?

	My system is a ASUS P4T, P4 1.4GHz, running RH9, with the last stable
kernel 2.4.22 (from kernel.org), whith the linux-2.4.22-i2c-2.8.1.patch
patch applied and lm_sensors-2.8.1.tar.gz installed.

Output of sensors-detect:
 BIOS vendor (ACPI): ASUS
 System vendor (DMI): System Manufacturer
 BIOS version (DMI): ASUS P4T ACPI BIOS Revision 1005
 We can start with probing for (PCI) I2C or SMBus adapters.
 You do not need any special privileges for this.
 Do you want to probe now? (YES/no):
Probing for PCI bus adapters...
Use driver `i2c-i801' for device 00:1f.3: Intel 82801BA ICH2
Probe succesfully concluded.

	I have no problem following the instructions on
http://www2.lm-sensors.nu/~lm78/cvs/lm_sensors2/QUICKSTART, except when
I have tried to do:

# sensors -s
as99127f-i2c-0-2d: Can't access /proc file for writing;
Run as root?
#

Looking at /proc/bus I've noticed that i2c* are 0444 !
# ls -l /proc/bus/i2c*
-r--r--r--    1 root     root            0 Nov  2 00:11 /proc/bus/i2c
-r--r--r--    1 root     root            0 Nov  2 00:11 /proc/bus/i2c-0

running just sensors, looks like fine (...almost...Why -12V and -5V
readings are wrong ?):
# sensors
as99127f-i2c-0-2d
Adapter: SMBus I801 adapter at e800
Algorithm: Non-I2C SMBus adapter
VCore 1:   +1.70 V  (min =  +1.58 V, max =  +1.92 V)
VCore 2:   +1.82 V  (min =  +1.58 V, max =  +1.92 V)
+3.3V:     +3.36 V  (min =  +2.98 V, max =  +3.63 V)
+5V:       +5.06 V  (min =  +4.52 V, max =  +5.48 V)
+12V:     +12.16 V  (min = +10.83 V, max = +13.15 V)
-12V:      -2.30 V  (min = -15.06 V, max = -12.32 V)
-5V:       -1.23 V  (min =  -5.49 V, max =  -4.50 V)
fan1:        0 RPM  (min = 3000 RPM, div = 2)
fan2:        0 RPM  (min = 3000 RPM, div = 2)
fan3:     5037 RPM  (min = 3000 RPM, div = 2)
temp1:       +45?C  (limit =  +60?C)
temp2:     +42.0?C  (limit = +120?C, hysteresis = +100?C)
temp3:    +255.4?C  (limit = +120?C, hysteresis = +100?C)
vid:      +1.750 V
alarms:
beep_enable:
          Sound alarm enabled
 
eeprom-i2c-0-50
Adapter: SMBus I801 adapter at e800
Algorithm: Non-I2C SMBus adapter
 
eeprom-i2c-0-51
Adapter: SMBus I801 adapter at e800
Algorithm: Non-I2C SMBus adapter
 
eeprom-i2c-0-52
Adapter: SMBus I801 adapter at e800
Algorithm: Non-I2C SMBus adapter
 
eeprom-i2c-0-53
Adapter: SMBus I801 adapter at e800
Algorithm: Non-I2C SMBus adapter

Finally the questions:

1) Why the permissions for /proc/bus/i2c* are 0444 ?
2) Why the reading for-12V and -5V are wrong ?
How can fix this ?


any help will be appreciated.
thanks in advance,


PS: Sorry any mistakes in my text. English isn't my native language.

-- 
Miguel Angelo Rozsas
miguel@rozsas.xx.nom.br

^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2005-05-19  6:24 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-05-19  6:24 Can't access /proc file for writing Miguel Angelo Rozsas
2005-05-19  6:24 ` Jean Delvare
2005-05-19  6:24 ` Jean Delvare
2005-05-19  6:24 ` Miguel Angelo Rozsas
2005-05-19  6:24 ` Miguel Angelo Rozsas
2005-05-19  6:24 ` Jean Delvare
2005-05-19  6:24 ` Miguel Angelo Rozsas
2005-05-19  6:24 ` Jean Delvare

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.