mcampos: Hello guys. I'm having similar problem.
I have smstools 3.1.15 (compiled from sources)
at a Linux Mint 14 with a kernel 3.5.0-17 x64
I have a 3g ZTE MF190 modem connected via USB.
I connect the modem, I enable the Mobile Broadband connection from my graphic environment (LXDE) and I wait
the green light of the modem be turned on (At graphical environment I see the notification "You are now registered on the home network").
So, using the comand
dmesg | grep ttyUSB
I get different USB ports
at diferent times that I run dmesg.
Sometimes, I get ttyUSB0, ttyUSB1 and ttyUSB2,
other times I get ttyUSB1, ttyUSB2 and ttyUSB3, and so on.
Below is a dmesg command return,
showing the ports ttyUSB0, ttyUSB2 and ttyUSB3:
usb 1-2: >GSM modem (1-port) converter now attached to ttyUSB0
usb 1-2: >GSM modem (1-port) converter now attached to ttyUSB2
usb 1-2: >GSM modem (1-port) converter now attached to ttyUSB3
I'm running smsd with root and I try every USB port listed by dmesg.
Sometimes, some usb ports works, other times I try every port
and nothing works. I try to connect the modem at different USB ports,
I run dmesg again, I try all ports again (restarting smsd) and nothing works.
At smsd.log I get:
GSM1: -> AT
GSM1: Command is sent, waiting for the answer
GSM1: put_command expected (OK)|(ERROR), timeout occurred.
What I don't understand is that, sometimes, only changing the USB port at smsd.conf and restarting smsd, it works.
My smsd.conf is below:
devices = GSM1
logfile = /var/log/smsd.log
group = manoelcampos
loglevel = 7
sent = /var/spool/sms/sent
incoming_utf8 = yes
internal_combine = yes
receive_before_send = yes
[GSM1]
read_timeout = 10
incoming = yes
device = /dev/ttyUSB3
I apreciate any help.
|