Hi

I have a "Ram Bo Hi-Speed Crystal Disk" USB mass storage device that
causes problems with vanilla 2.6.7.

I'm using udev 0.29 on Gentoo

USB and SCSI are compiled as modules

When I insert the device I see the following in syslog:

Jul  4 15:02:09 homer usb 2-2.4: new full speed USB device using address
3
Jul  4 15:02:10 homer SCSI subsystem initialized
Jul  4 15:02:10 homer Initializing USB Mass Storage driver...
Jul  4 15:02:10 homer scsi0 : SCSI emulation for USB Mass Storage
devices
Jul  4 15:02:10 homer Vendor: Generic   Model:                  
Rev:     
Jul  4 15:02:10 homer Type:   Direct-Access                      ANSI
SCSI revision: 02
Jul  4 15:02:10 homer USB Mass Storage device found at 3
Jul  4 15:02:10 homer usbcore: registered new driver usb-storage
Jul  4 15:02:10 homer USB Mass Storage support registered.
Jul  4 15:02:11 homer scsi.agent[8484]: disk at
/devices/pci0000:00/0000:00:04.3/usb2/2-2/2-2.4/2-2.4:1.0/host0/0:0:0:0
Jul  4 15:02:11 homer SCSI device sda: 251904 512-byte hdwr sectors (129
MB)
Jul  4 15:02:11 homer sda: Write Protect is off
Jul  4 15:02:11 homer sda: Mode Sense: 03 00 00 00

Followed a few seconds later by:

Jul  4 15:02:41 homer hub 2-0:1.0: port 2 disabled by hub (EMI?),
re-enabling...<6>usb 2-2: USB disconnect, address 2
Jul  4 15:02:41 homer usb 2-2.4: USB disconnect, address 3

At this time a ps -ef shows:

root      8475     1  0 15:02 ?        00:00:00 [usb-storage]
root      8476     1  0 15:02 ?        00:00:00 [scsi_eh_0]
root      8483     4  0 15:02 ?        00:00:00 /bin/sh /sbin/hotplug
scsi
root      8484  8483  0 15:02 ?        00:00:00 /bin/sh
/etc/hotplug/scsi.agent
root      8503  8484  0 15:02 ?        00:00:00 modprobe sd_mod

The output from lsusb -v (before the hub is disabled) is:

Bus 002 Device 003: ID 08ec:0834 M-Systems Flash Disk Pioneers 
Device Descriptor:
  bLength                18
  bDescriptorType         1
  bcdUSB               1.10
  bDeviceClass            0 Interface
  bDeviceSubClass         0 
  bDeviceProtocol         0 
  bMaxPacketSize0        64
  idVendor           0x08ec M-Systems Flash Disk Pioneers
  idProduct          0x0834 
  bcdDevice            1.00
  iManufacturer          16 Generic     
  iProduct               32 USB Flash Disk         
  iSerial                48 AAAAA11432289
  bNumConfigurations      1
  Configuration Descriptor:
    bLength                 9
    bDescriptorType         2
    wTotalLength           32
    bNumInterfaces          1
    bConfigurationValue     1
    iConfiguration         64
    bmAttributes         0x80
    MaxPower               84mA
    Interface Descriptor:
      bLength                 9
      bDescriptorType         4
      bInterfaceNumber        0
      bAlternateSetting       0
      bNumEndpoints           2
      bInterfaceClass         8 Mass Storage
      bInterfaceSubClass      6 SCSI
      bInterfaceProtocol     80 Bulk (Zip)
      iInterface             96 BULK
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x81  EP 1 IN
        bmAttributes            2
          Transfer Type            Bulk
          Synch Type               none
        wMaxPacketSize         64
        bInterval               0
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x02  EP 2 OUT
        bmAttributes            2
          Transfer Type            Bulk
          Synch Type               none
        wMaxPacketSize         64
        bInterval               0
  Language IDs: (length=4)
     0409 English(US)

Bus 002 Device 002: ID 058f:9254 Alcor Micro Corp. Hub
Device Descriptor:
  bLength                18
  bDescriptorType         1
  bcdUSB               1.10
  bDeviceClass            9 Hub
  bDeviceSubClass         0 
  bDeviceProtocol         0 
  bMaxPacketSize0         8
  idVendor           0x058f Alcor Micro Corp.
  idProduct          0x9254 Hub
  bcdDevice            1.00
  iManufacturer           1 ALCOR
  iProduct                2 Generic USB Hub
  iSerial                 0 
  bNumConfigurations      1
  Configuration Descriptor:
    bLength                 9
    bDescriptorType         2
    wTotalLength           25
    bNumInterfaces          1
    bConfigurationValue     1
    iConfiguration          0
    bmAttributes         0xe0
      Self Powered
      Remote Wakeup
    MaxPower              100mA
    Interface Descriptor:
      bLength                 9
      bDescriptorType         4
      bInterfaceNumber        0
      bAlternateSetting       0
      bNumEndpoints           1
      bInterfaceClass         9 Hub
      bInterfaceSubClass      0 
      bInterfaceProtocol      0 
      iInterface              0 
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x81  EP 1 IN
        bmAttributes            3
          Transfer Type            Interrupt
          Synch Type               none
        wMaxPacketSize          1
        bInterval             255
  Language IDs: (length=4)
     0409 English(US)

