Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- root@eu:/# apt-get install input-utils
- Čtu seznamy balíků… Hotovo
- Vytvářím strom závislostí
- Čtu stavové informace… Hotovo
- input-utils je již nejnovější verze.
- Následující balík byl nainstalován automaticky a již není potřeba:
- linux-image-3.2.0-91-generic
- Pro jejich odstranění použijte „apt-get autoremove“.
- 0 aktualizováno, 0 nově instalováno, 0 k odstranění a 16 neaktualizováno.
- root@eu:/#
- root@eu:/# lsinput
- /dev/input/event0
- bustype : BUS_HOST
- vendor : 0x0
- product : 0x1
- version : 0
- name : "Power Button"
- phys : "PNP0C0C/button/input0"
- bits ev : EV_SYN EV_KEY
- /dev/input/event1
- bustype : BUS_HOST
- vendor : 0x0
- product : 0x3
- version : 0
- name : "Sleep Button"
- phys : "PNP0C0E/button/input0"
- bits ev : EV_SYN EV_KEY
- /dev/input/event2
- bustype : BUS_HOST
- vendor : 0x0
- product : 0x1
- version : 0
- name : "Power Button"
- phys : "LNXPWRBN/button/input0"
- bits ev : EV_SYN EV_KEY
- /dev/input/event3
- bustype : (null)
- vendor : 0x0
- product : 0x0
- version : 0
- name : "HDA Intel Mic"
- phys : "ALSA"
- bits ev : EV_SYN EV_SW
- /dev/input/event4
- bustype : (null)
- vendor : 0x0
- product : 0x0
- version : 0
- name : "HDA Intel Line-Out"
- phys : "ALSA"
- bits ev : EV_SYN EV_SW
- /dev/input/event5
- bustype : (null)
- vendor : 0x0
- product : 0x0
- version : 0
- name : "HDA Intel HDMI/DP,pcm=3"
- phys : "ALSA"
- bits ev : EV_SYN EV_SW
- /dev/input/event6
- bustype : BUS_USB
- vendor : 0x1d19
- product : 0x1101
- version : 256
- name : "IR-receiver inside an USB DVB re"
- phys : "usb-0000:00:1d.7-6/ir0"
- bits ev : EV_SYN EV_KEY
- root@eu:/#
- root@eu:/# cat /proc/bus/input/devices
- I: Bus=0019 Vendor=0000 Product=0001 Version=0000
- N: Name="Power Button"
- P: Phys=PNP0C0C/button/input0
- S: Sysfs=/devices/LNXSYSTM:00/LNXSYBUS:00/PNP0C0C:00/input/input0
- U: Uniq=
- H: Handlers=kbd event0
- B: PROP=0
- B: EV=3
- B: KEY=10000000000000 0
- I: Bus=0019 Vendor=0000 Product=0003 Version=0000
- N: Name="Sleep Button"
- P: Phys=PNP0C0E/button/input0
- S: Sysfs=/devices/LNXSYSTM:00/LNXSYBUS:00/PNP0C0E:00/input/input1
- U: Uniq=
- H: Handlers=kbd event1
- B: PROP=0
- B: EV=3
- B: KEY=4000 0 0
- I: Bus=0019 Vendor=0000 Product=0001 Version=0000
- N: Name="Power Button"
- P: Phys=LNXPWRBN/button/input0
- S: Sysfs=/devices/LNXSYSTM:00/LNXPWRBN:00/input/input2
- U: Uniq=
- H: Handlers=kbd event2
- B: PROP=0
- B: EV=3
- B: KEY=10000000000000 0
- I: Bus=0000 Vendor=0000 Product=0000 Version=0000
- N: Name="HDA Intel Mic"
- P: Phys=ALSA
- S: Sysfs=/devices/pci0000:00/0000:00:1b.0/sound/card0/input3
- U: Uniq=
- H: Handlers=event3
- B: PROP=0
- B: EV=21
- B: SW=10
- I: Bus=0000 Vendor=0000 Product=0000 Version=0000
- N: Name="HDA Intel Line-Out"
- P: Phys=ALSA
- S: Sysfs=/devices/pci0000:00/0000:00:1b.0/sound/card0/input4
- U: Uniq=
- H: Handlers=event4
- B: PROP=0
- B: EV=21
- B: SW=40
- I: Bus=0000 Vendor=0000 Product=0000 Version=0000
- N: Name="HDA Intel HDMI/DP,pcm=3"
- P: Phys=ALSA
- S: Sysfs=/devices/pci0000:00/0000:00:1b.0/sound/card0/input5
- U: Uniq=
- H: Handlers=event5
- B: PROP=0
- B: EV=21
- B: SW=140
- I: Bus=0003 Vendor=1d19 Product=1101 Version=0100
- N: Name="IR-receiver inside an USB DVB receiver"
- P: Phys=usb-0000:00:1d.7-6/ir0
- S: Sysfs=/devices/pci0000:00/0000:00:1d.7/usb1/1-6/input/input12
- U: Uniq=
- H: Handlers=kbd event6
- B: PROP=0
- B: EV=3
- B: KEY=c00 0 108fc322 12205100000000 0 18000 19044000401 1e16c000000000 ffc
- root@eu:/#
- http://unix.stackexchange.com/a/6231
Advertisement
Add Comment
Please, Sign In to add comment