LinuxQuestions.org
Did you know LQ has a Linux Hardware Compatibility List?
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices

Reply
 
Search this Thread
Old 01-20-2008, 09:51 AM   #1
RGB_mdk
LQ Newbie
 
Registered: Apr 2004
Posts: 18

Rep: Reputation: 0
Unhappy Using Vodafone internet key


[SOLVED --see below]

A "Vodafone internet key" (modem usb Huawei E172) comes to me last week, and I am trying since then to make it work on my fedora 7, (64 bits, on a Toshiba satellite P200 17D).
I installed the Linux driver from here:
https://forge.vodafonebetavine.net/frs/?group_id=12
(version 1.99.17)
When I plug the key and then start the program "vodafone-mobile-connect-card-driver-for-linux", it tells me that it cannot use or write /dev/ttyUSB0. If I change the permissions (that change don't last when I unplug the key) on that file to use it, the program fails to start but remains idle on memory and I need to kill it together with the process from python-twisted. In any case, I cannot reach the configuration panel.
I know that this driver works with older usb modems from vodafone, but there is anyone who know how to use this new system on Linux? Or any other alternative? I tried to use kppp, but I don't know what to put on the different options...
I don't have any other internet connection at this moment.
Thanks!

Last edited by RGB_mdk; 03-29-2008 at 09:49 AM. Reason: Now working
 
Old 01-21-2008, 06:19 AM   #2
unSpawn
Moderator
 
Registered: May 2001
Posts: 27,112
Blog Entries: 54

Rep: Reputation: 2784Reputation: 2784Reputation: 2784Reputation: 2784Reputation: 2784Reputation: 2784Reputation: 2784Reputation: 2784Reputation: 2784Reputation: 2784Reputation: 2784
I don't know who works on the Vodafone Mobile Connection Card Driver for Linux project but they deserve serious kudos for providing structured and easily readable documentation. Did you check out /usr/share/doc/vodafone-mobile-connect-card-driver-for-linux-*/guide/install/x120.html#AEN125 ?
 
Old 01-21-2008, 10:14 AM   #3
RGB_mdk
LQ Newbie
 
Registered: Apr 2004
Posts: 18

Original Poster
Rep: Reputation: 0
Thanks for your answer. In fact, that document solves the permission problems... but the program don't work.
If I run in debug mode, I obtain the following

~]$ vodafone-mobile-connect-card-driver-for-linux-debug
2008/01/21 15:44 CET [-] Log opened.
2008/01/21 15:44 CET [-] twistd 2.4.0 (/usr/bin/python 2.5.0) starting up
2008/01/21 15:44 CET [-] reactor class: <class 'twisted.internet.gtk2reactor.Gtk2Reactor'>
2008/01/21 15:44 CET [-] Loading /usr/share/vodafone-mobile-connect-card-driver-for-linux/gtk-tap.py...
2008/01/21 15:44 CET [-] Loaded.
2008/01/21 15:44 CET [-] Changing process name to VMCCdfL
2008/01/21 15:44 CET [-] Log opened.
2008/01/21 15:44 CET [-] twistd 2.4.0 (/home/lxuser/ 2.5.0) starting up
2008/01/21 15:44 CET [-] reactor class: <class 'twisted.internet.gtk2reactor.Gtk2Reactor'>
2008/01/21 15:44 CET [-] Loading /usr/share/vodafone-mobile-connect-card-driver-for-linux/gtk-tap.py...
2008/01/21 15:44 CET [-] Loaded.
2008/01/21 15:44 CET [-] twisted.conch.manhole_ssh.ConchFactory starting on 2222
2008/01/21 15:44 CET [-] Starting factory <twisted.conch.manhole_ssh.ConchFactory instance at 0x1412368>
2008/01/21 15:44 CET [-] /usr/lib/python2.5/site-packages/vmc/contrib/gtkmvc/view.py:119: <class 'gtk.GtkWarning'>: Icon cache '/home/lxuser/.icons/hicolor/icon-theme.cache' is invalid

2008/01/21 15:44 CET [-] /usr/lib/python2.5/site-packages/vmc/contrib/gtkmvc/view.py:119: <class 'gtk.GtkWarning'>: Icon cache '/home/lxuser/.local/share/icons/hicolor/icon-theme.cache' is invalid

