LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 12-04-2007, 09:23 AM   #1
Simmo512
LQ Newbie
 
Registered: Nov 2007
Posts: 19

Rep: Reputation: 0
Unhappy pppd ttyUSB problem


I have a Huawei E220 USB 3G modem setup on CentOS 5 (2.6.18) that works fine. On startup pppd launches a dial on demand script and it works great. It uses /dev/ttyUSB0 and /dev/ttyUSB1

I'm now trying to add a USB GPS receiver. If I plug it in post boot its picked up and added as /dev/ttyUSB2. I can then run gpsd and it also works a treat.

My problem is on boot, if I have both the 3G modem and the GPS receiver plugged in, the GPS receiver is added before the 3G modem and therefore grabs ttyUSB0. Not a problem I thought, I'll just tell the 3G modem to use ttyUSB1 and ttyUSB2 and the GPS reciever can stay on ttyUSB0. This is where the trouble started, after the GPS receiver grabs ttyUSB0, devices ttyUSB1 amd ttyUSB2 are never created for the 3G modem.

If I boot with the GPS receiver unplugged, then plug it in post boot, everything works fine. I'm trying to get to a point where I can boot successfully with both 3G modem and GPS receiver plugged in.

Is it possible to force the GPS receiver to use ttyUSB2 therefore hopefully allowing the 3G modem to get the device it wants?

Thanks in advance...
 
  


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
Determining ttyUSB* based on location bcg121 Linux - Software 3 11-09-2007 10:32 AM
ttyUSB iomari SUSE / openSUSE 3 11-04-2005 02:31 AM
no /dev/ttyUSB* with FC3 please help derddera Fedora 3 12-30-2004 07:43 AM
/dev/ttyUSB? disappaers on SuSE 9.1 with pilot-link gevard Linux - Laptop and Netbook 0 08-29-2004 02:44 PM
pppd died: pppd options error (exit code 2) ianwest Linux - Newbie 2 07-31-2002 08:29 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 06:01 PM.

Main Menu
Advertisement
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
Open Source Consulting | Domain Registration