[Bug 211716] [PATCH] USB Driver didn't get the right size

2019-01-21 Thread bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=211716

Oleksandr Tymoshenko  changed:

   What|Removed |Added

 Resolution|--- |FIXED
 Status|New |Closed
 CC||go...@freebsd.org

--- Comment #4 from Oleksandr Tymoshenko  ---
There is a commit referencing this PR, but it's still not closed and has been
inactive for some time. Closing the PR as fixed but feel free to re-open it if
the issue hasn't been completely resolved.

Thanks

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


[Bug 211716] [PATCH] USB Driver didn't get the right size

2016-10-16 Thread bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=211716

--- Comment #3 from commit-h...@freebsd.org ---
A commit references this bug:

Author: sephe
Date: Mon Oct 17 05:39:45 UTC 2016
New revision: 307474
URL: https://svnweb.freebsd.org/changeset/base/307474

Log:
  MFC 303944

  cam/da: Add quirk for I-O Data USB Flash Disk

  PR: 211716
  Submitted by:   Jun Su 
  Reported by:Jun Su 
  Sponsored by:   Microsoft

Changes:
_U  stable/11/
  stable/11/sys/cam/scsi/scsi_da.c

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


[Bug 211716] [PATCH] USB Driver didn't get the right size

2016-10-12 Thread bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=211716

--- Comment #2 from commit-h...@freebsd.org ---
A commit references this bug:

Author: sephe
Date: Thu Oct 13 01:58:50 UTC 2016
New revision: 307162
URL: https://svnweb.freebsd.org/changeset/base/307162

Log:
  MFC 303944

  cam/da: Add quirk for I-O Data USB Flash Disk

  PR: 211716
  Submitted by:   Jun Su 
  Reported by:Jun Su 
  Sponsored by:   Microsoft

Changes:
_U  stable/10/
  stable/10/sys/cam/scsi/scsi_da.c

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


[Bug 211716] [PATCH] USB Driver didn't get the right size

2016-08-10 Thread bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=211716

--- Comment #1 from commit-h...@freebsd.org ---
A commit references this bug:

Author: sephe
Date: Thu Aug 11 03:12:57 UTC 2016
New revision: 303944
URL: https://svnweb.freebsd.org/changeset/base/303944

Log:
  cam/da: Add quirk for I-O Data USB Flash Disk

  PR:   211716
  Submitted by: Jun Su 
  Reported by:  Jun Su 
  MFC after:1 week
  Sponsored by: Microsoft

Changes:
  head/sys/cam/scsi/scsi_da.c

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


[Bug 211716] [PATCH] USB Driver didn't get the right size

2016-08-10 Thread bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=211716

Bug ID: 211716
   Summary: [PATCH] USB Driver didn't get the right size
   Product: Base System
   Version: CURRENT
  Hardware: Any
OS: Any
Status: New
  Keywords: patch
  Severity: Affects Only Me
  Priority: ---
 Component: usb
  Assignee: freebsd-usb@FreeBSD.org
  Reporter: howard...@gmail.com
  Keywords: patch

One I-O Data USB Flash Disk cannot get the right size. the dmesg shows
umass0:  on usbus7
umass0:  SCSI over Bulk-Only; quirks = 0x8100
umass0:6:0: Attached to scbus6
da0 at umass-sim0 bus 0 scbus6 target 0 lun 0
da0:  Removable Direct Access SPC-4 SCSI device
da0: Serial Number 137161312223005B
da0: 40.000MB/s transfers
da0: 0MB (1 512 byte sectors)
da0: quirks=0x2

The following patch solves the problem:
diff --git a/sys/cam/scsi/scsi_da.c b/sys/cam/scsi/scsi_da.c
index b869467..0614b28 100644
--- a/sys/cam/scsi/scsi_da.c
+++ b/sys/cam/scsi/scsi_da.c
@@ -1295,6 +1295,13 @@ static struct da_quirk_entry da_quirk_table[] =
{ T_DIRECT, SIP_MEDIA_REMOVABLE, "MX", "MXUB3*", "*"},
/*quirks*/DA_Q_NO_RC16
},
+   {
+   /*
+* I-O Data USB Flash Disk
+*/
+   { T_DIRECT, SIP_MEDIA_REMOVABLE, "I-O DATA", "USB Flash Disk*",
"*"},
+   /*quirks*/DA_Q_NO_RC16
+   },
 };

 static disk_strategy_t dastrategy;

After the patch the size is correctly detected.

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