поставил три модема под mgetty
соотвественно COM1, COM2, COM3
Первый работает нормально, а остальные не хотят
вот мои логи:
/dev/ttyS0
06/26 11:35:47 yS0 mgetty: experimental test release 1.1.26-Apr16
06/26 11:35:47 yS0 increasing modem_check_time to 900 sec.
06/26 11:35:47 yS0 check for lockfiles
06/26 11:35:47 yS0 checklock: stat failed, no file
06/26 11:35:47 yS0 locking the line
06/26 11:35:47 yS0 makelock(ttyS0) called
06/26 11:35:47 yS0 do_makelock: lock='/var/lock/LCK..ttyS0'
06/26 11:35:47 yS0 lock made
06/26 11:35:48 yS0 tio_get_rs232_lines: status: RTS CTS DSR DTR
06/26 11:35:48 yS0 lowering DTR to reset Modem
06/26 11:35:48 yS0 tss: set speed to 115200 (10002)
06/26 11:35:48 yS0 tio_set_flow_control( HARD )
06/26 11:35:48 yS0 waiting for line to clear (VTIME), read:
06/26 11:35:48 yS0 send: \dATQ0V1H0[0d]
06/26 11:35:49 yS0 waiting for ``OK''
06/26 11:35:49 yS0 got: ATQ0V1H0[0d]
06/26 11:35:49 yS0 CND: ATQ0V1H0[0d][0a]OK ** found **
06/26 11:35:49 yS0 send: ATS0=0Q0&D3&C1[0d]
06/26 11:35:49 yS0 waiting for ``OK''
06/26 11:35:49 yS0 got: [0d]
06/26 11:35:49 yS0 CND: OK[0a]ATS0=0Q0&D3&C1[0d]
06/26 11:35:49 yS0 CND: ATS0=0Q0&D3&C1[0d][0a]OK ** found **
06/26 11:35:49 yS0 mdm_send: 'ATI'
06/26 11:35:49 yS0 got:[0d][0a]ATI[0d]
06/26 11:35:49 yS0 got:[0d][0a]3362[0d]
06/26 11:35:49 yS0 mdm_gis: string 1: '3362'
06/26 11:35:49 yS0 got:[0a][0d][0a]OK[0d]
06/26 11:35:49 yS0 mdm_identify: string '3362'
06/26 11:35:49 yS0 USR Courier/Sportster V.34(+) detected
06/26 11:35:49 yS0 mdm_send: 'ATI3'
06/26 11:35:49 yS0 got:[0a]ATI3[0d]
06/26 11:35:49 yS0 got:[0d][0a]U.S. Robotics Sportster 33600 Fax V4.3.185[0d]
06/26 11:35:49 yS0 mdm_gis: string 1: 'U.S. Robotics Sportster 33600 Fax V4.3.185'
06/26 11:35:49 yS0 got:[0a][0d][0a]OK[0d]
06/26 11:35:49 yS0 additional info: 'U.S. Robotics Sportster 33600 Fax V4.3.185'
06/26 11:35:50 yS0 mdm_send: 'AT+FCLASS=2.0'
06/26 11:35:50 yS0 got:[0a]AT+FCLASS=2.0[0d]
06/26 11:35:50 yS0 mdm_command: string 'AT+FCLASS=2.0'
06/26 11:35:50 yS0 got:[0d][0a]OK[0d]
06/26 11:35:50 yS0 mdm_command: string 'OK' -> OK
06/26 11:35:50 yS0 mdm_send: 'AT+FAA=1;+FCR=1'
06/26 11:35:50 yS0 got:[0a]AT+FAA=1;+FCR=1[0d]
06/26 11:35:50 yS0 mdm_command: string 'AT+FAA=1;+FCR=1'
06/26 11:35:50 yS0 got:[0d][0a]OK[0d]
06/26 11:35:50 yS0 mdm_command: string 'OK' -> OK
06/26 11:35:50 yS0 mdm_send: 'AT+FBO=1'
06/26 11:35:50 yS0 got:[0a]AT+FBO=1[0d]
06/26 11:35:50 yS0 mdm_command: string 'AT+FBO=1'
06/26 11:35:50 yS0 got:[0d][0a]OK[0d]
06/26 11:35:50 yS0 mdm_command: string 'OK' -> OK
06/26 11:35:50 yS0 mdm_send: 'AT+FNR=1,1,1,0'
06/26 11:35:50 yS0 got:[0a]AT+FNR=1,1,1,0[0d]
06/26 11:35:50 yS0 mdm_command: string 'AT+FNR=1,1,1,0'
06/26 11:35:50 yS0 got:[0d][0a]OK[0d]
06/26 11:35:50 yS0 mdm_command: string 'OK' -> OK
06/26 11:35:50 yS0 mdm_send: 'AT+FLI="+7 095 9183488"'
06/26 11:35:50 yS0 got:[0a]AT+FLI="+7 095 9183488"[0d]
06/26 11:35:50 yS0 mdm_command: string 'AT+FLI="+7 095 9183488"'
06/26 11:35:50 yS0 got:[0d][0a]OK[0d]
06/26 11:35:50 yS0 mdm_command: string 'OK' -> OK
06/26 11:35:51 yS0 mdm_send: 'AT+FCC=1,5,0,2,0,0,0,0'
06/26 11:35:51 yS0 got:[0a]AT+FCC=1,5,0,2,0,0,0,0[0d]
06/26 11:35:51 yS0 mdm_command: string 'AT+FCC=1,5,0,2,0,0,0,0'
06/26 11:35:51 yS0 got:[0d][0a]OK[0d]
06/26 11:35:51 yS0 mdm_command: string 'OK' -> OK
06/26 11:35:51 yS0 waiting for line to clear (VTIME), read:
06/26 11:35:51 yS0 removing lock file
06/26 11:35:51 yS0 waiting...
/dev/ttyS1
06/26 11:35:47 yS1 mgetty: experimental test release 1.1.26-Apr16
06/26 11:35:47 yS1 increasing modem_check_time to 900 sec.
06/26 11:35:47 yS1 check for lockfiles
06/26 11:35:47 yS1 checklock: stat failed, no file
06/26 11:35:47 yS1 locking the line
06/26 11:35:47 yS1 makelock(ttyS1) called
06/26 11:35:47 yS1 do_makelock: lock='/var/lock/LCK..ttyS1'
06/26 11:35:47 yS1 lock made
06/26 11:35:48 yS1 tio_get_rs232_lines: status: RTS CTS DSR DTR
06/26 11:35:48 yS1 lowering DTR to reset Modem
06/26 11:35:48 yS1 tss: set speed to 115200 (10002)
06/26 11:35:48 yS1 tio_set_flow_control( HARD )
06/26 11:35:48 yS1 waiting for line to clear (VTIME), read:
06/26 11:35:48 yS1 send: \dATQ0V1H0[0d]
06/26 11:35:49 yS1 waiting for ``OK''
06/26 11:35:49 yS1 got: ATQ0V1H0[0d]
06/26 11:35:49 yS1 CND: ATQ0V1H0[0d]
06/26 11:36:09 yS1 timeout in chat script, waiting for `OK'
06/26 11:36:09 yS1 init chat timed out, trying force-init-chat
06/26 11:36:09 yS1 send: \d[10][03]\d\d\d+++\d\d\d[0d]\dATQ0V1H0[0d]
06/26 11:36:13 yS1 waiting for ``OK''
06/26 11:36:13 yS1 got: [10][03]+++[0d]
06/26 11:36:13 yS1 CND: __+++ATQ0V1H0[0d]
06/26 11:36:13 yS1 CND: ATQ0V1H0[0d]
06/26 11:36:33 yS1 timeout in chat script, waiting for `OK'
06/26 11:36:33 yS1 init chat failed, exiting...: Interrupted system call
06/26 11:36:33 ##### failed in mg_init_data, dev=ttyS1, pid=4078
06/26 11:36:33 yS1 removing lock file
/dev/ttyS2
06/26 11:36:33 yS2 mgetty: experimental test release 1.1.26-Apr16
06/26 11:36:33 yS2 increasing modem_check_time to 900 sec.
06/26 11:36:33 yS2 check for lockfiles
06/26 11:36:33 yS2 checklock: stat failed, no file
06/26 11:36:33 yS2 locking the line
06/26 11:36:33 yS2 makelock(ttyS2) called
06/26 11:36:33 yS2 do_makelock: lock='/var/lock/LCK..ttyS2'
06/26 11:36:33 yS2 lock made
06/26 11:36:33 yS2 tio_get_rs232_lines: status: RTS CTS DSR DTR
06/26 11:36:33 yS2 lowering DTR to reset Modem
06/26 11:36:34 yS2 tss: set speed to 115200 (10002)
06/26 11:36:34 yS2 tio_set_flow_control( HARD )
06/26 11:36:34 yS2 waiting for line to clear (VTIME), read:
06/26 11:36:34 yS2 send: \dATQ0V1H0[0d]
06/26 11:36:35 yS2 waiting for ``OK''
06/26 11:36:35 yS2 got: ATQ0V1H0[0d]
06/26 11:36:54 yS2 CND: ATQ0V1H0
06/26 11:36:55 yS2 timeout in chat script, waiting for `OK'
06/26 11:36:55 yS2 init chat timed out, trying force-init-chat
06/26 11:36:55 yS2 send: \d[10][03]\d\d\d+++\d\d\d[0d]\dATQ0V1H0[0d]
06/26 11:36:59 yS2 waiting for ``OK''
06/26 11:36:59 yS2 got: [10][03]+++[0d]
06/26 11:37:14 yS2 CND: __+++ATQ0V1H0[0d]
06/26 11:37:14 yS2 CND: ATQ0V1H0
06/26 11:37:19 yS2 timeout in chat script, waiting for `OK'
06/26 11:37:19 yS2 init chat failed, exiting...: Interrupted system call
06/26 11:37:19 ##### failed in mg_init_data, dev=ttyS2, pid=4084
06/26 11:37:19 yS2 removing lock file