Linux - HardwareThis forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
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
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 ?
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!
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.
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.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.