I added a new vendor and product id to usbdevs and allowed umsm.c to use
the new id. The only issue I have is that the hex number assigned to the
id is the same as another vendors. I think this is required because when
I used usbdevs -v before making changes, that is the hex number given
and I had previously failed to make umsm attach to the device with only
a vendor/product change with config on the umsm* device. I have no way
to test if this conflicts and usb(4) does say that additional checks are
made when a device is attached aside from the hex vendor id, so I think
it should be ok. In addition, I have only tested this on i386.
With this change, the Pantech UM175 evdo modem works great. It is a
Qualcomm chipset. I find the best speed/baud-rate is 921600 when running
with pppd.
Please, let me know if the diff is ok, or if not what is wrong and I'll fix it.
--Dan
Index: usbdevs
===================================================================
RCS file: /cvs/src/sys/dev/usb/usbdevs,v
retrieving revision 1.435
diff -u -r1.435 usbdevs
--- usbdevs 22 May 2009 16:01:37 -0000 1.435
+++ usbdevs 23 May 2009 08:21:33 -0000
@@ -443,6 +443,7 @@
vendor MOTOROLA 0x1063 Motorola
vendor CCYU 0x1065 CCYU Technology
vendor AUDIOVOX 0x106c Audiovox
+vendor PANTECH 0x106c Pantech
vendor SILABS2 0x10a6 SILABS2
vendor USI 0x10ab USI
vendor PLX 0x10b5 PLX
@@ -2292,6 +2293,9 @@
product PALM TUNGSTEN_T 0x0060 Palm Tungsten T
product PALM ZIRE_31 0x0061 Palm Zire 31
product PALM ZIRE 0x0070 Palm Zire
+
+/*Pantech products*/
+product PANTECH UM175 0x3714 Pantech UM175 Modem
/* Panasonic products */
product PANASONIC LS120 0x0901 LS-120
Index: umsm.c
===================================================================
RCS file: /cvs/src/sys/dev/usb/umsm.c,v
retrieving revision 1.46
diff -u -r1.46 umsm.c
--- umsm.c 12 May 2009 04:13:01 -0000 1.46
+++ umsm.c 23 May 2009 08:23:23 -0000
@@ -167,6 +167,8 @@
{{ USB_VENDOR_OPTION, USB_PRODUCT_OPTION_SCORPION }, 0},
{{ USB_VENDOR_OPTION, USB_PRODUCT_OPTION_VODAFONEMC3G }, 0},
+ {{ USB_VENDOR_PANTECH, USB_PRODUCT_PANTECH_UM175} ,0},
+
{{ USB_VENDOR_SIERRA, USB_PRODUCT_SIERRA_EM5625 }, 0},
{{ USB_VENDOR_SIERRA, USB_PRODUCT_SIERRA_MC5720 }, 0},
{{ USB_VENDOR_SIERRA, USB_PRODUCT_SIERRA_AIRCARD_595 }, 0},