udev Alias Rules (Second Attempt)

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi,
I'm using Gentoo, udev 146 and the Gentoo Hardened 2.6.28 kernel.
I have a few virtually identical external USB Seagate harddrives that
I am trying to write some udev rules for, however I've run into a
problem. When I run 'udevadm info --name=/dev/sdc1
--attribute-walk', I am not able to find any unique, static attribute.
The ATTRS{serial}=="0000:02:07.2" seems to be some USB access path,
and any others seem to be rather generic or generated upon plugging
the drive in.
With the lsusb tool, I am able to find each drives specific, static
serial number (ex. iSerial SG054313839), however these do not show up in the
udevadm attribute walk. Is there any way to "access" this attribute via udev
so that I can write rules specifically for each drive?
I have attached the output of both udevadm (sdc1.txt), lsusb (usb.txt)
and the output of 'ls /dev/disk/by-* -lh' (dev.txt).

Thanks in advance,
-Ryan
# ls /dev/disk/by-* -lh > dev.txt

/dev/disk/by-id:
total 0
lrwxrwxrwx 1 root root  9 Dec  5 10:11 ata-Maxtor_4G160J8_G803V4EE -> ../../hdc
lrwxrwxrwx 1 root root 10 Dec  5 10:11 ata-Maxtor_4G160J8_G803V4EE-part1 -> ../../hdc1
lrwxrwxrwx 1 root root 10 Dec  5 10:11 ata-Maxtor_4G160J8_G803V4EE-part2 -> ../../hdc2
lrwxrwxrwx 1 root root 10 Dec  5 10:11 ata-Maxtor_4G160J8_G803V4EE-part3 -> ../../hdc3
lrwxrwxrwx 1 root root 10 Dec  5 10:11 ata-Maxtor_4G160J8_G803V4EE-part4 -> ../../hdc4
lrwxrwxrwx 1 root root  9 Dec  5 10:11 ata-Maxtor_4G160J8_G803VNCE -> ../../hda
lrwxrwxrwx 1 root root 10 Dec  5 10:11 ata-Maxtor_4G160J8_G803VNCE-part1 -> ../../hda1
lrwxrwxrwx 1 root root 10 Dec  5 10:11 ata-Maxtor_4G160J8_G803VNCE-part2 -> ../../hda2
lrwxrwxrwx 1 root root 10 Dec  5 10:11 ata-Maxtor_4G160J8_G803VNCE-part3 -> ../../hda3
lrwxrwxrwx 1 root root 10 Dec  5 10:11 ata-Maxtor_4G160J8_G803VNCE-part4 -> ../../hda4
lrwxrwxrwx 1 root root 19 Dec  5 10:11 dm-name-backup -> ../../mapper/backup
lrwxrwxrwx 1 root root 17 Dec  5 10:11 dm-name-home -> ../../mapper/home
lrwxrwxrwx 1 root root 17 Dec  5 10:11 dm-name-root -> ../../mapper/root
lrwxrwxrwx 1 root root 17 Dec  5 10:11 dm-name-swap -> ../../mapper/swap
lrwxrwxrwx 1 root root  9 Dec  5 10:11 md-uuid-01912720:90688835:271c31d7:147203ca -> ../../md4
lrwxrwxrwx 1 root root  9 Dec  5 10:11 md-uuid-643de684:ea3f43bf:c41ede71:61a59fba -> ../../md1
lrwxrwxrwx 1 root root  9 Dec  5 10:11 md-uuid-8f0eddc4:69f5f983:89fbc6cb:58f28dae -> ../../md5
lrwxrwxrwx 1 root root  9 Dec  5 10:11 md-uuid-dda14e96:12e50ad2:25bf5f45:304b292e -> ../../md2
lrwxrwxrwx 1 root root  9 Dec  5 10:11 md-uuid-f2314f4e:7a98519b:efbcc342:a25f3c7b -> ../../md3
lrwxrwxrwx 1 root root  9 Feb 26 10:02 usb-Seagate_External_Drive-0:0 -> ../../sdc
lrwxrwxrwx 1 root root 10 Feb 26 10:02 usb-Seagate_External_Drive-0:0-part1 -> ../../sdc1

