problem with elsa microlink and mgetty (debian 2.1)
Stephan Witoszynskyj (swito@star.htu.tuwien.ac.at)
Sun, 25 Apr 1999 16:34:33 +0200
-----BEGIN PGP SIGNED MESSAGE-----
hi,
i'm trying to use my elsa microlink tqv (33k) modem with mgetty under
debian linux 2.1. actually i had it working on another machine before
under SuSe linux 4.1.
after mgetty sends ATI to the modem, i just get Warning: got alarm signal!
mdm_read_byte: read returned -1: Interrupted system call. i tried to find
something in the documentation, mailing list archive and faq, but was not
sure what i should look for, because i don't understand the error message.
i hope somebody can help me or at least tell me where to find information.
here is some information about my system (i hope it is sufficient).
the configuration of my system is:
processor 80486/33
os: debian linux 2.1
kernel version: 2.0.36
serial ports:
tty00 at 0x03f8 (irq = 4) is a 16450
tty01 at 0x02f8 (irq = 3) is a 16450
tty02 at 0x03e8 (irq = 4) is a 16450A
tty03 at 0x02e8 (irq = 3) is a 16550A
(the modem is connected to ttyS2)
modem: elsa microlink 33.6tqv
mgetty: binary package from debian 2.1 (appears to be version 1.1.18)
the only things that are in mgetty.conf are
debug 6
fax-id xxxxxxxxx (where xxxxxxx is my phone number)
speed 38400
here's the logfile
04/25 16:00:30 yS2 mgetty: experimental test release 1.1.18-Sep11
04/25 16:00:30 yS2 check for lockfiles
04/25 16:00:30 yS2 checklock: stat failed, no file
04/25 16:00:30 yS2 locking the line
04/25 16:00:30 yS2 makelock(ttyS2) called
04/25 16:00:30 yS2 do_makelock: lock='/var/lock/LCK..ttyS2'
04/25 16:00:30 yS2 lock made
04/25 16:00:31 yS2 tio_get_rs232_lines: status: RTS DTR
04/25 16:00:31 yS2 WARNING: DSR is off - modem turned off or bad cable?
04/25 16:00:31 yS2 lowering DTR to reset Modem
04/25 16:00:31 yS2 tss: set speed to 38400 (017)
04/25 16:00:31 yS2 tio_set_flow_control( HARD )
04/25 16:00:31 yS2 waiting for line to clear (VTIME), read:
04/25 16:00:32 yS2 send: \dATQ0V1H0[0d]
04/25 16:00:32 yS2 waiting for ``OK''
04/25 16:00:32 yS2 got: [00]
04/25 16:00:52 yS2 timeout in chat script, waiting for `OK'
04/25 16:00:52 yS2 init chat timed out, trying force-init-chat
04/25 16:00:52 yS2 send: \d[10][03]\d\d\d+++\d\d\d[0d]\dATQ0V1H0[0d]
04/25 16:00:56 yS2 waiting for ``OK''
04/25 16:00:56 yS2 got: ATQ0V1H0[0d][0d][0a]OK ** found **
04/25 16:01:01 yS2 force-init succeeded, retrying init-chat
04/25 16:01:01 yS2 waiting for line to clear (VTIME), read: [0d][0a]
04/25 16:01:01 yS2 send: \dATQ0V1H0[0d]
04/25 16:01:02 yS2 waiting for ``OK''
04/25 16:01:02 yS2 got: ATQ0V1H0[0d]
04/25 16:01:21 yS2 CND: OKATQ0V1H0[0d][0a]OK ** found **
04/25 16:01:21 yS2 send: AT[0d]
04/25 16:01:21 yS2 waiting for ``OK''
04/25 16:01:21 yS2 got: [0d]
04/25 16:01:21 yS2 CND: OK[0a]AT[0d]
04/25 16:01:41 yS2 CND: AT[0d][0a]OK ** found **
04/25 16:01:41 yS2 mdm_send: 'ATI'
04/25 16:01:41 yS2 got:[0d][0a]
04/25 16:01:51 yS2 Warning: got alarm signal!
04/25 16:01:51 yS2 mdm_read_byte: read returned -1: Interrupted system call
04/25 16:01:51 yS2 mdm_get_line: cannot read byte, return: Interrupted
system call
04/25 16:01:51 yS2 mdm_identify: string '<ERROR>'
04/25 16:01:51 yS2 mdm_identify: can't get modem ID
04/25 16:01:51 yS2 mdm_send: 'AT+FCLASS=?'
04/25 16:01:51 yS2 got:ATI[0d]
04/25 16:02:01 yS2 mdm_gis: string 1: 'ATI'
04/25 16:02:01 yS2 got:[0d][0a]282[0d]
04/25 16:02:01 yS2 mdm_gis: string 2: '282'
04/25 16:02:01 yS2 got:[0a][0d][0a]OK[0d]
04/25 16:02:01 yS2 available modem classes: ATI
04/25 16:02:01 yS2 mdm_send: 'AT+FCLASS=2'
04/25 16:02:01 yS2 got:AT+FCLASS=?[0d]
04/25 16:02:11 yS2 mdm_command: string 'AT+FCLASS=?'
04/25 16:02:11 yS2 got:[0d][0a]0,
04/25 16:02:11 yS2 Warning: got alarm signal!
04/25 16:02:11 yS2 mdm_read_byte: read returned -1: Interrupted system call
04/25 16:02:11 yS2 mdm_get_line: cannot read byte, return: Interrupted
system call -> ERROR
04/25 16:02:11 yS2 no class 2/2.0 faxmodem, no faxing available
04/25 16:02:11 yS2 waiting for line to clear (VTIME), read:
04/25 16:02:11 yS2 removing lock file
04/25 16:02:11 yS2 waiting...
04/25 16:02:21 yS2 select returned 1
04/25 16:02:21 yS2 checking lockfiles, locking the line
04/25 16:02:21 yS2 makelock(ttyS2) called
04/25 16:02:21 yS2 do_makelock: lock='/var/lock/LCK..ttyS2'
04/25 16:02:21 yS2 lock made
04/25 16:02:21 yS2 wfr: waiting for ``RING''
04/25 16:02:21 yS2 got: AT+FCLASS=2[0d]
04/25 16:02:21 yS2 CND: AT+FCLASS=2
04/25 16:02:21 yS2 got: [0d][0a]OK
04/25 16:02:31 yS2 mdm_read_byte: read returned -1: Interrupted system call
04/25 16:02:31 yS2 wfr: timeout waiting for RING
04/25 16:02:31 yS2 wfr: rc=-1, drn=0
04/25 16:02:31 yS2 huh? Junk on the line?
04/25 16:02:31 yS2 removing lock file
thanx for any help,
stephan
- --
Stephan Witoszynskyj <swito@fsph2.htu.tuwien.ac.at>
# public pgp key available from:
gescheit # http://fsmat.tuwien.ac.at/~swito/
gescheiter # or by mail to
gescheitert # swito@fsph2.htu.tuwien.ac.at with
# PGP-Key Request as subject
-----BEGIN PGP SIGNATURE-----
Version: 2.6.3ia
Charset: noconv
iQCVAwUBNyMoAGlq4vtNxt31AQFbWgP/bcLmdyw8Mv3tRQs7MCXfrh+Jmd9B8PzA
z70G0DKhZAy72x68V1y5VSg+4VOiFC5/GcEE21A9OYMzk2+bKIl5YxfIs0gHLCWb
vjBDhy5TdCG5frIlyf+u74f2jlIdJ6p8zEAQcn8CmXIrVzX5B5P3H2ffyYatfWRj
8xuFL9YXchA=
=cBvF
-----END PGP SIGNATURE-----