reset high-speed USB device number 2 using ehci-pci

Xen list at xenhideout.nl
Tue May 17 01:51:34 UTC 2016


Xen schreef op 16-05-2016 23:10:

> Device is:
> 
> Bus 002 Device 003: ID 0951:1665 Kingston Technology Digital
> DataTraveler SE9 64GB


> 00:13.2 USB controller: Advanced Micro Devices, Inc. [AMD/ATI]
> SB7x0/SB8x0/SB9x0 USB EHCI Controller

> /sys/devices/pci0000:00/0000:00:13.2/usb2/2-3


It seems I was wrong about the device. Bus 002 Device 003 is actually 
2-2.

Bus 002 Device 002: ID 05e3:0723 Genesys Logic, Inc. GL827L SD/MMC/MS 
Flash Card Reader


I realize now that this device doesn't actually work.

I don't remember whether it ever worked before in Linux.

Which would have been an installation of Kubuntu 14.10.

Anyway, output of some commands in case it still matters:


# udevadm info --name=bus/usb/002/002
P: /devices/pci0000:00/0000:00:13.2/usb2/2-3
N: bus/usb/002/002
E: BUSNUM=002
E: DEVNAME=/dev/bus/usb/002/002
E: DEVNUM=002
E: DEVPATH=/devices/pci0000:00/0000:00:13.2/usb2/2-3
E: DEVTYPE=usb_device
E: DRIVER=usb
E: ID_BUS=usb
E: ID_MODEL=USB_Storage
E: ID_MODEL_ENC=USB\x20Storage
E: ID_MODEL_FROM_DATABASE=GL827L SD/MMC/MS Flash Card Reader
E: ID_MODEL_ID=0723
E: ID_REVISION=9451
E: ID_SERIAL=Generic_USB_Storage
E: ID_USB_INTERFACES=:080650:
E: ID_VENDOR=Generic
E: ID_VENDOR_ENC=Generic\x20
E: ID_VENDOR_FROM_DATABASE=Genesys Logic, Inc.
E: ID_VENDOR_ID=05e3
E: MAJOR=189
E: MINOR=129
E: PRODUCT=5e3/723/9451
E: SUBSYSTEM=usb
E: TYPE=0/0/0
E: USEC_INITIALIZED=2928615

# udevadm info -a --name=bus/usb/002/002

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/pci0000:00/0000:00:13.2/usb2/2-3':
     KERNEL=="2-3"
     SUBSYSTEM=="usb"
     DRIVER=="usb"
     ATTR{authorized}=="1"
     ATTR{avoid_reset_quirk}=="1"
     ATTR{bConfigurationValue}=="1"
     ATTR{bDeviceClass}=="00"
     ATTR{bDeviceProtocol}=="00"
     ATTR{bDeviceSubClass}=="00"
     ATTR{bMaxPacketSize0}=="64"
     ATTR{bMaxPower}=="500mA"
     ATTR{bNumConfigurations}=="1"
     ATTR{bNumInterfaces}==" 1"
     ATTR{bcdDevice}=="9451"
     ATTR{bmAttributes}=="80"
     ATTR{busnum}=="2"
     ATTR{configuration}==""
     ATTR{devnum}=="2"
     ATTR{devpath}=="3"
     ATTR{idProduct}=="0723"
     ATTR{idVendor}=="05e3"
     ATTR{ltm_capable}=="no"
     ATTR{manufacturer}=="Generic "
     ATTR{maxchild}=="0"
     ATTR{product}=="USB Storage"
     ATTR{quirks}=="0x10"
     ATTR{removable}=="unknown"
     ATTR{speed}=="480"
     ATTR{urbnum}=="3669463"
     ATTR{version}==" 2.00"

   looking at parent device '/devices/pci0000:00/0000:00:13.2/usb2':
     KERNELS=="usb2"
     SUBSYSTEMS=="usb"
     DRIVERS=="usb"
     ATTRS{authorized}=="1"
     ATTRS{authorized_default}=="1"
     ATTRS{avoid_reset_quirk}=="0"
     ATTRS{bConfigurationValue}=="1"
     ATTRS{bDeviceClass}=="09"
     ATTRS{bDeviceProtocol}=="00"
     ATTRS{bDeviceSubClass}=="00"
     ATTRS{bMaxPacketSize0}=="64"
     ATTRS{bMaxPower}=="0mA"
     ATTRS{bNumConfigurations}=="1"
     ATTRS{bNumInterfaces}==" 1"
     ATTRS{bcdDevice}=="0404"
     ATTRS{bmAttributes}=="e0"
     ATTRS{busnum}=="2"
     ATTRS{configuration}==""
     ATTRS{devnum}=="1"
     ATTRS{devpath}=="0"
     ATTRS{idProduct}=="0002"
     ATTRS{idVendor}=="1d6b"
     ATTRS{interface_authorized_default}=="1"
     ATTRS{ltm_capable}=="no"
     ATTRS{manufacturer}=="Linux 4.4.0-22-generic ehci_hcd"
     ATTRS{maxchild}=="6"
     ATTRS{product}=="EHCI Host Controller"
     ATTRS{quirks}=="0x0"
     ATTRS{removable}=="unknown"
     ATTRS{serial}=="0000:00:13.2"
     ATTRS{speed}=="480"
     ATTRS{urbnum}=="1683574"
     ATTRS{version}==" 2.00"

   looking at parent device '/devices/pci0000:00/0000:00:13.2':
     KERNELS=="0000:00:13.2"
     SUBSYSTEMS=="pci"
     DRIVERS=="ehci-pci"
     ATTRS{broken_parity_status}=="0"
     ATTRS{class}=="0x0c0320"
     ATTRS{companion}==""
     ATTRS{consistent_dma_mask_bits}=="32"
     ATTRS{d3cold_allowed}=="1"
     ATTRS{device}=="0x4396"
     ATTRS{dma_mask_bits}=="32"
     ATTRS{driver_override}=="(null)"
     ATTRS{enable}=="1"
     ATTRS{irq}=="19"
     ATTRS{local_cpulist}=="0-1"
     ATTRS{local_cpus}=="03"
     ATTRS{msi_bus}=="1"
     ATTRS{numa_node}=="0"
     ATTRS{subsystem_device}=="0x5004"
     ATTRS{subsystem_vendor}=="0x1458"
     ATTRS{uframe_periodic_max}=="100"
     ATTRS{vendor}=="0x1002"

   looking at parent device '/devices/pci0000:00':
     KERNELS=="pci0000:00"
     SUBSYSTEMS==""
     DRIVERS=="




More information about the kernel-team mailing list