USB card reader - 32 GB SD card detected as 2 TB card

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

 



Hi,

I've bought a USB card reader, which is supposed to read SD and SDHC cards.

While it detects SD cards properly, as I've tried to read a 32 GB SDHC card, it was detected as a 2 TB device, and the kernel was keeping resetting the bus (below).

The other system does not have any problems reading 32 GB SDHC cards with this USB card reader.

Is there any way to get this to a usable state? I'm using Linux 3.2.

FYI, this is that device:

http://cgi.ebay.de/ws/eBayISAPI.dll?ViewItem&item=110667683019


[254064.056759] usb 2-1.2: new full-speed USB device number 15 using ehci_hcd
[254064.152236] scsi22 : usb-storage 2-1.2:1.0
[254064.168770] xhci_hcd 0000:03:00.0: PME# disabled
[254064.168806] xhci_hcd 0000:03:00.0: setting latency timer to 64
[254065.153001] scsi 22:0:0:0: Direct-Access     USB2.0   CARD-READER      1.01 PQ: 0 ANSI: 2
[254065.155237] sd 22:0:0:0: Attached scsi generic sg1 type 0
[254065.157599] sd 22:0:0:0: [sdb] Attached SCSI removable disk
[254065.180941] sd 22:0:0:0: [sdb] 4290410496 512-byte logical blocks: (2.19 TB/1.99 TiB)
[254065.182051] sd 22:0:0:0: [sdb] No Caching mode page present
[254065.182062] sd 22:0:0:0: [sdb] Assuming drive cache: write through
[254065.184561] sd 22:0:0:0: [sdb] No Caching mode page present
[254065.184573] sd 22:0:0:0: [sdb] Assuming drive cache: write through
[254065.190177]  sdb: sdb1
[254066.923446] xhci_hcd 0000:03:00.0: PME# enabled
[254093.425302] xhci_hcd 0000:03:00.0: PME# disabled
[254093.425336] xhci_hcd 0000:03:00.0: setting latency timer to 64
[254095.892305] xhci_hcd 0000:03:00.0: PME# enabled
[254095.987348] usb 2-1.2: reset full-speed USB device number 15 using ehci_hcd
[254127.066354] usb 2-1.2: reset full-speed USB device number 15 using ehci_hcd
[254128.593230] xhci_hcd 0000:03:00.0: PME# disabled
[254128.593264] xhci_hcd 0000:03:00.0: setting latency timer to 64
[254130.872283] xhci_hcd 0000:03:00.0: PME# enabled
[254143.561229] xhci_hcd 0000:03:00.0: PME# disabled
[254143.561268] xhci_hcd 0000:03:00.0: setting latency timer to 64
[254145.860290] xhci_hcd 0000:03:00.0: PME# enabled
[254158.017569] usb 2-1.2: reset full-speed USB device number 15 using ehci_hcd
[254188.968859] usb 2-1.2: reset full-speed USB device number 15 using ehci_hcd
[254219.920036] usb 2-1.2: reset full-speed USB device number 15 using ehci_hcd
[254250.871486] usb 2-1.2: reset full-speed USB device number 15 using ehci_hcd
[254250.964849] sd 22:0:0:0: [sdb] Unhandled error code
[254250.964859] sd 22:0:0:0: [sdb]  Result: hostbyte=DID_ABORT driverbyte=DRIVER_OK
[254250.964868] sd 22:0:0:0: [sdb] CDB: Read(10): 28 00 ff ba 77 80 00 00 08 00
[254250.964889] end_request: I/O error, dev sdb, sector 4290410368
[254250.964898] quiet_error: 128 callbacks suppressed
[254250.964904] Buffer I/O error on device sdb, logical block 536301296
[254281.822567] usb 2-1.2: reset full-speed USB device number 15 using ehci_hcd


# lsusb -v
Bus 002 Device 015: ID 5136:4678  
Device Descriptor:
  bLength                18
  bDescriptorType         1
  bcdUSB               2.00
  bDeviceClass            0 (Defined at Interface level)
  bDeviceSubClass         0 
  bDeviceProtocol         0 
  bMaxPacketSize0        64
  idVendor           0x5136 
  idProduct          0x4678 
  bcdDevice           10.00
  iManufacturer           1 Generic 
  iProduct                2 USB2.0 Device   
  iSerial                 3 8120420080429000
  bNumConfigurations      1
  Configuration Descriptor:
    bLength                 9
    bDescriptorType         2
    wTotalLength           32
    bNumInterfaces          1
    bConfigurationValue     1
    iConfiguration          0 
    bmAttributes         0x80
      (Bus Powered)
    MaxPower              100mA
    Interface Descriptor:
      bLength                 9
      bDescriptorType         4
      bInterfaceNumber        0
      bAlternateSetting       0
      bNumEndpoints           2
      bInterfaceClass         8 Mass Storage
      bInterfaceSubClass      6 SCSI
      bInterfaceProtocol     80 Bulk (Zip)
      iInterface              0 
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x81  EP 1 IN
        bmAttributes            2
          Transfer Type            Bulk
          Synch Type               None
          Usage Type               Data
        wMaxPacketSize     0x0040  1x 64 bytes
        bInterval               0
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x01  EP 1 OUT
        bmAttributes            2
          Transfer Type            Bulk
          Synch Type               None
          Usage Type               Data
        wMaxPacketSize     0x0040  1x 64 bytes
        bInterval               0
Device Status:     0x0000
  (Bus Powered)



-- 
Tomasz Chmielewski
http://wpkg.org
--
To unsubscribe from this list: send the line "unsubscribe linux-usb" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Linux Media]     [Linux Input]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [Old Linux USB Devel Archive]

  Powered by Linux