Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 16 Oct 2014 08:31:10 +0200
From:      Hans Petter Selasky <hps@bitfrost.no>
To:        gabor@zahemszky.hu, freebsd-usb@freebsd.org
Subject:   Re: u3g and Vodafone k3772 (not k3772z)
Message-ID:  <543F662E.2010801@bitfrost.no>
In-Reply-To: <c5c1344ad4a64cd91e769a0e0fd750aa@zahemszky.hu>
References:  <c5c1344ad4a64cd91e769a0e0fd750aa@zahemszky.hu>

next in thread | previous in thread | raw e-mail | index | archive | help
Hi,

On 10/15/14 22:33, gabor@zahemszky.hu wrote:
> 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: <Vodafone Mobile Broadband Huawei Vodafone Huawei> 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  <Vodafone (Huawei)>
>    iProduct = 0x0001  <Vodafone Mobile Broadband (Huawei)>
>    iSerialNumber = 0x0000  <no string>
>    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.
> #

Did you load the u3g and usb_quirk modules first?

>
> 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?
>

Modeswitch is available under FreeBSD too. Check the ports collection. 
Although we prefer putting the quirks into the kernel.

--HPS




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?543F662E.2010801>