/dev/disk/by-label:
total 0
lrwxrwxrwx 1 root root 10 Feb 26 10:02 SEA_DISK -> ../../sdc1

/dev/disk/by-path:
total 0
lrwxrwxrwx 1 root root  9 Dec  5 10:11 pci-0000:00:07.1 -> ../../hda
lrwxrwxrwx 1 root root 10 Dec  5 10:11 pci-0000:00:07.1-part1 -> ../../hda1
lrwxrwxrwx 1 root root 10 Dec  5 10:11 pci-0000:00:07.1-part2 -> ../../hda2
lrwxrwxrwx 1 root root 10 Dec  5 10:11 pci-0000:00:07.1-part3 -> ../../hda3
lrwxrwxrwx 1 root root 10 Dec  5 10:11 pci-0000:00:07.1-part4 -> ../../hdc4
lrwxrwxrwx 1 root root  9 Feb 26 10:02 pci-0000:02:05.2-usb-0:1:1.0-scsi-0:0:0:0 -> ../../sdc
lrwxrwxrwx 1 root root 10 Feb 26 10:02 pci-0000:02:05.2-usb-0:1:1.0-scsi-0:0:0:0-part1 -> ../../sdc1
lrwxrwxrwx 1 root root  9 Dec  5 10:11 pci-0000:02:05.2-usb-0:3:1.0-scsi-0:0:0:0 -> ../../sda
lrwxrwxrwx 1 root root 10 Dec  5 10:11 pci-0000:02:05.2-usb-0:3:1.0-scsi-0:0:0:0-part1 -> ../../sda1
lrwxrwxrwx 1 root root  9 Dec  5 10:11 pci-0000:02:05.2-usb-0:4:1.0-scsi-0:0:0:0 -> ../../sdb
lrwxrwxrwx 1 root root 10 Dec  5 10:11 pci-0000:02:05.2-usb-0:4:1.0-scsi-0:0:0:0-part1 -> ../../sdb1

