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

LIRC w/leadtek tv2000xp?
http://forum.linhes.org/viewtopic.php?f=1&t=803
Page 1 of 1

Author:  MillerTyme [ Tue Feb 24, 2004 8:39 am ]
Post subject:  LIRC w/leadtek tv2000xp?

First off kudos to the creator of this, i had previously set up a myth box the old fashioned way and when my hdd crashed on me a week ago i cringed at the thought of having to redo my myth box, however i gave this a try and got it about 90% working in one night, amazing....my problem now is my remote. I remember having a lot of problems getting the remote working during my other myth install, if someone who has this card/remote working please let me know what they did?
One final off topic question, how can i run mythbackend again?

Thanks for everything

Author:  cesman [ Tue Feb 24, 2004 9:10 am ]
Post subject: 

The source for LIRC is in /usr/src, you'll need to recompile LIRC for your remote. If you install-i686-l(or 586 if you have a 586 class CPU), this will install MythTV w/ native LIRC. As for starting the backend /etc/init.d/mythtv-backend restart

Author:  MillerTyme [ Tue Feb 24, 2004 9:47 am ]
Post subject: 

sorry that should have said mythbackend setup, ok so far i copied the remote file to /etc/lircd.conf, i have to go now, but ill fix my lircrc file when i come back and see if its working
thanks

Author:  Xsecrets [ Tue Feb 24, 2004 11:21 am ]
Post subject: 

to run the setup agian you run mythtv-setup.

As for the lirc stuff. Just putting the files in the right place will not make it work with your card. LIRC on knoppmyth is compiled for the hauppage remote. you will have to recompile it for the leadtek remote.

Author:  MillerTyme [ Tue Feb 24, 2004 7:21 pm ]
Post subject: 

ok, i now got lirc working, got my lircd.conf set up, irw detects everything fine, however when i try to run "irxevent &" i get the following error
In line 1 ignoredythtv irxevent; unkown token "begin
irxevent: bad file format; line 2

here is my lircrc
Code:
begin
   prog = irxevent
   button = enter
   config = Key P CurrentWindow
end

begin
    prog = irxevent
    button = chanup
    repeat = 3
    config = Key Up CurrentWindow
end

begin
    prog = irxevent
    button = chandwn
    repeat = 3
    config = Key Down CurrentWindow
end

begin
    prog = irxevent
    button = sleep
    config = Key Escape CurrentWindow
end

begin
    prog = irxevent
    button = mts
    config = Key M CurrentWindow
end

begin
   prog = irxevent
   button = volup
   repeat = 3
   config = Key Right CurrentWindow
end

begin
   prog = irxevent
   button = voldwn
   repeat = 3
   config = Key Left CurrentWindow
end

begin
    prog = irxevent
    button = fullscreen
    config = Key Return CurrentWindow
end

begin
    prog = irxevent
    button = 0
    config = Key 0 CurrentWindow
end

begin
    prog = irxevent
    button = 1
    config = Key 1 CurrentWindow
end

begin
    prog = irxevent
    button = 2
    config = Key 2 CurrentWindow
end

begin
    prog = irxevent
    button = 3
    config = Key 3 CurrentWindow
end

begin
    prog = irxevent
    button = 4
    config = Key 4 CurrentWindow
end

begin
    prog = irxevent
    button = 5
    config = Key 5 CurrentWindow
end

begin
    prog = irxevent
    button = 6
    config = Key 6 CurrentWindow
end

begin
    prog = irxevent
    button = 7
    config = Key 7 CurrentWindow
end

begin
    prog = irxevent
    button = 8
    config = Key 8 CurrentWindow
end

begin
    prog = irxevent
    button = 9
    config = Key 9 CurrentWindow
end

begin
   prog = irxevent
   button = .
   config = Key D CurrentWindow
end

begin
   prog = irxevent
   button = .
   config = Key O CurrentWindow
end

begin
   prog = irxevent
   button = display
   config = Key I CurrentWindow
end

begin
   prog = irxevent
   button = recall
   config = Key F CurrentWindow
end

begin
   prog = irxevent
   button = finetunedwn
   config = Key Page-Down CurrentWindow
end

begin
   prog = irxevent
   button = finetuneup
   config = Key Page-Up CurrentWindow
end

begin
   prog = irxevent
   button = teletext
   config = Key R CurrentWindow
end

begin
   prog = irxevent
   button = mute
   config = Key | CurrentWindow
end

begin
   prog = irxevent
   button = back
   config = Key X CurrentWindow
end




Author:  Xsecrets [ Tue Feb 24, 2004 8:11 pm ]
Post subject: 

as long as you installed the -l script then you don't need irxevent. just modify the ~/.mythtv/licrc file to reflect the buttons on your remote.

Author:  MillerTyme [ Tue Feb 24, 2004 9:51 pm ]
Post subject: 

i decided to give the native lirc a shot, i installed the -l package with no problems, i put my new lircrc file in /home/mythtv/.mythtv/lircrc, i recompiled lirc, then i rebooted, still nothing happens in myth when i presson the remote though....irw is still working normally....arr this is driving me crazy, its like im so close
Quote:
begin
prog = mythtv
button = enter
config = Key P
end

begin
prog = mythtv
button = chanup
repeat = 3
config = Key Up
end

begin
prog = mythtv
button = chandwn
repeat = 3
config = Key Down
end

begin
prog = mythtv
button = sleep
config = Key Escape
end

begin
prog = mythtv
button = mts
config = Key M
end

begin
prog = mythtv
button = volup
repeat = 3
config = Key Right
end

begin
prog = mythtv
button = voldwn
repeat = 3
config = Key Left
end

begin
prog = mythtv
button = fullscreen
config = Key Return
end

begin
prog = mythtv
button = 0
config = Key 0
end

begin
prog = mythtv
button = 1
config = Key 1
end

begin
prog = mythtv
button = 2
config = Key 2
end

begin
prog = mythtv
button = 3
config = Key 3
end

begin
prog = mythtv
button = 4
config = Key 4
end

begin
prog = mythtv
button = 5
config = Key 5
end

begin
prog = mythtv
button = 6
config = Key 6
end

begin
prog = mythtv
button = 7
config = Key 7
end

begin
prog = mythtv
button = 8
config = Key 8
end

begin
prog = mythtv
button = 9
config = Key 9
end

begin
prog = mythtv
button = .
config = Key D
end

begin
prog = mythtv
button = .
config = Key O
end

begin
prog = mythtv
button = display
config = Key I
end

begin
prog = mythtv
button = recall
config = Key F
end

begin
prog = mythtv
button = finetunedwn
config = Key Page-Down
end

begin
prog = mythtv
button = finetuneup
config = Key Page-Up
end

begin
prog = mythtv
button = teletext
config = Key R
end

begin
prog = mythtv
button = mute
config = Key |
end

begin
prog = mythtv
button = back
config = Key X
end



[code][/code]

Author:  nramsay [ Sat Mar 06, 2004 6:13 pm ]
Post subject:  Hidden characters in lircrc file

I have had similar issues with getting irxevent to work properly. In the end, it turned out that there were some hidden control characters in the lircrc file. I ended up creating a new lircrc file, and it magically worked!

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