LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - General (https://www.linuxquestions.org/questions/linux-general-1/)
-   -   Linux Car player keyboard input (https://www.linuxquestions.org/questions/linux-general-1/linux-car-player-keyboard-input-908729/)

mattyshaw 10-18-2011 03:43 AM

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

sunnydrake 10-18-2011 08:06 AM

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 :)


All times are GMT -5. The time now is 02:16 AM.