>Hello Lonnie,
>
>I have successfully configured HUAWEI E220 USB 3G dongle under Astlinux.
>
>CONFIG_USB_SERIAL_OPTION and CONFIG_USB_SERIAL_GENERIC options in 
>kernel config make it work. Actually I think that only 
>CONFIG_USB_SERIAL_GENERIC is required.
>
>Dongle works OK without loading of option.ko module but this may be 
>my particular case. No 'combo' switchers required.
>
>So I think enabling those kernel options by default in Astlinux 
>would be a good idea. At least this should not hurt anything else in 
>Astlinux, so why not?..
>
>Another question is how to integrate this 3G connection into 
>Astlinux the right way (both in the GUI and in the boot scripts) to 
>make sure all the things are consistent.
>
>Is it possible to include the 'wvdial' utility into the build tree? 
>It is much more convenient and reliable way to manage 3G connections 
>than ppp and chat scripts.
>
>
>FYI,
>
>this is what I actually did (I'm not a Buildroot2 expert so there 
>should be the right way):
>
>1) svn co 
>https://astlinux.svn.sourceforge.net/svnroot/astlinux/branches/0.7 
>astlinux-0.7
>
>2) disabled some packages which prevented my system from compiling 
>at first run and completed the build process
>
>3) modified kernel .config file to have CONFIG_USB_SERIAL_GENERIC 
>and CONFIG_USB_SERIAL_OPTION enabled
>
>4) issued 'make clean' from the kernel tree and rebuilt the system again
>
>5) I had problems running the makerunnix.sh script so I simply 
>replaced runnix and os files on my existing CF card with ones from 
>build_i586/runfs/ directory
>
>When my system booted I loaded the usbserial module with required parameters:
>
>modprobe usbserial vendor=0x12d1 product=0x1003

You just need to set "CONFIG_USB_SERIAL_OPTION=m" in the kernel config and add
"option" to "/etc/rc.modules" for the E220. And yes, you don't need 
"modeswitch" for the E220, but for many other modems. that we tested.

>and finally got /dev/ttyUSB0 and /dev/ttyUSB1 devices working.
>
>I wrote a small dialing script using ppp and chat utility to make 
>sure things are OK and connection worked perfectly.
>
>---
>Best Regards,
>Dmitry
>
>On Jul 28, 2011, at 16:38 , Lonnie Abelbeck wrote:
>
>>  Dmitry,
>>
>>  It is a lot more complicated than just enabling 
>>CONFIG_USB_SERIAL_GENERIC (actually CONFIG_USB_SERIAL_OPTION).
>>
>>  The developers have played around with supporting USB 3G modems in the past.
>>
>>  One of the problems is that these USB 3G modems are actually combo 
>>flash drives (by default) and USB 3G modems, "flip flop" (multiple 
>>device), that somehow the industry thought was a good idea.
>>
>>  There is a Linux tool to switch "flip flop" (multiple device) USB 
>>gear called "usb_modeswitch"...
>>  http://www.draisberghof.de/usb_modeswitch/
>>
>>  but that has issues for us as well.  It was decided this 
>>functionality was not a good fit for AstLinux.
>>
>>  The high price of 3G data, and poor quality (high latency) is 
>>another negative.
>>
>  > Lonnie
>  >


Michael

http://www.mksolutions.info

------------------------------------------------------------------------------
Got Input?   Slashdot Needs You.
Take our quick survey online.  Come on, we don't ask for help often.
Plus, you'll get a chance to win $100 to spend on ThinkGeek.
http://p.sf.net/sfu/slashdot-survey
_______________________________________________
Astlinux-users mailing list
Astlinux-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/astlinux-users

Donations to support AstLinux are graciously accepted via PayPal to 
pay...@krisk.org.

Reply via email to