LinHES Forums
http://forum.linhes.org/

lirc is working but not in Myth Frontend
http://forum.linhes.org/viewtopic.php?f=6&t=7515
Page 1 of 1

Author:  Mr.Montesa [ Sun Dec 25, 2005 8:23 am ]
Post subject:  lirc is working but not in Myth Frontend

Hello,
I yust installed MythTv with the KonppMyth install CD.
Everything is working fine until now.
But I have a configuration problem with lirc.
I bought a Microsoft MCE V2 remote control.
Compiled the lirc 0.7.2 from source and started the daemon.
testing with irw was nice:
Code:
root@mediaserver: irw
000000037ff07be1 00 Up mceusb
000000037ff07be1 01 Up mceusb
000000037ff07be1 02 Up mceusb
000000037ff07bfe 00 One mceusb
000000037ff07bfe 01 One mceusb
000000037ff07bfe 02 One mceusb


Then I fetched the lircrc from http://blatter.com/mceusb/ and copied it to ~/.mythtv/
After that I checked the permissions and rebooted the machine to be sure that the config will be loaded.
I started the lirc daemon once more and tested with irw. Still working!

I started the frontend and tested. NOTHING!
Does anyone can give me a hint or a known working config for the MCE V2.
Here is the beginning of the blatter config:
Code:
begin
    prog = mythtv
    button = ChanUp
    config = PgUp
end

begin
    prog = mythtv
    button = ChanDown
    config = PgDown
end

begin
    prog = mythtv
    button = OK
    config = Return
end

begin
    prog = mythtv
    button = Home
    config = M
end


Would be very nice.
Merry Xmas!
greetz Mr.Montesa

Author:  Mr.Montesa [ Thu Dec 29, 2005 4:22 pm ]
Post subject:  [solved] lirc is working but not in Myth Frontend

Hy there,
I yust want to tell that my problem is solved.
Although no one had a hint for me, I solved the problem on my own.
The lirc daemon has to run before th Xserver starts up and the frontend logs in.
To configure that run the following steps:
Code:
cd /to/your/lirc_sources/folder
cd contrib
cp lirc.debian /etc/init.d/lirc
cd /etc/init.d/
update-rc.d lirc defaults 20

This makes the lirc daemon start before the xserver starts up.
Solved my problem very well.
Greets from Germany.
MfG Mr.Montesa

Page 1 of 1 All times are UTC - 6 hours
Powered by phpBB® Forum Software © phpBB Group
http://www.phpbb.com/