Advertisement
paalfe

udevadm-info-openelec-nes30

Aug 1st, 2015
272
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Bash 6.44 KB | None | 0 0
  1. # udevadm info -an /dev/input/js0
  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/platform/bcm2708_usb/usb1/1-1/1-1.3/1-1.3:1.0/bluetooth/hci0/hci0:39/0005:2820:0009.0005/input/input3/js0':
  10.     KERNEL=="js0"
  11.     SUBSYSTEM=="input"
  12.     DRIVER==""
  13.  
  14.   looking at parent device '/devices/platform/bcm2708_usb/usb1/1-1/1-1.3/1-1.3:1.0/bluetooth/hci0/hci0:39/0005:2820:0009.0005/input/input3':
  15.     KERNELS=="input3"
  16.     SUBSYSTEMS=="input"
  17.     DRIVERS==""
  18.     ATTRS{name}=="8Bitdo NES30 GamePad Joystick"
  19.     ATTRS{phys}=="99:88:66:00:23:48"
  20.     ATTRS{uniq}=="9e:fb:f1:65:8e:fe"
  21.     ATTRS{properties}=="0"
  22.  
  23.   looking at parent device '/devices/platform/bcm2708_usb/usb1/1-1/1-1.3/1-1.3:1.0/bluetooth/hci0/hci0:39/0005:2820:0009.0005':
  24.     KERNELS=="0005:2820:0009.0005"
  25.     SUBSYSTEMS=="hid"
  26.     DRIVERS=="hid-generic"
  27.  
  28.   looking at parent device '/devices/platform/bcm2708_usb/usb1/1-1/1-1.3/1-1.3:1.0/bluetooth/hci0/hci0:39':
  29.     KERNELS=="hci0:39"
  30.     SUBSYSTEMS=="bluetooth"
  31.     DRIVERS==""
  32.     ATTRS{type}=="ACL"
  33.     ATTRS{address}=="9e:fb:f1:65:8e:fe"
  34.  
  35.   looking at parent device '/devices/platform/bcm2708_usb/usb1/1-1/1-1.3/1-1.3:1.0/bluetooth/hci0':
  36.     KERNELS=="hci0"
  37.     SUBSYSTEMS=="bluetooth"
  38.     DRIVERS==""
  39.     ATTRS{name}=="OpenELEC"
  40.     ATTRS{type}=="BR/EDR"
  41.     ATTRS{address}=="99:88:66:00:23:48"
  42.  
  43.   looking at parent device '/devices/platform/bcm2708_usb/usb1/1-1/1-1.3/1-1.3:1.0':
  44.     KERNELS=="1-1.3:1.0"
  45.     SUBSYSTEMS=="usb"
  46.     DRIVERS=="btusb"
  47.     ATTRS{bInterfaceClass}=="e0"
  48.     ATTRS{bInterfaceSubClass}=="01"
  49.     ATTRS{bInterfaceProtocol}=="01"
  50.     ATTRS{bNumEndpoints}=="03"
  51.     ATTRS{supports_autosuspend}=="1"
  52.     ATTRS{bAlternateSetting}==" 0"
  53.     ATTRS{bInterfaceNumber}=="00"
  54.  
  55.   looking at parent device '/devices/platform/bcm2708_usb/usb1/1-1/1-1.3':
  56.     KERNELS=="1-1.3"
  57.     SUBSYSTEMS=="usb"
  58.     DRIVERS=="usb"
  59.     ATTRS{bDeviceSubClass}=="01"
  60.     ATTRS{bDeviceProtocol}=="01"
  61.     ATTRS{devpath}=="1.3"
  62.     ATTRS{idVendor}=="0a12"
  63.     ATTRS{speed}=="12"
  64.     ATTRS{bNumInterfaces}==" 2"
  65.     ATTRS{bConfigurationValue}=="1"
  66.     ATTRS{bMaxPacketSize0}=="64"
  67.     ATTRS{busnum}=="1"
  68.     ATTRS{devnum}=="5"
  69.     ATTRS{configuration}==""
  70.     ATTRS{bMaxPower}=="0mA"
  71.     ATTRS{authorized}=="1"
  72.     ATTRS{bmAttributes}=="e0"
  73.     ATTRS{bNumConfigurations}=="1"
  74.     ATTRS{maxchild}=="0"
  75.     ATTRS{bcdDevice}=="7558"
  76.     ATTRS{avoid_reset_quirk}=="0"
  77.     ATTRS{quirks}=="0x0"
  78.     ATTRS{version}==" 2.00"
  79.     ATTRS{urbnum}=="249"
  80.     ATTRS{ltm_capable}=="no"
  81.     ATTRS{removable}=="removable"
  82.     ATTRS{idProduct}=="0001"
  83.     ATTRS{bDeviceClass}=="e0"
  84.  
  85.   looking at parent device '/devices/platform/bcm2708_usb/usb1/1-1':
  86.     KERNELS=="1-1"
  87.     SUBSYSTEMS=="usb"
  88.     DRIVERS=="usb"
  89.     ATTRS{bDeviceSubClass}=="00"
  90.     ATTRS{bDeviceProtocol}=="02"
  91.     ATTRS{devpath}=="1"
  92.     ATTRS{idVendor}=="0424"
  93.     ATTRS{speed}=="480"
  94.     ATTRS{bNumInterfaces}==" 1"
  95.     ATTRS{bConfigurationValue}=="1"
  96.     ATTRS{bMaxPacketSize0}=="64"
  97.     ATTRS{busnum}=="1"
  98.     ATTRS{devnum}=="2"
  99.     ATTRS{configuration}==""
  100.     ATTRS{bMaxPower}=="2mA"
  101.     ATTRS{authorized}=="1"
  102.     ATTRS{bmAttributes}=="e0"
  103.     ATTRS{bNumConfigurations}=="1"
  104.     ATTRS{maxchild}=="3"
  105.     ATTRS{bcdDevice}=="0200"
  106.     ATTRS{avoid_reset_quirk}=="0"
  107.     ATTRS{quirks}=="0x0"
  108.     ATTRS{version}==" 2.00"
  109.     ATTRS{urbnum}=="50"
  110.     ATTRS{ltm_capable}=="no"
  111.     ATTRS{removable}=="unknown"
  112.     ATTRS{idProduct}=="9512"
  113.     ATTRS{bDeviceClass}=="09"
  114.  
  115.   looking at parent device '/devices/platform/bcm2708_usb/usb1':
  116.     KERNELS=="usb1"
  117.     SUBSYSTEMS=="usb"
  118.     DRIVERS=="usb"
  119.     ATTRS{bDeviceSubClass}=="00"
  120.     ATTRS{bDeviceProtocol}=="01"
  121.     ATTRS{devpath}=="0"
  122.     ATTRS{idVendor}=="1d6b"
  123.     ATTRS{speed}=="480"
  124.     ATTRS{bNumInterfaces}==" 1"
  125.     ATTRS{bConfigurationValue}=="1"
  126.     ATTRS{bMaxPacketSize0}=="64"
  127.     ATTRS{authorized_default}=="1"
  128.     ATTRS{busnum}=="1"
  129.     ATTRS{devnum}=="1"
  130.     ATTRS{configuration}==""
  131.     ATTRS{bMaxPower}=="0mA"
  132.     ATTRS{authorized}=="1"
  133.     ATTRS{bmAttributes}=="e0"
  134.     ATTRS{bNumConfigurations}=="1"
  135.     ATTRS{maxchild}=="1"
  136.     ATTRS{bcdDevice}=="0317"
  137.     ATTRS{avoid_reset_quirk}=="0"
  138.     ATTRS{quirks}=="0x0"
  139.     ATTRS{serial}=="bcm2708_usb"
  140.     ATTRS{version}==" 2.00"
  141.     ATTRS{urbnum}=="25"
  142.     ATTRS{ltm_capable}=="no"
  143.     ATTRS{manufacturer}=="Linux 3.17.8 dwc_otg_hcd"
  144.     ATTRS{removable}=="unknown"
  145.     ATTRS{idProduct}=="0002"
  146.     ATTRS{bDeviceClass}=="09"
  147.     ATTRS{product}=="DWC OTG Controller"
  148.  
  149.   looking at parent device '/devices/platform/bcm2708_usb':
  150.     KERNELS=="bcm2708_usb"
  151.     SUBSYSTEMS=="platform"
  152.     DRIVERS=="dwc_otg"
  153.     ATTRS{hnp}=="HstNegScs = 0x0"
  154.     ATTRS{srp}=="SesReqScs = 0x1"
  155.     ATTRS{regvalue}=="invalid offset"
  156.     ATTRS{hsic_connect}=="HSIC Connect = 0x1"
  157.     ATTRS{guid}=="GUID = 0x2708a000"
  158.     ATTRS{mode}=="Mode = 0x1"
  159.     ATTRS{srpcapable}=="SRPCapable = 0x1"
  160.     ATTRS{regdump}=="Register Dump"
  161.     ATTRS{gpvndctl}=="GPVNDCTL = 0x00000000"
  162.     ATTRS{ggpio}=="GGPIO = 0x00000000"
  163.     ATTRS{hprt0}=="HPRT0 = 0x00001005"
  164.     ATTRS{wr_reg_test}=="Time to write GNPTXFSIZ reg 10000000 times: 636 msecs (191 jiffies)"
  165.     ATTRS{driver_override}=="(null)"
  166.     ATTRS{hcd_frrem}=="HCD Dump Frame Remaining"
  167.     ATTRS{mode_ch_tim_en}=="Mode Change Ready Timer Enable = 0x0"
  168.     ATTRS{gnptxfsiz}=="GNPTXFSIZ = 0x01000306"
  169.     ATTRS{remote_wakeup}=="Remote Wakeup Sig = 0 Enabled = 0 LPM Remote Wakeup = 0"
  170.     ATTRS{busconnected}=="Bus Connected = 0x1"
  171.     ATTRS{hcddump}=="HCD Dump"
  172.     ATTRS{gotgctl}=="GOTGCTL = 0x001c0001"
  173.     ATTRS{spramdump}=="SPRAM Dump"
  174.     ATTRS{grxfsiz}=="GRXFSIZ = 0x00000306"
  175.     ATTRS{gsnpsid}=="GSNPSID = 0x4f54280a"
  176.     ATTRS{gusbcfg}=="GUSBCFG = 0x00001700"
  177.     ATTRS{hptxfsiz}=="HPTXFSIZ = 0x02000406"
  178.     ATTRS{devspeed}=="Device Speed = 0x0"
  179.     ATTRS{fr_interval}=="Frame Interval = 0x1d4c"
  180.     ATTRS{rem_wakeup_pwrdn}==""
  181.     ATTRS{bussuspend}=="Bus Suspend = 0x0"
  182.     ATTRS{buspower}=="Bus Power = 0x1"
  183.     ATTRS{hnpcapable}=="HNPCapable = 0x1"
  184.     ATTRS{rd_reg_test}=="Time to read GNPTXFSIZ reg 10000000 times: 1483 msecs (445 jiffies)"
  185.     ATTRS{enumspeed}=="Device Enumeration Speed = 0x1"
  186.     ATTRS{inv_sel_hsic}=="Invert Select HSIC = 0x0"
  187.     ATTRS{regoffset}=="0xffffffff"
  188.  
  189.   looking at parent device '/devices/platform':
  190.     KERNELS=="platform"
  191.     SUBSYSTEMS==""
  192.     DRIVERS==""
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement