Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 22 Sep 2008 21:57:38 GMT
From:      Alex <freebsd.alex@spamfoodie.com>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   usb/127549: Meizu MiniPlayer M6 (SL) requires some quirks
Message-ID:  <200809222157.m8MLvcT0038488@www.freebsd.org>
Resent-Message-ID: <200809222200.m8MM08GM020277@freefall.freebsd.org>

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

>Number:         127549
>Category:       usb
>Synopsis:       Meizu MiniPlayer M6 (SL) requires some quirks
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-usb
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Mon Sep 22 22:00:08 UTC 2008
>Closed-Date:
>Last-Modified:
>Originator:     Alex
>Release:        7-STABLE
>Organization:
>Environment:
FreeBSD moshnroll 7.1-PRERELEASE FreeBSD 7.1-PRERELEASE #2: Mon Sep 22 22:13:07 CEST 2008     root@moshnroll:/usr/obj/usr/src/sys/ARUNDEL  i386
>Description:
attaching this device:

umass0: <Meizu   Electronics MiniPlayer, class 0/0, rev 2.00/1.00, addr 2> on uhub3

result in the following error:

(cd0:umass-sim0:0:0:0): got CAM status 0x4
(cd0:umass-sim0:0:0:0): fatal error, failed to attach to device
(cd0:umass-sim0:0:0:0): lost device


here's the output of usbdevs -v

 port 2 addr 2: high speed, power 100 mA, config 1, MiniPlayer(0x0140), Meizu   Electronics(0x0492), rev 1.00
>How-To-Repeat:
simply attach the device to a usb port
>Fix:
apply the following patch. please replace the line "PR: XYZ" in scsi_da.c with this PR-number. thanks.

Patch attached with submission follows:

--- sys/cam/scsi/scsi_da.c	2008-09-22 23:19:05.000000000 +0200
+++ sys/cam/scsi/scsi_da.c.new	2008-09-22 23:43:16.000000000 +0200
@@ -546,7 +546,16 @@
 	{
 		{T_DIRECT, SIP_MEDIA_REMOVABLE, "Netac", "OnlyDisk*",
 		 "2000"}, /*quirks*/ DA_Q_NO_SYNC_CACHE
-	}
+	},
+	{
+		/*
+		 * Meizu MiniPlayer M6 (SL)
+		 * PR: XYZ
+		 */
+		{T_DIRECT, SIP_MEDIA_REMOVABLE, "MEIZU", "MiniPlayer M6 (SL)",
+		"*"}, /*quirks*/ DA_Q_NO_SYNC_CACHE
+        }
+
 };
 
 static	disk_strategy_t	dastrategy;
--- sys/dev/usb/umass.c	2008-09-22 23:17:35.000000000 +0200
+++ sys/dev/usb/umass.c.new	2008-09-22 23:35:24.000000000 +0200
@@ -518,6 +518,10 @@
 	  UMASS_PROTO_SCSI | UMASS_PROTO_BBB,
 	  NO_QUIRKS
 	},
+	{ USB_VENDOR_MEIZU, USB_PRODUCT_MEIZU_M6_SL, RID_WILDCARD,
+	  UMASS_PROTO_SCSI | UMASS_PROTO_BBB,
+	  NO_INQUIRY | NO_SYNCHRONIZE_CACHE
+	},
 	{ USB_VENDOR_MELCO,  USB_PRODUCT_MELCO_DUBPXXG, RID_WILDCARD,
 	  UMASS_PROTO_SCSI | UMASS_PROTO_BBB,
 	  FORCE_SHORT_INQUIRY | NO_START_STOP | IGNORE_RESIDUE
--- sys/dev/usb/usbdevs	2008-09-22 23:18:26.000000000 +0200
+++ sys/dev/usb/usbdevs.new	2008-09-22 23:33:37.000000000 +0200
@@ -151,6 +151,7 @@
 vendor KYOCERA		0x0482	Kyocera Wireless Corp.
 vendor STMICRO		0x0483	STMicroelectronics
 vendor FOXCONN		0x0489	Foxconn
+vendor MEIZU		0x0492	Meizu Electronics
 vendor YAMAHA		0x0499	YAMAHA
 vendor COMPAQ		0x049f	Compaq
 vendor HITACHI		0x04a4	Hitachi
@@ -1609,6 +1610,9 @@
 product MCT USB232		0x0210	USB-232 Interface
 product MCT SITECOM_USB232	0x0230	Sitecom USB-232 Products
 
+/* Meizu Electronics */
+product	MEIZU M6_SL		0x0140	MiniPlayer M6 (SL)
+
 /* Melco, Inc products */
 product MELCO LUATX1		0x0001	LUA-TX Ethernet
 product MELCO LUATX5		0x0005	LUA-TX Ethernet


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



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