输入子系统框架:
详细框架:
# cat /proc/bus/input/devices
查看系统输入设备的相关信息
I: Bus=0019 Vendor=0000 Product=0000 Version=0000
N: Name="ACCDET"
P: Phys=
S: Sysfs=/devices/virtual/input/input0
U: Uniq=
H: Handlers=kbd event0
B: EV=3
B: KEY=80 0 0 0 800 0 0 0
I: Bus=0019 Vendor=2454 Product=6573 Version=0010
N: Name="mt6573-kpd"
P: Phys=
S: Sysfs=/devices/platform/mt6573-kpd/input/input1
U: Uniq=
H: Handlers=kbd event1
B: EV=3
B: KEY=180 180000 0 40000800 1c1ec0 0 0 0
I: Bus=0000 Vendor=0000 Product=0000 Version=0000
N: Name="mtk-tpd"
P: Phys=
S: Sysfs=/devices/virtual/input/input2
U: Uniq=
H: Handlers=mouse0 event2
B: EV=b
B: KEY=400 0 0 0 0 0 0 0 0 0 0
B: ABS=610000 1000003
I: Bus=0000 Vendor=0000 Product=0000 Version=0000
N: Name="hwmdata"
P: Phys=
S: Sysfs=/devices/virtual/input/input4
U: Uniq=
H: Handlers=event3
B: EV=5
B: REL=2
input_register_handler()
input_register_handle()
input_register_device()
相关话题: