[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Modem: TR but no ATZ-OK



On Thu, Jul 11, 2002 at 09:25:48PM -0700, Wm. G. McGrath wrote:
> Seneca wrote:
> > 
> > to send a string:    # echo foo > /dev/ttyS1
> > to send from stdin:  # cat > /dev/ttyS1
> > to receive:          # cat /dev/ttyS1
> 
> echo 'AT EI Q V1' (or 'ATZ') > /dev/ttyS1
> produces no resonse ie no 'OK'.
> The TR light on the modem does flicker.
> No response characters appear on the commmand line.

To see response characters, you need to be receiving. (ie. tty1 is
sending, tty2 checks for responses, and you switch between the two)

> cat > /dev/ttyS1 
> causes the TR light on the modem to turn on and stay on.
> The command line delivers a '>' prompt. 
> The input characters typed are echoed to the screen but there is no
> response.
> ^C kills the '>' prompt and returns to the # prompt.

Well, I have only seen a prompt like that when escaping a newline when
the path and command line are too long to be shown on one line. When I
cat > /dev/ttyS0, I just get a blank, prompt-free line to type on, and
the contents are only sent when I press enter.

-- 
Seneca
seneca-cunningham@rogers.com


-- 
To UNSUBSCRIBE, email to debian-user-request@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org



Reply to: