tuxmartin

lsinput

Nov 13th, 2015
211
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 3.56 KB | None | 0 0
  1. root@eu:/# apt-get install input-utils
  2. Čtu seznamy balíků… Hotovo
  3. Vytvářím strom závislostí
  4. Čtu stavové informace… Hotovo
  5. input-utils je již nejnovější verze.
  6. Následující balík byl nainstalován automaticky a již není potřeba:
  7. linux-image-3.2.0-91-generic
  8. Pro jejich odstranění použijte „apt-get autoremove“.
  9. 0 aktualizováno, 0 nově instalováno, 0 k odstranění a 16 neaktualizováno.
  10. root@eu:/#
  11. root@eu:/# lsinput
  12. /dev/input/event0
  13. bustype : BUS_HOST
  14. vendor : 0x0
  15. product : 0x1
  16. version : 0
  17. name : "Power Button"
  18. phys : "PNP0C0C/button/input0"
  19. bits ev : EV_SYN EV_KEY
  20.  
  21. /dev/input/event1
  22. bustype : BUS_HOST
  23. vendor : 0x0
  24. product : 0x3
  25. version : 0
  26. name : "Sleep Button"
  27. phys : "PNP0C0E/button/input0"
  28. bits ev : EV_SYN EV_KEY
  29.  
  30. /dev/input/event2
  31. bustype : BUS_HOST
  32. vendor : 0x0
  33. product : 0x1
  34. version : 0
  35. name : "Power Button"
  36. phys : "LNXPWRBN/button/input0"
  37. bits ev : EV_SYN EV_KEY
  38.  
  39. /dev/input/event3
  40. bustype : (null)
  41. vendor : 0x0
  42. product : 0x0
  43. version : 0
  44. name : "HDA Intel Mic"
  45. phys : "ALSA"
  46. bits ev : EV_SYN EV_SW
  47.  
  48. /dev/input/event4
  49. bustype : (null)
  50. vendor : 0x0
  51. product : 0x0
  52. version : 0
  53. name : "HDA Intel Line-Out"
  54. phys : "ALSA"
  55. bits ev : EV_SYN EV_SW
  56.  
  57. /dev/input/event5
  58. bustype : (null)
  59. vendor : 0x0
  60. product : 0x0
  61. version : 0
  62. name : "HDA Intel HDMI/DP,pcm=3"
  63. phys : "ALSA"
  64. bits ev : EV_SYN EV_SW
  65.  
  66. /dev/input/event6
  67. bustype : BUS_USB
  68. vendor : 0x1d19
  69. product : 0x1101
  70. version : 256
  71. name : "IR-receiver inside an USB DVB re"
  72. phys : "usb-0000:00:1d.7-6/ir0"
  73. bits ev : EV_SYN EV_KEY
  74.  
  75. root@eu:/#
  76. root@eu:/# cat /proc/bus/input/devices
  77. I: Bus=0019 Vendor=0000 Product=0001 Version=0000
  78. N: Name="Power Button"
  79. P: Phys=PNP0C0C/button/input0
  80. S: Sysfs=/devices/LNXSYSTM:00/LNXSYBUS:00/PNP0C0C:00/input/input0
  81. U: Uniq=
  82. H: Handlers=kbd event0
  83. B: PROP=0
  84. B: EV=3
  85. B: KEY=10000000000000 0
  86.  
  87. I: Bus=0019 Vendor=0000 Product=0003 Version=0000
  88. N: Name="Sleep Button"
  89. P: Phys=PNP0C0E/button/input0
  90. S: Sysfs=/devices/LNXSYSTM:00/LNXSYBUS:00/PNP0C0E:00/input/input1
  91. U: Uniq=
  92. H: Handlers=kbd event1
  93. B: PROP=0
  94. B: EV=3
  95. B: KEY=4000 0 0
  96.  
  97. I: Bus=0019 Vendor=0000 Product=0001 Version=0000
  98. N: Name="Power Button"
  99. P: Phys=LNXPWRBN/button/input0
  100. S: Sysfs=/devices/LNXSYSTM:00/LNXPWRBN:00/input/input2
  101. U: Uniq=
  102. H: Handlers=kbd event2
  103. B: PROP=0
  104. B: EV=3
  105. B: KEY=10000000000000 0
  106.  
  107. I: Bus=0000 Vendor=0000 Product=0000 Version=0000
  108. N: Name="HDA Intel Mic"
  109. P: Phys=ALSA
  110. S: Sysfs=/devices/pci0000:00/0000:00:1b.0/sound/card0/input3
  111. U: Uniq=
  112. H: Handlers=event3
  113. B: PROP=0
  114. B: EV=21
  115. B: SW=10
  116.  
  117. I: Bus=0000 Vendor=0000 Product=0000 Version=0000
  118. N: Name="HDA Intel Line-Out"
  119. P: Phys=ALSA
  120. S: Sysfs=/devices/pci0000:00/0000:00:1b.0/sound/card0/input4
  121. U: Uniq=
  122. H: Handlers=event4
  123. B: PROP=0
  124. B: EV=21
  125. B: SW=40
  126.  
  127. I: Bus=0000 Vendor=0000 Product=0000 Version=0000
  128. N: Name="HDA Intel HDMI/DP,pcm=3"
  129. P: Phys=ALSA
  130. S: Sysfs=/devices/pci0000:00/0000:00:1b.0/sound/card0/input5
  131. U: Uniq=
  132. H: Handlers=event5
  133. B: PROP=0
  134. B: EV=21
  135. B: SW=140
  136.  
  137. I: Bus=0003 Vendor=1d19 Product=1101 Version=0100
  138. N: Name="IR-receiver inside an USB DVB receiver"
  139. P: Phys=usb-0000:00:1d.7-6/ir0
  140. S: Sysfs=/devices/pci0000:00/0000:00:1d.7/usb1/1-6/input/input12
  141. U: Uniq=
  142. H: Handlers=kbd event6
  143. B: PROP=0
  144. B: EV=3
  145. B: KEY=c00 0 108fc322 12205100000000 0 18000 19044000401 1e16c000000000 ffc
  146.  
  147. root@eu:/#
  148.  
  149.  
  150. http://unix.stackexchange.com/a/6231
Advertisement
Add Comment
Please, Sign In to add comment