From owner-freebsd-usb@FreeBSD.ORG Wed Oct 15 20:49:15 2014 Return-Path: Delivered-To: freebsd-usb@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 54E7B679 for ; Wed, 15 Oct 2014 20:49:15 +0000 (UTC) Received: from smtp-5-out.integrity.hu (smtp-5-out.integrity.hu [212.52.165.215]) by mx1.freebsd.org (Postfix) with ESMTP id 12C90E87 for ; Wed, 15 Oct 2014 20:49:14 +0000 (UTC) Received: from webmail.integrity.hu (mail-fe-1.integrity.hu [10.1.64.120]) by mail-smtp.integrity.hu (Postfix) with ESMTPA id 88DBC40CDC for ; Wed, 15 Oct 2014 22:33:08 +0200 (CEST) Received: from 1cAPkyJnioQRY4FGs6bqzTqnBFNP8fV8f8UvvIC9V9PR9AkQK6Mu0Q== (L4K29zRbuos6UNLCvWb1UY189iGi+1Y3) by webmail.integrity.hu with HTTP (HTTP/1.1 POST); Wed, 15 Oct 2014 22:33:08 +0200 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Date: Wed, 15 Oct 2014 22:33:08 +0200 From: gabor@zahemszky.hu To: Subject: u3g and Vodafone k3772 (not k3772z) Message-ID: X-Sender: gabor@zahemszky.hu User-Agent: Roundcube Webmail/0.8.4 X-BeenThere: freebsd-usb@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 15 Oct 2014 20:49:15 -0000 Hi! I borrowed a Vodafone - Huawei K3772 Mobile stick for some days. It's a bit disappointing, that I could not use it under FreeBSD. This 3g modem is made by Huawei (the K3772z is made by ZTE) with vendorID: 0x12d1 and productID: 0x1526. # usbconfig -d 4.3 dump_device_desc ugen4.3: at usbus4, cfg=255 md=HOST spd=HIGH (480Mbps) pwr=ON (500mA) bLength = 0x0012 bDescriptorType = 0x0001 bcdUSB = 0x0200 bDeviceClass = 0x0000 bDeviceSubClass = 0x0000 bDeviceProtocol = 0x0000 bMaxPacketSize0 = 0x0040 idVendor = 0x12d1 idProduct = 0x1526 bcdDevice = 0x0102 iManufacturer = 0x0002 iProduct = 0x0001 iSerialNumber = 0x0000 bNumConfigurations = 0x0001 I tried to switch it to USB-modem mode, but none of the usb_quirks worked. And with EJECT_HUAWEI, I got an error, too. # usbconfig -d ugen4.3 add_quirk UQ_MSC_EJECT_HUAWEI Adding quirk 'UQ_MSC_EJECT_HUAWEI' failed, continuing. # Under Linux, with usb_modeswitch, I could switch it to modem, with the MessageContent="55534243123456780000000000000011062000000100000000000000000000" string, and after it, it will be Vendor=12d1 ProdID=14cf. There are some interesting information about this modem in this forum thread: http://www.draisberghof.de/usb_modeswitch/bb/viewtopic.php?f=4&t=1114 Is it possible, to use this modem under FreeBSD? And if yes, how? Thanks, Zahemszky, Gabor < Gabor at Zahemszky dot HU >