Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 7 Feb 2002 22:39:30 +0100 (CET)
From:      Oliver Fromme <olli@secnetix.de>
To:        FreeBSD-gnats-submit@freebsd.org
Cc:        Oliver Fromme <olli@secnetix.de>
Subject:   kern/34712: [patch] SCSI quirk for USB Memorybird
Message-ID:  <200202072139.g17LdUs01488@lurza.secnetix.de>

next in thread | raw e-mail | index | archive | help

>Number:         34712
>Category:       kern
>Synopsis:       [patch] SCSI quirk for USB Memorybird
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Thu Feb 07 13:40:00 PST 2002
>Closed-Date:
>Last-Modified:
>Originator:     Oliver Fromme
>Release:        FreeBSD 4.5-RELEASE i386
>Organization:
secnetix GmbH & Co KG
>Environment:
System: FreeBSD lurza.secnetix.de 4.5-RELEASE FreeBSD 4.5-RELEASE #0: Thu Feb 7 22:12:04 CET 2002 olli@lurza.secnetix.de:/usr/src/sys/compile/LURZA i386

>Description:

   The USB Memorybird (Fujitsu-Siemens) requires a SCSI quirk
   for operation (it doesn't handle 6-byte SCSI read commands).
   FYI, the Memorybird is a small, pen-shaped, battery-less
   flash memory device.  For more information on the hardware:
   http://www.fujitsu-siemens.com/rl/peripherals/homeperipherals/memorybird.html

>How-To-Repeat:

   Connect a Memorybird to the USB port and try to access it.
   You'll get messages like this:

   umass0: BBB reset failed, TIMEOUT
   umass0: BBB bulk-in clear stall failed, TIMEOUT
   umass0: BBB bulk-out clear stall failed, TIMEOUT

   With the patch below attached, everything works perfectly
   fine.

>Fix:

--- src/sys/cam/scsi/scsi_da.c.orig	Mon Jan 14 10:25:43 2002
+++ src/sys/cam/scsi/scsi_da.c	Thu Feb  7 22:07:33 2002
@@ -345,6 +345,14 @@
 		 */
 		{T_DIRECT, SIP_MEDIA_REMOVABLE, "DIVA USB", "Media Reader","*"},
 		/*quirks*/ DA_Q_NO_6_BYTE
+	},
+	{
+		/*
+		 * Fujitsu-Siemens Memorybird.
+		 * Doesn't work correctly with 6 byte reads/writes.
+		 */
+		{T_DIRECT, SIP_MEDIA_REMOVABLE, "Fujitsu", "Memorybird", "*"},
+		/*quirks*/ DA_Q_NO_6_BYTE
 	}
 };
 
>Release-Note:
>Audit-Trail:
>Unformatted:

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-bugs" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200202072139.g17LdUs01488>