본문 바로가기

Linux/Android

Input 디바이스의 상세 정보를 알아볼려면

Input 디바이스의 상세 정보를 알아볼려면 : 아래는 갤럭시 넥서스 결과

cat /proc/bus/input/devices
I: Bus=0000 Vendor=0000 Product=0000 Version=0000
N: Name="barometer"
P: Phys=
S: Sysfs=/devices/virtual/input/input0
U: Uniq=
H: Handlers=event0
B: PROP=0
B: EV=9
B: ABS=1000000

I: Bus=0018 Vendor=0000 Product=0000 Version=0000
N: Name="Melfas MMSxxx Touchscreen"
P: Phys=3-0048/input0
S: Sysfs=/devices/platform/omap/omap_i2c.3/i2c-3/3-0048/input/input1
U: Uniq=
H: Handlers=event1
B: PROP=2
B: EV=9
B: ABS=6618000 0

I: Bus=0000 Vendor=0000 Product=0000 Version=0000
N: Name="tuna-gpio-keypad"
P: Phys=
S: Sysfs=/devices/virtual/input/input2
U: Uniq=
H: Handlers=event2 keychord
B: PROP=0
B: EV=3
B: KEY=1c0000 0 0 0

I: Bus=0000 Vendor=0000 Product=0000 Version=0000
N: Name="proximity"
P: Phys=
S: Sysfs=/devices/virtual/input/input3
U: Uniq=
H: Handlers=event3
B: PROP=0
B: EV=9
B: ABS=2000000

I: Bus=0000 Vendor=0000 Product=0000 Version=0000
N: Name="lightsensor-level"
P: Phys=
S: Sysfs=/devices/virtual/input/input4
U: Uniq=
H: Handlers=event4
B: PROP=0
B: EV=9
B: ABS=100 0

I: Bus=0000 Vendor=0000 Product=0000 Version=0000
N: Name="Tuna Headset Jack"
P: Phys=ALSA
S: Sysfs=/devices/platform/soc-audio/sound/card0/input5
U: Uniq=
H: Handlers=event5
B: PROP=0
B: EV=21
B: SW=14