spacer
spacer search

PHARscape
Phar enough!

Search
spacer
header
Main Menu
Home
Linux and 3G
Linux and 3G Forum
Python Stuff
Pictures
Astronomy
Links
Contacting Me
Search
Mambo License
About
Syndicate
Lunarpages.com Web Hosting
 
Home arrow Linux and 3G Forum

PHARscape
3G Datacards and Linux
 
  FAQFAQ    SearchSearch  RegisterRegister 
   Log inLog in 

/dev/ttyHS0 doesn't work after modem removal/insert

 
Post new topic   Reply to topic    PHARscape Forum Index -> HSO - Packet Driver for Option 7.2 Mbps devices
View previous topic :: View next topic  
Author Message
smu



Joined: 05 Feb 2008
Posts: 4

blank.gif
PostPosted: Wed Sep 03, 2008 2:13 pm    Post subject: /dev/ttyHS0 doesn't work after modem removal/insert Reply with quote

Hi,

have a problem with HSO drivers. After I suspend/resume my system or plug again modem, I can't connect. I found, that /dev/ttyHS0 is not recreated (although all other ports are created). But. Control port (which is actually /dev/ttyHS0) now becomes /dev/ttyHS1. And if I change hso-connect.sh script to use port /dev/ttyHS1 instead /dev/ttyHS0, then everything work fine. After second modem removal/insert, Control port becomes /dev/ttyHS2. It seems, that Control port is increased every time I re-plug my modem.

Here is a snippet from my kernel logs:

The first I plug it:
[ 40.326513] HSO: Found Network port hso0
[ 40.326657] HSO: Found Control port /dev/ttyHS0
[ 40.326696] HSO: Found Application port /dev/ttyHS1
[ 40.326750] HSO: Found Diagnostic port /dev/ttyHS2
[ 40.326814] HSO: Found Modem port /dev/ttyHS3

The second time:
[ 6.135285] HSO: Found Network port hso0
[ 6.135432] HSO: Found Control port /dev/ttyHS1
[ 6.135473] HSO: Found Application port /dev/ttyHS2
[ 6.137486] HSO: Found Diagnostic port /dev/ttyHS3
[ 6.141295] HSO: Found Modem port /dev/ttyHS4

The third time:
[ 406.971034] HSO: Found Network port hso0
[ 406.971245] HSO: Found Control port /dev/ttyHS2
[ 406.971349] HSO: Found Application port /dev/ttyHS3
[ 406.979405] HSO: Found Diagnostic port /dev/ttyHS4
[ 406.985131] HSO: Found Modem port /dev/ttyHS5

What the problem can it be?
Back to top
View user's profile Send private message
smu



Joined: 05 Feb 2008
Posts: 4

blank.gif
PostPosted: Thu Sep 04, 2008 1:58 pm    Post subject: Reply with quote

BTW, I'm using Ubuntu 8.04 and kernel 2.6.24.

Also I noticed that after I remove modem, all /dev/ttyHSx ports are closed except /dev/ttyHS0. It seems that module is not able to close /dev/ttyHS0 port (i.e. Control port).
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    PHARscape Forum Index -> HSO - Packet Driver for Option 7.2 Mbps devices All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum


phpBB component by Adam van Dongen. Based on phpBB © 2001, 2002 phpBB Group
spacer

 
Copyright 2000 - 2005 Miro International Pty Ltd. All rights reserved.
Mambo is Free Software released under the GNU/GPL License.
spacer