Bus 002 Device 001: ID 0000:0000  
Device Descriptor:
  bLength                18
  bDescriptorType         1
  bcdUSB               1.10
  bDeviceClass            9 Hub
  bDeviceSubClass         0 
  bDeviceProtocol         0 
  bMaxPacketSize0         8
  idVendor           0x0000 
  idProduct          0x0000 
  bcdDevice            2.06
  iManufacturer           3 Linux 2.6.7 uhci_hcd
  iProduct                2 VIA Technologies, Inc. VT82xxxxx UHCI USB
1.1 Controller (#2)
  iSerial                 1 0000:00:04.3
  bNumConfigurations      1
  Configuration Descriptor:
    bLength                 9
    bDescriptorType         2
    wTotalLength           25
    bNumInterfaces          1
    bConfigurationValue     1
    iConfiguration          0
    bmAttributes         0xc0
      Self Powered
    MaxPower                0mA
    Interface Descriptor:
      bLength                 9
      bDescriptorType         4
      bInterfaceNumber        0
      bAlternateSetting       0
      bNumEndpoints           1
      bInterfaceClass         9 Hub
      bInterfaceSubClass      0 
      bInterfaceProtocol      0 
      iInterface              0 
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x81  EP 1 IN
        bmAttributes            3
          Transfer Type            Interrupt
          Synch Type               none
        wMaxPacketSize          2
        bInterval             255
  Language IDs: (length=4)
     0409 English(US)

Bus 001 Device 002: ID 045e:0040 Microsoft Corp. Wheel Mouse Optical
Device Descriptor:
  bLength                18
  bDescriptorType         1
  bcdUSB               1.10
  bDeviceClass            0 Interface
  bDeviceSubClass         0 
  bDeviceProtocol         0 
  bMaxPacketSize0         8
  idVendor           0x045e Microsoft Corp.
  idProduct          0x0040 Wheel Mouse Optical
  bcdDevice            1.21
  iManufacturer           1 
  iProduct                2 
  iSerial                 0 
  bNumConfigurations      1
  Configuration Descriptor:
    bLength                 9
    bDescriptorType         2
    wTotalLength           34
    bNumInterfaces          1
    bConfigurationValue     1
    iConfiguration          0
    bmAttributes         0xa0
      Remote Wakeup
    MaxPower              100mA
    Interface Descriptor:
      bLength                 9
      bDescriptorType         4
      bInterfaceNumber        0
      bAlternateSetting       0
      bNumEndpoints           1
      bInterfaceClass         3 Human Interface Devices
      bInterfaceSubClass      1 Boot Interface Subclass
      bInterfaceProtocol      2 Mouse
      iInterface              0 
        HID Device Descriptor:
          bLength                 9
          bDescriptorType        33
          bcdHID               1.00
          bCountryCode            0
          bNumDescriptors         1
          bDescriptorType        34 Report
          wDescriptorLength      72
cannot get report descriptor
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x81  EP 1 IN
        bmAttributes            3
          Transfer Type            Interrupt
          Synch Type               none
        wMaxPacketSize          4
        bInterval              10
  Language IDs: (length=24)
     0409 English(US)
     0809 English(UK)
     0c09 English(Australian)
     1009 English(Canadian)
     1409 English(New Zealand)
     1809 English(Ireland)
     1c09 English(South Africa)
     2009 English(Jamaica)
     2409 English(Carribean)
     2809 English(Belize)
     2c09 English(Trinidad)

Bus 001 Device 001: ID 0000:0000  
Device Descriptor:
  bLength                18
  bDescriptorType         1
  bcdUSB               1.10
  bDeviceClass            9 Hub
  bDeviceSubClass         0 
  bDeviceProtocol         0 
  bMaxPacketSize0         8
  idVendor           0x0000 
  idProduct          0x0000 
  bcdDevice            2.06
  iManufacturer           3 Linux 2.6.7 uhci_hcd
  iProduct                2 VIA Technologies, Inc. VT82xxxxx UHCI USB
1.1 Controller
  iSerial                 1 0000:00:04.2
  bNumConfigurations      1
  Configuration Descriptor:
    bLength                 9
    bDescriptorType         2
    wTotalLength           25
    bNumInterfaces          1
    bConfigurationValue     1
    iConfiguration          0
    bmAttributes         0xc0
      Self Powered
    MaxPower                0mA
    Interface Descriptor:
      bLength                 9
      bDescriptorType         4
      bInterfaceNumber        0
      bAlternateSetting       0
      bNumEndpoints           1
      bInterfaceClass         9 Hub
      bInterfaceSubClass      0 
      bInterfaceProtocol      0 
      iInterface              0 
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x81  EP 1 IN
        bmAttributes            3
          Transfer Type            Interrupt
          Synch Type               none
        wMaxPacketSize          2
        bInterval             255
  Language IDs: (length=4)
     0409 English(US)


After the hub is disabled, running lsusb will hang, and the "USB Hotplug
System" hangs on shutdown, requiring a reset.

I also tried to load all the modules (sg, sd_mod, scsi_mod, usb-storage)
before plugging in the device, but no /dev node is created by udev, and
the USB hotplug system still hangs on shutdown.

Thanks

Jesse

-- 
Jesse Stockall <[EMAIL PROTECTED]>



-------------------------------------------------------
This SF.Net email sponsored by Black Hat Briefings & Training.
Attend Black Hat Briefings & Training, Las Vegas July 24-29 - 
digital self defense, top technical experts, no vendor pitches, 
unmatched networking opportunities. Visit www.blackhat.com
_______________________________________________
[EMAIL PROTECTED]
To unsubscribe, use the last form field at:
https://lists.sourceforge.net/lists/listinfo/linux-usb-users

Reply via email to