lkml.org 
[lkml]   [1999]   [Nov]   [10]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectSerial port, DTR & CTS
Hi all,

I have a special device connected to a serial port on my PC (it is a
microcontroller); the RTS and DTR lines are used to reset it and select
the programming mode.

It seems that when /dev/ttySx or /dev/cuax is opened, the kernel starts by
toggling the RTS and DTR lines. This causes an unwanted reset on the
microcontroller.

Can I work around this? Is there any way to tell the kernel not to touch
the RTS and DTR lines, except when explicitely requested by ioctl's?

[Yes, sure, I can read the source, but the code for the serial port is not
well-commented...]

---
David Monniaux Tel: +33 1 44 32 20 66 Fax: +33 1 44 32 20 80
Laboratoire d'informatique de l'École Normale Supérieure,
45 rue d'Ulm - 75230 PARIS cedex 5 - FRANCE


-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-03-22 13:54    [W:0.083 / U:1.356 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site