Skip to contentSkip to conversation

kermit:How to disable the flow control signals?

DISCUSSION rick.liu 2 participants 2 messages May 17, 2003

lore
Share & tools
lore

rick.liu

author
#0 lore raw

Hi,
I installed c-kermit209 in my linux,and copy the dot.kermrc
in the u-boot0.3.0 to ~/.kermrc,then connect the kermit to my direct -serral port:

bash>wermit -c
Connecting to /dev/ttyS0, speed 115200
Escape character: Ctrl-\ (ASCII 28, FS): enabled
Type the escape character followed by C to get back, or followed by ? to see other options.
----------------------------------------------------
(and then ctrl_\ s)
Device: /dev/ttyS0
Speed 115200
Terminal echo: remote
Terminal bytesize: 8
Command bytesize: 8
Parity: none
Autodownload: on
Session log: (none)

 Carrier Detect      (CD):  On
 Dataset Ready       (DSR): On
 Clear To Send       (CTS): On
 Ring Indicator      (RI):  Off

Data Terminal Ready (DTR): On
Request To Send (RTS): On

here is the question:
1.why the flow control signals are still "on"? 2.if I have a 3-wired smc1/serial port,how to configure
to turn off RTS/CTS etc.?

Best regards
Thanks !!

Rick

** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/

#1 lore raw
Quoted 4 lines · In message <[email protected]> you wrote:

I installed c-kermit209 in my linux,and copy the dot.kermrc
in the u-boot0.3.0 to ~/.kermrc,then connect the kermit to my direct -serral port:

...

Quoted 2 lines

here is the question:
1.why the flow control signals are still "on"?

Because this is what you serial driver reports about the current state of these pins?

Quoted 2 lines

2.if I have a 3-wired smc1/serial port,how to configure
to turn off RTS/CTS etc.?

You already did. The relevant lines from the ~/.kermrc file are:

set carrier-watch off
set handshake none
set flow-control none

To verify, type "show comm" at the kermit prompt:

Kermit>show comm

Communications Parameters:
Line: /dev/ttyS1, speed: 115200, mode: local, modem: generic
Parity: none, stop-bits: (default) (8N1)
Duplex: full, flow: none, handshake: none
Carrier-watch: off, close-on-disconnect: off
Lockfile: /var/lock/LCK..ttyS1
Terminal bytesize: 8, escape character: 28 (^\)

The relevant part here is the "flow: none", "handshake: none" and "Carrier-watch: off" entries.

Best regards,

Wolfgang Denk

--
Software Engineering: Embedded and Realtime Systems, Embedded Linux
Phone: (+49)-8142-4596-87 Fax: (+49)-8142-4596-88 Email: [email protected]
Life. Don't talk to me about life. - Marvin the Paranoid Android

** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/