LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Embedded & Single-board computer (https://www.linuxquestions.org/questions/linux-embedded-and-single-board-computer-78/)
-   -   SPI Driver for Remote Control? (https://www.linuxquestions.org/questions/linux-embedded-and-single-board-computer-78/spi-driver-for-remote-control-904249/)

NSS 09-21-2011 01:09 PM

SPI Driver for Remote Control?
 
I'm doing software development for an embedded-Linux device that has a remote control. The remote control has 9 buttons and uses RF to communicate with the device. The device has an RF transceiver with SPI interface.

Now, I want to know the best way to write a device driver for the remote control. I thought of making the remote control to look like a mini-keyboard to the Linux OS. I thought of cloning a keyboard device driver code and modify on it to suit my need, but I'm not sure if that will work.

So, any suggestion please?

theNbomr 09-26-2011 03:09 PM

There is a body of prior work for IR Remote Control in Linux. At best, it will already provide support for your device. At worst, it should provide a good model upon which to develop your own support for your device.
--- rod.


All times are GMT -5. The time now is 10:59 AM.