Date: Fri, 12 May 2006 14:23:26 +0200 From: Ed Schouten <ed@fxq.nl> To: FreeBSD USB <freebsd-usb@freebsd.org>, FreeBSD SCSI <freebsd-scsi@freebsd.org>, Nate Lawson <nate@root.org> Subject: Re: Using a 'Y-E DATA USB-FDU 6.01' on FreeBSD -CURRENT Message-ID: <20060512122326.GJ15353@hoeg.nl> In-Reply-To: <20060512114625.GH15353@hoeg.nl> References: <20060512114625.GH15353@hoeg.nl>
next in thread | previous in thread | raw e-mail | index | archive | help
[-- Attachment #1 --]
* Ed Schouten <ed@fxq.nl> wrote:
> | umass0: <Y-E DATA USB Floppy Drive, class 0/0, rev 1.10/6.01, addr 2> on uhub1
> | da0 at umass-sim0 bus 0 target 0 lun 0
> | da0: <Y-E DATA USB-FDU 6.01> Removable Direct Access SCSI-0 device
> | da0: 20KB/s transfers
> | da0: 1MB (2880 512 byte sectors: 64H 32S/T 1C)
> | umass0: Unsupported UFI command 0x35
> | (da0:umass-sim0:0:0:0): Synchronize cache failed, status == 0x6, scsi status == 0x0
> | umass0: Unsupported UFI command 0x35
> | (da0:umass-sim0:0:0:0): Synchronize cache failed, status == 0x6, scsi status == 0x0
After looking into some more kernel source, I wrote the following patch
that removes the errors:
%%%
--- scsi_da.c Fri May 12 14:19:20 2006
+++ scsi_da.c Fri May 12 14:16:17 2006
@@ -443,6 +443,13 @@
{T_DIRECT, SIP_MEDIA_REMOVABLE, "Generic*", "STORAGE DEVICE*",
"*"}, /*quirks*/ DA_Q_NO_SYNC_CACHE
},
+ {
+ /*
+ * Y-E DATA USB Floppy Drive
+ */
+ {T_DIRECT, SIP_MEDIA_REMOVABLE, "Y-E DATA", "USB-FDU*",
+ "*"}, /*quirks*/ DA_Q_NO_SYNC_CACHE
+ },
};
static disk_strategy_t dastrategy;
%%%
Is there someone here willing to commit it for me or should I open a PR
for it?
Yours,
--
Ed Schouten <ed@fxq.nl>
WWW: http://g-rave.nl/
[-- Attachment #2 --]
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.3 (FreeBSD)
iD8DBQFEZH4+52SDGA2eCwURAm/vAJ9eswEsKn17HJY1j+6P3mhI5In51wCfSMSg
dVuZGKCie8ilXTv3mFpf6y0=
=i+I7
-----END PGP SIGNATURE-----
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20060512122326.GJ15353>