2008/01/21 15:44 CET [-] SIMCardConnAdapter: SENDING ATCMD 'AT+CGMM\r\n'
2008/01/21 15:44 CET [-] SIMCardConnAdapter: NEW STATE: waiting
2008/01/21 15:44 CET [-] SIMCardConnAdapter::WAITING DATA_RCV: 'AT+CGMM\r'
2008/01/21 15:44 CET [-] "SIMCardConnAdapter::WAITING: Data AT+CGMM\r didn't match my regexp"
2008/01/21 15:44 CET [-] SIMCardConnAdapter::WAITING DATA_RCV: '\r\nE17X\r\n\r\nOK\r\n'
2008/01/21 15:44 CET [-] SIMCardConnAdapter::WAITING: EOR detected, firing deferred
2008/01/21 15:44 CET [-] SIMCardConnAdapter::WAITING: CBK = [('E17X',), ('OK',)]
2008/01/21 15:44 CET [-] SIMCardConnAdapter: NEW STATE: idle
2008/01/21 15:44 CET [-] SIMCardConnAdapter: SENDING ATCMD 'AT+CGMM\r\n'
2008/01/21 15:44 CET [-] SIMCardConnAdapter: NEW STATE: waiting
2008/01/21 15:44 CET [-] SIMCardConnAdapter::WAITING DATA_RCV: 'AT+CGMM\r'
2008/01/21 15:44 CET [-] "SIMCardConnAdapter::WAITING: Data AT+CGMM\r didn't match my regexp"
2008/01/21 15:44 CET [-] SIMCardConnAdapter::WAITING DATA_RCV: '\r\nE17X\r\n\r\nOK\r\n'
2008/01/21 15:44 CET [-] SIMCardConnAdapter::WAITING: EOR detected, firing deferred
2008/01/21 15:44 CET [-] SIMCardConnAdapter::WAITING: CBK = [('E17X',), ('OK',)]
2008/01/21 15:44 CET [-] SIMCardConnAdapter: NEW STATE: idle
2008/01/21 15:44 CET [-] SIMCardConnAdapter: SENDING ATCMD 'AT+CGMM\r\n'
2008/01/21 15:44 CET [-] SIMCardConnAdapter: NEW STATE: waiting
2008/01/21 15:44 CET [-] SIMCardConnAdapter::WAITING DATA_RCV: 'AT+CGMM\r'
2008/01/21 15:44 CET [-] "SIMCardConnAdapter::WAITING: Data AT+CGMM\r didn't match my regexp"
2008/01/21 15:44 CET [-] SIMCardConnAdapter::WAITING DATA_RCV: '\r\nE17X\r\n\r\nOK\r\n'
2008/01/21 15:44 CET [-] SIMCardConnAdapter::WAITING: EOR detected, firing deferred
2008/01/21 15:44 CET [-] SIMCardConnAdapter::WAITING: CBK = [('E17X',), ('OK',)]
2008/01/21 15:44 CET [-] /usr/lib/python2.5/site-packages/vmc/contrib/gtkmvc/view.py:59: <class 'gtk.GtkWarning'>: gtk_tree_row_reference_new: assertion `GTK_IS_TREE_MODEL (model)' failed
2008/01/21 15:44 CET [-] /usr/lib/python2.5/site-packages/vmc/contrib/gtkmvc/view.py:59: <class 'gtk.GtkWarning'>: gtk_cell_view_set_displayed_row: assertion `GTK_IS_TREE_MODEL (cell_view->priv->model)' failed
2008/01/21 15:44 CET [-] SIMCardConnAdapter: NEW STATE: idle
2008/01/21 15:53 CET [-] SIMCardConnAdapter: SENDING ATCMD 'AT+CGMM\r\n'
2008/01/21 15:53 CET [-] SIMCardConnAdapter: NEW STATE: waiting
2008/01/21 15:53 CET [-] SIMCardConnAdapter::WAITING DATA_RCV: 'AT+CGMM\r'
2008/01/21 15:53 CET [-] "SIMCardConnAdapter::WAITING: Data AT+CGMM\r didn't match my regexp"
2008/01/21 15:53 CET [-] SIMCardConnAdapter::WAITING DATA_RCV: '\r\nE17X\r\n\r\nOK\r\n'
2008/01/21 15:53 CET [-] SIMCardConnAdapter::WAITING: EOR detected, firing deferred
2008/01/21 15:53 CET [-] SIMCardConnAdapter::WAITING: CBK = [('E17X',), ('OK',)]
2008/01/21 15:53 CET [-] Unhandled error in Deferred:
2008/01/21 15:53 CET [-] Traceback (most recent call last):
File "/usr/lib64/python2.5/site-packages/twisted/internet/defer.py", line 307, in _runCallbacks
self.result = callback(self.result, *args, **kw)
File "/usr/lib/python2.5/site-packages/vmc/common/hardware/base.py", line 83, in get_model_cb
deferred.callback(name)
File "/usr/lib64/python2.5/site-packages/twisted/internet/defer.py", line 229, in callback
self._startRunCallbacks(result)
File "/usr/lib64/python2.5/site-packages/twisted/internet/defer.py", line 294, in _startRunCallbacks
self._runCallbacks()
--- <exception caught here> ---
File "/usr/lib64/python2.5/site-packages/twisted/internet/defer.py", line 307, in _runCallbacks
self.result = callback(self.result, *args, **kw)
File "/usr/lib/python2.5/site-packages/vmc/gtk/startup.py", line 252, in identify_dev_cb
hook_it_up(self.splash, DeviceListener(self.device), self.device)
File "/usr/lib/python2.5/site-packages/vmc/gtk/startup.py", line 275, in hook_it_up
from vmc.gtk.models.application import ApplicationModel
File "/usr/lib/python2.5/site-packages/vmc/gtk/models/application.py", line 27, in <module>
from twisted.python.modules import PythonPath
<type 'exceptions.ImportError'>: No module named modules

