LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 10-18-2011, 03:43 AM   #1
mattyshaw
LQ Newbie
 
Registered: Jun 2006
Posts: 4

Rep: Reputation: 0
Linux Car player keyboard input


Hi Guys

A few years ago I started a project for an in car mp3 and video player. I have a mini-itx board, bootable sd, and a 2.5" composite input screen. Now I really need to get this project finished. I was going to use a large shell script I have written, along with mpd, mplayer, and conky for the display. I was going to use lirc/irexec to take the input, but then realised I would not be able to enter search strings very easily, as the remote would not have enough buttons. I have since bought a usb wireless xenta mini keyboard, which is ideal. My only trouble is now my shell script worked using irexec to enter a character into a monitored file and according to the character do a certain action. Now I have this kbd I am not sure how I am going to capture its input to enter certain characters into the input file.

Any help would be appreciated, and I am going to publish my project once it is complete

Regards
Matt Shaw
matt @ shagshaw dot com
 
Old 10-18-2011, 08:06 AM   #2
sunnydrake
Member
 
Registered: Jul 2009
Location: Kiev,Ukraine
Distribution: Ubuntu,Slax,RedHat
Posts: 289
Blog Entries: 1

Rep: Reputation: 61
dunno if it will work as intended...


ls -l /proc/self/fd/[0-2]
ls -l /dev/std*

so if your remote device act like keyboard you can redirect all stdin to a file
 
  


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 On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Repeated "input: AT Translated Set 2 keyboard as /class/input/input" messages AcerKev Mandriva 2 09-16-2007 08:35 AM
How to get keyboard input from C in Linux yanming Linux - Software 4 07-27-2007 01:51 AM
Car MP3 player using linux NoUse4ANick Linux - General 8 11-10-2005 09:59 PM
Small Linux distro for car mp3 player? HitmanIP7 Linux - Distributions 2 07-29-2004 12:53 PM
Linux mp3 player / car audio phillhw Linux - General 2 09-27-2001 03:49 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 07:38 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