Date: Fri, 26 May 2006 06:01:57 GMT From: Alexei Volkov <kot@kotzone.ru> To: freebsd-gnats-submit@FreeBSD.org Subject: kern/97948: CMOTECH CDMA USB modem support Message-ID: <200605260601.k4Q61vWP022509@www.freebsd.org> Resent-Message-ID: <200605260610.k4Q6ACMr021144@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 97948 >Category: kern >Synopsis: CMOTECH CDMA USB modem support >Confidential: no >Severity: non-critical >Priority: medium >Responsible: freebsd-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: change-request >Submitter-Id: current-users >Arrival-Date: Fri May 26 06:10:12 GMT 2006 >Closed-Date: >Last-Modified: >Originator: Alexei Volkov >Release: 6.1-STABLE >Organization: >Environment: FreeBSD kotm.vladimir.psb 6.1-STABLE FreeBSD 6.1-STABLE #2: Thu May 25 16:15:07 MSD 2006 root@kotm.vladimir.psb:/usr/obj/u sr/src/sys/psbgate i386 >Description: After attaching CMOTECH CDMA USB modem with preloaded ucom and umodem kernel modules it appears as ucom device and immideatly detached with following error: May 25 15:02:49 kotm kernel: ucom0: CMOTECH CO., LTD. CMOTECH CDMA Technologies, rev 1.01/0.00, addr 2, iclass 2/2 May 25 15:02:49 kotm kernel: ucom0: data interface 1, has CM over data, has break May 25 15:02:54 kotm kernel: ucom0: could not set data multiplex mode May 25 15:02:54 kotm kernel: device_attach: ucom0 attach returned 6 May 25 15:02:56 kotm kernel: ucom0: at uhub1 port 1 (addr 2) disconnected Meanwhile usbdevs reports following detection of this device: kotm# usbdevs -v Controller /dev/usb0: addr 1: full speed, self powered, config 1, OHCI root hub(0x0000), SiS(0x0000), rev 1.00 port 1 powered port 2 powered Controller /dev/usb1: addr 1: full speed, self powered, config 1, OHCI root hub(0x0000), SiS(0x0000), rev 1.00 port 1 powered port 2 addr 2: full speed, power 100 mA, config 1, CMOTECH CDMA Technologies(0x5141), CMOTECH CO., LTD.(0x16d8), rev 0.00 >How-To-Repeat: #kldload ucom #kldload umodem Attach CMOTECH CDMA USB modem watching console messages. >Fix: Preset special quirk UQ_ASSUME_CM_OVER_DATA for this device in usb_quirks.c using following patch: --- /usr/src/sys/dev/usb/usbdevs Sat Mar 18 23:30:25 2006 +++ /usr/src/sys/dev/usb/usbdevs Fri May 26 09:44:11 2006 @@ -537,6 +537,7 @@ vendor SITECOM 0x6189 Sitecom vendor INTEL 0x8086 Intel vendor HP2 0xf003 Hewlett Packard +vendor CMOTECH 0x16d8 CMOTECH CO., LTD. /* * List of known products. Grouped by vendor. @@ -1628,3 +1629,7 @@ /* ZyXEL Communication Co. products */ product ZYXEL OMNI56K 0x1500 Omni 56K Plus product ZYXEL 980N 0x2011 Scorpion-980N keyboard + +/* CMOTECH products */ +product CMOTECH CDMA 0x5141 CMOTECH CDMA Technologies USB modem + --- /usr/src/sys/dev/usb/usb_quirks.c Thu Feb 16 01:51:08 2006 +++ /usr/src/sys/dev/usb/usb_quirks.c Fri May 26 09:44:11 2006 @@ -110,6 +110,7 @@ ANY, { UQ_HID_IGNORE }}, { USB_VENDOR_MGE, USB_PRODUCT_MGE_UPS2, ANY, { UQ_HID_IGNORE }}, + { USB_VENDOR_CMOTECH, USB_PRODUCT_CMOTECH_CDMA, ANY, {UQ_ASSUME_CM_OVER_DATA}}, { 0, 0, 0, { 0 } } }; >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200605260601.k4Q61vWP022509>