2008/01/21 15:53 CET [-] SIMCardConnAdapter: NEW STATE: idle


Here the ui close is I click on it, but the process continues to run. Then I close the process with Ctrl+c ("cerrando" means closing, in Spanish)


2008/01/21 16:01 CET [-] Cerrando...
2008/01/21 16:01 CET [-] (Port 2222 Closed)
2008/01/21 16:01 CET [-] Stopping factory <twisted.conch.manhole_ssh.ConchFactory instance at 0x1412368>
2008/01/21 16:01 CET [-] Server Shut Down.


I can't understand those messages. Any hint?
Thanks!
 
Old 01-22-2008, 05:33 AM   #4
unSpawn
Moderator
 
Registered: May 2001
Posts: 27,112
Blog Entries: 54

Rep: Reputation: 2784Reputation: 2784Reputation: 2784Reputation: 2784Reputation: 2784Reputation: 2784Reputation: 2784Reputation: 2784Reputation: 2784Reputation: 2784Reputation: 2784
Dunno, but rereading the release log for 1.99.17 it states "Fedora 8 supported, Fedora 7 support not continued". Fedora itself supports one release before current, so you could ask in https://forge.vodafonebetavine.net/f...hp?forum_id=20 if it's not too much trouble. OTOH with Fedora it's good practice to stay upgraded with current so maybe you could "just" upgrade to 8. FWIW and while it's no guarantee I did upgrade ("if it ain't broken let's try and break it") one machine last year from FC6 to F7 to F8. All done within a few hours and w/o showstopping glitches.
 
Old 03-29-2008, 09:40 AM   #5
RGB_mdk
LQ Newbie
 
Registered: Apr 2004
Posts: 18

Original Poster
Rep: Reputation: 0
Finally, I installed fedora 8 and now everything is running!
 
Old 10-19-2008, 08:30 AM   #6
jago25_98
Member
 
Registered: Jun 2001
Posts: 278

Rep: Reputation: 30
Can anyone help me figure out what kernel module is related to this USB modem?

Because I can see the modem with lsusb, but can't query it on /dev/ttyUSB0

Is there a kernel driver embedded in the Vodafone file from betavine forge?
 
Old 10-19-2008, 09:26 AM   #7
tredegar
Guru
 
Registered: May 2003
Location: London, UK
Distribution: Ubuntu 10.04, mostly
Posts: 6,007

Rep: Reputation: 367Reputation: 367Reputation: 367Reputation: 367
Quote:
Because I can see the modem with lsusb, but can't query it on /dev/ttyUSB0
Some of these modems start up as a "CD" with the windows drivers being presented to windows for windows to load them.

Some distros cope with this automatically now, others don't (and you haven't told us yours).

You may need a utility called usb_modeswitch to switch the dongle to "modem mode".
Search for usb_modeswitch, download & install it.

Once my dongle is plugged in I need this "magic code":
Code:
/sbin/usb_modeswitch -v 12d1 -p 1001 -d 1
/sbin/usb_modeswitch -v 12d1 -p 1001 -H 1
The numbers after the v and p parameters refer to the vendor and product ID numbers listed by lsusb for my modem (A Huawei E169G)
If you are in the mood, you can write a udev rule to make this happen automatically when the dongle is plugged in.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
LXer: Vodafone Mobile Connect Card Driver For Linux LXer Syndicated Linux News 0 11-05-2007 12:50 PM
Vodafone Mobile Connect (USB) in SUSE 10.2 1kyle Suse/Novell 2 01-04-2007 04:56 AM
vodafone 3G card only connects at gprs speeds. wnguza Linux - Networking 2 06-05-2006 08:39 AM
Vodafone 3g problem (Fusion UMTS Quad-GPRS) matux Linux - Hardware 1 04-29-2006 12:10 PM
Unable to establish GPRS link with Vodafone via GSM modem stuckfast Linux - Networking 1 11-13-2005 04:48 AM


All times are GMT -5. The time now is 06:28 AM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration