View unanswered posts    View active topics

All times are UTC - 6 hours





Post new topic Reply to topic  [ 8 posts ] 
Print view Previous topic   Next topic  
Author Message
Search for:
 Post subject: LIRC w/leadtek tv2000xp?
PostPosted: Tue Feb 24, 2004 8:39 am 
Offline
Joined: Tue Feb 24, 2004 8:35 am
Posts: 16
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


Top
 Profile  
 
 Post subject:
PostPosted: Tue Feb 24, 2004 9:10 am 
Offline
Joined: Fri Sep 19, 2003 7:05 pm
Posts: 5088
Location: Fontana, Ca
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

_________________
cesman

When the source is open, the possibilities are endless!


Top
 Profile  
 
 Post subject:
PostPosted: Tue Feb 24, 2004 9:47 am 
Offline
Joined: Tue Feb 24, 2004 8:35 am
Posts: 16
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


Top
 Profile  
 
 Post subject:
PostPosted: Tue Feb 24, 2004 11:21 am 
Offline
Joined: Mon Oct 06, 2003 10:38 am
Posts: 4978
Location: Nashville, TN
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.


Top
 Profile  
 
 Post subject:
PostPosted: Tue Feb 24, 2004 7:21 pm 
Offline
Joined: Tue Feb 24, 2004 8:35 am
Posts: 16
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





Top
 Profile  
 
 Post subject:
PostPosted: Tue Feb 24, 2004 8:11 pm 
Offline
Joined: Mon Oct 06, 2003 10:38 am
Posts: 4978
Location: Nashville, TN
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.


Top
 Profile  
 
 Post subject:
PostPosted: Tue Feb 24, 2004 9:51 pm 
Offline
Joined: Tue Feb 24, 2004 8:35 am
Posts: 16
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]


Top
 Profile  
 
PostPosted: Sat Mar 06, 2004 6:13 pm 
Offline
Joined: Sat Feb 21, 2004 2:19 pm
Posts: 8
Location: Wellington, New Zealand
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!


Top
 Profile  
 

Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 8 posts ] 


All times are UTC - 6 hours




Who is online

Users browsing this forum: No registered users and 3 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Jump to:  
Powered by phpBB® Forum Software © phpBB Group

Theme Created By ceyhansuyu