Difference between revisions of "Linux Devfs Files"

From WebOS Internals
Jump to navigation Jump to search
 
(One intermediate revision by the same user not shown)
Line 3: Line 3:
 
! Device File
 
! Device File
 
! Info
 
! Info
 +
! Symlinked to
 
|-
 
|-
 
| /dev/input/event0
 
| /dev/input/event0
 
| Headphone Jack Switch
 
| Headphone Jack Switch
 +
| /dev/input/keypad2
 
|-
 
|-
 
| /dev/input/event1
 
| /dev/input/event1
| Gesture button
+
| Gesture button, Volume Controls, Mute Switch
 +
| /dev/input/keypad1
 
|-
 
|-
 
| /dev/input/event2
 
| /dev/input/event2
 
| Keypad
 
| Keypad
 +
| /dev/input/keypad0
 +
|-
 +
| /dev/input/event3
 +
| Proximity Sensor
 +
| /dev/input/proximity0
 
|-
 
|-
 
| /dev/input/event4
 
| /dev/input/event4
| ''unknown''
+
| Light Sensor
 +
| /dev/input/light0
 
|-
 
|-
 
| /dev/input/event5
 
| /dev/input/event5
| ''unknown''
+
| Accelerometer
|-
+
| /dev/input/accelerometer0
| /dev/input/keypad0
 
| Keypad
 
|-
 
| /dev/input/keypad1
 
| Volume buttons
 
|-
 
| /dev/input/keypad2
 
| Headphone Jack Switch
 
 
|}
 
|}

Latest revision as of 19:59, 14 January 2010

Device File Info Symlinked to
/dev/input/event0 Headphone Jack Switch /dev/input/keypad2
/dev/input/event1 Gesture button, Volume Controls, Mute Switch /dev/input/keypad1
/dev/input/event2 Keypad /dev/input/keypad0
/dev/input/event3 Proximity Sensor /dev/input/proximity0
/dev/input/event4 Light Sensor /dev/input/light0
/dev/input/event5 Accelerometer /dev/input/accelerometer0