|
|
Home Linux and 3G Forum
|
|
PHARscape 3G Datacards and Linux
|
| View previous topic :: View next topic |
| Author |
Message |
smu
Joined: 05 Feb 2008 Posts: 4

|
Posted: Wed Sep 03, 2008 2:13 pm Post subject: /dev/ttyHS0 doesn't work after modem removal/insert |
|
|
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 |
|
 |
smu
Joined: 05 Feb 2008 Posts: 4

|
Posted: Thu Sep 04, 2008 1:58 pm Post subject: |
|
|
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 |
|
 |
|
|
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
|
|
|
|
|
|