Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 16 Sep 2014 22:43:34 +0200
From:      Maciej Milewski <milu@dat.pl>
To:        Milan Obuch <freebsd-current@dino.sk>
Cc:        freebsd-current@FreeBSD.ORG, nick@van-laarhoven.org
Subject:   Re: Huawei E3272 tester needed
Message-ID:  <5418A0F6.6020207@dat.pl>
In-Reply-To: <20140916221812.649a1756@zeta.dino.sk>
References:  <C1C9CCA7-251E-49A8-894B-E558DB169D0B@van-laarhoven.org>	<20140916165257.3a0cee9b@zeta.dino.sk>	<541895C6.3030304@dat.pl> <20140916221812.649a1756@zeta.dino.sk>

next in thread | previous in thread | raw e-mail | index | archive | help
On 16.09.2014 22:18, Milan Obuch wrote:
> On Tue, 16 Sep 2014 21:55:50 +0200
> Maciej Milewski <milu@dat.pl> wrote:
>
>> On 16.09.2014 16:52, Milan Obuch wrote:
>>> On Tue, 16 Sep 2014 09:40:45 +0200
>>> Nick Hibma <nick@van-laarhoven.org> wrote:
>>>
>>>> Hi,
>>>>
>>>> Is there someone who is able to test support for the Huawei E3272
>>>> card with CURRENT after 269584? I have not been able to confirm
>>>> that it works.
>>>>
>>>> Thanks in advance.
>>>>
>>>> Nick
>>>>
>>> Hi,
>>>
>>> I did fresh svn update, rebuilt world+kernel, but it does not work
>>> for me...
> [ snip ]
>
>>> I tried attach/detach device beore and after loading u3g (just in
>>> case...) and if_cdce kernel modules, but I saw no changes.
>>>
>>> From 'usbconfig dump_device_desc':
>>>
>>> ugen1.3: <HUAWEI Mobile HUAWEI Technology> at usbus1, cfg=3D0 md=3DHO=
ST
>>> spd=3DHIGH (480Mbps) pwr=3DON (500mA)
>>>
>>>   bLength =3D 0x0012
>>>   bDescriptorType =3D 0x0001
>>>   bcdUSB =3D 0x0200
>>>   bDeviceClass =3D 0x0000
>>>   bDeviceSubClass =3D 0x0000
>>>   bDeviceProtocol =3D 0x0000
>>>   bMaxPacketSize0 =3D 0x0040
>>>   idVendor =3D 0x12d1
>>>   idProduct =3D 0x1f01
>>>   bcdDevice =3D 0x0102
>>>   iManufacturer =3D 0x0002  <HUAWEI Technology>
>>>   iProduct =3D 0x0001  <HUAWEI Mobile>
>>>   iSerialNumber =3D 0x0004  <FFFFFFFFFFFFFFFF>
>>>   bNumConfigurations =3D 0x0001
>>>
>>> If anything else is important, let me know.
>>>
>>> Regards,
>>> Milan
>> Try ejecting first this cd2 drive by cdcontrol eject or camcontrol
>> eject. I had such scenario with other usb device and that helped.
>>
> Nothing.
>
> # camcontrol eject cd2
> Unit stopped successfully, Media ejected
>
> That's all. No new device created, neither in /dev directory nor in
> ifconfig listing. Nothing in console log.
>
> From 'usbconfig dump_all_config_desc':
>
> ugen1.3: <HUAWEI Mobile HUAWEI Technology> at usbus1, cfg=3D0 md=3DHOST=
 spd=3DHIGH (480Mbps) pwr=3DON (500mA)
>
>  Configuration index 0
>
>     bLength =3D 0x0009=20
>     bDescriptorType =3D 0x0002=20
>     wTotalLength =3D 0x0020=20
>     bNumInterfaces =3D 0x0001=20
>     bConfigurationValue =3D 0x0001=20
>     iConfiguration =3D 0x0003  <Huawei Configuration>
>     bmAttributes =3D 0x0080=20
>     bMaxPower =3D 0x00fa=20
>
>     Interface 0
>       bLength =3D 0x0009=20
>       bDescriptorType =3D 0x0004=20
>       bInterfaceNumber =3D 0x0000=20
>       bAlternateSetting =3D 0x0000=20
>       bNumEndpoints =3D 0x0002=20
>       bInterfaceClass =3D 0x0008=20
>       bInterfaceSubClass =3D 0x0006=20
>       bInterfaceProtocol =3D 0x0050=20
>       iInterface =3D 0x0000  <no string>
>
>      Endpoint 0
>         bLength =3D 0x0007=20
>         bDescriptorType =3D 0x0005=20
>         bEndpointAddress =3D 0x0001  <OUT>
>         bmAttributes =3D 0x0002  <BULK>
>         wMaxPacketSize =3D 0x0200=20
>         bInterval =3D 0x0000=20
>         bRefresh =3D 0x0000=20
>         bSynchAddress =3D 0x0000=20
>
>      Endpoint 1
>         bLength =3D 0x0007=20
>         bDescriptorType =3D 0x0005=20
>         bEndpointAddress =3D 0x0081  <IN>
>         bmAttributes =3D 0x0002  <BULK>
>         wMaxPacketSize =3D 0x0200=20
>         bInterval =3D 0x0000=20
>         bRefresh =3D 0x0000=20
>         bSynchAddress =3D 0x0000=20
>
> Regards,
> Milan
Your device has different idProduct than this added in patch. It might
be caused by different configuration of the device/different provider
who sells devices.
I know that some devices might show up as HiLink mode(cdce) or serial
mode(u3g). And this might be changed by flashing different firmware or
sometimes by using usb_modeswitch(under linux not sure if it works under
freebsd).
Example is here: https://forum.pfsense.org/index.php?topic=3D48780.20;wap=
2

--=20
Pozdrawiam,
Maciej Milewski





Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?5418A0F6.6020207>