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

Dear Wolfgang,

thank you for ur reply,in your message,
======= 2003-05-17 09:29:00 you wrote:=======

Quoted 4 lines
Quoted 1 line

1.why the flow control signals are still "on"?

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

i donnot think so,for example,my NO.7 pin(RTS) and NO.9 pin(RI) both connect to nothing,if your conclusion is correct,RTS and RI should be the same state.But we
saw they are not the same.

Quoted 1 line

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

here is my info:

kermit>show comm

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

 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

Type SHOW DIAL to see DIAL-related items.
Type SHOW MODEM to see modem-related items.

Now we can still see the RTS/CTS/DSR/CD/DTR are still on,why?

it my kermit version's problem?

Best regards,

Rick

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

#1 lore raw

Dear Rick,

Quoted 10 lines · in message <[email protected]> you wrote:
Quoted 5 lines
Quoted 2 lines

1.why the flow control signals are still "on"?

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

i donnot think so,for example,my NO.7 pin(RTS) and NO.9 pin(RI) both connect to nothing,if your conclusion is correct,RTS and RI should be the same state.But we
saw they are not the same.

Do you really know for sure how thse pins are internally connected? If there are any pull-up or -down resistors? And how your UART is implemented internally? And if the driver actually reads the pins?

I wrote: this is what your serial driver reports. This does not necessarily mean that this is actually the state of the externally accessable pin on the serial connector...

Quoted 1 line

here is my info:

This looks ok.

Quoted 1 line

Now we can still see the RTS/CTS/DSR/CD/DTR are still on,why?

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

Quoted 1 line

it my kermit version's problem?

No.

Ummm... why do you bother? Is anything not working?

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] A Puritan is someone who is deathly afraid that someone, somewhere, is having fun.

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