Problems with Modem::Vgetty
Jan Kasprzak (kas@informatics.muni.cz)
Thu, 26 Nov 1998 11:54:46 +0100
[ Cc'd to the mgetty list ]
Alex Povolotsky wrote:
: Attempt to use Modem::Vgetty results in lots of warnings like
:
: Filehandle Symbol::GEN2 never opened at /usr/local/lib/perl5/5.00502/i386-freebsd/IO/Handle.pm line 379.
: Filehandle Symbol::GEN2 never opened at /usr/local/lib/perl5/5.00502/i386-freebsd/IO/Handle.pm line 379, <GEN0> chunk 1.
[...]
: Use of uninitialized value at /usr/local/lib/perl5/site_perl/5.005/Modem/Vgetty.pm line 113, <GEN0> chunk 4.
[...]
: and some of these warnings are recognized as modem answer, clobbering any work.
:
: Log looks like
:
: 11/25 11:20:24 aa1 vgetty(1): PLAYING
: 11/25 11:20:24 aa1 playing voice file /var/spool/voice/welcome.rmd
: 11/25 11:20:24 aa1 vgetty: raw modem data header found
: 11/25 11:20:24 aa1 vgetty: modem type Rockwell found
: 11/25 11:20:24 aa1 vgetty: compression method 0x0002, speed 7200, bits 2
: 11/25 11:20:24 aa1 voice command: 'AT#VBS=2' -> 'OK'
: 11/25 11:20:24 aa1 Modem answer: 'Unquoted string "v" mayH'
: 11/25 11:20:24 aa1 vgetty: Modem did not echo the command
: 11/25 11:20:24 aa1 vgetty: Illegal compression method
: 11/25 11:20:24 aa1 vgetty(1): ERROR
:
: I beleive I have up-to-date version of all modules involved.
:
: What can be done?
Alex,
Can you please send me at least parts of the voice program
you are using? The "uninitialized value" and other Perl warnings may
in fact be originated from your code which passes some uninitialized argument
to the Modem::Vgetty module.
On the other hand, the vgetty error apparently does not have
anything to do with the Perl module. It seems that the modem does not
support the compression from your .rmd file. You can try to create
the new welcome.rmd file with another compression method (using pvftormd,
for example). I would expect that the "vm play welcome.rmd" command would
fail with the same error.
I am sending a carbon copy of this mail to mgetty list. You will
probably need to tell us at least the type of your modem and send more
detailed logs (set the higher loglevel in voice.conf and mgetty.conf).
-Yenya
--
\ Jan "Yenya" Kasprzak <kas at fi.muni.cz> http://www.fi.muni.cz/~kas/
\\ PGP: finger kas at aisa.fi.muni.cz 0D99A7FB206605D7 8B35FCDE05B18A5E //
\\\ Czech Linux Homepage: http://www.linux.cz/ ///
/// I think I'd rather be forced to learn perl than 68020 MMU. -Alan Cox \\\