Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 12 Nov 2021 14:25:38 +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:  <3f2a86d6-6906-d5a3-45ad-3b1c7ce1a345@selasky.org>
In-Reply-To: <20211112142200.7947d6b2@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>

next in thread | previous in thread | raw e-mail | index | archive | help
On 11/12/21 14:22, Milan Obuch wrote:
> On Fri, 12 Nov 2021 14:13:08 +0100
> Hans Petter Selasky <hps@selasky.org> wrote:
> 
> [ snip ]
> 
>> It crashes on synchronize cache:
>>
>> Try adding this quirk:
>>
>> usbconfig -d ugen1.3 add_quirk UQ_MSC_NO_SYNC_CACHE
>>
>> Then re-plug the device.
>>
>> --HPS
>>
> 
> Could this be done before device attach? Trouble is, after synchronize
> crashes, USB firmware crashes as well. This means there is basically no
> ugen1.3 device anymore, so doing this command just tells (after some
> delay)
> 
> Adding quirk 'UQ_MSC_NO_SYNC_CACHE' failed, continuing.
> 
> Next I must reset the board, but before I am able to do anything, it
> crashes again.
> 
> Regards,
> Milan
> 

Hi,

man usb_quirk

      To install a quirk at boot time, place one or several lines like the
      following in loader.conf(5):

hw.usb.quirk.0="0x1514 0x0001 0 0xffff UQ_MSC_NO_SYNC_CACHE"
hw.usb.quirk.0="0x1514 0x0001 0 0xffff UQ_NO_STRINGS"

--HPS



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?3f2a86d6-6906-d5a3-45ad-3b1c7ce1a345>