usb/137789: Add quirks for EeePC 901 SD card reader

OISHI Masakuni yamasa at bsdhouse.org
Sat Aug 15 06:50:05 UTC 2009


>Number:         137789
>Category:       usb
>Synopsis:       Add quirks for EeePC 901 SD card reader
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    freebsd-usb
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Sat Aug 15 06:50:04 UTC 2009
>Closed-Date:
>Last-Modified:
>Originator:     OISHI Masakuni
>Release:        FreeBSD 8.0-BETA2 i386
>Organization:
>Environment:
>Description:
When I use ZFS, "Synchronize cache failed" error occurs repeatedly.

> (da0:umass-sim0:0:0:0): Synchronize cache failed, status == 0x4, scsi status == 0x0
>How-To-Repeat:

>Fix:
Add quirks NO_TEST_UNIT_READY and NO_SYNCHRONIZE_CACHE.

Patch attached with submission follows:

--- sys/dev/usb/storage/umass.c.orig	2009-06-27 06:47:37.000000000 +0900
+++ sys/dev/usb/storage/umass.c	2009-08-15 15:15:24.427911742 +0900
@@ -412,6 +412,10 @@
 		UMASS_PROTO_DEFAULT,
 		NO_SYNCHRONIZE_CACHE
 	},
+	{USB_VENDOR_ALCOR, USB_PRODUCT_ALCOR_SDCR_6335, RID_WILDCARD,
+		UMASS_PROTO_DEFAULT,
+		NO_TEST_UNIT_READY | NO_SYNCHRONIZE_CACHE
+	},
 	{USB_VENDOR_ALCOR, USB_PRODUCT_ALCOR_AU6390, RID_WILDCARD,
 		UMASS_PROTO_DEFAULT,
 		NO_SYNCHRONIZE_CACHE
--- sys/dev/usb/usbdevs.orig	2009-07-31 03:53:06.000000000 +0900
+++ sys/dev/usb/usbdevs	2009-08-15 15:15:24.408907930 +0900
@@ -820,6 +820,7 @@
 /* Alcor Micro, Inc. products */
 product ALCOR2 KBD_HUB		0x2802	Kbd Hub
 
+product ALCOR SDCR_6335		0x6335	SD/MMC Card Reader
 product ALCOR TRANSCEND		0x6387	Transcend JetFlash Drive
 product ALCOR MA_KBD_HUB	0x9213	MacAlly Kbd Hub
 product ALCOR AU9814		0x9215	AU9814 Hub


>Release-Note:
>Audit-Trail:
>Unformatted:


More information about the freebsd-usb mailing list