From: kaysee <gu...@ka...> - 2008-12-01 15:50:30
|
Hi, Has anyone manges to get a Gumstix to connect via a Huawei style USB modem? If so, what did you do? Gumstix newbie I'm afraid, so please be gentle with me... -- View this message in context: http://www.nabble.com/Huawei-USB-GSM%5CGPRS-modem-tp20773079p20773079.html Sent from the Gumstix mailing list archive at Nabble.com. |
From: kaysee <gu...@ka...> - 2008-12-01 14:45:54
|
kaysee wrote: > > Hi, > > Has anyone manges to get a Gumstix to connect via a Huawei style USB > modem? > > If so, what did you do? > > Gumstix newbie I'm afraid, so please be gentle with me... > Sorry, mailing list subscription failed, so trying again... -- View this message in context: http://www.nabble.com/Huawei-USB-GSM%5CGPRS-modem-tp20773079p20773276.html Sent from the Gumstix mailing list archive at Nabble.com. |
From: S. B. <seb...@te...> - 2008-12-02 09:12:06
|
Hi Kaysee, I get Gumsitx Verdex motherboard work with Huawei 2G and 3G modem. It's not an easy task to do :). In my case i make worked USB master (for the modem) and slave (gadget) together on Verdex. Here are my tips : First you need to add a master USB port on the Verdex. As there is not using extension providing this functionnality on Verdex, you should develop your own expansion board. I use the 24 pin connector of the Verdex using this Schematic : http://www.acroname.com/garcia/configurations/gumstix/gumstix.html. If you only want to connect the modem, then you should try with an OTG port. After these you may need to use usb modeswitch or rezero to change the mode of the modem and see it as a serial port on linux (/dev/ttyUSBx). Then you are ready to make it work, use vwdial if you just want to connect to internet. Regards, Sébastien On Mon, Dec 1, 2008 at 3:45 PM, kaysee <gu...@ka...> wrote: > > > kaysee wrote: > > > > Hi, > > > > Has anyone manges to get a Gumstix to connect via a Huawei style USB > > modem? > > > > If so, what did you do? > > > > Gumstix newbie I'm afraid, so please be gentle with me... > > > > Sorry, mailing list subscription failed, so trying again... > -- > View this message in context: > http://www.nabble.com/Huawei-USB-GSM%5CGPRS-modem-tp20773079p20773276.html > Sent from the Gumstix mailing list archive at Nabble.com. > > > ------------------------------------------------------------------------- > This SF.Net email is sponsored by the Moblin Your Move Developer's > challenge > Build the coolest Linux based applications with Moblin SDK & win great > prizes > Grand prize is a trip for two to an Open Source event anywhere in the world > http://moblin-contest.org/redirect.php?banner_id=100&url=/ > _______________________________________________ > gumstix-users mailing list > gum...@li... > https://lists.sourceforge.net/lists/listinfo/gumstix-users > |
From: kaysee <gu...@ka...> - 2008-12-02 12:41:27
|
Sébastien Thanks for your reply. Did you use the pre-compiled usb_modeswitch, or did you have to build it yourself? I have a USB port attached to the Verdex, and the modem shows up as a usbdev device, not a ttyUSB, so hopefully usb_modeswitch will help. Sébastien Baguet wrote: > > > First you need to add a master USB port on the Verdex. > > After these you may need to use usb modeswitch or rezero to change the > mode > of the modem and see it as a serial port on linux (/dev/ttyUSBx). > > > -- View this message in context: http://www.nabble.com/Huawei-USB-GSM%5CGPRS-modem-tp20773079p20791349.html Sent from the Gumstix mailing list archive at Nabble.com. |
From: S. B. <seb...@te...> - 2008-12-02 13:32:55
|
What model of modem are you using ? To start, i recommend you to try with a linux based computer, on the same kernel and try to make it work. Did you install the right modules to handle the modem ? (options module is needed to make it work) For the usb_modeswitch, i used a precompiled version. On Tue, Dec 2, 2008 at 1:41 PM, kaysee <gu...@ka...> wrote: > > Sébastien > > Thanks for your reply. Did you use the pre-compiled usb_modeswitch, or did > you have to build it yourself? > > I have a USB port attached to the Verdex, and the modem shows up as a > usbdev > device, not a ttyUSB, so hopefully usb_modeswitch will help. > > > > Sébastien Baguet wrote: > > > > > > First you need to add a master USB port on the Verdex. > > > > After these you may need to use usb modeswitch or rezero to change the > > mode > > of the modem and see it as a serial port on linux (/dev/ttyUSBx). > > > > > > > > -- > View this message in context: > http://www.nabble.com/Huawei-USB-GSM%5CGPRS-modem-tp20773079p20791349.html > Sent from the Gumstix mailing list archive at Nabble.com. > > > ------------------------------------------------------------------------- > This SF.Net email is sponsored by the Moblin Your Move Developer's > challenge > Build the coolest Linux based applications with Moblin SDK & win great > prizes > Grand prize is a trip for two to an Open Source event anywhere in the world > http://moblin-contest.org/redirect.php?banner_id=100&url=/ > _______________________________________________ > gumstix-users mailing list > gum...@li... > https://lists.sourceforge.net/lists/listinfo/gumstix-users > |
From: kaysee <gu...@ka...> - 2008-12-02 13:44:47
|
An E220. It's working fine on my Ubuntu machine, but usb_modeswitch gives a syntax error when I run it on the Vertex. I have the modem attached via a USB hub, so I can use a keyboard as well - would this cause problems? -- View this message in context: http://www.nabble.com/Huawei-USB-GSM%5CGPRS-modem-tp20773079p20792457.html Sent from the Gumstix mailing list archive at Nabble.com. |
From: kaysee <gu...@ka...> - 2008-12-03 11:09:23
|
Sébastien - would you have compiled binaries for wvdial and usb_modeswitch - I cannot find ARM versions anywhere, and I'm struggling to get my development system to build from source. Thanks -- View this message in context: http://www.nabble.com/Huawei-USB-GSM%5CGPRS-modem-tp20773079p20810962.html Sent from the Gumstix mailing list archive at Nabble.com. |
From: S. B. <seb...@te...> - 2008-12-03 15:46:22
|
Actually, i'm not using directly vwdial as i pilot my modem by myself with ATs command to receive SMS and launch the ppp daemon manually. But you can cross compile wvdial, and use it directly on target. Since October, wvdial receipe is available on openemebbeded so it should be easy to try. (If you have more question about the process, send me PM, you'll have quicker answers) I'm not using the same modem model, and with rezero, my modem is now in tty mode each time i connect it to my computer. But i notice that it depends on the version firmware flashed on the modem (had some problem with branded operator modems - same model). If you could get work it on computer, it should be ok to get it work on target. On Wed, Dec 3, 2008 at 12:09 PM, kaysee <gu...@ka...> wrote: > > Sébastien - would you have compiled binaries for wvdial and usb_modeswitch > - > I cannot find ARM versions anywhere, and I'm struggling to get my > development system to build from source. > > Thanks > -- > View this message in context: > http://www.nabble.com/Huawei-USB-GSM%5CGPRS-modem-tp20773079p20810962.html > Sent from the Gumstix mailing list archive at Nabble.com. > > > ------------------------------------------------------------------------- > This SF.Net email is sponsored by the Moblin Your Move Developer's > challenge > Build the coolest Linux based applications with Moblin SDK & win great > prizes > Grand prize is a trip for two to an Open Source event anywhere in the world > http://moblin-contest.org/redirect.php?banner_id=100&url=/ > _______________________________________________ > gumstix-users mailing list > gum...@li... > https://lists.sourceforge.net/lists/listinfo/gumstix-users > |
From: briany <bye...@de...> - 2008-12-23 19:38:26
|
Has anyone managed to get wvdial to compile for the gumstix? I have tried the openembedded bitbake recipe mentioned by Sebastien but it gets stuck when compiling the wvstreams libraries needed with the following errors when compiling one of the components, wvx509.cc: crypto/wvx509.cc: In member function 'bool WvX509::get_policy_constraints(int&, int&) const': | crypto/wvx509.cc:816: error: 'POLICY_CONSTRAINTS' was not declared in this scope | crypto/wvx509.cc:816: error: 'constraints' was not declared in this scope | crypto/wvx509.cc:819: error: expected type-specifier before 'POLICY_CONSTRAINTS' | crypto/wvx509.cc:819: error: expected `>' before 'POLICY_CONSTRAINTS' | crypto/wvx509.cc:819: error: expected `(' before 'POLICY_CONSTRAINTS' | crypto/wvx509.cc:819: error: expected primary-expression before '>' token | crypto/wvx509.cc:821: error: expected `)' before ';' token | crypto/wvx509.cc:835: error: 'POLICY_CONSTRAINTS_free' was not declared in this scope | crypto/wvx509.cc: In member function 'void WvX509::set_policy_constraints(int, int)': | crypto/wvx509.cc:848: error: 'POLICY_CONSTRAINTS' was not declared in this scope | crypto/wvx509.cc:848: error: 'constraints' was not declared in this scope | crypto/wvx509.cc:848: error: 'POLICY_CONSTRAINTS_new' was not declared in this scope | crypto/wvx509.cc:861: error: 'POLICY_CONSTRAINTS_free' was not declared in this scope | crypto/wvx509.cc: In member function 'bool WvX509::get_policy_mapping(WvList<WvX509::PolicyMap>&) const': | crypto/wvx509.cc:869: error: 'POLICY_MAPPINGS' was not declared in this scope | crypto/wvx509.cc:869: error: 'mappings' was not declared in this scope | crypto/wvx509.cc:870: error: 'POLICY_MAPPING' was not declared in this scope | crypto/wvx509.cc:870: error: 'map' was not declared in this scope | crypto/wvx509.cc:873: error: expected type-specifier before 'POLICY_MAPPINGS' | crypto/wvx509.cc:873: error: expected `>' before 'POLICY_MAPPINGS' | crypto/wvx509.cc:873: error: expected `(' before 'POLICY_MAPPINGS' | crypto/wvx509.cc:873: error: expected primary-expression before '>' token | crypto/wvx509.cc:874: error: 'NID_policy_mappings' was not declared in this scope | crypto/wvx509.cc:875: error: expected `)' before ';' token | crypto/wvx509.cc:882: error: 'sk_POLICY_MAPPING_num' was not declared in this scope | crypto/wvx509.cc:884: error: 'sk_POLICY_MAPPING_value' was not declared in this scope | crypto/wvx509.cc:890: error: 'POLICY_MAPPING_free' was not declared in this scope | crypto/wvx509.cc:890: error: 'sk_POLICY_MAPPING_pop_free' was not declared in this scope | crypto/wvx509.cc: In member function 'void WvX509::set_policy_mapping(WvList<WvX509::PolicyMap>&)': | crypto/wvx509.cc:900: error: 'POLICY_MAPPINGS' was not declared in this scope | crypto/wvx509.cc:900: error: 'maps' was not declared in this scope | crypto/wvx509.cc:900: error: 'sk_POLICY_MAPPING_new_null' was not declared in this scope | crypto/wvx509.cc:905: error: 'POLICY_MAPPING' was not declared in this scope | crypto/wvx509.cc:905: error: 'map' was not declared in this scope | crypto/wvx509.cc:905: error: 'POLICY_MAPPING_new' was not declared in this scope | crypto/wvx509.cc:908: error: 'sk_POLICY_MAPPING_push' was not declared in this scope | crypto/wvx509.cc:912: error: 'NID_policy_mappings' was not declared in this scope | crypto/wvx509.cc:915: error: 'POLICY_MAPPING_free' was not declared in this scope | crypto/wvx509.cc:915: error: 'sk_POLICY_MAPPING_pop_free' was not declared in this scope | make: *** [crypto/wvx509.o] Error 1 | FATAL: oe_runmake failed This looks a lot like a reported bug due to incompatibility with openssl 0.9.7. However I have the current development libraries for openssl on my Ubuntu build machine, libssl-dev 0.9.8g so I am at a bit of a loss what's going wrong. Anyone any ideas? Brian Sébastien Baguet wrote: > > Actually, i'm not using directly vwdial as i pilot my modem by myself with > ATs command to receive SMS and launch the ppp daemon manually. But you can > cross compile wvdial, and use it directly on target. Since October, wvdial > > receipe is available on openemebbeded so it should be easy to try. (If you > have more question about the process, send me PM, you'll have quicker > answers) > I'm not using the same modem model, and with rezero, my modem is now in > tty > mode each time i connect it to my computer. But i notice that it depends > on > the version firmware flashed on the modem (had some problem with branded > operator modems - same model). > If you could get work it on computer, it should be ok to get it work on > target. > On Wed, Dec 3, 2008 at 12:09 PM, kaysee <gu...@ka...> wrote: > >> >> Sébastien - would you have compiled binaries for wvdial and >> usb_modeswitch >> - >> I cannot find ARM versions anywhere, and I'm struggling to get my >> development system to build from source. >> >> Thanks >> -- >> View this message in context: >> http://www.nabble.com/Huawei-USB-GSM%5CGPRS-modem-tp20773079p20810962.html >> Sent from the Gumstix mailing list archive at Nabble.com. >> >> >> ------------------------------------------------------------------------- >> This SF.Net email is sponsored by the Moblin Your Move Developer's >> challenge >> Build the coolest Linux based applications with Moblin SDK & win great >> prizes >> Grand prize is a trip for two to an Open Source event anywhere in the >> world >> http://moblin-contest.org/redirect.php?banner_id=100&url=/ >> _______________________________________________ >> gumstix-users mailing list >> gum...@li... >> https://lists.sourceforge.net/lists/listinfo/gumstix-users >> > > ------------------------------------------------------------------------- > This SF.Net email is sponsored by the Moblin Your Move Developer's > challenge > Build the coolest Linux based applications with Moblin SDK & win great > prizes > Grand prize is a trip for two to an Open Source event anywhere in the > world > http://moblin-contest.org/redirect.php?banner_id=100&url=/ > _______________________________________________ > gumstix-users mailing list > gum...@li... > https://lists.sourceforge.net/lists/listinfo/gumstix-users > > -- View this message in context: http://www.nabble.com/Huawei-USB-GSM%5CGPRS-modem-tp20773079p21150139.html Sent from the Gumstix mailing list archive at Nabble.com. |
From: kaysee <gu...@ka...> - 2008-12-08 11:22:41
|
If anyone else has problems getting an E220 running on a Verdex, here is how I ended up getting it going. This example is for UK Vodaphone contract SIM, so modify as required. It should just be a case of changing the user and password entries, and the AP name in 'AT+CGDCONT'. download and compile 'usb_modeswitch' from http://www.draisberghof.de/usb_modeswitch/ plug in the E220, and run the following to switch it to modem mode: usb_modeswitch -v 0x12d1 -p 0x1003 -H 1 && modprobe -v usbserial vendor=0x12d1 product=0x1003 save the following pppd scripts: 'vodafone' - save in /etc/ppp/peers /dev/ttyUSB0 460800 idle 7200 lock crtscts modem noauth replacedefaultroute defaultroute user web password web connect "/usr/sbin/chat -V -f /etc/ppp/chat" noipdefault usepeerdns novj 'chat' - save in /etc/ppp SAY "START\n" ABORT BUSY SAY "ABORT\n" ECHO OFF '' ATZ '' AT+CGDCONT=1,"ip","internet"' #SAY "DIAL" OK ATD*99***1# SAY 'CONNECT' I also had to explicitly add the nameservers: /etc/resolv.conf nameserver 208.67.222.222 nameserver 208.67.220.220 nameserver 203.2.193.67 nameserver 202.135.30.4 nameserver 192.168.1.1 the first two of these are OpenDNS servers, the second two are Vodafone, the last is local router -- View this message in context: http://www.nabble.com/Huawei-USB-GSM%5CGPRS-modem-tp20773079p20893541.html Sent from the Gumstix mailing list archive at Nabble.com. |
From: S. B. <seb...@te...> - 2008-12-08 17:54:48
|
I finally found a great command to not have to use 'usb_modeswitch' on target. On the Huawei modems, you can toggle it into modem mode using the AT command at^u2diag=0 To come back to previous mode : at^u2diag=1 So i just use a pc under windows, install the official application to see the modem, and use the AT command. You should then be able to use the modem under linux directly ! It works for me on EG162 and E180. On Mon, Dec 8, 2008 at 12:22 PM, kaysee <gu...@ka...> wrote: > > If anyone else has problems getting an E220 running on a Verdex, here is > how > I ended up getting it going. This example is for UK Vodaphone contract > SIM, > so modify as required. It should just be a case of changing the user and > password entries, and the AP name in 'AT+CGDCONT'. > > download and compile 'usb_modeswitch' from > http://www.draisberghof.de/usb_modeswitch/ > > plug in the E220, and run the following to switch it to modem mode: > > > usb_modeswitch -v 0x12d1 -p 0x1003 -H 1 && modprobe -v usbserial > vendor=0x12d1 product=0x1003 > > > save the following pppd scripts: > > 'vodafone' - save in /etc/ppp/peers > > /dev/ttyUSB0 > 460800 > idle 7200 > lock > crtscts > modem > noauth > replacedefaultroute > defaultroute > user web > password web > connect "/usr/sbin/chat -V -f /etc/ppp/chat" > noipdefault > usepeerdns > novj > > > 'chat' - save in /etc/ppp > > SAY "START\n" > ABORT BUSY > SAY "ABORT\n" > ECHO OFF > '' ATZ > '' AT+CGDCONT=1,"ip","internet"' > #SAY "DIAL" > OK ATD*99***1# > SAY 'CONNECT' > > I also had to explicitly add the nameservers: > > /etc/resolv.conf > > nameserver 208.67.222.222 > nameserver 208.67.220.220 > nameserver 203.2.193.67 > nameserver 202.135.30.4 > nameserver 192.168.1.1 > > the first two of these are OpenDNS servers, the second two are Vodafone, > the > last is local router > > > -- > View this message in context: > http://www.nabble.com/Huawei-USB-GSM%5CGPRS-modem-tp20773079p20893541.html > Sent from the Gumstix mailing list archive at Nabble.com. > > > > ------------------------------------------------------------------------------ > SF.Net email is Sponsored by MIX09, March 18-20, 2009 in Las Vegas, Nevada. > The future of the web can't happen without you. Join us at MIX09 to help > pave the way to the Next Web now. Learn more and register at > > http://ad.doubleclick.net/clk;208669438;13503038;i?http://2009.visitmix.com/ > _______________________________________________ > gumstix-users mailing list > gum...@li... > https://lists.sourceforge.net/lists/listinfo/gumstix-users > |
From: Arigead <cap...@gm...> - 2009-03-20 10:23:17
|
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 I've been working my way through this thread to get my Huawei modem working and hit a snag with ppp. My gumstix verdex kernel doesn't appear to have ppp built into the kernel as a module. I've checked with make menuconfig and my kernel does have ppp option as a module so I don't know which step I'm missing. I only ever download the uImage and the file system to the verdex and assumed that the modules would be included in that. Anybody got any advice for me that would get me ppp working? Thanks a million in advance John -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.9 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iEYEARECAAYFAknDbncACgkQXlbjSJ5n4BDVBQCeKWp3RU3BHEiCsqInIU8dz+ER hz4AnidH6raSXtW+xtGsZuNV2xFQmUeW =T1tE -----END PGP SIGNATURE----- |
From: kaysee <gu...@ka...> - 2008-12-08 18:45:09
|
I'll try that at some point - it looks like a good solution. One thing I missed of my list earlier was the command to trigger the ppd connection. Use: pppd call vodafone assuming you saved the peers script as 'vodafone'. I'll have a try with the AT command and see how it works. -- View this message in context: http://www.nabble.com/Huawei-USB-GSM%5CGPRS-modem-tp20773079p20901147.html Sent from the Gumstix mailing list archive at Nabble.com. |
From: kaysee <gu...@ka...> - 2009-03-20 10:42:10
|
I think I installed ppp using ipkg over an ethernet connection. If you have a working internet connection on the gumstix, try 'ipkg update && ipkg list|grep pppd' and see which ppp packages area available for installing. Arigead wrote: > > -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA1 > > I've been working my way through this thread to get my Huawei modem > working and hit a snag with ppp. My gumstix verdex kernel doesn't appear > to have ppp built into the kernel as a module. I've checked with make > menuconfig and my kernel does have ppp option as a module so I don't > know which step I'm missing. I only ever download the uImage and the > file system to the verdex and assumed that the modules would be included > in that. > > Anybody got any advice for me that would get me ppp working? > > Thanks a million in advance > > John > -----BEGIN PGP SIGNATURE----- > Version: GnuPG v1.4.9 (GNU/Linux) > Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org > > iEYEARECAAYFAknDbncACgkQXlbjSJ5n4BDVBQCeKWp3RU3BHEiCsqInIU8dz+ER > hz4AnidH6raSXtW+xtGsZuNV2xFQmUeW > =T1tE > -----END PGP SIGNATURE----- > > ------------------------------------------------------------------------------ > Apps built with the Adobe(R) Flex(R) framework and Flex Builder(TM) are > powering Web 2.0 with engaging, cross-platform capabilities. Quickly and > easily build your RIAs with Flex Builder, the Eclipse(TM)based development > software that enables intelligent coding and step-through debugging. > Download the free 60 day trial. http://p.sf.net/sfu/www-adobe-com > _______________________________________________ > gumstix-users mailing list > gum...@li... > https://lists.sourceforge.net/lists/listinfo/gumstix-users > > -- View this message in context: http://www.nabble.com/Huawei-USB-GSM%5CGPRS-modem-tp20773079p22617917.html Sent from the Gumstix mailing list archive at Nabble.com. |
From: Arigead <cap...@gm...> - 2009-03-23 09:26:27
|
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 kaysee wrote: > I think I installed ppp using ipkg over an ethernet connection. If you have > a working internet connection on the gumstix, try 'ipkg update && ipkg > list|grep pppd' and see which ppp packages area available for installing. > > > > Arigead wrote: > I've been working my way through this thread to get my Huawei modem > working and hit a snag with ppp. My gumstix verdex kernel doesn't appear > to have ppp built into the kernel as a module. I've checked with make > menuconfig and my kernel does have ppp option as a module so I don't > know which step I'm missing. I only ever download the uImage and the > file system to the verdex and assumed that the modules would be included > in that. > > Anybody got any advice for me that would get me ppp working? > > Thanks a million in advance > > John >> Sorry you have misunderstood my question. I have installed the ppp user space package but when I try to run it I get told that the gumstix kernel doesn't have ppp compiled into it as a module. I've looked at the .config file for the kernel and it does have ppp selected as a module so I don't understand why this should be the case that I'm getting this error. I'm really stumped by this one. root@gumstix-custom-verdex:~$ pppd call vodafone pppd: This system lacks kernel support for PPP. This could be because the PPP kernel module could not be loaded, or because PPP was not included in the kernel configuration. If PPP was included as a module, try `/sbin/modprobe -v ppp'. If that fails, check that ppp.o exists in /lib/modules/`uname -r`/net. See README.linux file in the ppp distribution for more details. -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.9 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iEYEARECAAYFAknHVa8ACgkQXlbjSJ5n4BD3/wCghjwpfwpDzDaXnwCZZqbPFjpy BAQAoKXUbdEgXQKZg1emFl5HS9R0mi8z =t7/3 -----END PGP SIGNATURE----- |