From owner-freebsd-usb@FreeBSD.ORG Mon Jan 14 19:12:35 2013 Return-Path: Delivered-To: freebsd-usb@freebsd.org Received: from mx1.freebsd.org (mx1.FreeBSD.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id B9A17D64 for ; Mon, 14 Jan 2013 19:12:35 +0000 (UTC) (envelope-from lowell@be-well.ilk.org) Received: from asbnvacz-mailrelay01.megapath.net (asbnvacz-mailrelay01.megapath.net [207.145.128.243]) by mx1.freebsd.org (Postfix) with ESMTP id 7C6F01BC for ; Mon, 14 Jan 2013 19:12:35 +0000 (UTC) Received: from mail7.sea5.speakeasy.net (mail7.sea5.speakeasy.net [69.17.117.52]) by asbnvacz-mailrelay01.megapath.net (Postfix) with ESMTP id A8A08A71987 for ; Mon, 14 Jan 2013 14:12:34 -0500 (EST) Received: (qmail 10897 invoked from network); 14 Jan 2013 19:12:34 -0000 Received: by simscan 1.4.0 ppid: 10368, pid: 16170, t: 0.1876s scanners: clamav: 0.88.2/m:52/d:13513 Received: from unknown (HELO be-well.ilk.org) ([66.92.78.145]) (envelope-sender ) by mail7.sea5.speakeasy.net (qmail-ldap-1.03) with SMTP for ; 14 Jan 2013 19:12:34 -0000 Received: from lowell-desk.lan (lowell-desk.lan [172.30.250.8]) by be-well.ilk.org (Postfix) with ESMTP id 6173C33C1D; Mon, 14 Jan 2013 14:12:28 -0500 (EST) Received: by lowell-desk.lan (Postfix, from userid 1147) id 2255539855; Mon, 14 Jan 2013 14:12:28 -0500 (EST) To: FreeBSD-gnats-submit@freebsd.org Subject: don't mount virtual driver CD for my phone From: Lowell Gilbert X-send-pr-version: 3.114 X-GNATS-Notify: Message-Id: <20130114191228.2255539855@lowell-desk.lan> Date: Mon, 14 Jan 2013 14:12:28 -0500 (EST) Cc: freebsd-usb@freebsd.org X-BeenThere: freebsd-usb@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list Reply-To: Lowell Gilbert List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 14 Jan 2013 19:12:35 -0000 >Submitter-Id: current-users >Originator: Lowell Gilbert >Organization: The Ilk >Confidential: no >Synopsis: don't mount virtual driver CD for my 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 auto-mount its faked-up driver CD when loaded. Sent this in a few minutes ago, but I spelled my own address wrong. I'll automate that before my next PR. >How-To-Repeat: [Requires my phone.] >Fix: I can move this to somewhere more relevant to my not-a-serial-port-device, but I'll need guidance on where that should be. Index: sys/dev/usb/serial/u3g.c =================================================================== --- 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