User:Ned Scott/Sandbox: Difference between revisions

From Official Kodi Wiki
Jump to navigation Jump to search
No edit summary
(Replaced content with "= test 1 = Words words words = test 2 = More words words words = test 3 = Even more words words words <headertabs />")
 
(21 intermediate revisions by the same user not shown)
Line 1: Line 1:
First you have to create an own udev rule to ensure, that your device nodes are always the same.
= test 1 =
Words words words


We get the vendor id and the product id from ''/proc/bus/input/devices'':
= test 2 =
More words words words


cat /proc/bus/input/devices
= test 3 =
Even more words words words


the output is something like this:
<headertabs />
<pre>
...
 
I: Bus=0003 Vendor=05a4 Product=9881 Version=0110
N: Name="HID 05a4:9881"
P: Phys=usb-0000:00:06.0-1/input0
S: Sysfs=/devices/pci0000:00/0000:00:06.0/usb4/4-1/4-1:1.0/input/input4
U: Uniq=
H: Handlers=kbd event4
B: EV=120013
B: KEY=e080ffdf01cfffff fffffffffffffffe
B: MSC=10
B: LED=7
 
I: Bus=0003 Vendor=05a4 Product=9881 Version=0110
N: Name="HID 05a4:9881"
P: Phys=usb-0000:00:06.0-1/input1
S: Sysfs=/devices/pci0000:00/0000:00:06.0/usb4/4-1/4-1:1.1/input/input5
U: Uniq=
H: Handlers=kbd mouse1 event5
B: EV=17
B: KEY=1f0000 2020000 3878d801d001 1e000000000000 0
B: REL=103
B: MSC=10
 
...
</pre>

Latest revision as of 01:48, 1 September 2018

[edit]

Words words words

[edit]

More words words words

[edit]

Even more words words words