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
[-- Attachment #1 --] On 09/23/2014 02:38 PM, Maciej Milewski wrote: > On 23.09.2014 13:28, Peter Ankerstl 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 = 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 device >> da0: Serial Number FFFFFFFFFFFFFFFF >> da0: 40.000MB/s transfers >> da0: Attempt to query device size failed: NOT READY, Medium not present >> da0: quirks=0x2<NO_6_BYTE> >> >> usbconfig gives this: >> >> # usbconfig -u 0 -a 4 dump_device_desc >> ugen0.4: <HUAWEI Mobile HUAWEI> at usbus0, cfg=1 md=HOST spd=HIGH >> (480Mbps) pwr=ON (500mA) >> >> bLength = 0x0012 >> bDescriptorType = 0x0001 >> bcdUSB = 0x0200 >> bDeviceClass = 0x0000 >> bDeviceSubClass = 0x0000 >> bDeviceProtocol = 0x00ff >> bMaxPacketSize0 = 0x0040 >> idVendor = 0x12d1 >> idProduct = 0x157d >> bcdDevice = 0x0102 >> iManufacturer = 0x0001 <HUAWEI> >> iProduct = 0x0002 <HUAWEI Mobile> >> iSerialNumber = 0x0003 <FFFFFFFFFFFFFFFF> >> bNumConfigurations = 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 if > 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 "INIT" one. And no, I did not recompile the kernel, just u3g. [-- Attachment #2 --] 0 *H 010 + 0 *H @00mOj3""2zq0 *H 010 UUS10 UUT10USalt Lake City10U The USERTRUST Network1!0Uhttp://www.usertrust.com1604U-UTN-USERFirst-Client Authentication and Email0 110428000000Z 200530104838Z010 UGB10UGreater Manchester10USalford10U COMODO CA Limited1907U0COMODO Client Authentication and Secure Email CA0"0 *H 0 [KW^/@ȣSX_fe2N2}UxLUB'qi2@'Vbqi c^`ʢAjHmeC*.+c8w߱ڂ2jgo \5Tq 7 PSlY1 LR@[HhJ$:q_㬿;%qh=XF<hmz!W42~JRrd&N`ohQcB}"cөΞD\[5 K0G0U#0g}ĝ&p KPH|=n}0UzN t[xcd'/[y{0U0U0 0U 00U 0XUQ0O0MKIGhttp://crl.usertrust.com/UTN-USERFirst-ClientAuthenticationandEmail.crl0t+h0f0=+01http://crt.usertrust.com/UTNAddTrustClient_CA.crt0%+0http://ocsp.usertrust.com0 *H ־xWUm3DRB JAIZҭsn>&|L0(B<%> u=9fѡMo(ltZڱuz/yVtCr`9 G:eH<=%`I?C 3_н`j;:<I3B)93i.EMiڀ=]|Gm]W0KID~y83:]&XaU!ՙC@B0Ұun00 oz5[_?%g0 *H 010 UGB10UGreater Manchester10USalford10U COMODO CA Limited1907U0COMODO Client Authentication and Secure Email CA0 140117000000Z 150117235959Z010 *H peter@pean.org0"0 *H 0 W'<d' ̦guVamBc+;VJ cv4.8D/G#ac49.<"K@Qp>/0W(gpF|J؆P~'BZ~j{` n#ĉZrG{)ډ<iKg˞TBLk@Y /D<9g94?Sx0}ń7ά63 00U#0zN t[xcd'/[y{0U{'"$b$pPG0U0U0 0 U%0++10 `HB 0FU ?0=0;+10+0)+https://secure.comodo.net/CPS0WUP0N0LJHFhttp://crl.comodoca.com/COMODOClientAuthenticationandSecureEmailCA.crl0+|0z0R+0Fhttp://crt.comodoca.com/COMODOClientAuthenticationandSecureEmailCA.crt0$+0http://ocsp.comodoca.com0U0peter@pean.org0 *H tflQ\؛7Z136;\͋>Y6 k#;VRčb9L:ܚgJ{9Q$[g\5լd<7')Q=?oԘl.9ͽ11j-v} _^_ M2ċ} bF4zxU:4eHzK^塂pwfxc$4zqKso٩y5100010 UGB10UGreater Manchester10USalford10U COMODO CA Limited1907U0COMODO Client Authentication and Secure Email CA oz5[_?%g0 + G0 *H 1 *H 0 *H 1 140923124553Z0# *H 1!bHT6O|0l *H 1_0]0 `He*0 `He0 *H 0*H 0 *H @0+0 *H (0 +710010 UGB10UGreater Manchester10USalford10U COMODO CA Limited1907U0COMODO Client Authentication and Secure Email CA oz5[_?%g0*H 1010 UGB10UGreater Manchester10USalford10U COMODO CA Limited1907U0COMODO Client Authentication and Secure Email CA oz5[_?%g0 *H O[QJ7Ydҵ\ tLN.Wu|]ϳO~0«@"xJwPEEhinwIrDULg3XA}%a<2_M0مS5k&=[k3acƯd)KWv$Nk,`#c:ɾg QVbә~>bnQƴ|kW 6Mx ~.0A[.dRD|\3
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?54216B81.6030306>
