All pastes #930461 Raw Edit

Anonymous

public text v1 · immutable
·published 2008-03-06 16:43 UTC
rendered paste body
# grep -v -E ^# /etc/gnokiirc
[global]
port = /dev/ttyS0
model = 7110
initlength = default
connection = serial
use_locking = yes
serial_baudrate = 19200
smsc_timeout = 10
[xgnokii]
allow_breakage = 0
[gnokiid]
bindir = /usr/sbin/
[connect_script]
TELEPHONE = 12345678
[disconnect_script]
[logging]
debug = on
rlpdebug = off
xdebug = off

# gnokii --identify
GNOKII Version 0.6.18
LOG: debug mask is 0x1
Config read from file /etc/gnokiirc.
phone instance config:
model: 7110
port_device: /dev/ttyS0
connection_type: 0
init_length: 0
serial_baudrate: 19200
serial_write_usleep: -1
hardware_handshake: 0
require_dcd: 0
smsc_timeout: 100
connect_script:
disconnect_script:
rfcomm_cn: 1
sm_retry: off
Connecting
Serial device: opening device /dev/ttyS0
Serial device: setting speed to 115200
Serial device: setting RTS to low and DTR to low
Getting model...
Message sent: 0x1b / 0x0006
00 01 00 03 01 32                               |      2
SM_Block: exiting the retry loop
Message sent: 0x1b / 0x0006
00 01 00 03 01 32                               |      2
SM_Block: exiting the retry loop
Message sent: 0x1b / 0x0006
00 01 00 03 01 32                               |      2
SM_Block: exiting the retry loop
Serial device: closing device
Serial device: opening device /dev/ttyS0
Serial device: setting speed to 115200
Serial device: setting RTS to low and DTR to high
Getting model...
Message sent: 0x1b / 0x0006
00 01 00 03 01 32                               |      2
SM_Block: exiting the retry loop
Message sent: 0x1b / 0x0006
00 01 00 03 01 32                               |      2
SM_Block: exiting the retry loop
Message sent: 0x1b / 0x0006
00 01 00 03 01 32                               |      2
SM_Block: exiting the retry loop
Serial device: closing device
Serial device: opening device /dev/ttyS0
Serial device: setting RTS to low and DTR to low
Serial device: setting RTS to high and DTR to high
Serial device: setting speed to 19200
Switching to FBUS mode
Serial device: setting speed to 115200
Getting model...
Message sent: 0x1b / 0x0006
00 01 00 03 01 32                               |      2
SM_Block: exiting the retry loop
Message sent: 0x1b / 0x0006
00 01 00 03 01 32                               |      2
SM_Block: exiting the retry loop
Message sent: 0x1b / 0x0006
00 01 00 03 01 32                               |      2
SM_Block: exiting the retry loop
Serial device: closing device
Telephone interface init failed: Command timed out.
Quitting.
Command timed out.

# ls -lh /dev/ttyS*
crw-rw---- 1 root uucp 4, 64 2008-03-06 18:25 /dev/ttyS0
crw-rw---- 1 root uucp 4, 65 2008-03-05 16:31 /dev/ttyS1
crw-rw---- 1 root uucp 4, 66 2008-03-05 16:31 /dev/ttyS2
crw-rw---- 1 root uucp 4, 67 2008-03-05 16:31 /dev/ttyS3