Hi
That is a totally different issue. That might happen if you disconnect
your modem from the PC and reinsert it. Maybe this also happens if you
turn it off/on. This shouldn´t happen "by itself" since /dev/tty is
defined by kernel on device detection.
There is a workaround predefining the /dev/xxx for the usb device but
didn´t remember how it is done.
Regards
Alvaro
|-----------------------------------------------------------------------------------------------------------------|
Envíe y Reciba Datos y mensajes de Texto (SMS) hacia y desde cualquier
celular y Nextel
en el Perú, México y en mas de 180 paises. Use aplicaciones 2 vias via
SMS y GPRS online
Visitenos en www.perusms.com
On Wed, May 7, 2014 at 5:14 PM, Daniel Boira <[email protected]> wrote:
> Alvaro,
> in that case I think the cause is that my kannel.conf set "device=ttyUSB1"
> and some times the modem is on ttyUSB0, or ttyUSB2, ...
>
> How can solve this problem?
>
>
> 2014-05-07 23:46 GMT+02:00 Alvaro Cornejo <[email protected]>:
>
>> Hi
>>
>> I had a similar issue with my enfora modems. I fixed it with a modem
>> firmware update. You might want to contact modem manufacturer and
>> report the issue.
>>
>> Somehow modem lost message memory locations thus unable to find
>> messages. this finally hung the modem and a reset is needed to have it
>> back online.
>>
>> Regards
>>
>> |-----------------------------------------------------------------------------------------------------------------|
>> Envíe y Reciba Datos y mensajes de Texto (SMS) hacia y desde cualquier
>> celular y Nextel
>> en el Perú, México y en mas de 180 paises. Use aplicaciones 2 vias via
>> SMS y GPRS online
>> Visitenos en www.perusms.com
>>
>>
>> On Wed, May 7, 2014 at 3:26 PM, Daniel Boira <[email protected]> wrote:
>> > Hello,
>> > sometimes - not always- I have connection problems with the modem on my
>> > kannel system. Which is my problem?
>> >
>> > Part of my logs:
>> > 2014-05-07 22:06:04 [1898] [6] DEBUG: AT2[/dev/ttyUSB1]: 1 messages
>> > waiting
>> > in memory
>> > 2014-05-07 22:06:04 [1898] [6] DEBUG: AT2[/dev/ttyUSB1]: --> AT+CMGR=1^M
>> > 2014-05-07 22:06:04 [1898] [6] DEBUG: AT2[/dev/ttyUSB1]: <-- OK
>> > 2014-05-07 22:06:04 [1898] [6] DEBUG: AT2[/dev/ttyUSB1]: not deleted.
>> > 2014-05-07 22:06:04 [1898] [6] DEBUG: AT2[/dev/ttyUSB1]: --> AT+CMGR=2^M
>> > 2014-05-07 22:06:04 [1898] [6] DEBUG: AT2[/dev/ttyUSB1]: <-- OK
>> > 2014-05-07 22:06:04 [1898] [6] DEBUG: AT2[/dev/ttyUSB1]: not deleted.
>> > .......
>> > .......
>> > 2014-05-07 22:06:06 [1898] [6] DEBUG: AT2[/dev/ttyUSB1]: not deleted.
>> > 2014-05-07 22:06:06 [1898] [6] DEBUG: AT2[/dev/ttyUSB1]: -->
>> > AT+CMGR=20^M
>> > 2014-05-07 22:06:06 [1898] [6] DEBUG: AT2[/dev/ttyUSB1]: <-- +CMS ERROR:
>> > 321
>> > 2014-05-07 22:06:06 [1898] [6] ERROR: AT2[/dev/ttyUSB1]: +CMS ERROR:
>> > +CMS
>> > ERROR: 321
>> > 2014-05-07 22:06:06 [1898] [6] ERROR: AT2[/dev/ttyUSB1]: +CMS ERROR: The
>> > memory/message storage index assigned to the AT command is invalid (321)
>> > 2014-05-07 22:06:06 [1898] [6] DEBUG: AT2[/dev/ttyUSB1]: failed to get
>> > message 20.
>> > 2014-05-07 22:07:08 [1898] [6] DEBUG: AT2[/dev/ttyUSB1]: --> AT+CPMS?^M
>> > 2014-05-07 22:07:08 [1898] [6] ERROR: AT2[/dev/ttyUSB1]: Couldnot write
>> > to
>> > device.
>> > 2014-05-07 22:07:08 [1898] [6] ERROR: System error 5: Input/output error
>> > 2014-05-07 22:07:08 [1898] [6] DEBUG: failed to send mem select command
>> > to
>> > modem -1
>> > 2014-05-07 22:07:08 [1898] [6] DEBUG: AT2[/dev/ttyUSB1]: memory check
>> > error
>> > 2014-05-07 22:07:08 [1898] [6] INFO: AT2[/dev/ttyUSB1]: Closing device
>> > 2014-05-07 22:07:08 [1898] [6] ERROR: AT2[/dev/ttyUSB1]: Couldn't
>> > connect
>> > (retrying in 10 seconds).
>> > 2014-05-07 22:07:18 [1898] [6] INFO: AT2[/dev/ttyUSB1]: opening device
>> > 2014-05-07 22:07:18 [1898] [6] ERROR: AT2[/dev/ttyUSB1]: open failed!
>> > ERRNO=6
>> > 2014-05-07 22:07:18 [1898] [6] ERROR: System error 6: No such device or
>> > address
>> > 2014-05-07 22:07:18 [1898] [6] ERROR: AT2[/dev/ttyUSB1]:
>> > at2_device_thread:
>> > open_at2_device failed.
>> > 2014-05-07 22:07:18 [1898] [6] ERROR: System error 6: No such device or
>> > address
>> > 2014-05-07 22:07:18 [1898] [6] ERROR: AT2[/dev/ttyUSB1]: Couldn't
>> > connect
>> > (retrying in 10 seconds).
>> >
>> >
>> > thanks
>> > daniel
>
>