Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 31 Dec 2011 13:53:20 +0100
From:      Hans Petter Selasky <hselasky@c2i.net>
To:        Bartosz Fabianowski <freebsd@chillt.de>
Cc:        freebsd-usb@freebsd.org
Subject:   Re: umass regression
Message-ID:  <201112311353.20628.hselasky@c2i.net>
In-Reply-To: <4EFF03B5.7050502@chillt.de>
References:  <4EF9D06C.9060501@chillt.de> <201112311331.08209.hselasky@c2i.net> <4EFF03B5.7050502@chillt.de>

next in thread | previous in thread | raw e-mail | index | archive | help

On Saturday 31 December 2011 13:44:37 Bartosz Fabianowski wrote:
> > Try to set the no synchronize cache quirk. Then reattach your device. It
> > might be the msctest which is causing your problem!
> 
> I tried setting the quirk just for the device but I failed to find the
> right magic numbers. The device shows up as:
> 
> <vendor 0x091e product 0x23c0, class 0/0, rev 1.10/5.09, addr 5>
> 
> So I tried the following:
> 
> usbconfig add_dev_quirk_vplh 0x091e 0x23c0 0x0509 0x0110
> UQ_MSC_NO_SYNC_CACHE
> 
> On re-attach, I see an unchanged quirks = 0x4000.
> 
> I then tried setting the quirk globally:
> 
> usbconfig add_quirk UQ_MSC_NO_SYNC_CACHE

^^ 

Set "-d ugenX.Y" first. Then add quirk. Then re-plug.

> 
> On re-attach, I see an unchanged quirks = 0x4000.

The quirk mask should be the same, only there should be two luns.

Else enable umass and usb debuggin, and "dmesg | grep -i lun"

> 
> How do I make the quirk actually stick?

--HPS



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201112311353.20628.hselasky>