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

[ Available lists | Index of freebsd-scsi | Month of May 2006 | Week of 12 May 2006 | Raw email | View thread | Wrap long lines | Reply | Tag ]
From
Ed Schouten <ed@fxq.nl>
Date
12 May 2006 12:23:28
Subject
Re: Using a 'Y-E DATA USB-FDU 6.01' on FreeBSD -CURRENT
Message-ID
20060512122326.GJ15353@hoeg.nl


[ Hide this part ]
* 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/


[ Show this part (application/pgp-signature) ]

Elapsed time: 0.188 seconds