/dev/disk/by-uuid:
total 0
lrwxrwxrwx 1 root root  9 Dec  5 10:11 14291bb8-db83-4ee4-99dd-afa06ff4a9ff -> ../../md5
lrwxrwxrwx 1 root root 19 Dec  5 10:11 142ce108-84c6-4f85-a341-7128c9ebdea9 -> ../../mapper/backup
lrwxrwxrwx 1 root root 17 Dec  5 10:11 2ee91586-fdd8-4733-88aa-48536c4c4e1c -> ../../mapper/home
lrwxrwxrwx 1 root root  9 Dec  5 10:11 343112cf-cd90-46ec-9b7d-aed9101f8382 -> ../../md1
lrwxrwxrwx 1 root root  9 Dec  5 10:11 7834ded0-1732-402b-bcb9-01cb28d2a4dd -> ../../md2
lrwxrwxrwx 1 root root 17 Dec  5 10:11 7838f75a-fbc6-4a30-9c2b-5d48ef95e3ed -> ../../mapper/swap
lrwxrwxrwx 1 root root  9 Dec  5 10:11 ca0af6ad-b8bc-4ff3-8270-9c1b20135053 -> ../../md3
lrwxrwxrwx 1 root root  9 Dec  5 10:11 db534481-18f1-4a9d-924f-1622d4d07dcc -> ../../md4
lrwxrwxrwx 1 root root 17 Dec  5 10:11 e61f6136-1a70-45d2-820a-c8633b728d63 -> ../../mapper/root
# udevadm info --name=/dev/sdc1 --attribute-walk > sdc1.txt

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:10.0/0000:02:05.2/usb1/1-1/1-1:1.0/host9/target9:0:0/9:0:0:0/block/sdc/sdc1':
    KERNEL=="sdc1"
    SUBSYSTEM=="block"
    DRIVER==""
    ATTR{partition}=="1"
    ATTR{start}=="63"
    ATTR{size}=="234436482"
    ATTR{stat}=="      14      179      410      140        0        0        0        0        0      130      140"

  looking at parent device '/devices/pci0000:00/0000:00:10.0/0000:02:05.2/usb1/1-1/1-1:1.0/host9/target9:0:0/9:0:0:0/block/sdc':
    KERNELS=="sdc"
    SUBSYSTEMS=="block"
    DRIVERS==""
    ATTRS{range}=="16"
    ATTRS{ext_range}=="256"
    ATTRS{removable}=="0"
    ATTRS{ro}=="0"
    ATTRS{size}=="234441648"
    ATTRS{capability}=="52"
    ATTRS{stat}=="      23      208      714      220        0        0        0        0        0      200      220"

  looking at parent device '/devices/pci0000:00/0000:00:10.0/0000:02:05.2/usb1/1-1/1-1:1.0/host9/target9:0:0/9:0:0:0':
    KERNELS=="9:0:0:0"
    SUBSYSTEMS=="scsi"
    DRIVERS=="sd"
    ATTRS{device_blocked}=="0"
    ATTRS{type}=="0"
    ATTRS{scsi_level}=="0"
    ATTRS{vendor}=="Seagate "
    ATTRS{model}=="External Drive  "
    ATTRS{rev}=="    "
    ATTRS{state}=="running"
    ATTRS{timeout}=="30"
    ATTRS{iocounterbits}=="32"
    ATTRS{iorequest_cnt}=="0x25"
    ATTRS{iodone_cnt}=="0x25"
    ATTRS{ioerr_cnt}=="0x0"
    ATTRS{modalias}=="scsi:t-0x00"
    ATTRS{evt_media_change}=="0"
    ATTRS{queue_depth}=="1"
    ATTRS{queue_type}=="none"
    ATTRS{max_sectors}=="240"

  looking at parent device '/devices/pci0000:00/0000:00:10.0/0000:02:05.2/usb1/1-1/1-1:1.0/host9/target9:0:0':
    KERNELS=="target9:0:0"
    SUBSYSTEMS=="scsi"
    DRIVERS==""

  looking at parent device '/devices/pci0000:00/0000:00:10.0/0000:02:05.2/usb1/1-1/1-1:1.0/host9':
    KERNELS=="host9"
    SUBSYSTEMS=="scsi"
    DRIVERS==""

  looking at parent device '/devices/pci0000:00/0000:00:10.0/0000:02:05.2/usb1/1-1/1-1:1.0':
    KERNELS=="1-1:1.0"
    SUBSYSTEMS=="usb"
    DRIVERS=="usb-storage"
    ATTRS{bInterfaceNumber}=="00"
    ATTRS{bAlternateSetting}==" 0"
    ATTRS{bNumEndpoints}=="03"
    ATTRS{bInterfaceClass}=="08"
    ATTRS{bInterfaceSubClass}=="06"
    ATTRS{bInterfaceProtocol}=="50"
    ATTRS{modalias}=="usb:v0BC2p0503d0240dc00dsc00dp00ic08isc06ip50"
    ATTRS{supports_autosuspend}=="0"

  looking at parent device '/devices/pci0000:00/0000:00:10.0/0000:02:05.2/usb1/1-1':
    KERNELS=="1-1"
    SUBSYSTEMS=="usb"
    DRIVERS=="usb"
    ATTRS{configuration}==""
    ATTRS{bNumInterfaces}==" 1"
    ATTRS{bConfigurationValue}=="1"
    ATTRS{bmAttributes}=="c0"
    ATTRS{bMaxPower}=="  0mA"
    ATTRS{urbnum}=="228"
    ATTRS{idVendor}=="0bc2"
    ATTRS{idProduct}=="0503"
    ATTRS{bcdDevice}=="0240"
    ATTRS{bDeviceClass}=="00"
    ATTRS{bDeviceSubClass}=="00"
    ATTRS{bDeviceProtocol}=="00"
    ATTRS{bNumConfigurations}=="1"
    ATTRS{bMaxPacketSize0}=="64"
    ATTRS{speed}=="480"
    ATTRS{busnum}=="1"
    ATTRS{devnum}=="11"
    ATTRS{version}==" 2.00"
    ATTRS{maxchild}=="0"
    ATTRS{quirks}=="0x0"
    ATTRS{authorized}=="1"

  looking at parent device '/devices/pci0000:00/0000:00:10.0/0000:02:05.2/usb1':
    KERNELS=="usb1"
    SUBSYSTEMS=="usb"
    DRIVERS=="usb"
    ATTRS{configuration}==""
    ATTRS{bNumInterfaces}==" 1"
    ATTRS{bConfigurationValue}=="1"
    ATTRS{bmAttributes}=="e0"
    ATTRS{bMaxPower}=="  0mA"
    ATTRS{urbnum}=="336"
    ATTRS{idVendor}=="1d6b"
    ATTRS{idProduct}=="0002"
    ATTRS{bcdDevice}=="0206"
    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{version}==" 2.00"
    ATTRS{maxchild}=="4"
    ATTRS{quirks}=="0x0"
    ATTRS{authorized}=="1"
    ATTRS{manufacturer}=="Linux 2.6.28-hardened-r9 ehci_hcd"
    ATTRS{product}=="EHCI Host Controller"
    ATTRS{serial}=="0000:02:05.2"
    ATTRS{authorized_default}=="1"

  looking at parent device '/devices/pci0000:00/0000:00:10.0/0000:02:05.2':
    KERNELS=="0000:02:05.2"
    SUBSYSTEMS=="pci"
    DRIVERS=="ehci_hcd"
    ATTRS{vendor}=="0x1106"
    ATTRS{device}=="0x3104"
    ATTRS{subsystem_vendor}=="0x1106"
    ATTRS{subsystem_device}=="0x3104"
    ATTRS{class}=="0x0c0320"
    ATTRS{irq}=="19"
    ATTRS{local_cpus}=="f"
    ATTRS{local_cpulist}=="0-3"
    ATTRS{modalias}=="pci:v00001106d00003104sv00001106sd00003104bc0Csc03i20"
    ATTRS{enable}=="1"
    ATTRS{broken_parity_status}=="0"
    ATTRS{msi_bus}==""

  looking at parent device '/devices/pci0000:00/0000:00:10.0':
    KERNELS=="0000:00:10.0"
    SUBSYSTEMS=="pci"
    DRIVERS==""
    ATTRS{vendor}=="0x1022"
    ATTRS{device}=="0x7448"
    ATTRS{subsystem_vendor}=="0x0000"
    ATTRS{subsystem_device}=="0x0000"
    ATTRS{class}=="0x060400"
    ATTRS{irq}=="0"
    ATTRS{local_cpus}=="f"
    ATTRS{local_cpulist}=="0-3"
    ATTRS{modalias}=="pci:v00001022d00007448sv00000000sd00000000bc06sc04i00"
    ATTRS{enable}=="1"
    ATTRS{broken_parity_status}=="0"
    ATTRS{msi_bus}=="1"

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

