Hi there,
Sorry for my English(

I added a new product id to usbdevs and allowed umsm.c to use
the new id:

--- usbdevs_    Sat May 17 22:27:13 2014
+++ usbdevs     Sun May 18 19:52:44 2014
@@ -2163,6 +2163,8 @@ product HUMAX PVRSMART
0x138c  PVR-SMART /* Hyundai CuriTel (Audiovox, Pantech) products
*/ product HYUNDAI PC5740               0x3701  PC5740 EVDO
 product HYUNDAI UM175          0x3714  UM175 EVDO
+product HYUNDAI UM185             0x3717       UM185
+product HYUNDAI UM185CD        0x3b06  UM185 CD
 
 /* IBM Corporation */
 product IBM OPTTRAVELMOUSE     0x3107  Optical


--- umsm.c_     Sat May 17 22:26:40 2014
+++ umsm.c      Sun May 18 20:32:59 2014
@@ -151,6 +151,8 @@ static const struct umsm_type umsm_devs[] = {
        {{ USB_VENDOR_HUAWEI,   USB_PRODUCT_HUAWEI_E1752 }, 0},
 
        {{ USB_VENDOR_HYUNDAI,  USB_PRODUCT_HYUNDAI_UM175 }, 0},
+       {{ USB_VENDOR_HYUNDAI,  USB_PRODUCT_HYUNDAI_UM185 }, 0},
+       {{ USB_VENDOR_HYUNDAI,  USB_PRODUCT_HYUNDAI_UM185CD },
DEV_UMASS4}, 
        {{ USB_VENDOR_LONGCHEER, USB_PRODUCT_LONGCHEER_D21LCMASS },
DEV_UMASS3}, {{ USB_VENDOR_LONGCHEER, USB_PRODUCT_LONGCHEER_D21LC }, 0},

but it's not works:

dmesg:

umsm0 at uhub3 port 4 configuration 1 interface 0 "PANTECH USB MMC
Storage" rev 2.00/1.00 addr 6 
umsm0 detached
umsm0 at uhub3 port 4 configuration 1 interface 0 "PANTECH PANTECH USB
MODEM" rev 1.10/1.00 addr 6 
umsm0: missing endpoint
umsm1 at uhub3 port 4 configuration 1 interface 1 "Hyundai UM185" rev
1.10/1.00 addr 6 
ucom0 at umsm1
umsm2 at uhub3 port 4 configuration 1 interface 2 "Hyundai UM185" rev
1.10/1.00 addr 6 
ucom1 at umsm2

usbdevs:

Controller /dev/usb0:
addr 6: full speed, power 100 mA, config 1, UM185(0x3717),
Hyundai(0x106c), rev 1.00 
  umsm0
  umsm1
  umsm2

cu -l   cuaU0
        cuaU1
        ttyU0
        ttyU1

cu: open("/dev/cuaU0"): Input/output error
cu: open("/dev/cuaU1"): Input/output error
cu: open("/dev/ttyU0"): Input/output error
cu: open("/dev/ttyU1"): Input/output error

(http://www.mycricket.com/assets/datacard/7db3336061b29e987d94319dd010faa1.pdf
- User Manual)

OpenBSD 5.5-release AMD64

-- 
http://www.juef.tk/

Reply via email to