Ryan
2011-07-19 00:02:32 UTC
I've been using vgetty for years and I just updated my old Fedora box the the newest version of mgetty however it no longer is able to talk to my modem.
I get the following from vgetty
--snip /var/log/vgetty.log.ttyS2--
07/18 16:53:49 yS2 vgetty: experimental test release 0.9.32 / with duplex patch
07/18 16:53:49 yS2 mgetty: interim release 1.1.36-Jun15
07/18 16:53:49 yS2 reading generic configuration from config file /etc/mgetty+sendfax/voice.conf
07/18 16:53:49 yS2 reading program vgetty configuration from config file /etc/mgetty+sendfax/voice.conf
07/18 16:53:49 yS2 reading port ttyS2 configuration from config file /etc/mgetty+sendfax/voice.conf
07/18 16:53:49 yS2 check for lockfiles
07/18 16:53:49 yS2 locking the line
07/18 16:53:50 yS2 lowering DTR to reset Modem
07/18 16:53:50 yS2 send: \d\d\d+++\d\d\dATH0&F[0d]
07/18 16:53:53 yS2 waiting for ``OK''
07/18 16:54:13 yS2 timeout in chat script, waiting for `OK'
07/18 16:54:13 yS2 init chat timed out, trying force-init-chat
07/18 16:54:13 yS2 send: \d[10][03]\d\d\d+++\d\d\d[0d]\dATQ0V1H0[0d]
07/18 16:54:17 yS2 waiting for ``OK''
07/18 16:54:37 yS2 timeout in chat script, waiting for `OK'
07/18 16:54:37 yS2 init chat failed, exiting...: Interrupted system call
07/18 16:54:37 ##### failed in mg_init_data, dev=ttyS2, pid=28171
--end snip--
My first guess is its not getting the init chat correctly and I've tried a number of alternatives I've found on the net.
I can use the modem just fine with minicom and kermitc. Here is some info on the modem:
--snip minicom--
ati3
LT V.92 1.0 MT5634ZPX-PCI-V92 Internal Data/Fax/Voice Modem Version 1.25p
--end minicom--
--snip lspci -vv--
00:09.0 Communication controller: Agere Systems Venus Modem (V90, 56KFlex)
Subsystem: Agere Systems Device 5656
Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR+ FastB2B- DisINTx-
Status: Cap+ 66MHz- UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort- >SERR- <PERR+ INTx-
Latency: 0 (63000ns min, 3500ns max)
Interrupt: pin A routed to IRQ 11
Region 0: Memory at dfffbf00 (32-bit, non-prefetchable) [size=256]
Region 1: I/O ports at d800 [size=256]
Region 2: I/O ports at d400 [size=256]
Region 3: I/O ports at d000 [size=8]
Capabilities: [f8] Power Management version 2
Flags: PMEClk- DSI+ D1- D2+ AuxCurrent=0mA PME(D0-,D1-,D2+,D3hot+,D3cold+)
Status: D0 NoSoftRst+ PME-Enable- DSel=0 DScale=0 PME-
Kernel driver in use: serial
--end lspci--
--snip uname -a--
Linux rnelnet.com 2.6.38.8-32.fc15.i686.PAE #1 SMP Mon Jun 13 19:55:27 UTC 2011 i686 i686 i386 GNU/Linux
--end uname -a--
Any help would be great, I hope its something simple that I've neglected to do.
Thanks,
Ryan
I get the following from vgetty
--snip /var/log/vgetty.log.ttyS2--
07/18 16:53:49 yS2 vgetty: experimental test release 0.9.32 / with duplex patch
07/18 16:53:49 yS2 mgetty: interim release 1.1.36-Jun15
07/18 16:53:49 yS2 reading generic configuration from config file /etc/mgetty+sendfax/voice.conf
07/18 16:53:49 yS2 reading program vgetty configuration from config file /etc/mgetty+sendfax/voice.conf
07/18 16:53:49 yS2 reading port ttyS2 configuration from config file /etc/mgetty+sendfax/voice.conf
07/18 16:53:49 yS2 check for lockfiles
07/18 16:53:49 yS2 locking the line
07/18 16:53:50 yS2 lowering DTR to reset Modem
07/18 16:53:50 yS2 send: \d\d\d+++\d\d\dATH0&F[0d]
07/18 16:53:53 yS2 waiting for ``OK''
07/18 16:54:13 yS2 timeout in chat script, waiting for `OK'
07/18 16:54:13 yS2 init chat timed out, trying force-init-chat
07/18 16:54:13 yS2 send: \d[10][03]\d\d\d+++\d\d\d[0d]\dATQ0V1H0[0d]
07/18 16:54:17 yS2 waiting for ``OK''
07/18 16:54:37 yS2 timeout in chat script, waiting for `OK'
07/18 16:54:37 yS2 init chat failed, exiting...: Interrupted system call
07/18 16:54:37 ##### failed in mg_init_data, dev=ttyS2, pid=28171
--end snip--
My first guess is its not getting the init chat correctly and I've tried a number of alternatives I've found on the net.
I can use the modem just fine with minicom and kermitc. Here is some info on the modem:
--snip minicom--
ati3
LT V.92 1.0 MT5634ZPX-PCI-V92 Internal Data/Fax/Voice Modem Version 1.25p
--end minicom--
--snip lspci -vv--
00:09.0 Communication controller: Agere Systems Venus Modem (V90, 56KFlex)
Subsystem: Agere Systems Device 5656
Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR+ FastB2B- DisINTx-
Status: Cap+ 66MHz- UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort- >SERR- <PERR+ INTx-
Latency: 0 (63000ns min, 3500ns max)
Interrupt: pin A routed to IRQ 11
Region 0: Memory at dfffbf00 (32-bit, non-prefetchable) [size=256]
Region 1: I/O ports at d800 [size=256]
Region 2: I/O ports at d400 [size=256]
Region 3: I/O ports at d000 [size=8]
Capabilities: [f8] Power Management version 2
Flags: PMEClk- DSI+ D1- D2+ AuxCurrent=0mA PME(D0-,D1-,D2+,D3hot+,D3cold+)
Status: D0 NoSoftRst+ PME-Enable- DSel=0 DScale=0 PME-
Kernel driver in use: serial
--end lspci--
--snip uname -a--
Linux rnelnet.com 2.6.38.8-32.fc15.i686.PAE #1 SMP Mon Jun 13 19:55:27 UTC 2011 i686 i686 i386 GNU/Linux
--end uname -a--
Any help would be great, I hope its something simple that I've neglected to do.
Thanks,
Ryan