Hi,
   I did. When i did minicom -s -c on , it opened a menu and in the serial
port setup option it shows these settings

 ┌───────────────────────────────────────────────────────────────────────┐
    │ A -    Serial Device      : /dev/ttyS1                               
│
    │ B - Lockfile Location     : /var/lock                                
│
    │ C -   Callin Program      :                                          
│
    │ D -  Callout Program      :                                          
│
    │ E -    Bps/Par/Bits       : 38400 8N1                                
│
    │ F - Hardware Flow Control : Yes                                      
│
    │ G - Software Flow Control : No                                       
│
    │                                                                      
│
    │    Change which setting?                                             
│
   
└───────────────────────────────────────────────────────────────────────┘
            │ Screen and keyboard      │
            │ Save setup as on         │
            │ Save setup as..          │
            │ Exit                     │
            │ Exit from Minicom 

So do i need to change my modem from ttyACM0 to ttys1 in my kannel file or
change here from ttys1 to ttyACM0.

Is my mobile connected to ttyS1 modem because here it is showing ttys1 or
it's default settings for minicom.

Thanks

   

Nikos Balkanas-2 wrote:
> 
> 1) Install minicom or wvdial
> 2) man minicom or wvdial
> 
> ;-) Nikos
> ----- Original Message ----- 
> From: "Basit56" <[email protected]>
> To: <[email protected]>
> Sent: Monday, February 01, 2010 11:39 AM
> Subject: Re: message is going but it shows errors messages(error encoding 
> PDU)
> 
> 
>>
>> Hi,
>> Thanks. How can i talk or check my modem with minicom or wvdial that it's
>> suitable for kannel . Earlier it's work fine. Even before two days 
>> messages
>> were still going. But now messages are not going .
>>
>> Thanks
>>
>>
>> Nikos Balkanas wrote:
>>>
>>> I mean to try to connect and talk to modem with minicom or wvdial before
>>> starting kannel. I presume that your modem is connected to ttyS0 (serial
>>> port on your PC).
>>>
>>> BR,
>>> Nikos
>>> ----- Original Message ----- 
>>> From: "Basit56" <[email protected]>
>>> To: <[email protected]>
>>> Sent: Monday, February 01, 2010 10:28 AM
>>> Subject: Re: message is going but it shows errors messages(error
>>> encoding
>>> PDU)
>>>
>>>
>>>>
>>>> Hi,
>>>> Thanks. When i did the out put is
>>>>
>>>> [quote]
>>>>
>>>> [r...@ns9 asterisk-1.4.18.1]# dmesg | grep tty
>>>> ttyS0 at I/O 0x3f8 (irq = 4) is a 16550A
>>>> ttyS1 at I/O 0x2f8 (irq = 3) is a 16550A
>>>> cdc_acm 5-2:1.1: ttyACM0: USB ACM device
>>>> cdc_acm 5-2:1.1: ttyACM0: USB ACM device
>>>>
>>>> [/quote]
>>>>
>>>> So did i change my modem from ttyACM0 to ttyS0. Is it?
>>>>
>>>> what do you mean by
>>>>
>>>> verify with minicom or wvdial. Then if different configure it in
>>>> kannel.
>>>>
>>>> Thanks
>>>>
>>>> Nikos Balkanas wrote:
>>>>>
>>>>> Hi,
>>>>>
>>>>> Seems your modem is not at /dev/ttyACM0. Find where by:
>>>>>
>>>>> dmesg | grep tty
>>>>>
>>>>> and verify with minicom or wvdial. Then if different configure it in
>>>>> kannel.
>>>>>
>>>>> BR,
>>>>> Nikos
>>>>> ----- Original Message ----- 
>>>>> From: "Basit56" <[email protected]>
>>>>> To: <[email protected]>
>>>>> Sent: Monday, February 01, 2010 8:28 AM
>>>>> Subject: message is going but it shows errors messages(error encoding
>>>>> PDU)
>>>>>
>>>>>
>>>>>>
>>>>>> Hi,
>>>>>>   Hope you all will be fine. When i start my kannel it shows these
>>>>>> error
>>>>>> messages.
>>>>>>
>>>>>> : AT2[/dev/ttyACM0]: Error encoding PDU!
>>>>>> 2010-01-30 21:49:48 [12809] [4] ERROR: System error 2: No such file
>>>>>> or
>>>>>> directory
>>>>>> 2010-01-30 21:49:50 [12809] [4] ERROR: AT2[/dev/ttyACM0]: Error
>>>>>> encoding
>>>>>> PDU!
>>>>>> 2010-01-30 21:49:50 [12809] [4] ERROR: System error 2: No such file
>>>>>> or
>>>>>> directory
>>>>>> 2010-01-30 21:49:52 [12809] [4] ERROR: AT2[/dev/ttyACM0]: Error
>>>>>> encoding
>>>>>> PDU!
>>>>>> 2010-01-30 21:49:52 [12809] [4] ERROR: System error 2: No such file
>>>>>> or
>>>>>> directory
>>>>>> 2010-01-30 21:49:54 [12809] [4] ERROR: AT2[/dev/ttyACM0]: Error
>>>>>> encoding
>>>>>> PDU!
>>>>>> 2010-01-30 21:49:54 [12809] [4] ERROR: System error 2: No such file
>>>>>> or
>>>>>> directory
>>>>>> 2010-01-30 21:49:56 [12809] [4] ERROR: AT2[/dev/ttyACM0]: Error
>>>>>> encoding
>>>>>> PDU!
>>>>>> 2010-01-30 21:49:56 [12809] [4] ERROR: System error 2: No such file
>>>>>> or
>>>>>> directory
>>>>>> 2010-01-30 21:49:56 [12809] [6] DEBUG: Dumping 967 messages to store
>>>>>> 2010-01-30 21:49:58 [12809] [4] ERROR: AT2[/dev/ttyACM0]: Error
>>>>>> encoding
>>>>>> PDU!
>>>>>> 2010-01-30 21:49:58 [12809] [4] ERROR: System error 2: No such file
>>>>>> or
>>>>>> directory
>>>>>> 2010-01-30 21:50:00 [12809] [4] ERROR: AT2[/dev/ttyACM0]: Error
>>>>>> encoding
>>>>>> PDU!
>>>>>> 2010-01-30 21:50:00 [12809] [4] ERROR: System error 2: No such file
>>>>>> or
>>>>>> directory
>>>>>> 2010-01-30 21:50:02 [12809] [4] ERROR: AT2[/dev/ttyACM0]: Error
>>>>>> encoding
>>>>>> PDU!
>>>>>>
>>>>>> Although the messages are going. Can any one tell me what these
>>>>>> errors
>>>>>> mean
>>>>>> and why they are coming
>>>>>> and how can i remove it.
>>>>>>
>>>>>> Thank you.
>>>>>>
>>>>>> -- 
>>>>>> View this message in context:
>>>>>> http://old.nabble.com/message-is-going-but-it-shows-errors-messages%28error-encoding-PDU%29-tp27382916p27382916.html
>>>>>> Sent from the Kannel - User mailing list archive at Nabble.com.
>>>>>>
>>>>>
>>>>>
>>>>>
>>>>>
>>>>
>>>> -- 
>>>> View this message in context:
>>>> http://old.nabble.com/message-is-going-but-it-shows-errors-messages%28error-encoding-PDU%29-tp27382916p27400970.html
>>>> Sent from the Kannel - User mailing list archive at Nabble.com.
>>>>
>>>>
>>>
>>>
>>>
>>>
>>
>> -- 
>> View this message in context: 
>> http://old.nabble.com/message-is-going-but-it-shows-errors-messages%28error-encoding-PDU%29-tp27382916p27401614.html
>> Sent from the Kannel - User mailing list archive at Nabble.com.
>> 
> 
> 
> 
> 

-- 
View this message in context: 
http://old.nabble.com/message-is-going-but-it-shows-errors-messages%28error-encoding-PDU%29-tp27382916p27415977.html
Sent from the Kannel - User mailing list archive at Nabble.com.


Reply via email to