~ubuntu-branches/ubuntu/lucid/linux-rt/lucid

« back to all changes in this revision

Viewing changes to Documentation/hwmon/sysfs-interface

  • Committer: Bazaar Package Importer
  • Author(s): Luke Yelavich
  • Date: 2009-08-05 23:00:52 UTC
  • Revision ID: james.westby@ubuntu.com-20090805230052-7xedvqcyk9dnnxb2
Tags: 2.6.31-1.1
New upstream release

Show diffs side-by-side

added added

removed removed

Lines of Context:
70
70
[0-*]   denotes any positive number starting from 0
71
71
[1-*]   denotes any positive number starting from 1
72
72
RO      read only value
 
73
WO      write only value
73
74
RW      read/write value
74
75
 
75
76
Read/write values may be read-only for some chips, depending on the
150
151
                Unit: revolution/min (RPM)
151
152
                RW
152
153
 
 
154
fan[1-*]_max    Fan maximum value
 
155
                Unit: revolution/min (RPM)
 
156
                Only rarely supported by the hardware.
 
157
                RW
 
158
 
153
159
fan[1-*]_input  Fan input value.
154
160
                Unit: revolution/min (RPM)
155
161
                RO
290
296
                user-space.
291
297
                RO
292
298
 
 
299
temp[1-*]_lowest
 
300
                Historical minimum temperature
 
301
                Unit: millidegree Celsius
 
302
                RO
 
303
 
 
304
temp[1-*]_highest
 
305
                Historical maximum temperature
 
306
                Unit: millidegree Celsius
 
307
                RO
 
308
 
 
309
temp[1-*]_reset_history
 
310
                Reset temp_lowest and temp_highest
 
311
                WO
 
312
 
 
313
temp_reset_history
 
314
                Reset temp_lowest and temp_highest for all sensors
 
315
                WO
 
316
 
293
317
Some chips measure temperature using external thermistors and an ADC, and
294
318
report the temperature measurement as a voltage. Converting this voltage
295
319
back to a temperature (or the other way around for limits) requires
365
389
                                Unit: microJoule
366
390
                                RO
367
391
 
 
392
 
368
393
**********
369
394
* Alarms *
370
395
**********
389
414
in[0-*]_min_alarm
390
415
in[0-*]_max_alarm
391
416
fan[1-*]_min_alarm
 
417
fan[1-*]_max_alarm
392
418
temp[1-*]_min_alarm
393
419
temp[1-*]_max_alarm
394
420
temp[1-*]_crit_alarm
453
479
                RW
454
480
 
455
481
 
 
482
***********************
 
483
* Intrusion detection *
 
484
***********************
 
485
 
 
486
intrusion[0-*]_alarm
 
487
                Chassis intrusion detection
 
488
                0: OK
 
489
                1: intrusion detected
 
490
                RW
 
491
                Contrary to regular alarm flags which clear themselves
 
492
                automatically when read, this one sticks until cleared by
 
493
                the user. This is done by writing 0 to the file. Writing
 
494
                other values is unsupported.
 
495
 
 
496
intrusion[0-*]_beep
 
497
                Chassis intrusion beep
 
498
                0: disable
 
499
                1: enable
 
500
                RW
 
501
 
 
502
 
456
503
sysfs attribute writes interpretation
457
504
-------------------------------------
458
505