Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- # udevadm info --attribute-walk --name=/dev/ttyACM0
- Udevadm info starts with the device specified by the devpath and then
- walks up the chain of parent devices. It prints for every device
- found, all possible attributes in the udev rules key format.
- A rule to match, can be composed by the attributes of the device
- and the attributes from one single parent device.
- looking at device '/devices/platform/bcm2708_usb/usb1/1-1/1-1.3/1-1.3:1.0/tty/ttyACM0':
- KERNEL=="ttyACM0"
- SUBSYSTEM=="tty"
- DRIVER==""
- looking at parent device '/devices/platform/bcm2708_usb/usb1/1-1/1-1.3/1-1.3:1.0':
- KERNELS=="1-1.3:1.0"
- SUBSYSTEMS=="usb"
- DRIVERS=="cdc_acm"
- ATTRS{bInterfaceNumber}=="00"
- ATTRS{bAlternateSetting}==" 0"
- ATTRS{bNumEndpoints}=="01"
- ATTRS{bInterfaceClass}=="02"
- ATTRS{bInterfaceSubClass}=="02"
- ATTRS{bInterfaceProtocol}=="01"
- ATTRS{modalias}=="usb:v2341p0010d0000dc02dsc00dp00ic02isc02ip01"
- ATTRS{supports_autosuspend}=="1"
- ATTRS{bmCapabilities}=="6"
- looking at parent device '/devices/platform/bcm2708_usb/usb1/1-1/1-1.3':
- KERNELS=="1-1.3"
- SUBSYSTEMS=="usb"
- DRIVERS=="usb"
- ATTRS{configuration}==""
- ATTRS{bNumInterfaces}==" 2"
- ATTRS{bConfigurationValue}=="1"
- ATTRS{bmAttributes}=="c0"
- ATTRS{bMaxPower}=="100mA"
- ATTRS{urbnum}=="12"
- ATTRS{idVendor}=="2341"
- ATTRS{idProduct}=="0010"
- ATTRS{bcdDevice}=="0000"
- ATTRS{bDeviceClass}=="02"
- ATTRS{bDeviceSubClass}=="00"
- ATTRS{bDeviceProtocol}=="00"
- ATTRS{bNumConfigurations}=="1"
- ATTRS{bMaxPacketSize0}=="8"
- ATTRS{speed}=="12"
- ATTRS{busnum}=="1"
- ATTRS{devnum}=="5"
- ATTRS{devpath}=="1.3"
- ATTRS{version}==" 1.10"
- ATTRS{maxchild}=="0"
- ATTRS{quirks}=="0x0"
- ATTRS{avoid_reset_quirk}=="0"
- ATTRS{authorized}=="1"
- ATTRS{manufacturer}=="Arduino (www.arduino.cc)"
- ATTRS{product}=="Arduino Mega 2560"
- ATTRS{serial}=="64932343738351C0A1C0"
- looking at parent device '/devices/platform/bcm2708_usb/usb1/1-1':
- KERNELS=="1-1"
- SUBSYSTEMS=="usb"
- DRIVERS=="usb"
- ATTRS{configuration}==""
- ATTRS{bNumInterfaces}==" 1"
- ATTRS{bConfigurationValue}=="1"
- ATTRS{bmAttributes}=="e0"
- ATTRS{bMaxPower}==" 2mA"
- ATTRS{urbnum}=="50"
- ATTRS{idVendor}=="0424"
- ATTRS{idProduct}=="9512"
- ATTRS{bcdDevice}=="0200"
- ATTRS{bDeviceClass}=="09"
- ATTRS{bDeviceSubClass}=="00"
- ATTRS{bDeviceProtocol}=="02"
- ATTRS{bNumConfigurations}=="1"
- ATTRS{bMaxPacketSize0}=="64"
- ATTRS{speed}=="480"
- ATTRS{busnum}=="1"
- ATTRS{devnum}=="2"
- ATTRS{devpath}=="1"
- ATTRS{version}==" 2.00"
- ATTRS{maxchild}=="3"
- ATTRS{quirks}=="0x0"
- ATTRS{avoid_reset_quirk}=="0"
- ATTRS{authorized}=="1"
- looking at parent device '/devices/platform/bcm2708_usb/usb1':
- KERNELS=="usb1"
- SUBSYSTEMS=="usb"
- DRIVERS=="usb"
- ATTRS{configuration}==""
- ATTRS{bNumInterfaces}==" 1"
- ATTRS{bConfigurationValue}=="1"
- ATTRS{bmAttributes}=="e0"
- ATTRS{bMaxPower}==" 0mA"
- ATTRS{urbnum}=="25"
- ATTRS{idVendor}=="1d6b"
- ATTRS{idProduct}=="0002"
- ATTRS{bcdDevice}=="0301"
- ATTRS{bDeviceClass}=="09"
- ATTRS{bDeviceSubClass}=="00"
- ATTRS{bDeviceProtocol}=="00"
- ATTRS{bNumConfigurations}=="1"
- ATTRS{bMaxPacketSize0}=="64"
- ATTRS{speed}=="480"
- ATTRS{busnum}=="1"
- ATTRS{devnum}=="1"
- ATTRS{devpath}=="0"
- ATTRS{version}==" 2.00"
- ATTRS{maxchild}=="1"
- ATTRS{quirks}=="0x0"
- ATTRS{avoid_reset_quirk}=="0"
- ATTRS{authorized}=="1"
- ATTRS{manufacturer}=="Linux 3.1.9+ dwc_otg_hcd"
- ATTRS{product}=="DWC OTG Controller"
- ATTRS{serial}=="bcm2708_usb"
- ATTRS{authorized_default}=="1"
- looking at parent device '/devices/platform/bcm2708_usb':
- KERNELS=="bcm2708_usb"
- SUBSYSTEMS=="platform"
- DRIVERS=="dwc_otg"
- ATTRS{modalias}=="platform:bcm2708_usb"
- ATTRS{regoffset}=="0xffffffff"
- ATTRS{regvalue}=="invalid offset"
- ATTRS{mode}=="Mode = 0x1"
- ATTRS{hnpcapable}=="HNPCapable = 0x1"
- ATTRS{srpcapable}=="Mode = 0x1"
- ATTRS{hsic_connect}=="HSIC Connect = 0x1"
- ATTRS{inv_sel_hsic}=="Invert Select HSIC = 0x0"
- ATTRS{hnp}=="HstNegScs = 0x0"
- ATTRS{srp}=="SesReqScs = 0x1"
- ATTRS{buspower}=="Bus Power = 0x1"
- ATTRS{bussuspend}=="Bus Suspend = 0x0"
- ATTRS{busconnected}=="Bus Connected = 0x1"
- ATTRS{gotgctl}=="GOTGCTL = 0x001c0001"
- ATTRS{gusbcfg}=="GUSBCFG = 0x20001700"
- ATTRS{grxfsiz}=="GRXFSIZ = 0x00000306"
- ATTRS{gnptxfsiz}=="GNPTXFSIZ = 0x01000306"
- ATTRS{gpvndctl}=="GPVNDCTL = 0x00000000"
- ATTRS{ggpio}=="GGPIO = 0x00000000"
- ATTRS{guid}=="GUID = 0x2708a000"
- ATTRS{gsnpsid}=="GSNPSID = 0x4f54280a"
- ATTRS{devspeed}=="Device Speed = 0x0"
- ATTRS{enumspeed}=="Device Enumeration Speed = 0x1"
- ATTRS{hptxfsiz}=="HPTXFSIZ = 0x02000406"
- ATTRS{hprt0}=="HPRT0 = 0x00001005"
- ATTRS{remote_wakeup}=="Remote Wakeup Sig = 0 Enabled = 0 LPM Remote Wakeup = 0"
- ATTRS{regdump}=="Register Dump"
- Segmentation fault
- [...]
- dwc_otg bcm2708_usb: Invalid offset (0xffffffff)
- mode_show(c039e018) -> platform_dev c039e010, otg_dev cb9fe840
- hnpcapable_show(c039e018) -> platform_dev c039e010, otg_dev cb9fe840
- srpcapable_show(c039e018) -> platform_dev c039e010, otg_dev cb9fe840
- hsic_connect_show(c039e018) -> platform_dev c039e010, otg_dev cb9fe840
- inv_sel_hsic_show(c039e018) -> platform_dev c039e010, otg_dev cb9fe840
- busconnected_show(c039e018) -> platform_dev c039e010, otg_dev cb9fe840
- gotgctl_show(c039e018) -> platform_dev c039e010, otg_dev cb9fe840
- gusbcfg_show(c039e018) -> platform_dev c039e010, otg_dev cb9fe840
- grxfsiz_show(c039e018) -> platform_dev c039e010, otg_dev cb9fe840
- gnptxfsiz_show(c039e018) -> platform_dev c039e010, otg_dev cb9fe840
- gpvndctl_show(c039e018) -> platform_dev c039e010, otg_dev cb9fe840
- ggpio_show(c039e018) -> platform_dev c039e010, otg_dev cb9fe840
- guid_show(c039e018) -> platform_dev c039e010, otg_dev cb9fe840
- gsnpsid_show(c039e018) -> platform_dev c039e010, otg_dev cb9fe840
- devspeed_show(c039e018) -> platform_dev c039e010, otg_dev cb9fe840
- WARN::dwc_otg_handle_mode_mismatch_intr:65: Mode Mismatch Interrupt: currently in Host mode
- enumspeed_show(c039e018) -> platform_dev c039e010, otg_dev cb9fe840
- WARN::dwc_otg_handle_mode_mismatch_intr:65: Mode Mismatch Interrupt: currently in Host mode
- hptxfsiz_show(c039e018) -> platform_dev c039e010, otg_dev cb9fe840
- hprt0_show(c039e018) -> platform_dev c039e010, otg_dev cb9fe840
- WARN::dwc_otg_handle_mode_mismatch_intr:65: Mode Mismatch Interrupt: currently in Host mode
- Core Global Registers
- GOTGCTL @0xCC840000 : 0x001C0001
- GOTGINT @0xCC840004 : 0x00000000
- GAHBCFG @0xCC840008 : 0x00000031
- GUSBCFG @0xCC84000C : 0x20001700
- GRSTCTL @0xCC840010 : 0x80000000
- GINTSTS @0xCC840014 : 0x04600001
- GINTMSK @0xCC840018 : 0xF300080E
- GRXSTSR @0xCC84001C : 0x00050701
- GRXFSIZ @0xCC840024 : 0x00000306
- GNPTXFSIZ @0xCC840028 : 0x01000306
- GNPTXSTS @0xCC84002C : 0x10000100
- GI2CCTL @0xCC840030 : 0x00000000
- GPVNDCTL @0xCC840034 : 0x00000000
- GGPIO @0xCC840038 : 0x00000000
- GUID @0xCC84003C : 0x2708A000
- GSNPSID @0xCC840040 : 0x4F54280A
- GHWCFG1 @0xCC840044 : 0x00000000
- GHWCFG2 @0xCC840048 : 0x228DDD50
- GHWCFG3 @0xCC84004C : 0x0FF000E8
- GHWCFG4 @0xCC840050 : 0x1FF00020
- GLPMCFG @0xCC840054 : 0x75736230
- HPTXFSIZ @0xCC840100 : 0x02000406
- PCGCCTL @0xCC840E00 : 0x00000000
- Host Global Registers
- HCFG @0xCC840400 : 0x00000000
- HFIR @0xCC840404 : 0x0000EA60
- HFNUM @0xCC840408 : 0x04930598
- HPTXSTS @0xCC840410 : 0x31080200
- HAINT @0xCC840414 : 0x00000000
- HAINTMSK @0xCC840418 : 0x000000FF
- HPRT0 @0xCC840440 : 0x00001005
- Host Channel 0 Specific Registers
- HCCHAR @0xCC840500 : 0x01188A00
- HCSPLT @0xCC840504 : 0x00000000
- HCINT @0xCC840508 : 0x00000000
- HCINTMSK @0xCC84050C : 0x00000000
- HCTSIZ @0xCC840510 : 0x80380ECC
- HCDMA @0xCC840514 : 0x4B9E4CC0
- Host Channel 1 Specific Registers
- HCCHAR @0xCC840520 : 0x00DC9810
- HCSPLT @0xCC840524 : 0x00000000
- HCINT @0xCC840528 : 0x00000000
- HCINTMSK @0xCC84052C : 0x00000006
- HCTSIZ @0xCC840530 : 0x80080010
- HCDMA @0xCC840534 : 0x4B9E4CC0
- Host Channel 2 Specific Registers
- HCCHAR @0xCC840540 : 0x80D88A00
- HCSPLT @0xCC840544 : 0x00000000
- HCINT @0xCC840548 : 0x00000010
- HCINTMSK @0xCC84054C : 0x00000006
- HCTSIZ @0xCC840550 : 0x01284A00
- HCDMA @0xCC840554 : 0x4AA20000
- Host Channel 3 Specific Registers
- HCCHAR @0xCC840560 : 0x81188A00
- HCSPLT @0xCC840564 : 0x00000000
- HCINT @0xCC840568 : 0x00000000
- HCINTMSK @0xCC84056C : 0x00000000
- HCTSIZ @0xCC840570 : 0x80380F84
- HCDMA @0xCC840574 : 0x4ABF00A8
- Host Channel 4 Specific Registers
- HCCHAR @0xCC840580 : 0x81188A00
- HCSPLT @0xCC840584 : 0x00000000
- HCINT @0xCC840588 : 0x00000010
- HCINTMSK @0xCC84058C : 0x00000006
- HCTSIZ @0xCC840590 : 0x00401000
- HCDMA @0xCC840594 : 0x4AAC202C
- Host Channel 5 Specific Registers
- HCCHAR @0xCC8405A0 : 0x20DC9810
- HCSPLT @0xCC8405A4 : 0x00000000
- HCINT @0xCC8405A8 : 0x00000000
- HCINTMSK @0xCC8405AC : 0x00000000
- HCTSIZ @0xCC8405B0 : 0x80080010
- HCDMA @0xCC8405B4 : 0x4B9E4CC0
- Host Channel 6 Specific Registers
- HCCHAR @0xCC8405C0 : 0x20DC9810
- HCSPLT @0xCC8405C4 : 0x00000000
- HCINT @0xCC8405C8 : 0x00000000
- HCINTMSK @0xCC8405CC : 0x00000000
- HCTSIZ @0xCC8405D0 : 0x80080010
- HCDMA @0xCC8405D4 : 0x4B9E4CC0
- Host Channel 7 Specific Registers
- HCCHAR @0xCC8405E0 : 0x20DC9810
- HCSPLT @0xCC8405E4 : 0x00000000
- HCINT @0xCC8405E8 : 0x00000000
- HCINTMSK @0xCC8405EC : 0x00000000
- HCTSIZ @0xCC8405F0 : 0x80080010
- HCDMA @0xCC8405F4 : 0x4B9E4CC0
- SPRAM Data:
- Base Address: 0xCC840000
- Unable to handle kernel paging request at virtual address cc868000
- pgd = cabe4000
- [cc868000] *pgd=0b816811, *pte=00000000, *ppte=00000000
- Internal error: Oops: 7 [#7]
- Modules linked in: aes_generic fuse arc4 rt2800usb rt2800lib crc_ccitt rt2x00usb rt2x00lib mac80211 cfg80211 cdc_acm
- CPU: 0 Tainted: G D (3.1.9+ #90)
- pc : [<c02150a4>] lr : [<c001f3bc>] psr: 80000013
- sp : cba45e50 ip : cba45d40 fp : cba45ed4
- r10: 00001000 r9 : c039e020 r8 : be86daf8
- r7 : cba45f70 r6 : cb9fda58 r5 : cb90fd40 r4 : cc868000
- r3 : cc8680e0 r2 : 60000013 r1 : 00000000 r0 : 0000001c
- Flags: Nzcv IRQs on FIQs on Mode SVC_32 ISA ARM Segment user
- Control: 00c5387d Table: 0abe4008 DAC: 00000015
- Process udevadm (pid: 22359, stack limit = 0xcba44268)
- Stack: (0xcba45e50 to 0xcba46000)
- 5e40: 00000000 00000041 c03b5660 00000000
- 5e60: cba45ec4 cba45e70 c008bc64 c008bb3c cba45e94 c03a2bf0 0000004b 00000000
- 5e80: cba45f44 ffffff9c cba45ea4 cc8680e0 c7b06cd8 00000000 00000000 00000000
- 5ea0: cba45ed0 00000001 ffffff9c cbb88000 ca8ab5f8 cb9fda58 cba45f70 be86daf8
- 5ec0: c039e020 00001000 cba45eec cba45ed8 c0211674 c0215068 c0211658 ca8ab5e0
- 5ee0: cba45efc cba45ef0 c01d1f78 c0211664 cba45f3c cba45f00 c00d1c30 c01d1f64
- 5f00: cba45f94 cba45f10 c000ddd4 c031b37c caa723c8 caa723c0 00001000 be86daf8
- 5f20: cba45f70 00001000 cba44000 00000000 cba45f6c cba45f40 c007f2b8 c00d1b94
- 5f40: c039e9f0 cb96b820 cba45f6c caa723c0 be86daf8 00000000 00000000 00001000
- 5f60: cba45fa4 cba45f70 c007f390 c007f20c 00000000 00000000 40091e08 00000000
- 5f80: 00000005 4028fbb3 be86daf8 40288fa0 00000003 c000e3c8 00000000 cba45fa8
- 5fa0: c000e220 c007f358 4028fbb3 be86daf8 00000004 be86daf8 00001000 00000004
- 5fc0: 4028fbb3 be86daf8 40288fa0 00000003 40288ff4 00000000 00000000 00000073
- 5fe0: 00000004 be86daf0 4007d86c 4020f0dc 60000010 00000004 00000000 00000000
- Backtrace:
- Function entered at [<c021505c>] from [<c0211674>]
- Function entered at [<c0211658>] from [<c01d1f78>]
- r4:ca8ab5e0 r3:c0211658
- Function entered at [<c01d1f58>] from [<c00d1c30>]
- Function entered at [<c00d1b88>] from [<c007f2b8>]
- Function entered at [<c007f200>] from [<c007f390>]
- r8:00001000 r7:00000000 r6:00000000 r5:be86daf8 r4:caa723c0
- Function entered at [<c007f34c>] from [<c000e220>]
- r8:c000e3c8 r7:00000003 r6:40288fa0 r5:be86daf8 r4:4028fbb3
- Code: e28330e0 e1540003 e50b3048 2a000030 (e5d42000)
- ---[ end trace 8c06a9daf65492cb ]---
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement