Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 23 Sep 2014 14:45:53 +0200
From:      =?windows-1252?Q?Peter_Ankerst=E5l?= <peter@pean.org>
To:        Maciej Milewski <milu@dat.pl>, freebsd-stable@freebsd.org
Subject:   Re: FreeBSD with Huawei 3g modem.
Message-ID:  <54216B81.6030306@pean.org>
In-Reply-To: <542169D6.8090904@dat.pl>
References:  <54215969.1070303@pean.org> <542169D6.8090904@dat.pl>

next in thread | previous in thread | raw e-mail | index | archive | help
This is a cryptographically signed message in MIME format.

--------------ms050307090601010107000902
Content-Type: text/plain; charset=windows-1252; format=flowed
Content-Transfer-Encoding: quoted-printable

On 09/23/2014 02:38 PM, Maciej Milewski wrote:
> On 23.09.2014 13:28, Peter Ankerst=E5l wrote:
>> Hi!
>>
>> Im trying to get a Huawei E3531 to work in FreeBSD. But Im not really
>> sure where to start. I found this:
>> http://technotation.com/2012/08/15/freebsd-and-mobile-broadband/ but
>> havent had any luck cut and pasting here.
>>
>> System:
>> # uname -srm
>> FreeBSD 10.0-RELEASE amd64
>>
>> When I connect it dmesg says:
>> usb_alloc_device: Found possible auto-install disk (trying next config=
)
>> ugen0.4: <HUAWEI> at usbus0
>> umass0: <HUAWEI HUAWEI Mobile, class 0/0, rev 2.00/1.02, addr 4> on
>> usbus0
>> umass0:  SCSI over Bulk-Only; quirks =3D 0x0000
>> umass0:5:0:-1: Attached to scbus5
>> da0 at umass-sim0 bus 0 scbus5 target 0 lun 0
>> da0: <HUAWEI TF CARD Storage 2.31> Removable Direct Access SCSI-2 devi=
ce
>> da0: Serial Number FFFFFFFFFFFFFFFF
>> da0: 40.000MB/s transfers
>> da0: Attempt to query device size failed: NOT READY, Medium not presen=
t
>> da0: quirks=3D0x2<NO_6_BYTE>
>>
>> usbconfig gives this:
>>
>> # usbconfig -u 0 -a 4 dump_device_desc
>> ugen0.4: <HUAWEI Mobile HUAWEI> at usbus0, cfg=3D1 md=3DHOST spd=3DHIG=
H
>> (480Mbps) pwr=3DON (500mA)
>>
>>    bLength =3D 0x0012
>>    bDescriptorType =3D 0x0001
>>    bcdUSB =3D 0x0200
>>    bDeviceClass =3D 0x0000
>>    bDeviceSubClass =3D 0x0000
>>    bDeviceProtocol =3D 0x00ff
>>    bMaxPacketSize0 =3D 0x0040
>>    idVendor =3D 0x12d1
>>    idProduct =3D 0x157d
>>    bcdDevice =3D 0x0102
>>    iManufacturer =3D 0x0001  <HUAWEI>
>>    iProduct =3D 0x0002  <HUAWEI Mobile>
>>    iSerialNumber =3D 0x0003  <FFFFFFFFFFFFFFFF>
>>    bNumConfigurations =3D 0x0002
>>
>>
> Peter,
> cut and paste is the last step(for copying ppp script ;P )
> Before that you need to setup your system to recognize that modem.
> First check if the idProduct is listed in your usbdevs. If not you need=

> to add it similar way like are other.
> For example E3131 is added like that:
> root@backup:/usr/src/sys/dev/usb # grep -Hr E3131 *
> serial/u3g.c:   U3G_DEV(HUAWEI, E3131, 0),
> serial/u3g.c:   U3G_DEV(HUAWEI, E3131_INIT, U3GINIT_HUAWEISCSI),
> usbdevs:product HUAWEI E3131_INIT       0x14fe  3G modem initial
> usbdevs:product HUAWEI E3131            0x1506  3G modem
>
> Then recompile and install kernel and try if that helps. I'm not sure i=
f
> compiling u3g module is enough that's why I suggested whole kernel
> recompiling.
>
Yes, this is exactly what I have done, except that I dont know the=20
"INIT" one.

And no, I did not recompile the kernel, just u3g.


--------------ms050307090601010107000902
Content-Type: application/pkcs7-signature; name="smime.p7s"
Content-Transfer-Encoding: base64
Content-Disposition: attachment; filename="smime.p7s"
Content-Description: S/MIME Cryptographic Signature

MIAGCSqGSIb3DQEHAqCAMIACAQExCzAJBgUrDgMCGgUAMIAGCSqGSIb3DQEHAQAAoIIKQDCC
BRowggQCoAMCAQICEG0Z6qcZT2ozIuYiMnqqcd4wDQYJKoZIhvcNAQEFBQAwga4xCzAJBgNV
BAYTAlVTMQswCQYDVQQIEwJVVDEXMBUGA1UEBxMOU2FsdCBMYWtlIENpdHkxHjAcBgNVBA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jEbMBkGA1UECBMSR3JlYXRlciBNYW5jaGVzdGVyMRAwDgYDVQQHEwdTYWxm
b3JkMRowGAYDVQQKExFDT01PRE8gQ0EgTGltaXRlZDE5MDcGA1UEAxMwQ09NT0RPIENsaWVu
dCBBdXRoZW50aWNhdGlvbiBhbmQgU2VjdXJlIEVtYWlsIENBAhEAwW8TeoI1gVtfPyWR/Ge9
mDANBgkqhkiG9w0BAQEFAASCAQAST1uSzOnVHrvs0FFKpjeGWWQXxdK15Vz+4aMJDHRMhNfn
Tqihg6KkLld1fANdp/L1/OMEpM+z+k/kv3708zCflw7Cq+25BEAieANK63ffUEVFaGlud0ny
crWoRIZVTJFnDjOyWEESfSWy4WE84+3IFDJfkbjLTaoWqzAH0NsZ2YVTNaf+sGsmlMjaPVuh
B2szpZNhoZPuY/DGr2T+lClLV3YkTmuG1ixgI2OFOsm+ZwkJ7vlRVmKk05l+4A8Urj5ibpTv
jfTaUdvGtBl8a8pXIASC1jZN1HiPIH6Gpxou9sswHxhBrFuDkam46faD14vt+C5kUroaRHxc
/Imyr8QzAAAAAAAA
--------------ms050307090601010107000902--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?54216B81.6030306>