Подключил телефон нокла6303 по usb. Вот конф файл:
# grep -v ^# /etc/gnokiirc | grep -xv ''
[global]
port = /dev/ttyACM0
model = 6510
initlength = default
connection = dku2libusb
use_locking = yes
smsc_timeout = 10
[xgnokii]
allow_breakage = 0
[gnokiid]
bindir = /usr/sbin/
[connect_script]
TELEPHONE = 12345678
[disconnect_script]
[logging]
debug = /var/log/xgnokii
rlpdebug = off
xdebug = off
[phone_fake]
port = foobar
model = fake
connection = serial
[fake_driver]
sms_inbox = /tmp/sms
# echo "test" | gnokii --sendsms +994515272849
GNOKII Version 0.6.30
Couldn't read /root/.config/gnokii/config config file.
LOG: debug mask is 0x1
Config read from file /etc/xdg/gnokii/config.
Lockfile /var/lock/LCK..ttyACM0 is stale. Overriding it...
phone instance config:
model = 6510
port = /dev/ttyACM0
connection = serial
initlength = default
serial_baudrate = 19200
serial_write_usleep = -1
handshake = software
require_dcd = 0
smsc_timeout = 10
rfcomm_channel = 0
sm_retry = 0
Connecting
Serial device: opening device /dev/ttyACM0
Serial device: setting speed to 115200
Serial device: setting RTS to low and DTR to low