Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 07 Jan 2002 10:47:17 +0200
From:      Olexander Kunytsa <kunia@ukma.kiev.ua>
To:        FreeBSD-gnats-submit@freebsd.org
Subject:   kern/33638: quirk for DIVA USB Mp3 player
Message-ID:  <E16NVR7-0001LG-00@enigma.x-telecom.net>

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

>Number:         33638
>Category:       kern
>Synopsis:       quirk for DIVA USB Mp3 player
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    freebsd-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Mon Jan 07 00:50:01 PST 2002
>Closed-Date:
>Last-Modified:
>Originator:     Olexander Kunytsa
>Release:        FreeBSD 5.0-CURRENT i386
>Organization:
XTC
>Environment:
System: FreeBSD enigma.x-telecom.net 5.0-CURRENT FreeBSD 5.0-CURRENT #3: Mon Jan 7 04:36:57 EET 2002 root@enigma.x-telecom.net:/usr/obj/usr/src/sys/CURRENT i386


>Description:
	DIVA USB Mp3 player is attached as umass device, it is detected on
	booting as:
da0: <DIVA USB Media Reader 2.06> Removable Direct Access SCSI-0 device
	but it fails to be mounted or hexdumped, thus it works under windoze 
	and linux-2.4

>How-To-Repeat:
	On system with attached DIVA (www.mydivaplayer.com):
$hd /dev/da0
umass0: Phase Error, residue = 0
umass0: BBB reset failed, STALLED
umass0: Phase Error, residue = 0
umass0: BBB reset failed, STALLED
umass0: Phase Error, residue = 0
umass0: BBB reset failed, STALLED
umass0: Phase Error, residue = 0
umass0: BBB reset failed, STALLED
umass0: Phase Error, residue = 0
umass0: BBB reset failed, STALLED
da0: reading primary partition table: error reading fsbn 0

>Fix:

	Apply this patch (I'd like to have it MFC'ed ASAP) :

--- /sys/cam/scsi/scsi_da.c     Mon Jan  7 05:32:56 2002
+++ scsi_da.c   Mon Jan  7 10:34:18 2002
@@ -339,6 +339,13 @@
                 */
                {T_DIRECT, SIP_MEDIA_REMOVABLE, "Nikon", "Digital Camera", "*"},
                /*quirks*/ DA_Q_NO_6_BYTE
+       },{
+               /*
+                * DIVA USB Mp3 Player.
+                * Doesn't work correctly with 6 byte reads/writes.
+                */
+               {T_DIRECT, SIP_MEDIA_REMOVABLE, "DIVA USB", "Media Reader","*"},
+               /*quirks*/ DA_Q_NO_6_BYTE
        },
        {
                /*


P.S. This patch corrects SCSI-layer DIVA's problem, but one more problem is on 
	uhub: it fails to attach DIVA after disconnecting. At the moment I can
	use the player only with detaching on boot.
>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?E16NVR7-0001LG-00>