Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 27 Apr 2004 11:28:23 -0700
From:      Mike Hunter <mhunter@ack.Berkeley.EDU>
To:        freebsd-hackers@freebsd.org
Subject:   plot.thickness++ (Re: Core dump with tip (ucom0 -> external modem))
Message-ID:  <20040427182823.GA21687@ack.Berkeley.EDU>
In-Reply-To: <20040426173848.GA24490@ack.Berkeley.EDU>
References:  <20040426173848.GA24490@ack.Berkeley.EDU>

next in thread | previous in thread | raw e-mail | index | archive | help
I got an interesting clue by trying ECU.  Check this out:

ECU is a dialer type program.  I told it to use /dev/ucom0 to dial my desk
phone number, and it showed itself trying to issue a bunch of commands to
the modem, but each time they came back and said "missed expected carriage 
return".  It eventually gave up, but my phone then started ringing!

Dialing <telno 23645>
on /dev/ucom0 at 9600 baud (10:24:25)

Trying ecu dialer
/usr/local/lib/ecu/ucom0.mi: No such file or directory
modem init string not found (using default 'ATE1Q0V1')
modem dial string not found (using default 'ATDT')
ATE1Q0V1
missed expected carriage return
got nothing
ATE1Q0V1
missed expected carriage return
got nothing
ATE1Q0V1
missed expected carriage return
got nothing
ATE1Q0V1
missed expected carriage return
got nothing
/usr/local/lib/ecu/ucom0.mi: No such file or directory
modem init string not found (using default 'ATE1Q0V1')
modem dial string not found (using default 'ATDT')
ATE1Q0V1
missed expected carriage return
got nothing
ATE1Q0V1
missed expected carriage return
got nothing
ATE1Q0V1
missed expected carriage return
got nothing
ATE1Q0V1
missed expected carriage return
got nothing
ATDT23645
missed expected carriage return
Cannot talk to modem

When it was over, I did a tip on the same device and it spewed a bunch of 
garbage at me:

OK
AT
OK
ATQ0V1E1
OK
ATE1Q0V1
OK
AT
OK
ATQ0V1E1
OK
ATE1Q0V1
OK
AT
OK
ATQ0V1E1
OK
ATE1Q0V1
OK
ATE1Q0V1
OK
AT
OK
ATQ0V1E1
OK
ATE1Q0V1
OK
AT
OK
ATQ0V1E1
OK
ATE1Q0V1
OK
AT
OK
ATQ0V1E1
OK
ATE1Q0

So all the commands were going through, but somehow being buffered...?
Any knobs I can play with to help with this situation?

Thanks,

Mike



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20040427182823.GA21687>