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 |
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.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
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.
 |
GNU/Linux Basic Guide
This 255-page guide will provide you with the keys to understand the philosophy of free software, teach you how to use and handle it, and give you the tools required to move easily in the world of GNU/Linux. Many users and administrators will be taking their first steps with this GNU/Linux Basic guide and it will show you how to approach and solve the problems you encounter.
Click Here to receive this Complete Guide absolutely free. |
|
 |
01-20-2008, 09:51 AM
|
#1
|
|
LQ Newbie
Registered: Apr 2004
Posts: 18
Rep:
|
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
|
|
|
|
01-21-2008, 06:19 AM
|
#2
|
|
Moderator
Registered: May 2001
Posts: 24,970
|
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 ?
|
|
|
|
01-21-2008, 10:14 AM
|
#3
|
|
LQ Newbie
Registered: Apr 2004
Posts: 18
Original Poster
Rep:
|
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!
|
|
|
|
01-22-2008, 05:33 AM
|
#4
|
|
Moderator
Registered: May 2001
Posts: 24,970
|
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.
|
|
|
|
03-29-2008, 09:40 AM
|
#5
|
|
LQ Newbie
Registered: Apr 2004
Posts: 18
Original Poster
Rep:
|
Finally, I installed fedora 8 and now everything is running!
|
|
|
|
10-19-2008, 08:30 AM
|
#6
|
|
Member
Registered: Jun 2001
Posts: 274
Rep:
|
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?
|
|
|
|
10-19-2008, 09:26 AM
|
#7
|
|
Guru
Registered: May 2003
Location: London, UK
Distribution: Ubuntu 10.04, mostly
Posts: 6,002
|
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.
|
|
|
|
| Thread Tools |
Search this Thread |
|
|
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
All times are GMT -5. The time now is 04:05 AM.
|
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|