US Robotics 5601 and vgetty
meunier@idiom.com (meunier@idiom.com)
Tue, 16 Sep 1997 07:58:28 +0200
I hope that vgetty questions are welcomed here...
I just bought a USRobotics 56K Voice Faxmodem for use with my RedHat Linux
4.1 box. It seems to work well with mgetty (thank you), but vgetty
doesn't recognize the voice modem type. I'm including the file
/var/log/vgetty.modem which illustrates the problem. Any help in getting
this to work will be appreciated. (My voice.conf file is largely untouched;
would there be any parameter that needs tweeking?)
Thanks,
Roger Meunier
------------------------------- >8 cut 8< -------------------------------------
09/15 22:17:17 dem vgetty: experimental test release 0.7.2 / 12Apr97
09/15 22:17:17 dem mgetty: experimental test release 1.1.8-Jul27
09/15 22:17:17 dem reading generic configuration from config file /etc/mgetty+sendfax/voice.conf
09/15 22:17:17 dem reading program vgetty configuration from config file /etc/mgetty+sendfax/voice.conf
09/15 22:17:17 dem reading port modem configuration from config file /etc/mgetty+sendfax/voice.conf
09/15 22:17:17 dem reading /etc/mgetty+sendfax/voice.conf...
09/15 22:17:17 dem conf lib: read: 'part generic'
09/15 22:17:17 dem found CT_KEYWORD part generic
09/15 22:17:17 dem conf lib: read: 'voice_log_level 6'
09/15 22:17:17 dem conf lib: read: 'voice_dir /var/spool/voice'
09/15 22:17:17 dem conf lib: read: 'message_flag_file .flag'
09/15 22:17:17 dem conf lib: read: 'receive_dir incoming'
09/15 22:17:17 dem conf lib: read: 'message_dir messages'
09/15 22:17:17 dem conf lib: read: 'message_list Index'
09/15 22:17:17 dem conf lib: read: 'backup_message standard.rmd'
09/15 22:17:17 dem conf lib: read: 'port_speed 38400'
09/15 22:17:17 dem conf lib: read: 'voice_shell /bin/sh'
09/15 22:17:17 dem conf lib: read: 'port_timeout 10'
09/15 22:17:17 dem conf lib: read: 'dial_timeout 90'
09/15 22:17:17 dem conf lib: read: 'command_delay 100'
09/15 22:17:17 dem conf lib: read: 'dtmf_len 30'
09/15 22:17:17 dem conf lib: read: 'dtmf_threshold 40'
09/15 22:17:17 dem conf lib: read: 'dtmf_wait 7'
09/15 22:17:17 dem conf lib: read: 'ignore_fax_dle false'
09/15 22:17:17 dem conf lib: read: 'raw_data false'
09/15 22:17:17 dem conf lib: read: 'rec_compression 0'
09/15 22:17:17 dem conf lib: read: 'rec_speed 0'
09/15 22:17:17 dem conf lib: read: 'rec_silence_len 70'
09/15 22:17:17 dem conf lib: read: 'rec_silence_threshold 40'
09/15 22:17:17 dem conf lib: read: 'rec_remove_silence false'
09/15 22:17:17 dem conf lib: read: 'rec_max_len 300'
09/15 22:17:17 dem conf lib: read: 'rec_min_len 0'
09/15 22:17:17 dem conf lib: read: 'do_hard_flow true'
09/15 22:17:17 dem conf lib: read: 'beep_frequency 933'
09/15 22:17:17 dem conf lib: read: 'beep_length 150'
09/15 22:17:17 dem conf lib: read: 'max_tries 3'
09/15 22:17:17 dem conf lib: read: 'retry_delay 5'
09/15 22:17:17 dem conf lib: read: 'watchdog_timeout 60'
09/15 22:17:17 dem conf lib: read: 'receive_gain -1'
09/15 22:17:17 dem conf lib: read: 'transmit_gain -1'
09/15 22:17:17 dem conf lib: read: 'enable_command_echo true'
09/15 22:17:17 dem conf lib: read: 'program vgetty'
09/15 22:17:17 dem conf lib: read: 'rings 3'
09/15 22:17:17 dem conf lib: read: 'answer_mode voice:fax:data'
09/15 22:17:17 dem conf lib: read: 'force_autodetect false'
09/15 22:17:17 dem conf lib: read: 'toll_saver_rings 0'
09/15 22:17:17 dem conf lib: read: 'rec_always_keep true'
09/15 22:17:17 dem conf lib: read: 'button_program '
09/15 22:17:17 dem conf lib: read: 'call_program '
09/15 22:17:17 dem conf lib: read: 'dtmf_program dtmf.sh'
09/15 22:17:17 dem conf lib: read: 'message_program '
09/15 22:17:17 dem conf lib: read: 'do_message_light false'
09/15 22:17:17 dem conf lib: read: 'program vm'
09/15 22:17:17 dem conf lib: read: 'voice_devices modem'
09/15 22:17:17 dem conf lib: read: 'dialout_timeout 90'
09/15 22:17:17 dem conf lib: read: 'program pvf'
09/15 22:17:17 dem conf lib: read: 'port modem'
09/15 22:17:17 dem section: port modem, **found**
09/15 22:17:17 dem key: 'part', type=6, flags=4, data=(ignored)
09/15 22:17:17 dem key: 'program', type=6, flags=4, data=(ignored)
09/15 22:17:17 dem key: 'port', type=6, flags=4, data=(ignored)
09/15 22:17:17 dem key: 'ring_type', type=6, flags=4, data=(ignored)
09/15 22:17:17 dem key: 'voice_log_level', type=0, flags=3, data=6
09/15 22:17:17 dem key: 'voice_devices', type=1, flags=0, data=(empty)
09/15 22:17:17 dem key: 'port_speed', type=0, flags=3, data=38400
09/15 22:17:17 dem key: 'port_timeout', type=0, flags=3, data=10
09/15 22:17:17 dem key: 'dtmf_len', type=0, flags=3, data=30
09/15 22:17:17 dem key: 'dtmf_threshold', type=0, flags=3, data=40
09/15 22:17:17 dem key: 'dtmf_wait', type=0, flags=3, data=7
09/15 22:17:17 dem key: 'rec_compression', type=0, flags=3, data=0
09/15 22:17:17 dem key: 'rec_speed', type=0, flags=3, data=0
09/15 22:17:17 dem key: 'rec_silence_len', type=0, flags=3, data=70
09/15 22:17:17 dem key: 'rec_silence_threshold', type=0, flags=3, data=40
09/15 22:17:17 dem key: 'rec_remove_silence', type=3, flags=3, data=FALSE
09/15 22:17:17 dem key: 'rec_max_len', type=0, flags=3, data=300
09/15 22:17:17 dem key: 'receive_gain', type=0, flags=3, data=-1
09/15 22:17:17 dem key: 'transmit_gain', type=0, flags=3, data=-1
09/15 22:17:17 dem key: 'rings', type=1, flags=3, data=3
09/15 22:17:17 dem key: 'answer_mode', type=1, flags=3, data=voice:fax:data
09/15 22:17:17 dem key: 'toll_saver_rings', type=0, flags=3, data=0
09/15 22:17:17 dem key: 'rec_always_keep', type=3, flags=3, data=TRUE
09/15 22:17:17 dem key: 'voice_dir', type=1, flags=3, data=/var/spool/voice
09/15 22:17:17 dem key: 'message_flag_file', type=1, flags=3, data=.flag
09/15 22:17:17 dem key: 'receive_dir', type=1, flags=3, data=incoming
09/15 22:17:17 dem key: 'message_dir', type=1, flags=3, data=messages
09/15 22:17:17 dem key: 'message_list', type=1, flags=3, data=Index
09/15 22:17:17 dem key: 'backup_message', type=1, flags=3, data=standard.rmd
09/15 22:17:17 dem key: 'dialout_timeout', type=0, flags=1, data=90
09/15 22:17:17 dem key: 'beep_frequency', type=0, flags=3, data=933
09/15 22:17:17 dem key: 'beep_length', type=0, flags=3, data=150
09/15 22:17:17 dem key: 'raw_data', type=3, flags=3, data=FALSE
09/15 22:17:17 dem key: 'max_tries', type=0, flags=3, data=3
09/15 22:17:17 dem key: 'retry_delay', type=0, flags=3, data=5
09/15 22:17:17 dem key: 'voice_shell', type=1, flags=3, data=/bin/sh
09/15 22:17:17 dem key: 'button_program', type=1, flags=3, data=
09/15 22:17:17 dem key: 'call_program', type=1, flags=3, data=
09/15 22:17:17 dem key: 'dtmf_program', type=1, flags=3, data=dtmf.sh
09/15 22:17:17 dem key: 'message_program', type=1, flags=3, data=
09/15 22:17:17 dem key: 'do_message_light', type=3, flags=3, data=FALSE
09/15 22:17:17 dem key: 'do_hard_flow', type=3, flags=3, data=TRUE
09/15 22:17:17 dem key: 'force_autodetect', type=3, flags=3, data=FALSE
09/15 22:17:17 dem key: 'watchdog_timeout', type=0, flags=3, data=60
09/15 22:17:17 dem key: 'rec_min_len', type=0, flags=3, data=0
09/15 22:17:17 dem key: 'command_delay', type=0, flags=3, data=100
09/15 22:17:17 dem key: 'ignore_fax_dle', type=3, flags=3, data=FALSE
09/15 22:17:17 dem key: 'dial_timeout', type=0, flags=3, data=90
09/15 22:17:17 dem key: 'enable_command_echo', type=3, flags=3, data=TRUE
09/15 22:17:17 dem check for lockfiles
09/15 22:17:17 dem checklock: no active process has lock, will remove
09/15 22:17:17 dem locking the line
09/15 22:17:17 dem makelock(modem) called
09/15 22:17:17 dem do_makelock: lock='/var/lock/LCK..modem'
09/15 22:17:17 dem lock made
09/15 22:17:18 dem tio_get_rs232_lines: status: RTS CTS DSR DTR
09/15 22:17:18 dem lowering DTR to reset Modem
09/15 22:17:19 dem tss: set speed to 38400 (017)
09/15 22:17:19 dem tio_set_flow_control( HARD )
09/15 22:17:19 dem waiting for line to clear (VTIME), read:
09/15 22:17:19 dem send: \dATQ0V1H0[0d]
09/15 22:17:19 dem waiting for ``OK''
09/15 22:17:19 dem got: ATQ0V1H0[0d]
09/15 22:17:19 dem CND: ATQ0V1H0[0d][0a]OK ** found **
09/15 22:17:19 dem send: ATS0=0Q0&D3&C1[0d]
09/15 22:17:19 dem waiting for ``OK''
09/15 22:17:19 dem got: [0d]
09/15 22:17:19 dem CND: OK[0a]ATS0=0Q0&D3&C1[0d]
09/15 22:17:19 dem CND: ATS0=0Q0&D3&C1[0d][0a]OK ** found **
09/15 22:17:20 dem mdm_send: 'ATI'
09/15 22:17:20 dem got:[0d][0a]ATI[0d]
09/15 22:17:20 dem got:[0d][0a]5601[0d]
09/15 22:17:20 dem mdm_gis: string 1: '5601'
09/15 22:17:20 dem got:[0a][0d][0a]OK[0d]
09/15 22:17:20 dem mdm_identify: string '5601'
09/15 22:17:20 dem USR Courier/Sportster 56k detected
09/15 22:17:20 dem mdm_send: 'ATI3'
09/15 22:17:20 dem got:[0a]ATI3[0d]
09/15 22:17:20 dem got:[0d][0a]U.S. Robotics Sportster 56000 Voice V4.1[0d]
09/15 22:17:20 dem mdm_gis: string 1: 'U.S. Robotics Sportster 56000 Voice V4.1'
09/15 22:17:20 dem got:[0a][0d][0a]OK[0d]
09/15 22:17:20 dem additional info: 'U.S. Robotics Sportster 56000 Voice V4.1'
09/15 22:17:20 dem mdm_send: 'AT+FCLASS=2.0'
09/15 22:17:20 dem got:[0a]AT+FCLASS=2.0[0d]
09/15 22:17:20 dem mdm_command: string 'AT+FCLASS=2.0'
09/15 22:17:20 dem got:[0d][0a]OK[0d]
09/15 22:17:20 dem mdm_command: string 'OK' -> OK
09/15 22:17:20 dem mdm_send: 'AT+FAA=1;+FCR=1'
09/15 22:17:20 dem got:[0a]AT+FAA=1;+FCR=1[0d]
09/15 22:17:20 dem mdm_command: string 'AT+FAA=1;+FCR=1'
09/15 22:17:20 dem got:[0d][0a]OK[0d]
09/15 22:17:20 dem mdm_command: string 'OK' -> OK
09/15 22:17:20 dem mdm_send: 'AT+FBO=1'
09/15 22:17:20 dem got:[0a]AT+FBO=1[0d]
09/15 22:17:20 dem mdm_command: string 'AT+FBO=1'
09/15 22:17:20 dem got:[0d][0a]OK[0d]
09/15 22:17:21 dem mdm_command: string 'OK' -> OK
09/15 22:17:21 dem mdm_send: 'AT+FNR=1,1,1,0'
09/15 22:17:21 dem got:[0a]AT+FNR=1,1,1,0[0d]
09/15 22:17:21 dem mdm_command: string 'AT+FNR=1,1,1,0'
09/15 22:17:21 dem got:[0d][0a]OK[0d]
09/15 22:17:21 dem mdm_command: string 'OK' -> OK
09/15 22:17:21 dem mdm_send: 'AT+FLI="+1 510-371-5249"'
09/15 22:17:21 dem got:[0a]AT+FLI="+1 510-371-5249"[0d]
09/15 22:17:21 dem mdm_command: string 'AT+FLI="+1 510-371-5249"'
09/15 22:17:21 dem got:[0d][0a]OK[0d]
09/15 22:17:21 dem mdm_command: string 'OK' -> OK
09/15 22:17:21 dem mdm_send: 'AT+FCC=1,5,0,2,0,0,0,0'
09/15 22:17:21 dem got:[0a]AT+FCC=1,5,0,2,0,0,0,0[0d]
09/15 22:17:21 dem mdm_command: string 'AT+FCC=1,5,0,2,0,0,0,0'
09/15 22:17:21 dem got:[0d][0a]OK[0d]
09/15 22:17:21 dem mdm_command: string 'OK' -> OK
09/15 22:17:21 dem tss: set speed to 38400 (017)
09/15 22:17:21 dem tio_set_flow_control( HARD )
09/15 22:17:21 dem detecting voice modem type
09/15 22:17:21 dem vgetty: ATE1
09/15 22:17:21 dem voice command: '' -> 'OK|ATE1'
09/15 22:17:21 dem serial port: ATE1
09/15 22:17:21 dem serial port: OK
09/15 22:17:21 dem voice command: 'ATI' -> ''
09/15 22:17:22 dem vgetty: ATI
09/15 22:17:22 dem serial port: ATI
09/15 22:17:22 dem serial port: 5601
09/15 22:17:22 dem serial port: OK
09/15 22:17:22 dem no voice modem detected: Unknown error
----------------
Roger Meunier email: meunier@idiom.com "The Lord is my Shepherd..."
.