unusual_devs addition for Kingston DT100G3/32GB 0951:1666

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

 



Hi!

I purchased a Kingston DT100G3/32GB and it corrupts large files (> ~500MB) on
write with plain "cp". I already filed a bug at
https://bugzilla.redhat.com/show_bug.cgi?id=1371183
with detailed descriptions how I tested the device.

Kingston suspected a broken device and sent me a new one as replacement which
doesn't work as well.

I figured out now that it works with
quirks=0951:1666:m

I tried options "r" and "g" as well which didn't change anything.

So I prepared a patch for unusual_devs.h (against 4.7.3 source tarball)
------------------------
$ diff -up unusual_devs.h.orig unusual_devs.h
--- unusual_devs.h.orig	2016-09-07 08:35:12.000000000 +0200
+++ unusual_devs.h	2016-09-07 17:04:15.834506827 +0200
@@ -1289,6 +1289,17 @@ UNUSUAL_DEV(  0x090c, 0x6000, 0x0100, 0x
 		US_FL_INITIAL_READ10 ),

 /*
+ * Reported by Wolfgang Breyha <wbreyha@xxxxxxx>
+ * This USB Stick needs US_FL_MAX_SECTORS_64. Otherwise corrupts large files.
+ * See: https://bugzilla.redhat.com/show_bug.cgi?id=1371183
+ */
+UNUSUAL_DEV(  0x0951, 0x1666, 0x0100, 0x0100,
+		"Kingston",
+		"DataTraveler 3.0",
+		USB_SC_DEVICE, USB_PR_DEVICE, NULL,
+		US_FL_MAX_SECTORS_64 ),
+
+/*
  * This Pentax still camera is not conformant
  * to the USB storage specification: -
  * - It does not like the INQUIRY command. So we must handle this command
------------------------

lsusb output of the device:
# lsusb -vvd 0951:1666

Bus 004 Device 064: ID 0951:1666 Kingston Technology DataTraveler G4
Device Descriptor:
  bLength                18
  bDescriptorType         1
  bcdUSB               3.10
  bDeviceClass            0
  bDeviceSubClass         0
  bDeviceProtocol         0
  bMaxPacketSize0         9
  idVendor           0x0951 Kingston Technology
  idProduct          0x1666 DataTraveler G4
  bcdDevice            1.00
  iManufacturer           1 Kingston
  iProduct                2 DataTraveler 3.0
  iSerial                 3 001E4FB7772DB07047EFXXXX
  bNumConfigurations      1
  Configuration Descriptor:
    bLength                 9
    bDescriptorType         2
    wTotalLength           44
    bNumInterfaces          1
    bConfigurationValue     1
    iConfiguration          0
    bmAttributes         0x80
      (Bus Powered)
    MaxPower              126mA
    Interface Descriptor:
      bLength                 9
      bDescriptorType         4
      bInterfaceNumber        0
      bAlternateSetting       0
      bNumEndpoints           2
      bInterfaceClass         8 Mass Storage
      bInterfaceSubClass      6 SCSI
      bInterfaceProtocol     80 Bulk-Only
      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     0x0400  1x 1024 bytes
        bInterval               0
        bMaxBurst               3
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x02  EP 2 OUT
        bmAttributes            2
          Transfer Type            Bulk
          Synch Type               None
          Usage Type               Data
        wMaxPacketSize     0x0400  1x 1024 bytes
        bInterval               0
        bMaxBurst               3
Binary Object Store Descriptor:
  bLength                 5
  bDescriptorType        15
  wTotalLength           22
  bNumDeviceCaps          2
  USB 2.0 Extension Device Capability:
    bLength                 7
    bDescriptorType        16
    bDevCapabilityType      2
    bmAttributes   0x00000006
      BESL Link Power Management (LPM) Supported
  SuperSpeed USB Device Capability:
    bLength                10
    bDescriptorType        16
    bDevCapabilityType      3
    bmAttributes         0x00
    wSpeedsSupported   0x000e
      Device can operate at Full Speed (12Mbps)
      Device can operate at High Speed (480Mbps)
      Device can operate at SuperSpeed (5Gbps)
    bFunctionalitySupport   2
      Lowest fully-functional device speed is High Speed (480Mbps)
    bU1DevExitLat          10 micro seconds
    bU2DevExitLat        2047 micro seconds
can't get debug descriptor: Resource temporarily unavailable
Device Status:     0x000c
  (Bus Powered)
  U1 Enabled
  U2 Enabled

With kind regards,
Wolfgang Breyha
-- 
Wolfgang Breyha <wbreyha@xxxxxxx> | http://www.blafasel.at/
Vienna University Computer Center | Austria

--
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