|
|
SMS Server Tools 3 Community |
Welcome, Guest. The forum is currently read-only, but will open soon. |
Thu Nov 21, 2024 17:30 |
Login and Post Reply
Page: 1
Author |
Post |
|
#1 Tue Sep 06, 2016 16:54, 99 months ago.
|
Member
Registered: Sep 2016
Location: Caracas, Venezuela
|
Ubuntu 16.04 64Bits / Laptop Toshiba Satellite L455 : Version: 3.1.15-1.2: Smsd installed from: package repository via apt-get Modem Huawei e353 [12d1:1506]: Interface: USB Hi guys, I need some help with the initialization command for my USB stick modem. My smsconf is almost unmodified , only changed the device. # cat /etc/smsd.conf # dmesg this is basically what I get from : # cat /dev/ttyUSB2 This is the logfile: I thought it was a permissions thing but... Any advice?? « Last edit by rmgomez44 on Tue Sep 06, 2016 16:57, 99 months ago. »
|
|
#2 Wed Sep 07, 2016 20:22, 99 months ago.
|
Administrator
Registered: May 2009
Location: Jyväskylä, Finland
|
Perhaps you have stability problem with the USB, probably not enough power is provided to the modem.
Also check how you are starting smsd, as there is some fatal error when smsd was started twice.
Stop the smsd and disconnect the modem. Connect the modem, and after you have seen dmesg output, look: ls -l /dev/serial/by-id
Check which link points to ttyUSB0, and use that link as a device. For example: device = /dev/serial/by-id/usb-HUAWEI_HUAWEI_Mobile-if00-port00
Do not use the link which points to the USB2.
Then just check what is happening, and be sure that smsd is not started more than once. The init script should take care of that.
|
|
#3 Wed Sep 07, 2016 22:03, 99 months ago.
|
Member
Registered: Sep 2016
Location: Caracas, Venezuela
Topic owner
|
Thank you keke for your response Following your advice.... changed the config file to USB0 Device = /dev/ttyUSB0 'smsdconf' Syntax Highlight powered by GeSHi this is how I'm starting it this is the log file : so, we are back to the Initialization string issue
|
|
#4 Wed Sep 07, 2016 23:33, 99 months ago.
|
Administrator
Registered: May 2009
Location: Jyväskylä, Finland
|
Ok, your init string has semicolons missing.
Try this: init = AT+CPMS="SM";+CNMI=2,0,0,2,1
With Huawei devices you will need this for reading messages: memory_start = 0
"serial/by_id" was mentioned, because these devices provide ttyUSB0, 1 and 2, but after the USB failure the ports are ttyUSB1, 2 and 3. As the first port should be used, the by-id does this.
|
|
#5 Wed Sep 14, 2016 11:19, 99 months ago.
|
Member
Registered: Sep 2016
Location: Harrogate, United Kingdom
|
Thanks to this thread I finally sorted incoming messages to my Huawei E5220
It needed this in the smsd.conf to ensure that incoming/outgoing worked
[modem1] init = AT+CPMS="SM";+CNMI=2,0,0,2,1 memory_start = 0 device = /dev/ttyUSB2 baudrate = 19200 incoming = high report = yes queues = modem1
|
Login and Post Reply
Page: 1
Time in this board is UTC.
|
|
|
|
|
|
|