# lsusb -v > usb.txt

Bus 003 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Device Descriptor:
  bLength                18
  bDescriptorType         1
  bcdUSB               1.10
  bDeviceClass            9 Hub
  bDeviceSubClass         0 Unused
  bDeviceProtocol         0 Full speed (or root) hub
  bMaxPacketSize0        64
  idVendor           0x1d6b Linux Foundation
  idProduct          0x0001 1.1 root hub
  bcdDevice            2.06
  iManufacturer           3 Linux 2.6.28-hardened-r9 uhci_hcd
  iProduct                2 UHCI Host Controller
  iSerial                 1 0000:02:05.1
  bNumConfigurations      1
  Configuration Descriptor:
    bLength                 9
    bDescriptorType         2
    wTotalLength           25
    bNumInterfaces          1
    bConfigurationValue     1
    iConfiguration          0 
    bmAttributes         0xe0
      Self Powered
      Remote Wakeup
    MaxPower                0mA
    Interface Descriptor:
      bLength                 9
      bDescriptorType         4
      bInterfaceNumber        0
      bAlternateSetting       0
      bNumEndpoints           1
      bInterfaceClass         9 Hub
      bInterfaceSubClass      0 Unused
      bInterfaceProtocol      0 Full speed (or root) hub
      iInterface              0 
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x81  EP 1 IN
        bmAttributes            3
          Transfer Type            Interrupt
          Synch Type               None
          Usage Type               Data
        wMaxPacketSize     0x0002  1x 2 bytes
        bInterval             255
