https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=195372

--- Comment #3 from Miroslav Lachman <000.f...@quip.cz> ---
~/> usbconfig -d 1.5 dump_device_desc
ugen1.5: <USB Flash Drive Lexar> at usbus1, cfg=0 md=HOST spd=HIGH (480Mbps)
pwr=ON (500mA)

  bLength = 0x0012 
  bDescriptorType = 0x0001 
  bcdUSB = 0x0210 
  bDeviceClass = 0x0000 
  bDeviceSubClass = 0x0000 
  bDeviceProtocol = 0x0000 
  bMaxPacketSize0 = 0x0040 
  idVendor = 0x05dc 
  idProduct = 0xa833 
  bcdDevice = 0x1100 
  iManufacturer = 0x0001  <Lexar>
  iProduct = 0x0002  <USB Flash Drive>
  iSerialNumber = 0x0003  <AA33JJ7ZJFJG8N3C9RM7>
  bNumConfigurations = 0x0001


~/> sudo usbconfig -d 1.5 add_quirk UQ_MSC_NO_INQUIRY

And now it is correctly identified as 30GB

kernel: ugen1.5: <Lexar> at usbus1
kernel: umass0: <Lexar USB Flash Drive, class 0/0, rev 2.10/11.00, addr 5> on
usbus1
kernel: umass0:  SCSI over Bulk-Only; quirks = 0x0500
kernel: umass0:2:0:-1: Attached to scbus2
kernel: da0 at umass-sim0 bus 0 scbus2 target 0 lun 0
kernel: da0: <  > Removable Direct Access SCSI-2 device 
kernel: da0: 40.000MB/s transfers
kernel: da0: 30560MB (62586880 512 byte sectors: 255H 63S/T 3895C)
kernel: da0: quirks=0x2<NO_6_BYTE>
volmand: CREATE da0
volmand: CREATE da0s1
volmand: CREATE msdosfs/Lexar


It works in USB 3.0 port too:

kernel: ugen0.2: <Lexar> at usbus0
kernel: umass0: <Lexar USB Flash Drive, class 0/0, rev 3.00/11.00, addr 4> on
usbus0
kernel: umass0:  SCSI over Bulk-Only; quirks = 0x0500
kernel: umass0:2:0:-1: Attached to scbus2
kernel: da0 at umass-sim0 bus 0 scbus2 target 0 lun 0
kernel: da0: <  > Removable Direct Access SCSI-2 device
kernel: da0: 400.000MB/s transfers
kernel: da0: 30560MB (62586880 512 byte sectors: 255H 63S/T 3895C)
kernel: da0: quirks=0x2<NO_6_BYTE>

Thank you very much!

-- 
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
freebsd-usb@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-usb
To unsubscribe, send any mail to "freebsd-usb-unsubscr...@freebsd.org"

Reply via email to