Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 27 Dec 2006 09:49:37 -0800 (PST)
From:      "Eugene M. Kim" <freebsd.org@ab.ote.we.lv>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   usb/107248: [PATCH] scsi_da.c quirk for Cowon iAUDIO X5 MP3 player
Message-ID:  <200612271749.kBRHnbXh001843@bbq.nttmcl.com>
Resent-Message-ID: <200612271810.kBRIADPR068005@freefall.freebsd.org>

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


>Number:         107248
>Category:       usb
>Synopsis:       [PATCH] scsi_da.c quirk for Cowon iAUDIO X5 MP3 player
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    freebsd-usb
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Wed Dec 27 18:10:13 GMT 2006
>Closed-Date:
>Last-Modified:
>Originator:     Eugene M. Kim
>Release:        FreeBSD 6.2-PRERELEASE i386
>Organization:
>Environment:
System: FreeBSD bbq.nttmcl.com 6.2-PRERELEASE FreeBSD 6.2-PRERELEASE #4: Wed Dec 20 13:17:18 PST 2006 gene@bbq.nttmcl.com:/home/FreeBSD/build/RELENG_6/obj/home/FreeBSD/build/RELENG_6/src/sys/BBQ i386


	
>Description:
iAUDIO X5 (from Cowon), when operating on the USB OTG (on-the-go) port,
does not work--it does not support SYNCHRONIZE CACHE requests.

dmesg excerpt:

    da7: <COWON iAUDIO X5 0100> Removable Direct Access SCSI-0 device 
    da7: 40.000MB/s transfers
    da7: 28615MB (58605120 512 byte sectors: 255H 63S/T 3648C)
    umass3: Phase Error, residue = 512
    umass3: Phase Error, residue = 512
    umass3: Phase Error, residue = 512
    (da7:umass-sim3:3:0:0): Synchronize cache failed, status == 0x4, scsi status == 0x0
>How-To-Repeat:
Plug in the MP3 player using the OTG USB port on the right side.
>Fix:
Apply the following patch (tested on RELENG_6):

--- src/sys/cam/scsi/scsi_da.c.old	Wed Nov 29 14:39:41 2006
+++ src/sys/cam/scsi/scsi_da.c	Wed Dec 27 09:42:10 2006
@@ -459,6 +459,14 @@
 		{T_DIRECT, SIP_MEDIA_REMOVABLE, "iriver", "H10*",
 		"*"}, /*quirks*/ DA_Q_NO_SYNC_CACHE
        },
+	{
+		/*
+		 * Cowon iAUDIO X5 MP3 player, OTG mode
+		 * PR: usb/XXXXXX
+		 */
+		{T_DIRECT, SIP_MEDIA_REMOVABLE, "COWON", "iAUDIO X5",
+		"*"}, /*quirks*/ DA_Q_NO_SYNC_CACHE
+	},
 };
 
 static	disk_strategy_t	dastrategy;
>Release-Note:
>Audit-Trail:
>Unformatted:



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