From: Peter Sahlstrom <gte988t@pr...> - 2003-10-05 16:34:40
I know this topic has come up in various forms before, but I haven't
seen any examples of what I'm trying to do...so here goes.
I'm trying to set my LIRC configuration up so that it can transmit and
receive simultaneously. My goal is to be able to use my standard VCR
remote with my VCR, but with LIRC intercepting the commands and
I tried doing this once with the same device; needless to say, it
Since then, I have wired my transmitter onto a second serial port, and
rewritten the LIRC configuration to allow me to run two instances of
lircd simultaneously. (I found the instructions for how to do this
online, but I can't seem to figure out where the site was...I'll post
again if I dig it up). Basically, this involved creating a version of
the driver that uses a different major number, different PID file, and
different application names. After quite a bit of work, I now have
things (mostly) working: I can continue to watch data trickle in
through mode2, while transmitting with rc on the other port.
BUT...while transmitting, the data that mode2 receives is
meaningless...it consists of implausably long pulses and spaces. If I
run irw instead, its output ceases during the transmit.
Here's my configuration:
Homebrew serial receiver on 2f8h irq 3
Homebrew serial transmitter on 3f8h irq 4
I'm really not sure what to try next...but I'm very open so suggestions.
Peter Sahlstrom "gte988t@..." wrote:
> BUT...while transmitting, the data that mode2 receives is
> meaningless...it consists of implausably long pulses and spaces. If I
> run irw instead, its output ceases during the transmit.
> Here's my configuration:
> Debian 3.0r1
> Homebrew serial receiver on 2f8h irq 3
> Homebrew serial transmitter on 3f8h irq 4
> I'm really not sure what to try next...but I'm very open so suggestions.
This is because the driver turns off interrupts during transmit. There's
no other way if you want to get a consistent signal out of this simple