Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 29 Dec 2021 14:39:30 +0000
From:      bugzilla-noreply@freebsd.org
To:        usb@FreeBSD.org
Subject:   [Bug 192375] Kingston DataTraveler G2 memory stick doesn't work
Message-ID:  <bug-192375-19105-Yt6mk9zvId@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-192375-19105@https.bugs.freebsd.org/bugzilla/>
References:  <bug-192375-19105@https.bugs.freebsd.org/bugzilla/>

next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D192375

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 usb=
us0
umass0:  SCSI over Bulk-Only; quirks =3D 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=3D0x6<NO_6_BYTE,NO_PREVENT>

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

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 G=
3",
+               {T_DIRECT, SIP_MEDIA_REMOVABLE, "Kingston", "DataTraveler G=
*",
                 "1.00"}, /*quirks*/ DA_Q_NO_PREVENT
        },

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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-192375-19105-Yt6mk9zvId>