[Dialer Defaults]
Init1 = ATZ
Init2 = ATQ0 V1 E1 S0=0 &C1 &D2 +MS=34
(changed Init2 line +MS=34, per linmodem list support)
Username = *
Password = *
Phone = 9728520780
Phone1 = 9727590480
Phone2 = 9729939606
Phone3 = 9725354047
Phone4 = 9725354006
Modem Type = Analog Modem
Baud = 460800
Modem = /dev/ttySL0
ISDN = 0
Carrier check = no
-------------------------
02-01-2010
Jin,
Please do the:
$ sudo slmodemd -c GREECE --alsa --debug=2 --log=5 hw:0,6
This is to get a diagnostic as to where the failure is occurring in detail.
This will be written to the logfile, which wil be useful.
Also I'll send you a new slmodemd using ALSA 1.0.20 resources, rather
than 1.0.21, to have a more perfect match with the rest of your System
----------------------------
open terminal and put:
tra@geb:~$ sudo slmodemd -c GREECE --alsa --debug=2 --log=5 hw:0,6
Home directory /home/tra not ours.
SmartLink Soft Modem: version 2.9.11 Dec 3 2009 16:59:30
<248.332115> SmartLink Soft Modem: version 2.9.11 Dec 3 2009 16:59:30
<248.332453> hw:0,6: startup modem...
<248.333208> hw:0,6: update termios...
symbolic link `/dev/ttySL0' -> `/dev/pts/1' created.
modem `hw:0,6' created. TTY is `/dev/pts/1'
<248.333486> open file: /var/lib/slmodem/data.hw:0,6...
<248.333664> cannot open '/var/lib/slmodem/data.hw:0,6': No such file or directory
<248.337510> main: rt applyed: SCHED_FIFO, pri 99
Use `/dev/ttySL0' as modem device, Ctrl+C for termination.
--------------------------------
open terminal and type:
tra@geb:~$ sudo slmodemd -c GREECE --alsa --debug=2 --log=5 hw:0,6
Home directory /home/tra not ours.
SmartLink Soft Modem: version 2.9.11 Dec 3 2009 16:59:30
<447.508084> SmartLink Soft Modem: version 2.9.11 Dec 3 2009 16:59:30
<447.508416> hw:0,6: startup modem...
<447.509178> hw:0,6: update termios...
symbolic link `/dev/ttySL0' -> `/dev/pts/1' created.
modem `hw:0,6' created. TTY is `/dev/pts/1'
<447.509443> open file: /var/lib/slmodem/data.hw:0,6...
<447.509621> cannot open '/var/lib/slmodem/data.hw:0,6': No such file or directory
<447.513017> main: rt applyed: SCHED_FIFO, pri 99
Use `/dev/ttySL0' as modem device, Ctrl+C for termination.
<462.739005> main: termios changed.
<462.739254> hw:0,6: update termios...
<462.798956> main: termios changed.
<462.799201> hw:0,6: update termios...
<462.907028> hw:0,6: run cmd: ATZ
<462.907268> hw:0,6: modem reset...
<462.907428> hw:0,6: modem set state: 1 --> 1...
<462.907588> hw:0,6: modem set mode: -> 0...
<462.907747> hw:0,6: modem report result: 0 (OK)
<463.015047> hw:0,6: run cmd: ATQ0V1E1S0=0&C1&D2+MS=34
<463.015303> hw:0,6: modem report result: 0 (OK)
<463.123021> hw:0,6: run cmd: ATDT9728520780
<463.123270> hw:0,6: modem dial: T9728520780...
<463.123431> hw:0,6: modem_dial_start...
<463.131331> hw:0,6: modem_start..
<463.131651> hw:0,6: modem set state: 1 --> 2...
<463.131811> hw:0,6: new state: DP_ESTAB
<463.131969> main: alsa_ioctl: cmd 8, arg 3...
<463.132127> hw:0,6: modem set hook: 0 --> 1...
<463.132284> main: alsa_ioctl: cmd 2, arg 1...
<463.132542> main: alsa_ioctl: cmd 11, arg 0...
<463.132766> main: alsa_ioctl: cmd 4, arg 2580...
<463.132926> main: alsa_ioctl: cmd 7, arg 30...
<463.133084> main: alsa_start...
Hardware PCM card 0 'HDA Intel' device 6 subdevice 0
Its setup is:
stream : PLAYBACK
access : RW_INTERLEAVED
format : S16_LE
subformat : STD
channels : 1
rate : 9600
exact rate : 9600 (9600/1)
msbits : 16
buffer_size : 2048
period_size : 64
period_time : 6666
tstamp_mode : NONE
period_step : 1
avail_min : 64
period_event : 0
start_threshold : 2147483647
stop_threshold : 2048
silence_threshold: 0
silence_size : 0
boundary : 1073741824
appl_ptr : 0
hw_ptr : 0
Hardware PCM card 0 'HDA Intel' device 6 subdevice 0
Its setup is:
stream : CAPTURE
access : RW_INTERLEAVED
format : S16_LE
subformat : STD
channels : 1
rate : 9600
exact rate : 9600 (9600/1)
msbits : 16
buffer_size : 2048
period_size : 64
period_time : 6666
tstamp_mode : NONE
period_step : 1
avail_min : 64
period_event : 0
start_threshold : 2147483647
stop_threshold : 2048
silence_threshold: 0
silence_size : 0
boundary : 1073741824
appl_ptr : 0
hw_ptr : 0
<463.163189> main: startup write: 384...
^C<464.822988> main: signal 2: mark termination.
<464.823229> hw:0,6: modem_delete...
<464.823388> hw:0,6: shutdown modem...
<464.823551> hw:0,6: modem_stop..
<464.823706> main: alsa_stop...
<464.823917> hw:0,6: modem set hook: 1 --> 0...
<464.824085> main: alsa_ioctl: cmd 2, arg 0...
<464.824348> main: alsa_ioctl: cmd 8, arg 0...
<464.825575> hw:0,6: modem set state: 2 --> 1...
<464.825732> hw:0,6: new state: MODEM_IDLE
<464.825890> hw:0,6: modem report result: 3 (NO CARRIER)
tra@geb:~$