Hub Descriptor:
  bLength               9
  bDescriptorType      41
  nNbrPorts             2
  wHubCharacteristic 0x000a
    No power switching (usb 1.0)
    Per-port overcurrent protection
  bPwrOn2PwrGood        1 * 2 milli seconds
  bHubContrCurrent      0 milli Ampere
  DeviceRemovable    0x00
  PortPwrCtrlMask    0xff
 Hub Port Status:
   Port 1: 0000.0100 power
   Port 2: 0000.0100 power
Device Status:     0x0003
  Self Powered
  Remote Wakeup Enabled

Bus 001 Device 011: ID 0bc2:0503 Seagate RSS LLC 
Device Descriptor:
  bLength                18
  bDescriptorType         1
  bcdUSB               2.00
  bDeviceClass            0 (Defined at Interface level)
  bDeviceSubClass         0 
  bDeviceProtocol         0 
  bMaxPacketSize0        64
  idVendor           0x0bc2 Seagate RSS LLC
  idProduct          0x0503 
  bcdDevice            2.40
  iManufacturer          42 Jabil Circuit
  iProduct               57 Seagate External Drive
  iSerial                83  SG054312408
  bNumConfigurations      1
  Configuration Descriptor:
    bLength                 9
    bDescriptorType         2
    wTotalLength           39
    bNumInterfaces          1
    bConfigurationValue     1
    iConfiguration          0 
    bmAttributes         0xc0
      Self Powered
    MaxPower                0mA
    Interface Descriptor:
      bLength                 9
      bDescriptorType         4
      bInterfaceNumber        0
      bAlternateSetting       0
      bNumEndpoints           3
      bInterfaceClass         8 Mass Storage
      bInterfaceSubClass      6 SCSI
      bInterfaceProtocol     80 Bulk (Zip)
      iInterface              0 
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x02  EP 2 OUT
        bmAttributes            2
          Transfer Type            Bulk
          Synch Type               None
          Usage Type               Data
        wMaxPacketSize     0x0200  1x 512 bytes
        bInterval               0
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x86  EP 6 IN
        bmAttributes            2
          Transfer Type            Bulk
          Synch Type               None
          Usage Type               Data
        wMaxPacketSize     0x0200  1x 512 bytes
        bInterval               0
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x81  EP 1 IN
        bmAttributes            3
          Transfer Type            Interrupt
          Synch Type               None
          Usage Type               Data
        wMaxPacketSize     0x0004  1x 4 bytes
        bInterval              10
Device Qualifier (for other device speed):
  bLength                10
  bDescriptorType         6
  bcdUSB               2.00
  bDeviceClass            0 (Defined at Interface level)
  bDeviceSubClass         0 
  bDeviceProtocol         0 
  bMaxPacketSize0        64
  bNumConfigurations      1
Device Status:     0x0001
  Self Powered

