[Bug 192375] Kingston DataTraveler G2 memory stick doesn't work

From: <bugzilla-noreply_at_freebsd.org>
Date: Wed, 29 Dec 2021 14:39:30 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=192375

Peter Much <pmc@citylink.dinoex.sub.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |pmc@citylink.dinoex.sub.org

--- Comment #2 from Peter Much <pmc@citylink.dinoex.sub.org> ---
I have the same piece:

ugen0.2: <Kingston DataTraveler G2> at usbus0
umass0 numa-domain 0 on uhub0
umass0: <Kingston DataTraveler G2, class 0/0, rev 2.00/1.00, addr 1> on usbus0
umass0:  SCSI over Bulk-Only; quirks = 0xc100
umass0:14:0: Attached to scbus14
da7 at umass-sim0 bus 0 scbus14 target 0 lun 0
da7: <Kingston DataTraveler G2 1.00> Removable Direct Access SCSI-2 device
da7: Serial Number ************************
da7: 40.000MB/s transfers
da7: 15269MB (31272544 512 byte sectors)
da7: quirks=0x6<NO_6_BYTE,NO_PREVENT>

As you can see, I added the NO_PREVENT quirk to make it work. Works fine now.

In sys/cam/scsi/scsi_da.c we already have this for the G3 version. I simply
expanded that to also handle the G2.

        {
-               {T_DIRECT, SIP_MEDIA_REMOVABLE, "Kingston", "DataTraveler G3",
+               {T_DIRECT, SIP_MEDIA_REMOVABLE, "Kingston", "DataTraveler G*",
                 "1.00"}, /*quirks*/ DA_Q_NO_PREVENT
        },

-- 
You are receiving this mail because:
You are the assignee for the bug.