maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   Multimedia (https://talk.maemo.org/forumdisplay.php?f=32)
-   -   [Proof of Concept] Control mediaplayer on N900 with LIRC (https://talk.maemo.org/showthread.php?t=52419)

ny-hardcore 2010-05-11 18:41

[Proof of Concept] Control mediaplayer on N900 with LIRC
 
1 Attachment(s)
Ok,
I wanted to control my n900 from the couch when it's connected to my tv / stereo (for playing vids/mp3's)

but the N900 doesn't have an IR receiver.. so it's impossible to control the n900 directly with a remote...

this didn't stop me; i

For this to work you need:
Linux box with Lirc Receiver
N900
attached lircrc
Lirc on n900


I start the lirc daemon on the linux box with extra parameters:
Code:

--listen=IPOFTHELINUXBOX PORTNR /etc/lirc/lircd.conf -d /dev/lirc0 -o /dev/lircd
i then copied all the lirc config files and remote settings from the vdr box to the n900 and installed lirc on the n900

now if i start lirc with following on the n900 (when connected to local wlan)
Code:

lircd --connect=IPOFTHELINUXBOX PORTNR
I then made a lircrc file in the /etc/ directory of the n900
(see attachement)

Now if i run irexec i can controll the n900 mediaplayer with a remote :D

still need to clean this up, i wan't irexec and lirc with the --connect parameter to autostart when i run lirc, i only can get it to work when i play music etc etc.
but for now it works...


All times are GMT. The time now is 03:30.

vBulletin® Version 3.8.8