Bus 001 Device 003: ID 0bc2:0503 Seagate RSS LLC 
Device Descriptor:
  bLength                18
  bDescriptorType         1
  bcdUSB               2.00
  bDeviceClass            0 (Defined at Interface level)
  bDeviceSubClass         0 
  bDeviceProtocol         0 
  bMaxPacketSize0        64
  idVendor           0x0bc2 Seagate RSS LLC
  idProduct          0x0503 
  bcdDevice            2.40
  iManufacturer          42 Jabil Circuit
  iProduct               57 Seagate External Drive
  iSerial                83  SG054305177
  bNumConfigurations      1
  Configuration Descriptor:
    bLength                 9
    bDescriptorType         2
    wTotalLength           39
    bNumInterfaces          1
    bConfigurationValue     1
    iConfiguration          0 
    bmAttributes         0xc0
      Self Powered
    MaxPower                0mA
    Interface Descriptor:
      bLength                 9
      bDescriptorType         4
      bInterfaceNumber        0
      bAlternateSetting       0
      bNumEndpoints           3
      bInterfaceClass         8 Mass Storage
      bInterfaceSubClass      6 SCSI
      bInterfaceProtocol     80 Bulk (Zip)
      iInterface              0 
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x02  EP 2 OUT
        bmAttributes            2
          Transfer Type            Bulk
          Synch Type               None
          Usage Type               Data
        wMaxPacketSize     0x0200  1x 512 bytes
        bInterval               0
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x86  EP 6 IN
        bmAttributes            2
          Transfer Type            Bulk
          Synch Type               None
          Usage Type               Data
        wMaxPacketSize     0x0200  1x 512 bytes
        bInterval               0
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x81  EP 1 IN
        bmAttributes            3
          Transfer Type            Interrupt
          Synch Type               None
          Usage Type               Data
        wMaxPacketSize     0x0004  1x 4 bytes
        bInterval              10
Device Qualifier (for other device speed):
  bLength                10
  bDescriptorType         6
  bcdUSB               2.00
  bDeviceClass            0 (Defined at Interface level)
  bDeviceSubClass         0 
  bDeviceProtocol         0 
  bMaxPacketSize0        64
  bNumConfigurations      1
Device Status:     0x0001
  Self Powered

Bus 001 Device 002: ID 0bc2:0503 Seagate RSS LLC 
Device Descriptor:
  bLength                18
  bDescriptorType         1
  bcdUSB               2.00
  bDeviceClass            0 (Defined at Interface level)
  bDeviceSubClass         0 
  bDeviceProtocol         0 
  bMaxPacketSize0        64
  idVendor           0x0bc2 Seagate RSS LLC
  idProduct          0x0503 
  bcdDevice            2.40
  iManufacturer          42 Jabil Circuit
  iProduct               57 Seagate External Drive
  iSerial                83  SG054313839
  bNumConfigurations      1
  Configuration Descriptor:
    bLength                 9
    bDescriptorType         2
    wTotalLength           39
    bNumInterfaces          1
    bConfigurationValue     1
    iConfiguration          0 
    bmAttributes         0xc0
      Self Powered
    MaxPower                0mA
    Interface Descriptor:
      bLength                 9
      bDescriptorType         4
      bInterfaceNumber        0
      bAlternateSetting       0
      bNumEndpoints           3
      bInterfaceClass         8 Mass Storage
      bInterfaceSubClass      6 SCSI
      bInterfaceProtocol     80 Bulk (Zip)
      iInterface              0 
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x02  EP 2 OUT
        bmAttributes            2
          Transfer Type            Bulk
          Synch Type               None
          Usage Type               Data
        wMaxPacketSize     0x0200  1x 512 bytes
        bInterval               0
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x86  EP 6 IN
        bmAttributes            2
          Transfer Type            Bulk
          Synch Type               None
          Usage Type               Data
        wMaxPacketSize     0x0200  1x 512 bytes
        bInterval               0
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x81  EP 1 IN
        bmAttributes            3
          Transfer Type            Interrupt
          Synch Type               None
          Usage Type               Data
        wMaxPacketSize     0x0004  1x 4 bytes
        bInterval              10
Device Qualifier (for other device speed):
  bLength                10
  bDescriptorType         6
  bcdUSB               2.00
  bDeviceClass            0 (Defined at Interface level)
  bDeviceSubClass         0 
  bDeviceProtocol         0 
  bMaxPacketSize0        64
  bNumConfigurations      1
