From owner-freebsd-usb@FreeBSD.ORG Wed May 12 01:49:49 2010 Return-Path: Delivered-To: freebsd-usb@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 0C474106564A for ; Wed, 12 May 2010 01:49:49 +0000 (UTC) (envelope-from tsmm@list.ru) Received: from fallback3.mail.ru (fallback3.mail.ru [94.100.176.58]) by mx1.freebsd.org (Postfix) with ESMTP id BAFD58FC21 for ; Wed, 12 May 2010 01:49:48 +0000 (UTC) Received: from f25.mail.ru (f25.mail.ru [217.69.129.91]) by fallback3.mail.ru (mPOP.Fallback_MX) with ESMTP id 0DCCB2389530 for ; Wed, 12 May 2010 05:34:34 +0400 (MSD) Received: from mail by f25.mail.ru with local id 1OC0qG-0003bI-00 for freebsd-usb@freebsd.org; Wed, 12 May 2010 05:34:32 +0400 Received: from [89.218.52.234] by win.mail.ru with HTTP; Wed, 12 May 2010 05:34:32 +0400 From: Mikhail TSaplin To: freebsd-usb@freebsd.org Mime-Version: 1.0 X-Mailer: mPOP Web-Mail 2.19 X-Originating-IP: [89.218.52.234] Date: Wed, 12 May 2010 05:34:32 +0400 Content-Type: text/plain; charset=koi8-r Content-Transfer-Encoding: 8bit Message-Id: X-Spam: Not detected X-Mras: Ok Subject: Huawei EC122 CDMA modem (u3g) X-BeenThere: freebsd-usb@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Mikhail TSaplin List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 12 May 2010 01:49:49 -0000 Hello All. I have Huawei EC122 CDMA modem. But it doesn't supported by u3g driver. I have disabled umass support in kernel config, and usbconfig shows: # usbconfig -u 0 -a 2 dump_device_desc ugen0.2: at usbus0, cfg=255 md=HOST spd=FULL (12Mbps) pwr=ON bLength = 0x0012 bDescriptorType = 0x0001 bcdUSB = 0x0110 bDeviceClass = 0x0000 bDeviceSubClass = 0x0000 bDeviceProtocol = 0x0000 bMaxPacketSize0 = 0x0040 idVendor = 0x12d1 idProduct = 0x1446 bcdDevice = 0x0000 iManufacturer = 0x0001 iProduct = 0x0002 iSerialNumber = 0x0004 <> bNumConfigurations = 0x0001 To attach this device by u3g driver I've added line to /sys/dev/usb/usbdevs: product HUAWEI EC122 0x1446 Huawei Mobile EC122 And in /sys/dev/usb/serial/u3g.c U3G_DEV(HUAWEI, E220, U3GFL_HUAWEI_INIT) After kernel recompiling, pluging device shows: u3g_huawei_init:270: usb_alloc_device:1779: Found Huawei auto-install disk! ugen0.2: at usbus0 Also i tried to use U3GFL_SCSI_EJECT bit: U3G_DEV(HUAWEI, EC122, U3GFL_SCSI_EJECT), Pluging device shows: usb_test_autoinstall:571: Eject CD command status: USB_ERR_NORMAL_COMPLETION usb_alloc_device:1779: Found Huawei auto-install disk! ugen0.2: at usbus0 Can you help me, what also i need to do? Regards Mikhail. M. TSaplin