Guest User

udev

a guest
Dec 3rd, 2012
235
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 22.40 KB | None | 0 0
  1. for i in /dev/input/event*; do udevadm info -a -p $(udevadm info -q path -n $i); done
  2.  
  3. Udevadm info starts with the device specified by the devpath and then
  4. walks up the chain of parent devices. It prints for every device
  5. found, all possible attributes in the udev rules key format.
  6. A rule to match, can be composed by the attributes of the device
  7. and the attributes from one single parent device.
  8.  
  9. looking at device '/devices/LNXSYSTM:00/device:00/PNP0C0D:00/input/input0/event0':
  10. KERNEL=="event0"
  11. SUBSYSTEM=="input"
  12. DRIVER==""
  13.  
  14. looking at parent device '/devices/LNXSYSTM:00/device:00/PNP0C0D:00/input/input0':
  15. KERNELS=="input0"
  16. SUBSYSTEMS=="input"
  17. DRIVERS==""
  18. ATTRS{name}=="Lid Switch"
  19. ATTRS{phys}=="PNP0C0D/button/input0"
  20. ATTRS{uniq}==""
  21. ATTRS{properties}=="0"
  22.  
  23. looking at parent device '/devices/LNXSYSTM:00/device:00/PNP0C0D:00':
  24. KERNELS=="PNP0C0D:00"
  25. SUBSYSTEMS=="acpi"
  26. DRIVERS=="button"
  27. ATTRS{hid}=="PNP0C0D"
  28. ATTRS{path}=="\_SB_.LID_"
  29.  
  30. looking at parent device '/devices/LNXSYSTM:00/device:00':
  31. KERNELS=="device:00"
  32. SUBSYSTEMS=="acpi"
  33. DRIVERS==""
  34. ATTRS{path}=="\_SB_"
  35.  
  36. looking at parent device '/devices/LNXSYSTM:00':
  37. KERNELS=="LNXSYSTM:00"
  38. SUBSYSTEMS=="acpi"
  39. DRIVERS==""
  40. ATTRS{hid}=="LNXSYSTM"
  41. ATTRS{path}=="\"
  42.  
  43.  
  44. Udevadm info starts with the device specified by the devpath and then
  45. walks up the chain of parent devices. It prints for every device
  46. found, all possible attributes in the udev rules key format.
  47. A rule to match, can be composed by the attributes of the device
  48. and the attributes from one single parent device.
  49.  
  50. looking at device '/devices/LNXSYSTM:00/device:00/PNP0C0E:00/input/input1/event1':
  51. KERNEL=="event1"
  52. SUBSYSTEM=="input"
  53. DRIVER==""
  54.  
  55. looking at parent device '/devices/LNXSYSTM:00/device:00/PNP0C0E:00/input/input1':
  56. KERNELS=="input1"
  57. SUBSYSTEMS=="input"
  58. DRIVERS==""
  59. ATTRS{name}=="Sleep Button"
  60. ATTRS{phys}=="PNP0C0E/button/input0"
  61. ATTRS{uniq}==""
  62. ATTRS{properties}=="0"
  63.  
  64. looking at parent device '/devices/LNXSYSTM:00/device:00/PNP0C0E:00':
  65. KERNELS=="PNP0C0E:00"
  66. SUBSYSTEMS=="acpi"
  67. DRIVERS=="button"
  68. ATTRS{hid}=="PNP0C0E"
  69. ATTRS{path}=="\_SB_.SLPB"
  70.  
  71. looking at parent device '/devices/LNXSYSTM:00/device:00':
  72. KERNELS=="device:00"
  73. SUBSYSTEMS=="acpi"
  74. DRIVERS==""
  75. ATTRS{path}=="\_SB_"
  76.  
  77. looking at parent device '/devices/LNXSYSTM:00':
  78. KERNELS=="LNXSYSTM:00"
  79. SUBSYSTEMS=="acpi"
  80. DRIVERS==""
  81. ATTRS{hid}=="LNXSYSTM"
  82. ATTRS{path}=="\"
  83.  
  84.  
  85. Udevadm info starts with the device specified by the devpath and then
  86. walks up the chain of parent devices. It prints for every device
  87. found, all possible attributes in the udev rules key format.
  88. A rule to match, can be composed by the attributes of the device
  89. and the attributes from one single parent device.
  90.  
  91. looking at device '/devices/pci0000:00/0000:00:1b.0/sound/card0/input10/event10':
  92. KERNEL=="event10"
  93. SUBSYSTEM=="input"
  94. DRIVER==""
  95.  
  96. looking at parent device '/devices/pci0000:00/0000:00:1b.0/sound/card0/input10':
  97. KERNELS=="input10"
  98. SUBSYSTEMS=="input"
  99. DRIVERS==""
  100. ATTRS{name}=="HDA Intel PCH Headphone"
  101. ATTRS{phys}=="ALSA"
  102. ATTRS{uniq}==""
  103. ATTRS{properties}=="0"
  104.  
  105. looking at parent device '/devices/pci0000:00/0000:00:1b.0/sound/card0':
  106. KERNELS=="card0"
  107. SUBSYSTEMS=="sound"
  108. DRIVERS==""
  109. ATTRS{id}=="PCH"
  110. ATTRS{number}=="0"
  111.  
  112. looking at parent device '/devices/pci0000:00/0000:00:1b.0':
  113. KERNELS=="0000:00:1b.0"
  114. SUBSYSTEMS=="pci"
  115. DRIVERS=="snd_hda_intel"
  116. ATTRS{irq}=="45"
  117. ATTRS{subsystem_vendor}=="0x1b0a"
  118. ATTRS{broken_parity_status}=="0"
  119. ATTRS{class}=="0x040300"
  120. ATTRS{consistent_dma_mask_bits}=="64"
  121. ATTRS{dma_mask_bits}=="64"
  122. ATTRS{local_cpus}=="00000000,00000000,00000000,00000000,00000000,00000000,00000000,0000000f"
  123. ATTRS{device}=="0x1e20"
  124. ATTRS{msi_bus}==""
  125. ATTRS{local_cpulist}=="0-3"
  126. ATTRS{vendor}=="0x8086"
  127. ATTRS{subsystem_device}=="0x20e0"
  128. ATTRS{numa_node}=="-1"
  129.  
  130. looking at parent device '/devices/pci0000:00':
  131. KERNELS=="pci0000:00"
  132. SUBSYSTEMS==""
  133. DRIVERS==""
  134.  
  135.  
  136. Udevadm info starts with the device specified by the devpath and then
  137. walks up the chain of parent devices. It prints for every device
  138. found, all possible attributes in the udev rules key format.
  139. A rule to match, can be composed by the attributes of the device
  140. and the attributes from one single parent device.
  141.  
  142. looking at device '/devices/LNXSYSTM:00/LNXPWRBN:00/input/input2/event2':
  143. KERNEL=="event2"
  144. SUBSYSTEM=="input"
  145. DRIVER==""
  146.  
  147. looking at parent device '/devices/LNXSYSTM:00/LNXPWRBN:00/input/input2':
  148. KERNELS=="input2"
  149. SUBSYSTEMS=="input"
  150. DRIVERS==""
  151. ATTRS{name}=="Power Button"
  152. ATTRS{phys}=="LNXPWRBN/button/input0"
  153. ATTRS{uniq}==""
  154. ATTRS{properties}=="0"
  155.  
  156. looking at parent device '/devices/LNXSYSTM:00/LNXPWRBN:00':
  157. KERNELS=="LNXPWRBN:00"
  158. SUBSYSTEMS=="acpi"
  159. DRIVERS=="button"
  160. ATTRS{hid}=="LNXPWRBN"
  161.  
  162. looking at parent device '/devices/LNXSYSTM:00':
  163. KERNELS=="LNXSYSTM:00"
  164. SUBSYSTEMS=="acpi"
  165. DRIVERS==""
  166. ATTRS{hid}=="LNXSYSTM"
  167. ATTRS{path}=="\"
  168.  
  169.  
  170. Udevadm info starts with the device specified by the devpath and then
  171. walks up the chain of parent devices. It prints for every device
  172. found, all possible attributes in the udev rules key format.
  173. A rule to match, can be composed by the attributes of the device
  174. and the attributes from one single parent device.
  175.  
  176. looking at device '/devices/platform/i8042/serio0/input/input3/event3':
  177. KERNEL=="event3"
  178. SUBSYSTEM=="input"
  179. DRIVER==""
  180.  
  181. looking at parent device '/devices/platform/i8042/serio0/input/input3':
  182. KERNELS=="input3"
  183. SUBSYSTEMS=="input"
  184. DRIVERS==""
  185. ATTRS{name}=="AT Translated Set 2 keyboard"
  186. ATTRS{phys}=="isa0060/serio0/input0"
  187. ATTRS{uniq}==""
  188. ATTRS{properties}=="0"
  189.  
  190. looking at parent device '/devices/platform/i8042/serio0':
  191. KERNELS=="serio0"
  192. SUBSYSTEMS=="serio"
  193. DRIVERS=="atkbd"
  194. ATTRS{set}=="2"
  195. ATTRS{bind_mode}=="auto"
  196. ATTRS{extra}=="0"
  197. ATTRS{softraw}=="1"
  198. ATTRS{description}=="i8042 KBD port"
  199. ATTRS{force_release}=="369-370"
  200. ATTRS{scroll}=="0"
  201. ATTRS{err_count}=="0"
  202. ATTRS{softrepeat}=="0"
  203.  
  204. looking at parent device '/devices/platform/i8042':
  205. KERNELS=="i8042"
  206. SUBSYSTEMS=="platform"
  207. DRIVERS=="i8042"
  208.  
  209. looking at parent device '/devices/platform':
  210. KERNELS=="platform"
  211. SUBSYSTEMS==""
  212. DRIVERS==""
  213.  
  214.  
  215. Udevadm info starts with the device specified by the devpath and then
  216. walks up the chain of parent devices. It prints for every device
  217. found, all possible attributes in the udev rules key format.
  218. A rule to match, can be composed by the attributes of the device
  219. and the attributes from one single parent device.
  220.  
  221. looking at device '/devices/pci0000:00/0000:00:1a.0/usb1/1-1/1-1.1/1-1.1:1.0/input/input4/event4':
  222. KERNEL=="event4"
  223. SUBSYSTEM=="input"
  224. DRIVER==""
  225.  
  226. looking at parent device '/devices/pci0000:00/0000:00:1a.0/usb1/1-1/1-1.1/1-1.1:1.0/input/input4':
  227. KERNELS=="input4"
  228. SUBSYSTEMS=="input"
  229. DRIVERS==""
  230. ATTRS{name}=="HD Webcam"
  231. ATTRS{phys}=="usb-0000:00:1a.0-1.1/button"
  232. ATTRS{uniq}==""
  233. ATTRS{properties}=="0"
  234.  
  235. looking at parent device '/devices/pci0000:00/0000:00:1a.0/usb1/1-1/1-1.1/1-1.1:1.0':
  236. KERNELS=="1-1.1:1.0"
  237. SUBSYSTEMS=="usb"
  238. DRIVERS=="uvcvideo"
  239. ATTRS{bInterfaceClass}=="0e"
  240. ATTRS{iad_bFunctionClass}=="0e"
  241. ATTRS{iad_bFirstInterface}=="00"
  242. ATTRS{bInterfaceSubClass}=="01"
  243. ATTRS{bInterfaceProtocol}=="00"
  244. ATTRS{bNumEndpoints}=="01"
  245. ATTRS{iad_bFunctionSubClass}=="03"
  246. ATTRS{iad_bFunctionProtocol}=="00"
  247. ATTRS{supports_autosuspend}=="1"
  248. ATTRS{iad_bInterfaceCount}=="02"
  249. ATTRS{bAlternateSetting}==" 0"
  250. ATTRS{bInterfaceNumber}=="00"
  251. ATTRS{interface}=="HD Webcam"
  252.  
  253. looking at parent device '/devices/pci0000:00/0000:00:1a.0/usb1/1-1/1-1.1':
  254. KERNELS=="1-1.1"
  255. SUBSYSTEMS=="usb"
  256. DRIVERS=="usb"
  257. ATTRS{bDeviceSubClass}=="02"
  258. ATTRS{bDeviceProtocol}=="01"
  259. ATTRS{devpath}=="1.1"
  260. ATTRS{idVendor}=="5986"
  261. ATTRS{speed}=="480"
  262. ATTRS{bNumInterfaces}==" 2"
  263. ATTRS{bConfigurationValue}=="1"
  264. ATTRS{bMaxPacketSize0}=="64"
  265. ATTRS{busnum}=="1"
  266. ATTRS{devnum}=="3"
  267. ATTRS{configuration}==""
  268. ATTRS{bMaxPower}=="500mA"
  269. ATTRS{authorized}=="1"
  270. ATTRS{bmAttributes}=="80"
  271. ATTRS{bNumConfigurations}=="1"
  272. ATTRS{maxchild}=="0"
  273. ATTRS{bcdDevice}=="0501"
  274. ATTRS{avoid_reset_quirk}=="0"
  275. ATTRS{quirks}=="0x0"
  276. ATTRS{version}==" 2.00"
  277. ATTRS{urbnum}=="19"
  278. ATTRS{manufacturer}=="Bison"
  279. ATTRS{removable}=="fixed"
  280. ATTRS{idProduct}=="014d"
  281. ATTRS{bDeviceClass}=="ef"
  282. ATTRS{product}=="HD Webcam"
  283.  
  284. looking at parent device '/devices/pci0000:00/0000:00:1a.0/usb1/1-1':
  285. KERNELS=="1-1"
  286. SUBSYSTEMS=="usb"
  287. DRIVERS=="usb"
  288. ATTRS{bDeviceSubClass}=="00"
  289. ATTRS{bDeviceProtocol}=="01"
  290. ATTRS{devpath}=="1"
  291. ATTRS{idVendor}=="8087"
  292. ATTRS{speed}=="480"
  293. ATTRS{bNumInterfaces}==" 1"
  294. ATTRS{bConfigurationValue}=="1"
  295. ATTRS{bMaxPacketSize0}=="64"
  296. ATTRS{busnum}=="1"
  297. ATTRS{devnum}=="2"
  298. ATTRS{configuration}==""
  299. ATTRS{bMaxPower}==" 0mA"
  300. ATTRS{authorized}=="1"
  301. ATTRS{bmAttributes}=="e0"
  302. ATTRS{bNumConfigurations}=="1"
  303. ATTRS{maxchild}=="6"
  304. ATTRS{bcdDevice}=="0000"
  305. ATTRS{avoid_reset_quirk}=="0"
  306. ATTRS{quirks}=="0x0"
  307. ATTRS{version}==" 2.00"
  308. ATTRS{urbnum}=="48"
  309. ATTRS{removable}=="fixed"
  310. ATTRS{idProduct}=="0024"
  311. ATTRS{bDeviceClass}=="09"
  312.  
  313. looking at parent device '/devices/pci0000:00/0000:00:1a.0/usb1':
  314. KERNELS=="usb1"
  315. SUBSYSTEMS=="usb"
  316. DRIVERS=="usb"
  317. ATTRS{bDeviceSubClass}=="00"
  318. ATTRS{bDeviceProtocol}=="00"
  319. ATTRS{devpath}=="0"
  320. ATTRS{idVendor}=="1d6b"
  321. ATTRS{speed}=="480"
  322. ATTRS{bNumInterfaces}==" 1"
  323. ATTRS{bConfigurationValue}=="1"
  324. ATTRS{bMaxPacketSize0}=="64"
  325. ATTRS{authorized_default}=="1"
  326. ATTRS{busnum}=="1"
  327. ATTRS{devnum}=="1"
  328. ATTRS{configuration}==""
  329. ATTRS{bMaxPower}==" 0mA"
  330. ATTRS{authorized}=="1"
  331. ATTRS{bmAttributes}=="e0"
  332. ATTRS{bNumConfigurations}=="1"
  333. ATTRS{maxchild}=="2"
  334. ATTRS{bcdDevice}=="0305"
  335. ATTRS{avoid_reset_quirk}=="0"
  336. ATTRS{quirks}=="0x0"
  337. ATTRS{serial}=="0000:00:1a.0"
  338. ATTRS{version}==" 2.00"
  339. ATTRS{urbnum}=="24"
  340. ATTRS{manufacturer}=="Linux 3.5.0-17-generic ehci_hcd"
  341. ATTRS{removable}=="unknown"
  342. ATTRS{idProduct}=="0002"
  343. ATTRS{bDeviceClass}=="09"
  344. ATTRS{product}=="EHCI Host Controller"
  345.  
  346. looking at parent device '/devices/pci0000:00/0000:00:1a.0':
  347. KERNELS=="0000:00:1a.0"
  348. SUBSYSTEMS=="pci"
  349. DRIVERS=="ehci_hcd"
  350. ATTRS{irq}=="16"
  351. ATTRS{subsystem_vendor}=="0x1b0a"
  352. ATTRS{broken_parity_status}=="0"
  353. ATTRS{class}=="0x0c0320"
  354. ATTRS{companion}==""
  355. ATTRS{consistent_dma_mask_bits}=="32"
  356. ATTRS{dma_mask_bits}=="32"
  357. ATTRS{local_cpus}=="00000000,00000000,00000000,00000000,00000000,00000000,00000000,0000000f"
  358. ATTRS{device}=="0x1e2d"
  359. ATTRS{uframe_periodic_max}=="100"
  360. ATTRS{msi_bus}==""
  361. ATTRS{local_cpulist}=="0-3"
  362. ATTRS{vendor}=="0x8086"
  363. ATTRS{subsystem_device}=="0x20e1"
  364. ATTRS{numa_node}=="-1"
  365.  
  366. looking at parent device '/devices/pci0000:00':
  367. KERNELS=="pci0000:00"
  368. SUBSYSTEMS==""
  369. DRIVERS==""
  370.  
  371.  
  372. Udevadm info starts with the device specified by the devpath and then
  373. walks up the chain of parent devices. It prints for every device
  374. found, all possible attributes in the udev rules key format.
  375. A rule to match, can be composed by the attributes of the device
  376. and the attributes from one single parent device.
  377.  
  378. looking at device '/devices/pci0000:00/0000:00:1a.0/usb1/1-1/1-1.2/1-1.2:1.0/input/input5/event5':
  379. KERNEL=="event5"
  380. SUBSYSTEM=="input"
  381. DRIVER==""
  382.  
  383. looking at parent device '/devices/pci0000:00/0000:00:1a.0/usb1/1-1/1-1.2/1-1.2:1.0/input/input5':
  384. KERNELS=="input5"
  385. SUBSYSTEMS=="input"
  386. DRIVERS==""
  387. ATTRS{name}=="Razer Razer 1600dpi 3 button optical mouse"
  388. ATTRS{phys}=="usb-0000:00:1a.0-1.2/input0"
  389. ATTRS{uniq}==""
  390. ATTRS{properties}=="0"
  391.  
  392. looking at parent device '/devices/pci0000:00/0000:00:1a.0/usb1/1-1/1-1.2/1-1.2:1.0':
  393. KERNELS=="1-1.2:1.0"
  394. SUBSYSTEMS=="usb"
  395. DRIVERS=="usbhid"
  396. ATTRS{bInterfaceClass}=="03"
  397. ATTRS{bInterfaceSubClass}=="01"
  398. ATTRS{bInterfaceProtocol}=="02"
  399. ATTRS{bNumEndpoints}=="01"
  400. ATTRS{supports_autosuspend}=="1"
  401. ATTRS{bAlternateSetting}==" 0"
  402. ATTRS{bInterfaceNumber}=="00"
  403.  
  404. looking at parent device '/devices/pci0000:00/0000:00:1a.0/usb1/1-1/1-1.2':
  405. KERNELS=="1-1.2"
  406. SUBSYSTEMS=="usb"
  407. DRIVERS=="usb"
  408. ATTRS{bDeviceSubClass}=="00"
  409. ATTRS{bDeviceProtocol}=="00"
  410. ATTRS{devpath}=="1.2"
  411. ATTRS{idVendor}=="1532"
  412. ATTRS{speed}=="1.5"
  413. ATTRS{bNumInterfaces}==" 1"
  414. ATTRS{bConfigurationValue}=="1"
  415. ATTRS{bMaxPacketSize0}=="8"
  416. ATTRS{busnum}=="1"
  417. ATTRS{devnum}=="4"
  418. ATTRS{configuration}=="HID-compliant mouse"
  419. ATTRS{bMaxPower}=="100mA"
  420. ATTRS{authorized}=="1"
  421. ATTRS{bmAttributes}=="a0"
  422. ATTRS{bNumConfigurations}=="1"
  423. ATTRS{maxchild}=="0"
  424. ATTRS{bcdDevice}=="2310"
  425. ATTRS{avoid_reset_quirk}=="0"
  426. ATTRS{quirks}=="0x0"
  427. ATTRS{version}==" 2.00"
  428. ATTRS{urbnum}=="12382"
  429. ATTRS{manufacturer}=="Razer"
  430. ATTRS{removable}=="removable"
  431. ATTRS{idProduct}=="0003"
  432. ATTRS{bDeviceClass}=="00"
  433. ATTRS{product}=="Razer 1600dpi 3 button optical mouse"
  434.  
  435. looking at parent device '/devices/pci0000:00/0000:00:1a.0/usb1/1-1':
  436. KERNELS=="1-1"
  437. SUBSYSTEMS=="usb"
  438. DRIVERS=="usb"
  439. ATTRS{bDeviceSubClass}=="00"
  440. ATTRS{bDeviceProtocol}=="01"
  441. ATTRS{devpath}=="1"
  442. ATTRS{idVendor}=="8087"
  443. ATTRS{speed}=="480"
  444. ATTRS{bNumInterfaces}==" 1"
  445. ATTRS{bConfigurationValue}=="1"
  446. ATTRS{bMaxPacketSize0}=="64"
  447. ATTRS{busnum}=="1"
  448. ATTRS{devnum}=="2"
  449. ATTRS{configuration}==""
  450. ATTRS{bMaxPower}==" 0mA"
  451. ATTRS{authorized}=="1"
  452. ATTRS{bmAttributes}=="e0"
  453. ATTRS{bNumConfigurations}=="1"
  454. ATTRS{maxchild}=="6"
  455. ATTRS{bcdDevice}=="0000"
  456. ATTRS{avoid_reset_quirk}=="0"
  457. ATTRS{quirks}=="0x0"
  458. ATTRS{version}==" 2.00"
  459. ATTRS{urbnum}=="48"
  460. ATTRS{removable}=="fixed"
  461. ATTRS{idProduct}=="0024"
  462. ATTRS{bDeviceClass}=="09"
  463.  
  464. looking at parent device '/devices/pci0000:00/0000:00:1a.0/usb1':
  465. KERNELS=="usb1"
  466. SUBSYSTEMS=="usb"
  467. DRIVERS=="usb"
  468. ATTRS{bDeviceSubClass}=="00"
  469. ATTRS{bDeviceProtocol}=="00"
  470. ATTRS{devpath}=="0"
  471. ATTRS{idVendor}=="1d6b"
  472. ATTRS{speed}=="480"
  473. ATTRS{bNumInterfaces}==" 1"
  474. ATTRS{bConfigurationValue}=="1"
  475. ATTRS{bMaxPacketSize0}=="64"
  476. ATTRS{authorized_default}=="1"
  477. ATTRS{busnum}=="1"
  478. ATTRS{devnum}=="1"
  479. ATTRS{configuration}==""
  480. ATTRS{bMaxPower}==" 0mA"
  481. ATTRS{authorized}=="1"
  482. ATTRS{bmAttributes}=="e0"
  483. ATTRS{bNumConfigurations}=="1"
  484. ATTRS{maxchild}=="2"
  485. ATTRS{bcdDevice}=="0305"
  486. ATTRS{avoid_reset_quirk}=="0"
  487. ATTRS{quirks}=="0x0"
  488. ATTRS{serial}=="0000:00:1a.0"
  489. ATTRS{version}==" 2.00"
  490. ATTRS{urbnum}=="24"
  491. ATTRS{manufacturer}=="Linux 3.5.0-17-generic ehci_hcd"
  492. ATTRS{removable}=="unknown"
  493. ATTRS{idProduct}=="0002"
  494. ATTRS{bDeviceClass}=="09"
  495. ATTRS{product}=="EHCI Host Controller"
  496.  
  497. looking at parent device '/devices/pci0000:00/0000:00:1a.0':
  498. KERNELS=="0000:00:1a.0"
  499. SUBSYSTEMS=="pci"
  500. DRIVERS=="ehci_hcd"
  501. ATTRS{irq}=="16"
  502. ATTRS{subsystem_vendor}=="0x1b0a"
  503. ATTRS{broken_parity_status}=="0"
  504. ATTRS{class}=="0x0c0320"
  505. ATTRS{companion}==""
  506. ATTRS{consistent_dma_mask_bits}=="32"
  507. ATTRS{dma_mask_bits}=="32"
  508. ATTRS{local_cpus}=="00000000,00000000,00000000,00000000,00000000,00000000,00000000,0000000f"
  509. ATTRS{device}=="0x1e2d"
  510. ATTRS{uframe_periodic_max}=="100"
  511. ATTRS{msi_bus}==""
  512. ATTRS{local_cpulist}=="0-3"
  513. ATTRS{vendor}=="0x8086"
  514. ATTRS{subsystem_device}=="0x20e1"
  515. ATTRS{numa_node}=="-1"
  516.  
  517. looking at parent device '/devices/pci0000:00':
  518. KERNELS=="pci0000:00"
  519. SUBSYSTEMS==""
  520. DRIVERS==""
  521.  
  522.  
  523. Udevadm info starts with the device specified by the devpath and then
  524. walks up the chain of parent devices. It prints for every device
  525. found, all possible attributes in the udev rules key format.
  526. A rule to match, can be composed by the attributes of the device
  527. and the attributes from one single parent device.
  528.  
  529. looking at device '/devices/platform/i8042/serio2/input/input6/event6':
  530. KERNEL=="event6"
  531. SUBSYSTEM=="input"
  532. DRIVER==""
  533.  
  534. looking at parent device '/devices/platform/i8042/serio2/input/input6':
  535. KERNELS=="input6"
  536. SUBSYSTEMS=="input"
  537. DRIVERS==""
  538. ATTRS{name}=="SynPS/2 Synaptics TouchPad"
  539. ATTRS{phys}=="isa0060/serio2/input0"
  540. ATTRS{uniq}==""
  541. ATTRS{properties}=="9"
  542.  
  543. looking at parent device '/devices/platform/i8042/serio2':
  544. KERNELS=="serio2"
  545. SUBSYSTEMS=="serio"
  546. DRIVERS=="psmouse"
  547. ATTRS{resolution}=="200"
  548. ATTRS{rate}=="80"
  549. ATTRS{bind_mode}=="auto"
  550. ATTRS{resync_time}=="0"
  551. ATTRS{description}=="i8042 AUX1 port"
  552. ATTRS{resetafter}=="5"
  553. ATTRS{protocol}=="SynPS/2"
  554.  
  555. looking at parent device '/devices/platform/i8042':
  556. KERNELS=="i8042"
  557. SUBSYSTEMS=="platform"
  558. DRIVERS=="i8042"
  559.  
  560. looking at parent device '/devices/platform':
  561. KERNELS=="platform"
  562. SUBSYSTEMS==""
  563. DRIVERS==""
  564.  
  565.  
  566. Udevadm info starts with the device specified by the devpath and then
  567. walks up the chain of parent devices. It prints for every device
  568. found, all possible attributes in the udev rules key format.
  569. A rule to match, can be composed by the attributes of the device
  570. and the attributes from one single parent device.
  571.  
  572. looking at device '/devices/LNXSYSTM:00/device:00/PNP0A08:00/LNXVIDEO:01/input/input7/event7':
  573. KERNEL=="event7"
  574. SUBSYSTEM=="input"
  575. DRIVER==""
  576.  
  577. looking at parent device '/devices/LNXSYSTM:00/device:00/PNP0A08:00/LNXVIDEO:01/input/input7':
  578. KERNELS=="input7"
  579. SUBSYSTEMS=="input"
  580. DRIVERS==""
  581. ATTRS{name}=="Video Bus"
  582. ATTRS{phys}=="LNXVIDEO/video/input0"
  583. ATTRS{uniq}==""
  584. ATTRS{properties}=="0"
  585.  
  586. looking at parent device '/devices/LNXSYSTM:00/device:00/PNP0A08:00/LNXVIDEO:01':
  587. KERNELS=="LNXVIDEO:01"
  588. SUBSYSTEMS=="acpi"
  589. DRIVERS=="video"
  590. ATTRS{hid}=="LNXVIDEO"
  591. ATTRS{path}=="\_SB_.PCI0.VGA_"
  592.  
  593. looking at parent device '/devices/LNXSYSTM:00/device:00/PNP0A08:00':
  594. KERNELS=="PNP0A08:00"
  595. SUBSYSTEMS=="acpi"
  596. DRIVERS=="pci_root"
  597. ATTRS{hid}=="PNP0A08"
  598. ATTRS{path}=="\_SB_.PCI0"
  599.  
  600. looking at parent device '/devices/LNXSYSTM:00/device:00':
  601. KERNELS=="device:00"
  602. SUBSYSTEMS=="acpi"
  603. DRIVERS==""
  604. ATTRS{path}=="\_SB_"
  605.  
  606. looking at parent device '/devices/LNXSYSTM:00':
  607. KERNELS=="LNXSYSTM:00"
  608. SUBSYSTEMS=="acpi"
  609. DRIVERS==""
  610. ATTRS{hid}=="LNXSYSTM"
  611. ATTRS{path}=="\"
  612.  
  613.  
  614. Udevadm info starts with the device specified by the devpath and then
  615. walks up the chain of parent devices. It prints for every device
  616. found, all possible attributes in the udev rules key format.
  617. A rule to match, can be composed by the attributes of the device
  618. and the attributes from one single parent device.
  619.  
  620. looking at device '/devices/pci0000:00/0000:00:1b.0/sound/card0/input8/event8':
  621. KERNEL=="event8"
  622. SUBSYSTEM=="input"
  623. DRIVER==""
  624.  
  625. looking at parent device '/devices/pci0000:00/0000:00:1b.0/sound/card0/input8':
  626. KERNELS=="input8"
  627. SUBSYSTEMS=="input"
  628. DRIVERS==""
  629. ATTRS{name}=="HDA Intel PCH HDMI/DP,pcm=3"
  630. ATTRS{phys}=="ALSA"
  631. ATTRS{uniq}==""
  632. ATTRS{properties}=="0"
  633.  
  634. looking at parent device '/devices/pci0000:00/0000:00:1b.0/sound/card0':
  635. KERNELS=="card0"
  636. SUBSYSTEMS=="sound"
  637. DRIVERS==""
  638. ATTRS{id}=="PCH"
  639. ATTRS{number}=="0"
  640.  
  641. looking at parent device '/devices/pci0000:00/0000:00:1b.0':
  642. KERNELS=="0000:00:1b.0"
  643. SUBSYSTEMS=="pci"
  644. DRIVERS=="snd_hda_intel"
  645. ATTRS{irq}=="45"
  646. ATTRS{subsystem_vendor}=="0x1b0a"
  647. ATTRS{broken_parity_status}=="0"
  648. ATTRS{class}=="0x040300"
  649. ATTRS{consistent_dma_mask_bits}=="64"
  650. ATTRS{dma_mask_bits}=="64"
  651. ATTRS{local_cpus}=="00000000,00000000,00000000,00000000,00000000,00000000,00000000,0000000f"
  652. ATTRS{device}=="0x1e20"
  653. ATTRS{msi_bus}==""
  654. ATTRS{local_cpulist}=="0-3"
  655. ATTRS{vendor}=="0x8086"
  656. ATTRS{subsystem_device}=="0x20e0"
  657. ATTRS{numa_node}=="-1"
  658.  
  659. looking at parent device '/devices/pci0000:00':
  660. KERNELS=="pci0000:00"
  661. SUBSYSTEMS==""
  662. DRIVERS==""
  663.  
  664.  
  665. Udevadm info starts with the device specified by the devpath and then
  666. walks up the chain of parent devices. It prints for every device
  667. found, all possible attributes in the udev rules key format.
  668. A rule to match, can be composed by the attributes of the device
  669. and the attributes from one single parent device.
  670.  
  671. looking at device '/devices/pci0000:00/0000:00:1b.0/sound/card0/input9/event9':
  672. KERNEL=="event9"
  673. SUBSYSTEM=="input"
  674. DRIVER==""
  675.  
  676. looking at parent device '/devices/pci0000:00/0000:00:1b.0/sound/card0/input9':
  677. KERNELS=="input9"
  678. SUBSYSTEMS=="input"
  679. DRIVERS==""
  680. ATTRS{name}=="HDA Intel PCH Mic"
  681. ATTRS{phys}=="ALSA"
  682. ATTRS{uniq}==""
  683. ATTRS{properties}=="0"
  684.  
  685. looking at parent device '/devices/pci0000:00/0000:00:1b.0/sound/card0':
  686. KERNELS=="card0"
  687. SUBSYSTEMS=="sound"
  688. DRIVERS==""
  689. ATTRS{id}=="PCH"
  690. ATTRS{number}=="0"
  691.  
  692. looking at parent device '/devices/pci0000:00/0000:00:1b.0':
  693. KERNELS=="0000:00:1b.0"
  694. SUBSYSTEMS=="pci"
  695. DRIVERS=="snd_hda_intel"
  696. ATTRS{irq}=="45"
  697. ATTRS{subsystem_vendor}=="0x1b0a"
  698. ATTRS{broken_parity_status}=="0"
  699. ATTRS{class}=="0x040300"
  700. ATTRS{consistent_dma_mask_bits}=="64"
  701. ATTRS{dma_mask_bits}=="64"
  702. ATTRS{local_cpus}=="00000000,00000000,00000000,00000000,00000000,00000000,00000000,0000000f"
  703. ATTRS{device}=="0x1e20"
  704. ATTRS{msi_bus}==""
  705. ATTRS{local_cpulist}=="0-3"
  706. ATTRS{vendor}=="0x8086"
  707. ATTRS{subsystem_device}=="0x20e0"
  708. ATTRS{numa_node}=="-1"
  709.  
  710. looking at parent device '/devices/pci0000:00':
  711. KERNELS=="pci0000:00"
  712. SUBSYSTEMS==""
  713. DRIVERS==""
Advertisement
Add Comment
Please, Sign In to add comment