Hi, i use a script that read the IMEI from the modem conected and generate
a 'link'. The modens are saved like this:

<dev>,<imei>
GSM22,35801290510921
GSM23,35801290521322

So i always have the /dev/GSM22 and /dev/GSM23 on the /dev directory...

I have set chmod 777 /dev/GSM* and chmod 777 /dev/ttyUSB*.


I am afraid of getting this: "- Your modem might  have hung and is not
responding to kannel."



..............................................
*Diogo Hartmann*
*skype: diogodhh*
*phone: +55 42 9910 0078*
*
*

      __                    _   _            _

     |   \ _ ___ ___  ___  | |_| |_  _ _ _ ,' ', _ _ __ _ _ _  _ _  _

     | |` | / _ / _ |/ _ \ |  _  / _` | '_| | | | ` ` / _` | `| | `| |

     |___/|_\___\___,\___/ |_| |_\__,_|_|   |_| |_|_|_\__,_|_\__|_\__|

                  __|

*
*



2012/1/18 Alvaro Cornejo <cornejo.alv...@gmail.com>

> Hi
>
> Have no idea of the system error but from the could not write to
> device error, it seems kannel can not communicate with the modem:
>
> - Does the user running kannel has write access to the device?
> - Have your modem been disconnected/power cycle? In some occasions,
> when a usb device is disconected and reconnected the kernel does not
> asign the same device to the same unit.. ie it was /dev/ttyUSB0 but
> after reconected/power cycled it is now /dev/ttyUSB1 or whatever.
> - Your modem might  have hung and is not responding to kannel.
>
> Hope helps
>
> 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.NET www.smsglobal.com.mx y
> www.pravcom.com
>
>
>
> On Wed, Jan 18, 2012 at 12:25 PM, Diogo Hartmann <diogo...@gmail.com>
> wrote:
> > System error 5: Input/output error
> >
> > 2012-01-18 17:13:24 [20211] [22] ERROR: AT2[GSM22]: Couldnot write to
> > device.
> > 2012-01-18 17:13:24 [20211] [22] ERROR: System error 5: Input/output
> error
> > 2012-01-18 17:13:24 [20211] [22] DEBUG: AT2[GSM22]: send command status:
> -1
> > 2012-01-18 17:13:24 [20211] [22] ERROR: AT2[GSM22]: Error received,
> > notifying failure, sender: +5525235250000 receiver: +558888529344msgdata:
> > 16/01 a 26/01/12 periodo de matricula udhdata: (null)
> > 2012-01-18 17:13:26 [20211] [22] DEBUG: AT2[GSM22]: TP-Validity-Period:
> 24.0
> > hours
> > 2012-01-18 17:13:26 [20211] [22] DEBUG: AT2[GSM22]: --> AT+CMGS=69^M
> > 2012-01-18 17:13:26 [20211] [22] ERROR: AT2[GSM22]: Couldnot write to
> > device.
> > 2012-01-18 17:13:26 [20211] [22] ERROR: System error 5: Input/output
> error
> > 2012-01-18 17:13:26 [20211] [22] DEBUG: AT2[GSM22]: send command status:
> -1
> > 2012-01-18 17:13:26 [20211] [22] ERROR: AT2[GSM22]: Error received,
> > notifying failure, sender: +5525235250000 receiver: +558888476829
> msgdata:
> > 16/01 a 26/01/12 periodo de matricula udhdata: (null)
> > 2012-01-18 17:13:28 [20211] [22] DEBUG: AT2[GSM22]: TP-Validity-Period:
> 24.0
> > hours
> > 2012-01-18 17:13:28 [20211] [22] DEBUG: AT2[GSM22]: --> AT+CMGS=69^M
> > 2012-01-18 17:13:28 [20211] [22] ERROR: AT2[GSM22]: Couldnot write to
> > device.
> > 2012-01-18 17:13:28 [20211] [22] ERROR: System error 5: Input/output
> error
> > 2012-01-18 17:13:28 [20211] [22] DEBUG: AT2[GSM22]: send command status:
> -1
> > 2012-01-18 17:13:28 [20211] [22] ERROR: AT2[GSM22]: Error received,
> > notifying failure, sender: +5525235250000 receiver: +558888465756
> msgdata:
> > 16/01 a 26/01/12 periodo de matricula udhdata: (null)
> > 2012-01-18 17:13:30 [20211] [22] DEBUG: AT2[GSM22]: TP-Validity-Period:
> 24.0
> > hours
> > 2012-01-18 17:13:30 [20211] [22] DEBUG: AT2[GSM22]: --> AT+CMGS=69^M
> > 2012-01-18 17:13:30 [20211] [22] ERROR: AT2[GSM22]: Couldnot write to
> > device.
> > 2012-01-18 17:13:30 [20211] [22] ERROR: System error 5: Input/output
> error
> > 2012-01-18 17:13:30 [20211] [22] DEBUG: AT2[GSM22]: send command status:
> -1
> > 2012-01-18 17:13:30 [20211] [22] ERROR: AT2[GSM22]: Error received,
> > notifying failure, sender: +5525235250000 receiver: +558888516220
> msgdata:
> > 16/01 a 26/01/12 periodo de matricula udhdata: (null)
> > 2012-01-18 17:13:32 [20211] [22] DEBUG: AT2[GSM22]: TP-Validity-Period:
> 24.0
> > hours
> > 2012-01-18 17:13:32 [20211] [22] DEBUG: AT2[GSM22]: --> AT+CMGS=69^M
> >
> >
> > Does anybody know something about this problem? What can I do?
> > GSM22 is a Sierra AT&T 305 USB GSM modem...
> >
> > ..............................................
> > Diogo Hartmann
> > skype: diogodhh
> > phone: +55 42 9910 0078
> >
> >       __                    _   _            _
> >
> >      |   \ _ ___ ___  ___  | |_| |_  _ _ _ ,' ', _ _ __ _ _ _  _ _  _
> >
> >      | |` | / _ / _ |/ _ \ |  _  / _` | '_| | | | ` ` / _` | `| | `| |
> >
> >      |___/|_\___\___,\___/ |_| |_\__,_|_|   |_| |_|_|_\__,_|_\__|_\__|
> >
> >                   __|
> >
> >
> >
>

Reply via email to