On Tue, Aug 16, 2005 at 04:58:02PM +0800, jjsong wrote:
> Hi, everyone,
> I'm a newbie for Ir remote control programming. Now I'm going to write a=
> program running on intel Mainstone board (PXA27x platform, ARM compatible=
> which can receive Ir signals transimitted by a remote and then transmit t=
> same signals; so the program/board can simulate a remote to control the=
> corresponding electronic appliances.
> The Ir transceiver is Agilent HSDL-3600 #007;
> PXA27x processor has a STUART controller (which is for SIR) and a FICP po=
> (for SIR/FIR). The kernel running is 2.4.21.
> I have read the SIR/FIR device driver (in linux/drivers/net/irda/pxa_ir.c=
> The transceiver is regarded as a net device, and there's an IrDA protocol=
> stack, but what I need is just raw signal. What should I do?
> I think the transceiver can receive Ir remote signals through SIR standar=
> (Is it right?) So, In my opinion there are two methods to gain my goal:
> 1, Re-write a device driver for SIR to implement it as a char device so I=
> transmit/receive raw Ir signals just as read/write a char device;=20
> 2, Transmit/receive raw Ir signal through reading/writing the STUART port=
> such as /dev/ttyS1. (But I haven't found some "/dev/ttyxx" corresponding =
> the STUART :-( )
> I don't know whether the ideas are right or feasible. Can you kindly give=
> some suggestions? If the ideas are feasible, what should I pay special=20
> attention to? And are there some web links or source codes recommended?
IRDA is different than remote control IR(sometimes called CIR, consumer
infra-red). Generally they are not compatible. While some SIR hardware can
be tricked into doing CIR, it has poor results.
Build a combo simple home brew transmitter /receiver from LIRC web site
to learn more.
> SF.Net email is Sponsored by the Better Software Conference & EXPO
> September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practic=
> Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA
> Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf