You're actually delving into a very complicated area, especially if you're not very comfortable with Linux. I don't have firsthand experience with a raw IR remote/receiver - I went with the iMon options because they require less hacking from both a hardware and software perspective and there are several htpc case choices in that area. The drivers and LIRC framework are there for other remote technologies, but I haven't done anything to simplify anything other than iMon.bonalux wrote:Hi Idolse and all, i've tried hard to make lirc working with mpd but i've not found all the needed infos or either i'm to dumb to understand how to send the commands to mpd...(maybe it's too simple and i overlooked it )
I've created (or better i think so) the lircd.conf file for my samsung remote in the /etc/lirc directory, but i'm stuck at the point of telling mpd what to do (eg. skip track, stop, etc..). Info on the web tells to create a .licrc file in the /etc/lirc dir or in the home dir, but what to write in this file? Any advice or file to look at would be welcome.
If you're googling for info on LIRC try using the advanced search to limit results to the past year or so - most of the info that comes up in Google searches about LIRC is out of date.
Anyway, if you really want to dig into this, you need a working RF receiver attached to your system first - you mention the remote but no receiver.
I believe you need to make sure the IR receiver driver is loaded along with the driver for your specific remote. I believe most of the LIRC code is in the kernel at this stage, and I think it should automatically convert remote input to keyboard commands - at that point you just need to make sure that the remote is always mapped to the same input device and configure /etc/empcd.conf to use that device. You then need to use empcd's debug features to figure out how LIRC maps your Samsung remote to keyboard commands - in many cases it may match what I've configured in empcd.conf, but it won't always. The empcd website has more info on this.
If you're searching Google for LIRC info be sure to use the advanced search to limit results to the last year or so - most info on the web regarding LIRC is old and out of date.