« Return to Thread: Making LIRC work with CIR hardware

Making LIRC work with CIR hardware

by siegzeit (Bugzilla) :: Rate this Message:

| View in Thread

Hello all,

I have some hardware running Linux that has a CIR (Consumer IR) port with both RX and TX using the Vishay Semiconductors TSOP852 IR receiver module for RX.  There is a CIR driver that creates a character device /dev/cir where you can read/write data which is then converted to/from IR.

Looking at LIRC, it seems to target IrDA instead of CIR - I don't see support for CIR anywhere.  The homebrew driver uses the serial port, but in the case of CIR in my hardware there is no serial port, it has its own port with FIFOs and DMA support.

Is there a way to integrate the existing CIR driver into LIRC in order to send/receive remote control commands?  Basically I just need LIRC to read/write to /dev/cir to send/receive IR commands.  Would this be possible?  Feasible?  Or am I better off writing my own userspace application for this purpose?

I was doing some online research about IrDA and CIR and this summarizes it nicely: http://stephnet.us/geek/?tag=irda-vs-cir-vs-ir

Any help, ideas, comments, direction or criticism welcome!


Thanks,
Sig

------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and
threat landscape has changed and how IT managers can respond. Discussions
will include endpoint security, mobile security and the latest in malware
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/

 « Return to Thread: Making LIRC work with CIR hardware