daniel_sms: FREEBSD 8.2:
smstools3-3.1.14:
Smsd installed from: ports
Name and model of a modem / phone:
Interface: USB
Hi
I wanted to know which device can I use in this OS to send SMS with smsd.
If you can tell me which driver it is using under FREEBSD.
Thanks in advance
Daniel
|
daniel_sms: FreeBSD 8.2-RELEASE:
smstools3-3.1.14:
Smsd installed from: ports
Name and model of a modem / phone: Sierra wireless GL6110
Interface: USB
I cannot access to my modem GSM to send SMS
when I plug it i've got on /var/log/messages:
Dec 13 17:15:48 bli root: Unknown USB device: vendor 0x114f product 0x1234 bus uhub0
Dec 13 17:15:48 bli kernel: ugen0.3: <WAVECOM> at usbus0
the device created:
lrwxr-xr-x 1 root wheel 9 Dec 13 17:15 ugen0.3 -> usb/0.3.0
# ls -lt /dev/usb|head -1
crw-rw---- 1 root usb 0, 136 Dec 13 17:15 0.3.0
smsd run under owner uucp
uucp belongs to usb group so he's have the right on the device:
usb:*:100:root,uucp
Configuration of smsd
devices = GSM1
logfile = /var/log/smsd/smsd.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
loglevel = 7
[GSM1]
device = /dev/ugen0.3
incoming = yes
mode = new
#smsc = 4#####
baudrate = 115200
pin = 2587
rtscts = yes
cs_convert = yes
report = yes
sending_disabled = no
memory_start = 1
device_open_retries = 1
I start smsd and I ve got this log:
2011-12-02 13:28:57,2, smsd: Smsd v3.1.14 started.
2011-12-02 13:28:57,2, smsd: Running as uucp:uucp.
2011-12-02 13:28:57,7, smsd: Running startup_check (shell): /var/spool/sms/incoming/smsd_script.VWH6c7 /tmp/smsd_data.BpJmQl
2011-12-02 13:28:57,7, smsd: Done: startup_check (shell), execution time 0 sec., status: 0 (0)
2011-12-02 13:28:57,4, smsd: File mode creation mask: 022 (0644, rw-r--r--).
2011-12-02 13:28:57,5, smsd: Outgoing file checker has started. PID: 89708.
2011-12-02 13:28:57,5, GSM1: Modem handler 0 has started. PID: 89709.
2011-12-02 13:28:57,7, smsd: All PID's: 89708,89709
2011-12-02 13:28:57,5, GSM1: Using check_memory_method 1: CPMS is used.
2011-12-02 13:28:57,6, GSM1: Checking device for incoming SMS
2011-12-02 13:28:57,6, GSM1: Checking if modem is ready
2011-12-02 13:28:57,7, GSM1: -> AT
2011-12-02 13:28:57,7, GSM1: Command is sent, waiting for the answer
2011-12-02 13:29:02,7, GSM1: put_command expected (OK)|(ERROR), timeout occurred. 1.
2011-12-02 13:29:02,7, GSM1: <-
2011-12-02 13:29:02,7, GSM1: -> ^Z
2011-12-02 13:29:02,7, GSM1: Command is sent, waiting for the answer
2011-12-02 13:29:07,7, GSM1: put_command expected (OK)|(ERROR), timeout occurred. 2.
2011-12-02 13:29:07,7, GSM1: <-
... until I stop the server
2011-12-02 13:36:59,7, GSM1: -> ^Z
2011-12-02 13:36:59,7, GSM1: Command is sent, waiting for the answer
2011-12-02 13:37:00,2, smsd: Smsd mainprocess is awaiting the termination of all modem handlers. PID: 89708.
2011-12-02 13:37:00,7, GSM1: put_command expected (OK)|(ERROR), timeout occurred. 2.
2011-12-02 13:37:00,7, GSM1: <-
2011-12-02 13:37:00,2, GSM1: Modem handler 0 terminated. PID: 89709, was started 11-12-02 13:28:57.
2011-12-02 13:37:00,2, smsd: Smsd mainprocess terminated. PID 89708, was started 11-12-02 13:28:57.
I take differents baudrate but I've got the same result.
I don't really understand how can I access to my my GSM through the device /dev/ugen0.3 (baudrate etc.. )
I try to access to my Iphone plugged on an USB ports but I got the same result
I put my GL6110 on a windows machine with the software delivered by Sierra and I could send a sms ( so the hardware works.) But I want to use it on Freebsd.
If someone has a clue on this problem, thanks in advance.
|