LIRC driver

From Tuxisalive

Jump to: navigation, search


Image:Alert.png This article is out of date.
It may contain old, confusing and wrong information. Please help improve the wiki by updating the article and correcting mistakes.


Contents

Intro

Architecture

Today the Tux sends only decoded RC5 codes (actually only the codes without the addresses).

We're thinking about making the Tux more versatile and ideally being seen as a universal receiver for LIRC (and emitter but one step at a time).

LIRC interface

We should try to reuse one of the hardware abstraction layers understood by Lirc to avoid to have to develop also the Lirc driver.

USB

Tux is connected via USB, one way would be to add a USB "device" in the fw of the dongle to present the Tux as e.g. an IgorPlug-USB.
Note that USBtiny receiver is also using the same protocol.
There is also the USB Ir Boy

Serial

The other solution is to use the current USB class and let the daemon emulating an interface understood by Lirc, e.g. a sw serial port (cf socat) and follow one of the protocols understood by Lirc.
For the basic RS232 receivers it appears Lirc samples directly an IR receiver via non-data lines of the serial port.
Forget it!
But the UIRT2 seems promising, in particular its serial protocol UIR and RAW handled by a PIC and what a PIC can do an Atmel should be capable of too ;-)

Tux side

Probably capabilities of the dongle are very limited so the Tux should already do a maximum of the protocol itself and the dongle should limit itself to the reconstruction of the RF small packets into USB packets.

Misc

irmenu : IrMenu is a program that allows to navigate a text menu using
a remote control. Prompts are "displayed", that is, spoken, using your
favorite text-to-speech program, such as IBM ViaVoice or festival.
Personal tools
information strucure
development tools
miscellaneous