andyase: Keke
Thanks for the reply, sorry its been a while replying.
I can now see the deivce as ttyUSB0. When I try to send a text I get the following:
2011-03-02 21:48:30,6, GSM1: I have to send 1 short message for /var/spool/sms/checked/send_D32371
2011-03-02 21:48:30,6, GSM1: Sending SMS from to 44******
2011-03-02 21:48:30,6, GSM1: Checking if modem is ready
2011-03-02 21:48:30,7, GSM1: -> AT
2011-03-02 21:48:30,7, GSM1: Command is sent
2011-03-02 21:48:30,7, GSM1: -> AT
2011-03-02 21:48:30,7, GSM1: Command is sent, waiting for the answer
2011-03-02 21:48:35,7, GSM1: put_command expected (OK)|(ERROR), timeout occurred. 1.
2011-03-02 21:48:35,7, GSM1: <-
2011-03-02 21:48:36,7, GSM1: ->
2011-03-02 21:48:36,7, GSM1: Command is sent, waiting for the answer
2011-03-02 21:48:41,7, GSM1: put_command expected (OK)|(ERROR), timeout occurred. 2.
2011-03-02 21:48:41,7, GSM1: <-
2011-03-02 21:48:41,7, GSM1: -> AT
2011-03-02 21:48:41,7, GSM1: Command is sent,
And so on.
Config file:
# Global configuration
devices = GSM1
loglevel = 7
logfile = /var/log/sms/smstools.log
outgoing = /var/spool/sms/outgoing
checked = /var/spool/sms/checked
failed = /var/spool/sms/failed
incoming = /var/spool/sms/incoming
sent = /var/spool/sms/sent
delaytime = 6
errorsleeptime = 12
blocktime = 180
autosplit = 3
receive_before_send = no
# Modem configuration
# Benq GSM
[GSM1]
device = /dev/ttyUSB0
init = AT+CNMI=0,0,0,1,0
incoming = yes
check_memory_method = 31
phonecalls = clip
voicecall_hangup_ath = yes
voicecall_cpas = yes
needs_wakeup_at = yes
using_routed_status_report = yes
routed_status_report_cnma = no
Any help please
Regards
|
andyase: Operating system name and version: CentOS release 5.5
Version of smsd: 3.1.14
Smsd installed from: sources
Name and model of a modem / phone: USB Tri-band GPRS Modem - from deal extreme (benq m32)
Interface: USB
Okay, I have centos 5.5 with virtualmin installed. I inserted the usb modem and if i do - lsusb the modem is detected. However it is not creating a device file. there are no tty usb devices detected, i get this also if i plug in a usb mem stick.
Has anyone got any idea how to get this device detected properly... I have been trolling the web for 2 days and not having much success. I heard it may be something to do with (xen virtual passthrough??) I am not a linux expert so i'm a bit stuck. Any help appreciated.
Andy
|