From owner-freebsd-usb@FreeBSD.ORG Fri May 12 12:23:28 2006 Return-Path: X-Original-To: freebsd-usb@freebsd.org Delivered-To: freebsd-usb@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 9D40116A401; Fri, 12 May 2006 12:23:28 +0000 (UTC) (envelope-from ed@hoeg.nl) Received: from palm.hoeg.nl (mx0.hoeg.nl [83.98.131.211]) by mx1.FreeBSD.org (Postfix) with ESMTP id 3FDF443D49; Fri, 12 May 2006 12:23:28 +0000 (GMT) (envelope-from ed@hoeg.nl) Received: by palm.hoeg.nl (Postfix, from userid 1000) id 0B87917101; Fri, 12 May 2006 14:23:27 +0200 (CEST) Date: Fri, 12 May 2006 14:23:26 +0200 From: Ed Schouten To: FreeBSD USB , FreeBSD SCSI , Nate Lawson Message-ID: <20060512122326.GJ15353@hoeg.nl> References: <20060512114625.GH15353@hoeg.nl> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="KivvIhzwof7oiYMy" Content-Disposition: inline In-Reply-To: <20060512114625.GH15353@hoeg.nl> User-Agent: Mutt/1.5.11 Cc: Subject: Re: Using a 'Y-E DATA USB-FDU 6.01' on FreeBSD -CURRENT X-BeenThere: freebsd-usb@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 12 May 2006 12:23:28 -0000 --KivvIhzwof7oiYMy Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable * Ed Schouten wrote: > | umass0: o= n uhub1 > | da0 at umass-sim0 bus 0 target 0 lun 0 > | da0: Removable Direct Access SCSI-0 device=20 > | 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 =3D=3D 0x6, sc= si status =3D=3D 0x0 > | umass0: Unsupported UFI command 0x35 > | (da0:umass-sim0:0:0:0): Synchronize cache failed, status =3D=3D 0x6, sc= si status =3D=3D 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 + }, }; =20 static disk_strategy_t dastrategy; %%% Is there someone here willing to commit it for me or should I open a PR for it? Yours, --=20 Ed Schouten WWW: http://g-rave.nl/ --KivvIhzwof7oiYMy Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.3 (FreeBSD) iD8DBQFEZH4+52SDGA2eCwURAm/vAJ9eswEsKn17HJY1j+6P3mhI5In51wCfSMSg dVuZGKCie8ilXTv3mFpf6y0= =i+I7 -----END PGP SIGNATURE----- --KivvIhzwof7oiYMy--