don't mount virtual driver CD for my phone
Lowell Gilbert
freebsd-bugs-local at be-well.ilk.org
Mon Jan 14 19:12:35 UTC 2013
>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 at 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
More information about the freebsd-usb
mailing list