Date: Fri, 12 Nov 2021 15:29:11 +0100 From: Hans Petter Selasky <hps@selasky.org> To: Milan Obuch <freebsd-usb@dino.sk>, freebsd-usb@freebsd.org Subject: Re: USBDMSC emulated device does not work on FreeBSD Message-ID: <514c7590-f9b8-4b2c-d090-5afb5c528b1b@selasky.org> In-Reply-To: <20211112152213.23b45f78@zeta.dino.sk> References: <20211112095915.226af6be@zeta.dino.sk> <6a6850f5-8233-aae7-8e65-42594402fcb5@selasky.org> <20211112120714.73f195a9@zeta.dino.sk> <972a650d-d490-1965-13a4-2fb984531f1d@selasky.org> <20211112121806.2db2a908@zeta.dino.sk> <85cdc03e-e8f1-871c-6e1d-66181e45dcb1@selasky.org> <20211112123438.6305fc56@zeta.dino.sk> <df6b1571-54a3-91e2-6da5-82df6644bd64@selasky.org> <20211112140045.018ebf0c@zeta.dino.sk> <571bda62-b86c-a5b0-fcc6-f70102b85db7@selasky.org> <20211112142200.7947d6b2@zeta.dino.sk> <3f2a86d6-6906-d5a3-45ad-3b1c7ce1a345@selasky.org> <37a6b45a-be34-4216-d038-62f1c440037c@selasky.org> <20211112152213.23b45f78@zeta.dino.sk>
next in thread | previous in thread | raw e-mail | index | archive | help
On 11/12/21 15:22, Milan Obuch wrote: > On Fri, 12 Nov 2021 14:26:32 +0100 > Hans Petter Selasky <hps@selasky.org> wrote: > >> On 11/12/21 14:25, Hans Petter Selasky wrote: >>> hw.usb.quirk.0="0x1514 0x0001 0 0xffff UQ_MSC_NO_SYNC_CACHE" >>> hw.usb.quirk.0="0x1514 0x0001 0 0xffff UQ_NO_STRINGS" >> >> Should be "1" for second quirk. >> >> hw.usb.quirk.0="0x1514 0x0001 0 0xffff UQ_MSC_NO_SYNC_CACHE" >> hw.usb.quirk.1="0x1514 0x0001 0 0xffff UQ_NO_STRINGS" >> >> --HPS >> > > Thanks for hint, it works now. For some reason, only one quirk works on > system under test (it is 12.2-STABLE, r368192). I checked it with > 'usbconfig dump_device_quirks', just the second one was shown. For > completeness, necessary lines in loader.conf files are > > usb_quirk_load=YES > hw.usb.quirk.0="0x1514 0x0001 0 0xffff UQ_NO_STRINGS" > hw.usb.quirk.1="0x1514 0x0001 0 0xffff UQ_MSC_NO_SYNC_CACHE" > > (I think UQ_NO_STRINGS could be omitted, did not test without, but > 'usbconfig dump_device_quirks | grep 1514' outputs just > > VID=0x1514 PID=0x0001 REVLO=0x0000 REVHI=0xffff QUIRK=UQ_MSC_NO_SYNC_CACHE > > nothing more.) > > I am reading from /dev/da0 now... next check would be write, I'll test > later. If you'd like me to test anything else, just drop a note. > > Again, thanks for help. > FYI: /usr/src/tools/tools/usbtest --HPS
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?514c7590-f9b8-4b2c-d090-5afb5c528b1b>