LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Non-*NIX Forums > Programming
User Name
Password
Programming This forum is for all programming questions.
The question does not have to be directly related to Linux and any language is fair game.

Notices


Reply
  Search this Thread
Old 03-08-2004, 11:22 PM   #1
infamous41md
Member
 
Registered: Mar 2003
Posts: 804

Rep: Reputation: 30
remote control device driver


i want a remote control with say, 10 buttons, that will send signals to a reciever i place around my computer. the driver will be used by user space app to read the different signals and do various things, such as turn up volume or skip to next track in xmms. what i dont understand is, what can i use for this? do i have to BUILD one? what port would it plug into? USB, parallel? where can i learn more about this?
 
Old 03-09-2004, 04:47 AM   #2
meldar
Member
 
Registered: Feb 2004
Location: Denmark
Distribution: Gentoo
Posts: 136

Rep: Reputation: 15
I think you can use a normal remote control and an infrared reciever.
There are an option in the kernel for enabling an IrDA-interface.
Also - have a look at http://www.lirc.org/
 
Old 03-09-2004, 08:18 AM   #3
Sparkfist
Member
 
Registered: Feb 2004
Location: Michigan
Distribution: Mint 20.1
Posts: 69
Blog Entries: 1

Rep: Reputation: 15
ATI has a remote, I got one in my all-in-wonder. It plugs into a usb abd uses rf (radio frequency), it works great dont even haveto be facing the thing. I'd say you could look into making a driver for it, although it has 34 buttons and a D-pad.

Something you might be interested in,

Nick
 
Old 03-09-2004, 10:28 AM   #4
Hko
Senior Member
 
Registered: Aug 2002
Location: Groningen, The Netherlands
Distribution: Debian
Posts: 2,536

Rep: Reputation: 111Reputation: 111
If you want to go for a cheap solution, don't neeed wireless, and are willing to build some (easy) electronic circuit, then have a look at this page:

http://www.mattsclearpcs.com/com/com.html

It is about a 4-button solution for winamp. It uses the serial port, which is often unused these days, but 4 buttons is the maximum you can do with this.

I once started experimenting getting it to work under Linux, see my page:

http://www.xs4all.nl/~heiky/

This is by no means a plug-in for xmms (yet), but it does read the buttons from the serial port. And it also has a bug, which I know how to fix by now. I didn't have time yet to upload a fixed version. But if you interested I'll fix the bug for you (but not before next week). Just let me know.
 
Old 03-09-2004, 11:13 AM   #5
infamous41md
Member
 
Registered: Mar 2003
Posts: 804

Original Poster
Rep: Reputation: 30
thanks for that first link, it seems to be what i need. hko im having a look at your source, unfortunately tho this HAS to be a kernel level device driver b/c it's for a project, but thanks tho
 
Old 03-09-2004, 11:47 AM   #6
Hko
Senior Member
 
Registered: Aug 2002
Location: Groningen, The Netherlands
Distribution: Debian
Posts: 2,536

Rep: Reputation: 111Reputation: 111
I know next to nothing about kernel programming, but I suppose you can use the part(s) that ioctl the serial port to wait for a button to be pressed and read the button status. However the bug I mentioned is in there..
 
  


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
Anyone got the Remote Wonder (ATI's USB remote control) to work under Linux? dezireduser Linux - Hardware 2 11-06-2005 08:47 AM
Ir remote Control driver r9379 Linux - Software 1 08-11-2005 10:19 PM
ATI remote wonder (remote control) and X dop Linux - Software 2 07-24-2005 06:29 AM
remote control sentme_mail Linux - Newbie 1 10-09-2004 03:05 AM
How to write Device Driver to control LED? mcp_achindra Programming 1 04-01-2004 06:33 AM

LinuxQuestions.org > Forums > Non-*NIX Forums > Programming

All times are GMT -5. The time now is 01:03 AM.

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