Using a 'Y-E DATA USB-FDU 6.01' on FreeBSD -CURRENT

Ed Schouten ed at fxq.nl
Fri May 12 12:23:28 UTC 2006


* Ed Schouten <ed at 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 at fxq.nl>
 WWW: http://g-rave.nl/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-scsi/attachments/20060512/02682ae0/attachment.pgp


More information about the freebsd-scsi mailing list