Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 14 Jan 2013 12:06:58 -0500 (EST)
From:      Lowell Gilbert <freebsd-bug-local@be-well.ilk.org>
To:        FreeBSD-gnats-submit@freebsd.org
Cc:        freebsd-usb@freebsd.org
Subject:   [PATCH] disable fake CD mount for Atria HD phone
Message-ID:  <20130114170658.C6ED539855@lowell-desk.lan>

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

>Submitter-Id:	current-users
>Originator:	Lowell Gilbert
>Organization:	The Ilk
>Confidential:	no 
>Synopsis:	[PATCH] disable fake CD mount for Atria HD phone
>Severity:	non-critical
>Priority:	low
>Category:	usb
>Class:		change-request
>Release:	FreeBSD 9.1-STABLE amd64
>Environment:
System: FreeBSD lowell-desk.lan 9.1-STABLE FreeBSD 9.1-STABLE #9 r245177M: Wed Jan 9 06:47:54 EST 2013 root@lowell-desk.lan:/usr/obj/usr/src/sys/LOWELL64 amd64


	
>Description:
	

Add another device that shouldn't mount the fake CD device presented
for Windows/MAC drivers.

>How-To-Repeat:
Requires Motorola MB886 phone
>Fix:

	


May not be the most elegant solution, but it works...

===================================================================
--- sys/dev/usb/serial/u3g.c    (revision 245177)
+++ sys/dev/usb/serial/u3g.c    (working copy)
@@ -555,6 +555,7 @@
        U3G_DEV(YISO, C893, 0),
        /* Autoinstallers */
        U3G_DEV(NOVATEL, ZEROCD, U3GINIT_SCSIEJECT),
+       U3G_DEV(MOTOROLA2, MB886, U3GINIT_SCSIEJECT),
        U3G_DEV(OPTION, GTICON322, U3GINIT_REZERO),
        U3G_DEV(QUALCOMMINC, ZTE_STOR, U3GINIT_ZTESTOR),
        U3G_DEV(QUALCOMMINC, ZTE_STOR2, U3GINIT_SCSIEJECT),
Index: sys/dev/usb/usbdevs
===================================================================
--- sys/dev/usb/usbdevs (revision 245177)
+++ sys/dev/usb/usbdevs (working copy)
@@ -2930,6 +2930,7 @@
 /* Motorola products */
 product MOTOROLA MC141555      0x1555  MC141555 hub controller
 product MOTOROLA SB4100                0x4100  SB4100 USB Cable Modem
+product MOTOROLA2 MB886                0x710f  MB886 Mobile Phone (Atria HD)
 product MOTOROLA2 T720C                0x2822  T720c
 product MOTOROLA2 A41XV32X     0x2a22  A41x/V32x Mobile Phones
 product MOTOROLA2 E398         0x4810  E398 Mobile Phone



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