Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 12 Oct 2017 08:30:02 +0000
From:      bugzilla-noreply@freebsd.org
To:        freebsd-usb@FreeBSD.org
Subject:   [Bug 222659] Add quirk UQ_MSC_NO_PREVENT_ALLOW to SMI USB DISK 3000
Message-ID:  <bug-222659-17-KGJAxVvc6c@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-222659-17@https.bugs.freebsd.org/bugzilla/>
References:  <bug-222659-17@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=222659

--- Comment #8 from Ricardo Fraile <rfraile@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.


Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-222659-17-KGJAxVvc6c>