lkml.org 
[lkml]   [2003]   [Apr]   [7]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
Subjectmodifying line state manually on ttyS
Date
Hi.

I have asked in many other mailing-lists, but I got no good
solution for my problem, so I try to ask here, although it may
not be the exaclty correct list for it.

I have developed my own device, that is connected to ttyS0.
To talk to my device, I need to set the state of the TxD line
manually to either 0 or 1 (+12v or -12v). What I try to say is,
I don't want to write a whole byte to the port, but only one single
bit, that then stays persistent on the line, until I reset its state.
Better sayed, I want to handle TxD line, like it's possible for
DTR-line for example.

Is kernel-support by the ttyS driver present for this, or do I
have to write my own driver for my device. I'm trying to
implement the driver in user-space, but I didn't find a solution
to set linestate of TxD.

Regards
Michael Buesch.

--
My homepage: http://www.8ung.at/tuxsoft
fighting for peace is like fu**ing for virginity

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

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