[Bug 222659] Add quirk UQ_MSC_NO_PREVENT_ALLOW to SMI USB DISK 3000

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Thu Oct 12 08:30:02 UTC 2017


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=222659

--- Comment #8 from Ricardo Fraile <rfraile at rfraile.eu> ---
Created attachment 187093
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=187093&action=edit
Patch file for SMI USB Flash Drive scsi_da.c

Hi,

Here is the patch.

The device is not listed, but is catched by the following lines:

        /*
         * PNY USB Flash keys
         * PR: usb/75578, usb/72344, usb/65436 
         */
        {T_DIRECT, SIP_MEDIA_REMOVABLE, "*" , "USB DISK*",
        "*"}, /*quirks*/ DA_Q_NO_SYNC_CACHE

Which is something weird because it relies only in the device name across all
vendors.
If I add my lines under these ones, it doesn't work.

The patch is tested and working.


Thanks,

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


More information about the freebsd-usb mailing list