[Bug 250422] Add quirk UQ_MSC_NO_SYNC_CACHE for rebranded EMTEC drive

classic Classic list List threaded Threaded
4 messages Options
Reply | Threaded
Open this post in threaded view
|

[Bug 250422] Add quirk UQ_MSC_NO_SYNC_CACHE for rebranded EMTEC drive

bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=250422

            Bug ID: 250422
           Summary: Add quirk UQ_MSC_NO_SYNC_CACHE for rebranded EMTEC
                    drive
           Product: Base System
           Version: CURRENT
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: usb
          Assignee: [hidden email]
          Reporter: [hidden email]

Created attachment 218845
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=218845&action=edit
git diff to solve a USB drive quirk: 0x13fe vendor ID, 0x1e20 device ID:

$ sudo usbconfig -d 1.3 dump_device_desc
ugen1.3: <vendor 0x13fe USB DISK Pro> at usbus1, cfg=0 md=HOST spd=HIGH
(480Mbps) pwr=ON (200mA)

  bLength = 0x0012
  bDescriptorType = 0x0001
  bcdUSB = 0x0200
  bDeviceClass = 0x0000  <Probed by interface class>
  bDeviceSubClass = 0x0000
  bDeviceProtocol = 0x0000
  bMaxPacketSize0 = 0x0040
  idVendor = 0x13fe
  idProduct = 0x1e20
  bcdDevice = 0x0110
  iManufacturer = 0x0001  <        >
  iProduct = 0x0002  <USB DISK Pro    >
  iSerialNumber = 0x0003  </*snip*/>
  bNumConfigurations = 0x0001

From dmesg, with a prepatched kernel and booting in verbose mode:

ugen1.3: <vendor 0x13fe USB DISK Pro> at usbus1
umass0 on uhub3
umass0: <vendor 0x13fe USB DISK Pro, class 0/0, rev 2.00/1.10, addr 2> on
usbus1
umass0:  SCSI over Bulk-Only; quirks = 0x4000
umass0:2:0: Attached to scbus2
(probe0:umass-sim0:0:0:0): Down reving Protocol Version from 2 to 0?
pass2 at umass-sim0 bus 0 scbus2 target 0 lun 0
pass2: < USB DISK Pro PMAP> Removable Direct Access SCSI device
pass2: Serial Number /*snip*/
pass2: 40.000MB/s transfers
GEOM: new disk da0
da0 at umass-sim0 bus 0 scbus2 target 0 lun 0
da0: < USB DISK Pro PMAP> Removable Direct Access SCSI device
da0: Serial Number /*snip*/
da0: 40.000MB/s transfers
da0: 3934MB (8056832 512 byte sectors)
da0: quirks=0x3<NO_SYNC_CACHE,NO_6_BYTE>
da0: Delete methods: <NONE(*),ZERO>
(probe0:umass-sim0:0:0:1): Down reving Protocol Version from 2 to 0?
pass3 at umass-sim0 bus 0 scbus2 target 0 lun 1
pass3: < USB DISK Pro PMAP> Removable Direct Access SCSI device
pass3: Serial Number /*snip*/
pass3: 40.000MB/s transfers
(da0:umass-sim0:0:0:0): PREVENT ALLOW MEDIUM REMOVAL not supported.
da1 at umass-sim0 bus 0 scbus2 target 0 lun 1
da1: < USB DISK Pro PMAP> Removable Direct Access SCSI device
da1: Serial Number /*snip*/
da1: 40.000MB/s transfers
da1: 1MB (2880 512 byte sectors)
da1: quirks=0x3<NO_SYNC_CACHE,NO_6_BYTE>
da1: Delete methods: <NONE(*),ZERO>
GEOM: new disk da1
(da1:umass-sim0:0:0:1): PREVENT ALLOW MEDIUM REMOVAL not supported.

--
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
[hidden email] mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-usb
To unsubscribe, send any mail to "[hidden email]"
Reply | Threaded
Open this post in threaded view
|

[Bug 250422] Add quirk UQ_MSC_NO_SYNC_CACHE for rebranded EMTEC drive

bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=250422

Hans Petter Selasky <[hidden email]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|New                         |In Progress
                 CC|                            |[hidden email]

--
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
[hidden email] mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-usb
To unsubscribe, send any mail to "[hidden email]"
Reply | Threaded
Open this post in threaded view
|

[Bug 250422] Add quirk UQ_MSC_NO_SYNC_CACHE for rebranded EMTEC drive

bugzilla-noreply
In reply to this post by bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=250422

Hans Petter Selasky <[hidden email]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         Resolution|---                         |FIXED
             Status|In Progress                 |Closed

--- Comment #1 from Hans Petter Selasky <[hidden email]> ---
Thank you!

--
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
[hidden email] mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-usb
To unsubscribe, send any mail to "[hidden email]"
Reply | Threaded
Open this post in threaded view
|

[Bug 250422] Add quirk UQ_MSC_NO_SYNC_CACHE for rebranded EMTEC drive

bugzilla-noreply
In reply to this post by bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=250422

--- Comment #2 from [hidden email] ---
A commit references this bug:

Author: hselasky
Date: Sun Oct 18 08:58:15 UTC 2020
New revision: 366806
URL: https://svnweb.freebsd.org/changeset/base/366806

Log:
  Add new USB quirk.

  PR:                   250422
  Submitted by:         [hidden email]
  MFC after:            1 week
  Sponsored by:         Mellanox Technologies // NVIDIA Networking

Changes:
  head/sys/dev/usb/quirk/usb_quirk.c
  head/sys/dev/usb/usbdevs

--
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
[hidden email] mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-usb
To unsubscribe, send any mail to "[hidden email]"