Device Status:     0x0001
  Self Powered

Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Device Descriptor:
  bLength                18
  bDescriptorType         1
  bcdUSB               2.00
  bDeviceClass            9 Hub
  bDeviceSubClass         0 Unused
  bDeviceProtocol         0 Full speed (or root) hub
  bMaxPacketSize0        64
  idVendor           0x1d6b Linux Foundation
  idProduct          0x0002 2.0 root hub
  bcdDevice            2.06
  iManufacturer           3 Linux 2.6.28-hardened-r9 ehci_hcd
  iProduct                2 EHCI Host Controller
  iSerial                 1 0000:02:05.2
  bNumConfigurations      1
  Configuration Descriptor:
    bLength                 9
    bDescriptorType         2
    wTotalLength           25
    bNumInterfaces          1
    bConfigurationValue     1
    iConfiguration          0 
    bmAttributes         0xe0
      Self Powered
      Remote Wakeup
    MaxPower                0mA
    Interface Descriptor:
      bLength                 9
      bDescriptorType         4
      bInterfaceNumber        0
      bAlternateSetting       0
      bNumEndpoints           1
      bInterfaceClass         9 Hub
      bInterfaceSubClass      0 Unused
      bInterfaceProtocol      0 Full speed (or root) hub
      iInterface              0 
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x81  EP 1 IN
        bmAttributes            3
          Transfer Type            Interrupt
          Synch Type               None
          Usage Type               Data
        wMaxPacketSize     0x0004  1x 4 bytes
        bInterval              12
Hub Descriptor:
  bLength               9
  bDescriptorType      41
  nNbrPorts             4
  wHubCharacteristic 0x000a
    No power switching (usb 1.0)
    Per-port overcurrent protection
  bPwrOn2PwrGood       10 * 2 milli seconds
  bHubContrCurrent      0 milli Ampere
  DeviceRemovable    0x00
  PortPwrCtrlMask    0xff
 Hub Port Status:
   Port 1: 0000.0503 highspeed power enable connect
   Port 2: 0000.0100 power
   Port 3: 0000.0503 highspeed power enable connect
   Port 4: 0000.0503 highspeed power enable connect
Device Status:     0x0003
  Self Powered
  Remote Wakeup Enabled

Bus 002 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Device Descriptor:
  bLength                18
  bDescriptorType         1
  bcdUSB               1.10
  bDeviceClass            9 Hub
  bDeviceSubClass         0 Unused
  bDeviceProtocol         0 Full speed (or root) hub
  bMaxPacketSize0        64
  idVendor           0x1d6b Linux Foundation
  idProduct          0x0001 1.1 root hub
  bcdDevice            2.06
  iManufacturer           3 Linux 2.6.28-hardened-r9 uhci_hcd
  iProduct                2 UHCI Host Controller
  iSerial                 1 0000:02:05.0
  bNumConfigurations      1
  Configuration Descriptor:
    bLength                 9
    bDescriptorType         2
    wTotalLength           25
    bNumInterfaces          1
    bConfigurationValue     1
    iConfiguration          0 
    bmAttributes         0xe0
      Self Powered
      Remote Wakeup
    MaxPower                0mA
    Interface Descriptor:
      bLength                 9
      bDescriptorType         4
      bInterfaceNumber        0
      bAlternateSetting       0
      bNumEndpoints           1
      bInterfaceClass         9 Hub
      bInterfaceSubClass      0 Unused
      bInterfaceProtocol      0 Full speed (or root) hub
      iInterface              0 
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x81  EP 1 IN
        bmAttributes            3
          Transfer Type            Interrupt
          Synch Type               None
          Usage Type               Data
        wMaxPacketSize     0x0002  1x 2 bytes
        bInterval             255
Hub Descriptor:
  bLength               9
  bDescriptorType      41
  nNbrPorts             2
  wHubCharacteristic 0x000a
    No power switching (usb 1.0)
    Per-port overcurrent protection
  bPwrOn2PwrGood        1 * 2 milli seconds
  bHubContrCurrent      0 milli Ampere
  DeviceRemovable    0x00
  PortPwrCtrlMask    0xff
 Hub Port Status:
   Port 1: 0000.0100 power
   Port 2: 0000.0300 lowspeed power
Device Status:     0x0003
  Self Powered
  Remote Wakeup Enabled

[Index of Archives]     [Linux Kernel]     [Linux DVB]     [Asterisk Internet PBX]     [DCCP]     [Netdev]     [X.org]     [Util Linux NG]     [Fedora Women]     [ALSA Devel]     [Linux USB]

  Powered by Linux