On 19.02.2013 09:14, Hans Petter Selasky wrote:
> On Monday 18 February 2013 22:57:25 Jan Beich wrote:
>> Hans Petter Selasky <hsela...@c2i.net> writes:
>>> On Monday 18 February 2013 07:11:56 Jan Beich wrote:
>>>> Hans Petter Selasky <hsela...@c2i.net> writes:
>>>>> On Sunday 17 February 2013 17:24:23 Jan Beich wrote:
>>>>>> The phone has 16G of on-board and 16G sdcard memory. FreeBSD 10.0
>>>>>> detects both but only the former can be mounted. And there is no
>>>>>> issue mounting the sdcard on Ubuntu or on FreeBSD via iSCSI
>>>>>> $ usbdump -i usbus7 -s 0 -vvv # on attach
>> forgotten linux usbmon dump - http://pastebin.com/Df9Zp6T5
>>>> forgotten debug log - http://pastebin.com/NzpSJBRA
>> http://pastebin.com/P9474rw4 # no quirks (via source edit)
>> Why UQ_MSC_NO_SYNC_CACHE is always added for the device? on-board (da0)
>> memory seems to mount/work just fine without + "Medium not present"
>> is gone.
>> $ usbconfig dump_device_quirks | fgrep 421
>> $ kenv | fgrep usb
>>> Try this quirk:
>>> usbconfig -d x.y add_quirk UQ_MSC_NO_INQUIRY
>> http://pastebin.com/4R0MYTUK # UQ_MSC_NO_INQUIRY
>> http://pastebin.com/AGHGiC3n # UQ_MSC_NO_INQUIRY + UQ_MSC_NO_SYNC_CACHE
>> I've tried a few more (at random) with no luck either.
>> http://pastebin.com/RW2cg51S # UQ_MSC_FORCE_SHORT_INQ
>> http://pastebin.com/ahiUvS7f # UQ_MSC_WRONG_CSWSIG
>> http://pastebin.com/Wf6Be9uN # UQ_MSC_IGNORE_RESIDUE
>> http://pastebin.com/0W4pcKmY # UQ_MSC_READ_CAP_OFFBY1
>> Linux seems to use only CAPACITY_HEURISTICS quirk.
> The device fails on READ_10. Maybe this command is not supported. I'm not
> how to reprogram CAM/SCSI layers to use READ_6 instead.
CAM DA driver uses shortest possible command, but no shorter then
kern.cam.da.X.minimum_cmd_size value, that is 10 by default for umass
due to cpi->hba_misc = PIM_NO_6_BYTE set in umass.c.
firstname.lastname@example.org mailing list
To unsubscribe, send any mail to "freebsd-usb-unsubscr...@freebsd.org"