umass regression

poyopoyo at puripuri.plala.or.jp poyopoyo at puripuri.plala.or.jp
Sun Jan 8 20:25:41 UTC 2012


At Sun, 08 Jan 2012 21:06:57 +0200,
Bartosz Fabianowski wrote:
> 
> Replying to myself one last time, the kind of quirk I was thinking of 
> actually does exist already. It is called CAM_QUIRK_NORPTLUNS. Enabling 
> this quirk fixes the issue for me - both LUNs are detected and two umass 
> devices appear.
> 
> I submitted a patch in the following PR:
> 
> http://www.freebsd.org/cgi/query-pr.cgi?pr=163932

Hi,
I now aware of why my da1 did not appear once I tried this quirk
the other day; I set it FIXED device. It should be REMOVABLE device
as yours.

ugen0.5: <vendor 0x091e> at usbus0
umass0: <vendor 0x091e product 0x2271, class 0/0, rev 1.10/5.09, addr 5> on usbus0
umass0:  SCSI over Bulk-Only; quirks = 0x4000
umass0:10:0:-1: Attached to scbus10
da0 at umass-sim0 bus 0 scbus10 target 0 lun 0
da0: <Garmin Edge 705 Flash 1.00> Removable Direct Access SCSI-5 device
da0: 1.000MB/s transfers
da0: 976MB (1998848 512 byte sectors: 64H 32S/T 976C)
da1 at umass-sim0 bus 0 scbus10 target 0 lun 1
da1: <Garmin Edge 705 SD Card 1.00> Removable Direct Access SCSI-5 device
da1: 1.000MB/s transfers
da1: 1910MB (3911680 512 byte sectors: 255H 63S/T 243C)

> Thanks for the pointers and discussion that led to this solution.

Thank you very much. Great analysis.

-- 
kuro


More information about the freebsd-usb mailing list