2003-02-08: Christian Worm Mortensen dixit:
> I would like to make some kind of small Linux terminal which
> contains both a small LCD display and an IR censor. [...] But
> what if I only want to use one serial port? Is this possible?
> [...] Aparently, the LCD devices and the IR censors do not use
> the same pins on the serial port so at least in theory there is
> some hope...
I think I already posted this info long time ago, which may
answer your question:
2001-04-12: Enrique Vidal dixit:
> I am sharing the very same serial port to handle this circuit
> AND a comercial IR receiver which uses only RTS, DCD and GND.
> Moreover, since neither the receiver nor the transmitter use
> the serial TxD or RxD lines, I am actually sharing the very same
> serial port both for full I/O IR control *and* for interfacing
> a 16-lines digital I/O box (a B&B 232SDD16), which does use the
> TxD/RxD lines but don't need DCD, RTS or DTR (however, this
> requieres a tricky management of the lirc and serial modules...).
That is; I use ttyS0 as the only port to drive 4 devices:
- LIRC input (receiver)
- LIRC output (transmitter)
- B&B 232SDD16 (16 digital input lines)
- B&B 232SDD16 (16 digital output lines)
Of course, I can not use LIRC and B&B simultaneously...
In addition, both the LIRC receiver and transmitter draw their
power from the very same ttyS0 port. I've been happyly using
this setting for many years and two different computers.