View unanswered posts    View active topics

All times are UTC - 6 hours





Post new topic Reply to topic  [ 5 posts ] 
Print view Previous topic   Next topic  
Author Message
Search for:
PostPosted: Fri Feb 27, 2004 1:41 am 
Offline
Joined: Sat Feb 21, 2004 2:19 pm
Posts: 8
Location: Wellington, New Zealand
Hi,

I am having problems getting the lircd program to work with my Leadtek 2000 XP Delux. I have tried to follow the instructions - both in this website, and also on the MythTV site.

The steps I have taken are:
1. untared the lirc source from the /usr/src directory
2. ran the setup.sh and configured for the winfast tv card
3. ran make, then make install
4. download and installed the appropriate /etc/lircd.conf
5. created my own /home/mythtv/.mythtv/lircrc

I then tried running lircd (which appears to start correctly). To test things, I have also run the irw program. Unfortunately, when I run this program, the lircd app terminates.

I get the following output:

root@nivo:/home/mythtv# lircd -n
lircd 0.7.0pre2: lircd(leadtek_0010) ready
lircd 0.7.0pre2: accepted new client on /dev/lircd
lircd 0.7.0pre2: could not open /dev/lirc
lircd 0.7.0pre2: default_init(): No such device
lircd 0.7.0pre2: caught signal
Terminated

I have also run the suggested install-i686-l, althought I'm not too sure at which point I'm supposed to run this.

Any help would be appreciated.

Thanks

Nigel

PS: MythTV is pretty much all go otherwise, and it's great!






root@nivo:/home/mythtv# ls -la /dev/lirc
crw-r--r-- 1 root root 61, 0 Oct 20 12:15 /dev/lirc
root@nivo:/home/mythtv# lircd -n
lircd 0.7.0pre2: lircd(leadtek_0010) ready
lircd 0.7.0pre2: accepted new client on /dev/lircd
lircd 0.7.0pre2: could not open /dev/lirc
lircd 0.7.0pre2: default_init(): No such device
lircd 0.7.0pre2: caught signal
Terminated
root@nivo:/home/mythtv#
[/b]


Top
 Profile  
 
PostPosted: Sun Feb 29, 2004 12:29 am 
Offline
Joined: Sat Feb 21, 2004 2:19 pm
Posts: 8
Location: Wellington, New Zealand
Hi again

After some further searching of thr forums, I found that I needed the following module:

lirc_gpio

So I replaced the 'alias char-major-61 lirc_i2c' entry in modules.conf with 'alias char-major-61 lirc_gpio'. The result is that the 'irw' program now reports the various keypresses on the remote, which is great.

Now the only issue is getting mythtv to respond to the remote. I know that there are already various threads on this topic, and I have read them. I just still can't get it to work.

Extra things I have now done are:

1. Copied the appropriate leadtek file from the remotes.tar.b2 file into /etc/lircd.conf
2. Edited /home/mythtv/.mythtc/lircrc file as follows:

Code:

# lirc for Leadtek

begin
    prog = mythtv
    button = 1
    config = 1
end

begin
    prog = mythtv
    button = 2
    config = 2
end

.
.
.

begin
    prog = mythtv
    button = CH_UP
    config = Up
end

begin
    prog = mythtv
    button = CH_DOWN
    config = Down
end

begin
    prog = mythtv
    button = VOL_DOWN
    config = Left
end

begin
    prog = mythtv
    button = VOL_UP
    config = Right
end


3. I have re-run the 'install-i686-l' script - just in case
4. run /etc/init.d/mythtv-backend restart
5. Rebooted

But I still can't get it to go. Any help would be much appreciated.

Thanks

Nigel


Top
 Profile  
 
 Post subject:
PostPosted: Sun Feb 29, 2004 8:53 pm 
Offline
Joined: Tue Feb 24, 2004 8:35 am
Posts: 16
i cant help you w/your specific problem, but i do have the same card, and i havent tried getting it working w/the native lirc support, but however i did get it working the old fashioned way, what to do is change your lircrc file so where it says prog = its prog = irxevent not prog = mythtv, then copy that file to ' ~/.lircrc ' then you have to run 'irxevent &' everytime you restart the computer, sure its a slightly more pain in the ass, but its not really a big deal, its working fine for me.


Top
 Profile  
 
 Post subject:
PostPosted: Sun Feb 29, 2004 11:35 pm 
Offline
Joined: Mon Oct 06, 2003 10:38 am
Posts: 4978
Location: Nashville, TN
the only thing I can suggest is make sure that the button names in lircd.conf and lircrc match exactly, also for some reason only the newest lirc recognizes all the buttons on the leadtek remote the older versions only recognized like 5 different keypresses and the rest just did the same thing. make sure every keypress on irw does something different, and look at lircd.conf and make sure all the numbers are different, if not then you may need to update lirc.


Top
 Profile  
 
 Post subject: Finally
PostPosted: Tue Mar 02, 2004 7:49 pm 
Offline
Joined: Sat Feb 21, 2004 2:19 pm
Posts: 8
Location: Wellington, New Zealand
For anyone who may be interested, I ended up using irxevent. And it works fine.


Top
 Profile  
 

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


All times are UTC - 6 hours




Who is online

Users browsing this forum: No registered users and 5 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