LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware > Linux - Embedded & Single-board computer
User Name
Password
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.

Notices


Reply
  Search this Thread
Old 09-21-2011, 01:09 PM   #1
NSS
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, 03:09 PM   #2
theNbomr
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.
 
  


Reply



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 02:17 AM
My SPI driver not working in u-boot. sunr2007 Linux - Embedded & Single-board computer 1 10-24-2009 07:17 AM
uart driver for infrared remote control ubuntu_amateur Linux - Kernel 4 11-04-2006 01:38 PM
Ir remote Control driver r9379 Linux - Software 1 08-11-2005 10:19 PM
remote control device driver infamous41md Programming 5 03-09-2004 11:47 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware > Linux - Embedded & Single-board computer

All times are GMT -5. The time now is 08:19 PM.

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