>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 [EMAIL 
PROTECTED]:/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:
_______________________________________________
[email protected] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-usb
To unsubscribe, send any mail to "[EMAIL PROTECTED]"

Reply via email to