kern/71818: support for DMR1000 USP flash pen/mp3 player

Luigi Rizzo rizzo at
Fri Sep 17 09:20:24 PDT 2004

>Number:         71818
>Category:       kern
>Synopsis:       support for DMR1000 USP flash pen/mp3 player
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    freebsd-bugs
>State:          open
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Fri Sep 17 16:20:23 GMT 2004
>Originator:     Luigi Rizzo
>Release:        RELENG_4
Univ di Pisa
System: FreeBSD 4.8-RELEASE FreeBSD 4.8-RELEASE #0: Mon Apr 7 20:59:56 PDT 2003 root at i386

RELENG_4 trying to use a USB Flash Pen/MP3 player labeled DMR1000
or DMR1128/DMR1256 (USB vendor 0x8206 Product 0x066f)
The one I have identifies as "Digital" "MP3 Music Player"

The device is recognised by umass, but accessing it with fdisk or
other things hangs. Upon investigation, it turns out that the device
does not like a couple of scsi commands (PREVENT_ALLOW_REMOV*
and SYNC_CACHE), and the following quirks suffice to remove
the problem and make everything work:


On 5.2.1 the quirk is not necessary, but i have not been able to
figure out why -- on both systems i believe the device tries to
use SCSI over BBB only, I have tried (in umass.c) to use different
protocols such as ATAPI or UFI but it did not help, nor it helped
to use DA_Q_NO_6_BYTE.


The attached patch (RELENG_4 only) fixes the problem.

Index: scsi_da.c
RCS file: /home/ncvs/src/sys/cam/scsi/scsi_da.c,v
retrieving revision
diff -u -r1.42.2.50 scsi_da.c
--- scsi_da.c	8 May 2004 04:02:34 -0000
+++ scsi_da.c	17 Sep 2004 15:57:55 -0000
@@ -312,6 +312,13 @@
+		 * DMR1000 USB Flash MP3 Player
+		 */
+		{T_DIRECT, SIP_MEDIA_REMOVABLE, "Digital", "MP3*", "*"},
+	},
+	{
+		/*
 		 * Neuros USB Digital Audio Computer
 		 * PR: kern/63645

More information about the freebsd-bugs mailing list