Latest LQ Deal: Latest LQ Deals
Go Back > Forums > Linux Forums > Linux - Hardware > Linux - Embedded & Single-board computer
User Name
Linux - Embedded & Single-board computer This forum is for the discussion of Linux on both embedded devices and single-board computers (such as the Raspberry Pi, BeagleBoard and PandaBoard). Discussions involving Arduino, plug computers and other micro-controller like devices are also welcome.


  Search this Thread
Old 09-21-2011, 02:09 PM   #1
LQ Newbie
Registered: Apr 2009
Posts: 7

Rep: Reputation: 0
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?
Old 09-26-2011, 04:09 PM   #2
LQ 5k Club
Registered: Aug 2005
Distribution: OpenSuse, Fedora, Redhat, Debian
Posts: 5,399
Blog Entries: 2

Rep: Reputation: 908Reputation: 908Reputation: 908Reputation: 908Reputation: 908Reputation: 908Reputation: 908Reputation: 908
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.


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Communication with SPI driver Mactub Linux - Software 2 03-16-2010 03:17 AM
My SPI driver not working in u-boot. sunr2007 Linux - Embedded & Single-board computer 1 10-24-2009 08:17 AM
uart driver for infrared remote control ubuntu_amateur Linux - Kernel 4 11-04-2006 02:38 PM
Ir remote Control driver r9379 Linux - Software 1 08-11-2005 11:19 PM
remote control device driver infamous41md Programming 5 03-09-2004 12:47 PM > Forums > Linux Forums > Linux - Hardware > Linux - Embedded & Single-board computer

All times are GMT -5. The time now is 11:52 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration