ubuntuusers.de

Titel:
udevadm
Autor:
Taomon
Datum:
2. August 2017 21:58
Aktionen:
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
 77
 78
 79
 80
 81
 82
 83
 84
 85
 86
 87
 88
 89
 90
 91
 92
 93
 94
 95
 96
 97
 98
 99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
root@Taomon:/home/alex# udevadm info --query=all --name /dev/input/js1
P: /devices/pci0000:00/0000:00:1d.0/usb5/5-1/5-1:1.0/0003:054C:05C4.0007/input/input30/js1
N: input/js1
S: input/by-id/usb-Sony_Computer_Entertainment_Wireless_Controller-joystick
S: input/by-path/pci-0000:00:1d.0-usb-0:1:1.0-joystick
E: DEVLINKS=/dev/input/by-id/usb-Sony_Computer_Entertainment_Wireless_Controller-joystick /dev/input/by-path/pci-0000:00:1d.0-usb-0:1:1.0-joystick
E: DEVNAME=/dev/input/js1
E: DEVPATH=/devices/pci0000:00/0000:00:1d.0/usb5/5-1/5-1:1.0/0003:054C:05C4.0007/input/input30/js1
E: ID_BUS=usb
E: ID_FOR_SEAT=input-pci-0000_00_1d_0-usb-0_1_1_0
E: ID_INPUT=1
E: ID_INPUT_JOYSTICK=1
E: ID_MODEL=Wireless_Controller
E: ID_MODEL_ENC=Wireless\x20Controller
E: ID_MODEL_ID=05c4
E: ID_PATH=pci-0000:00:1d.0-usb-0:1:1.0
E: ID_PATH_TAG=pci-0000_00_1d_0-usb-0_1_1_0
E: ID_REVISION=0100
E: ID_SERIAL=Sony_Computer_Entertainment_Wireless_Controller
E: ID_TYPE=hid
E: ID_USB_DRIVER=usbhid
E: ID_USB_INTERFACES=:030000:
E: ID_USB_INTERFACE_NUM=00
E: ID_VENDOR=Sony_Computer_Entertainment
E: ID_VENDOR_ENC=Sony\x20Computer\x20Entertainment
E: ID_VENDOR_ID=054c
E: MAJOR=13
E: MINOR=1
E: SUBSYSTEM=input
E: TAGS=:seat:uaccess:
E: USEC_INITIALIZED=45143221

root@Taomon:/home/alex# 
sowie 

