LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 07-10-2010, 04:49 AM   #1
radu.pop
LQ Newbie
 
Registered: Nov 2008
Posts: 12

Rep: Reputation: 0
one GSM/GPRS/3G usb stick modem creates 3 usb serial devices


Hello,

I'm running a Slackware 13 box, and after a bit of struggle I managed to make my mobile internet usb stick to work with linux. After enabling a few kernel modules (symbols: USB_SERIAL, USB_SERIAL_GENERIC and USB_SERIAL_OPTION) and made a small udev rule which literally ejects the stick which gets firstly detected and mounted by hal as a scsi cdrom, three usb serial devices are created: /dev/ttyUSB{0,1,2}. By trial and error I managed to successfully use /dev/ttyUSB2 to dial in and connect.
What puzzles me is why the 3 devices created? Are there 3 physical devices contended within the stick which get detected and may serve other purposes, from which only one is the plain modem or is it a driver issue/redundancy?
I can provide syslog messages and udev information (events, environment, etc) if needed.

Any thoughts are greatly appreciated.
 
Old 07-15-2010, 02:29 PM   #2
ogin
LQ Newbie
 
Registered: Nov 2005
Posts: 11

Rep: Reputation: 1
Similar to how plugging in a device that can both play and capture audio results in (at least) two devices being created under /dev, it looks like the driver handling your usb modem does the same. The modem may actually have 3 separate chipsets that you can now directly access from user space. If you're interested in knowing more about how devices are loaded (and how to play with those devices directly), then I'd highly recommend Essential Linux Devices Drivers.
 
Old 07-16-2010, 01:32 AM   #3
radu.pop
LQ Newbie
 
Registered: Nov 2008
Posts: 12

Original Poster
Rep: Reputation: 0
Thanks. I'll check it out.
 
  


Reply



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 On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Debian and Ubuntu supported USB gsm modem ashikali.m Linux - Hardware 5 04-09-2010 01:05 AM
Solomon GPRS USB modem tw7ug Linux - Hardware 1 01-23-2008 07:52 AM
USB GPRS modem does not dial-up xptchina Linux - Wireless Networking 2 08-01-2007 01:34 AM
Unable to establish GPRS link with Vodafone via GSM modem stuckfast Linux - Networking 1 11-13-2005 04:48 AM
USB gsm modem setup thomasmathiesen Linux - Hardware 0 06-08-2004 06:29 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 03:55 AM.

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