ubuntuusers.de

Jessie joystick

Autor:
Taomon
Datum:
20. Juli 2017 13:06
Code:
 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
root@Taomon:/home/alex# udevadm monitor
monitor will print the received events for:
UDEV - the event which udev sends out after rule processing
KERNEL - the kernel uevent

KERNEL[11208.663450] add      /devices/pci0000:00/0000:00:1a.1/usb2/2-2 (usb)
KERNEL[11208.666363] add      /devices/pci0000:00/0000:00:1a.1/usb2/2-2/2-2:1.0 (usb)
KERNEL[11208.687840] add      /devices/pci0000:00/0000:00:1a.1/usb2/2-2/2-2:1.0/0003:11FF:3341.0003 (hid)
KERNEL[11208.692357] add      /devices/pci0000:00/0000:00:1a.1/usb2/2-2/2-2:1.0/0003:11FF:3341.0003/input/input26 (input)
KERNEL[11208.692719] add      /devices/pci0000:00/0000:00:1a.1/usb2/2-2/2-2:1.0/0003:11FF:3341.0003/input/input26/event18 (input)
KERNEL[11208.692965] add      /devices/pci0000:00/0000:00:1a.1/usb2/2-2/2-2:1.0/0003:11FF:3341.0003/input/input26/js1 (input)
KERNEL[11208.693166] add      /devices/pci0000:00/0000:00:1a.1/usb2/2-2/2-2:1.0/0003:11FF:3341.0003/hidraw/hidraw1 (hidraw)
UDEV  [11208.717776] add      /devices/pci0000:00/0000:00:1a.1/usb2/2-2 (usb)
UDEV  [11208.718901] add      /devices/pci0000:00/0000:00:1a.1/usb2/2-2/2-2:1.0 (usb)
UDEV  [11208.719674] add      /devices/pci0000:00/0000:00:1a.1/usb2/2-2/2-2:1.0/0003:11FF:3341.0003 (hid)
UDEV  [11208.720999] add      /devices/pci0000:00/0000:00:1a.1/usb2/2-2/2-2:1.0/0003:11FF:3341.0003/input/input26 (input)
UDEV  [11208.721034] add      /devices/pci0000:00/0000:00:1a.1/usb2/2-2/2-2:1.0/0003:11FF:3341.0003/hidraw/hidraw1 (hidraw)
UDEV  [11208.722728] add      /devices/pci0000:00/0000:00:1a.1/usb2/2-2/2-2:1.0/0003:11FF:3341.0003/input/input26/event18 (input)
UDEV  [11208.726981] add      /devices/pci0000:00/0000:00:1a.1/usb2/2-2/2-2:1.0/0003:11FF:3341.0003/input/input26/js1 (input)

root@Taomon:/home/alex# udevadm test-builtin input_id /sys/class/input/js0
calling: test-builtin
load module index
Network interface NamePolicy= disabled on kernel commandline, ignoring.
timestamp of '/etc/systemd/network' changed
timestamp of '/lib/systemd/network' changed
Parsed configuration file /lib/systemd/network/99-default.link
Created link configuration context.
ID_INPUT=1
capabilities/ev raw kernel attribute: 9
capabilities/ev decoded bit map:
  bit    0: 0000000000000009
capabilities/abs raw kernel attribute: 7
capabilities/abs decoded bit map:
  bit    0: 0000000000000007
capabilities/rel raw kernel attribute: 0
capabilities/rel decoded bit map:
capabilities/key raw kernel attribute: 0
capabilities/key decoded bit map:
ID_INPUT_ACCELEROMETER=1
test_key: no EV_KEY capability
unload module index
Unloaded link configuration context.

root@Taomon:/home/alex# udevadm test-builtin input_id /sys/class/input/js1
calling: test-builtin
load module index
Network interface NamePolicy= disabled on kernel commandline, ignoring.
timestamp of '/etc/systemd/network' changed
timestamp of '/lib/systemd/network' changed
Parsed configuration file /lib/systemd/network/99-default.link
Created link configuration context.
ID_INPUT=1
capabilities/ev raw kernel attribute: 1b
capabilities/ev decoded bit map:
  bit    0: 000000000000001B
capabilities/abs raw kernel attribute: 30027
capabilities/abs decoded bit map:
  bit    0: 0000000000030027
capabilities/rel raw kernel attribute: 0
capabilities/rel decoded bit map:
capabilities/key raw kernel attribute: fff00000000 0 0 0 0
capabilities/key decoded bit map:
  bit    0: 0000000000000000
  bit   64: 0000000000000000
  bit  128: 0000000000000000
  bit  192: 0000000000000000
  bit  256: 00000FFF00000000
ID_INPUT_JOYSTICK=1
test_key: checking bit block 0 for any keys; found=0
test_key: checking bit block 64 for any keys; found=0
test_key: checking bit block 128 for any keys; found=0
test_key: checking bit block 192 for any keys; found=0
unload module index
Unloaded link configuration context.