root@Taomon:/home/alex# udevadm test --action=add /sys/class/input/js1/
calling: test
version 215
This program is for debugging only, it does not run any program
specified by a RUN key. It may show incorrect results, because
some values may be different, or not available at a simulation run.

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.
timestamp of '/etc/udev/rules.d' changed
read rules file: /etc/udev/rules.d/10-wlan-stick.rules
read rules file: /lib/udev/rules.d/39-usbmuxd.rules
read rules file: /lib/udev/rules.d/40-usb-media-players.rules
read rules file: /lib/udev/rules.d/40-usb_modeswitch.rules
read rules file: /lib/udev/rules.d/42-usb-hid-pm.rules
read rules file: /lib/udev/rules.d/50-bluetooth-hci-auto-poweron.rules
read rules file: /lib/udev/rules.d/50-firmware.rules
read rules file: /lib/udev/rules.d/50-udev-default.rules
read rules file: /lib/udev/rules.d/51-these-are-not-joysticks-rm.rules
read rules file: /lib/udev/rules.d/55-dm.rules
read rules file: /lib/udev/rules.d/56-hpmud.rules
read rules file: /lib/udev/rules.d/60-cdrom_id.rules
read rules file: /lib/udev/rules.d/60-crda.rules
read rules file: /lib/udev/rules.d/60-drm.rules
read rules file: /lib/udev/rules.d/60-fuse.rules
read rules file: /lib/udev/rules.d/60-gnupg.rules
read rules file: /lib/udev/rules.d/60-inputattach.rules
read rules file: /lib/udev/rules.d/60-joystick.rules
read rules file: /lib/udev/rules.d/60-keyboard.rules
read rules file: /lib/udev/rules.d/60-libgphoto2-6.rules
read rules file: /lib/udev/rules.d/60-libsane.rules
read rules file: /lib/udev/rules.d/60-nvidia-kernel-common.rules
read rules file: /lib/udev/rules.d/60-pcmcia.rules
read rules file: /lib/udev/rules.d/60-persistent-alsa.rules
read rules file: /lib/udev/rules.d/60-persistent-input.rules
read rules file: /lib/udev/rules.d/60-persistent-serial.rules
read rules file: /lib/udev/rules.d/60-persistent-storage-dm.rules
read rules file: /lib/udev/rules.d/60-persistent-storage-tape.rules
read rules file: /lib/udev/rules.d/60-persistent-storage.rules
read rules file: /lib/udev/rules.d/60-persistent-v4l.rules
read rules file: /lib/udev/rules.d/60-virtualbox-dkms.rules
read rules file: /lib/udev/rules.d/60-virtualbox.rules
read rules file: /lib/udev/rules.d/61-accelerometer.rules
read rules file: /lib/udev/rules.d/61-gnome-bluetooth-rfkill.rules
read rules file: /lib/udev/rules.d/61-gnome-settings-daemon-rfkill.rules
read rules file: /etc/udev/rules.d/61-removable-storage-polling.rules
read rules file: /lib/udev/rules.d/64-btrfs.rules
read rules file: /lib/udev/rules.d/64-xorg-xkb.rules
read rules file: /lib/udev/rules.d/69-cd-sensors.rules
read rules file: /lib/udev/rules.d/69-libmtp.rules
read rules file: /lib/udev/rules.d/69-wacom.rules
read rules file: /lib/udev/rules.d/69-xorg-vmmouse.rules
read rules file: /etc/udev/rules.d/70-persistent-net.rules
read rules file: /lib/udev/rules.d/70-power-switch.rules
read rules file: /lib/udev/rules.d/70-uaccess.rules
read rules file: /lib/udev/rules.d/70-udev-acl.rules
read rules file: /lib/udev/rules.d/71-seat.rules
read rules file: /lib/udev/rules.d/73-idrac.rules
read rules file: /lib/udev/rules.d/73-seat-late.rules
read rules file: /lib/udev/rules.d/75-net-description.rules
read rules file: /lib/udev/rules.d/75-persistent-net-generator.rules
read rules file: /lib/udev/rules.d/75-probe_mtd.rules
read rules file: /lib/udev/rules.d/75-tty-description.rules
read rules file: /lib/udev/rules.d/77-mm-cinterion-port-types.rules
read rules file: /lib/udev/rules.d/77-mm-ericsson-mbm.rules
read rules file: /lib/udev/rules.d/77-mm-huawei-net-port-types.rules
read rules file: /lib/udev/rules.d/77-mm-longcheer-port-types.rules
read rules file: /lib/udev/rules.d/77-mm-mtk-port-types.rules
read rules file: /lib/udev/rules.d/77-mm-nokia-port-types.rules
read rules file: /lib/udev/rules.d/77-mm-pcmcia-device-blacklist.rules
read rules file: /lib/udev/rules.d/77-mm-platform-serial-whitelist.rules
read rules file: /lib/udev/rules.d/77-mm-qdl-device-blacklist.rules
read rules file: /lib/udev/rules.d/77-mm-simtech-port-types.rules
read rules file: /lib/udev/rules.d/77-mm-telit-port-types.rules
read rules file: /lib/udev/rules.d/77-mm-usb-device-blacklist.rules
read rules file: /lib/udev/rules.d/77-mm-usb-serial-adapters-greylist.rules
read rules file: /lib/udev/rules.d/77-mm-x22x-port-types.rules
read rules file: /lib/udev/rules.d/77-mm-zte-port-types.rules
read rules file: /lib/udev/rules.d/77-nm-olpc-mesh.rules
read rules file: /lib/udev/rules.d/78-sound-card.rules
read rules file: /lib/udev/rules.d/80-drivers.rules
read rules file: /lib/udev/rules.d/80-mm-candidate.rules
read rules file: /lib/udev/rules.d/80-net-setup-link.rules
read rules file: /lib/udev/rules.d/80-networking.rules
read rules file: /lib/udev/rules.d/80-stelladaptor-joystick.rules
read rules file: /lib/udev/rules.d/80-udisks2.rules
read rules file: /lib/udev/rules.d/80-uvcdynctrl.rules
read rules file: /lib/udev/rules.d/85-hdparm.rules
read rules file: /lib/udev/rules.d/85-hplj10xx.rules
read rules file: /lib/udev/rules.d/85-hwclock.rules
read rules file: /lib/udev/rules.d/85-regulatory.rules
read rules file: /lib/udev/rules.d/90-alsa-restore.rules
read rules file: /lib/udev/rules.d/90-libgpod.rules
read rules file: /lib/udev/rules.d/90-pulseaudio.rules
read rules file: /lib/udev/rules.d/95-cd-devices.rules
read rules file: /lib/udev/rules.d/95-udev-late.rules
read rules file: /lib/udev/rules.d/95-upower-csr.rules
read rules file: /lib/udev/rules.d/95-upower-hid.rules
read rules file: /lib/udev/rules.d/95-upower-wup.rules
read rules file: /lib/udev/rules.d/97-hid2hci.rules
read rules file: /etc/udev/rules.d/98-accelerometer-override.rules
read rules file: /etc/udev/rules.d/99-joystick-override.rules
read rules file: /lib/udev/rules.d/99-systemd.rules
read rules file: /etc/udev/rules.d/99-udisksctl.rules
read rules file: /etc/udev/rules.d/bb-clamtk.rules
rules contain 393216 bytes tokens (32768 * 12 bytes), 35740 bytes strings
35076 strings (287583 bytes), 31416 de-duplicated (255504 bytes), 3661 trie nodes used
IMPORT builtin 'input_id' /lib/udev/rules.d/50-udev-default.rules:10
capabilities/ev raw kernel attribute: 20001b
capabilities/abs raw kernel attribute: 26080000003003f
capabilities/rel raw kernel attribute: 0
capabilities/key raw kernel attribute: 3fff000000000000 0 0 0 0
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
GROUP 131 /lib/udev/rules.d/50-udev-default.rules:29
MODE 0664 /lib/udev/rules.d/50-udev-default.rules:30
RUN '/usr/bin/jscal-restore %E{DEVNAME}' /lib/udev/rules.d/60-joystick.rules:2
IMPORT builtin 'usb_id' /lib/udev/rules.d/60-persistent-input.rules:7
/sys/devices/pci0000:00/0000:00:1d.0/usb5/5-1/5-1:1.0: if_class 3 protocol 0
LINK 'input/by-id/usb-Sony_Computer_Entertainment_Wireless_Controller-joystick' /lib/udev/rules.d/60-persistent-input.rules:22
IMPORT builtin 'path_id' /lib/udev/rules.d/60-persistent-input.rules:31
LINK 'input/by-path/pci-0000:00:1d.0-usb-0:1:1.0-joystick' /lib/udev/rules.d/60-persistent-input.rules:32
RUN 'uaccess' /lib/udev/rules.d/73-seat-late.rules:15
handling device node '/dev/input/js1', devnum=c13:1, mode=0664, uid=0, gid=131
preserve permissions /dev/input/js1, 020664, uid=0, gid=131
preserve already existing symlink '/dev/char/13:1' to '../input/js1'
found 'c13:1' claiming '/run/udev/links/\x2finput\x2fby-id\x2fusb-Sony_Computer_Entertainment_Wireless_Controller-joystick'
creating link '/dev/input/by-id/usb-Sony_Computer_Entertainment_Wireless_Controller-joystick' to '/dev/input/js1'
preserve already existing symlink '/dev/input/by-id/usb-Sony_Computer_Entertainment_Wireless_Controller-joystick' to '../js1'
found 'c13:1' claiming '/run/udev/links/\x2finput\x2fby-path\x2fpci-0000:00:1d.0-usb-0:1:1.0-joystick'
creating link '/dev/input/by-path/pci-0000:00:1d.0-usb-0:1:1.0-joystick' to '/dev/input/js1'
preserve already existing symlink '/dev/input/by-path/pci-0000:00:1d.0-usb-0:1:1.0-joystick' to '../js1'
.INPUT_CLASS=joystick
ACTION=add
DEVLINKS=/dev/input/by-id/usb-Sony_Computer_Entertainment_Wireless_Controller-joystick /dev/input/by-path/pci-0000:00:1d.0-usb-0:1:1.0-joystick
DEVNAME=/dev/input/js1
DEVPATH=/devices/pci0000:00/0000:00:1d.0/usb5/5-1/5-1:1.0/0003:054C:05C4.0007/input/input30/js1
ID_BUS=usb
ID_FOR_SEAT=input-pci-0000_00_1d_0-usb-0_1_1_0
ID_INPUT=1
ID_INPUT_JOYSTICK=1
ID_MODEL=Wireless_Controller
ID_MODEL_ENC=Wireless\x20Controller
ID_MODEL_ID=05c4
ID_PATH=pci-0000:00:1d.0-usb-0:1:1.0
ID_PATH_TAG=pci-0000_00_1d_0-usb-0_1_1_0
ID_REVISION=0100
ID_SERIAL=Sony_Computer_Entertainment_Wireless_Controller
ID_TYPE=hid
ID_USB_DRIVER=usbhid
ID_USB_INTERFACES=:030000:
ID_USB_INTERFACE_NUM=00
ID_VENDOR=Sony_Computer_Entertainment
ID_VENDOR_ENC=Sony\x20Computer\x20Entertainment
ID_VENDOR_ID=054c
MAJOR=13
MINOR=1
SUBSYSTEM=input
TAGS=:seat:uaccess:
USEC_INITIALIZED=45143221
run: '/usr/bin/jscal-restore /dev/input/js1'
run: 'uaccess'
unload module index
Unloaded link configuration context.
root@Taomon:/home/alex#