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

Trouble running LIRC with Leadtek 2000 XP Delux
http://forums.linhes.org/viewtopic.php?f=1&t=826
Page 1 of 1

Author:  nramsay [ Fri Feb 27, 2004 1:41 am ]
Post subject:  Trouble running LIRC with Leadtek 2000 XP Delux

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]

Author:  nramsay [ Sun Feb 29, 2004 12:29 am ]
Post subject:  lirc goes; mythtv doesn't

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

Author:  MillerTyme [ Sun Feb 29, 2004 8:53 pm ]
Post subject: 

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.

Author:  Xsecrets [ Sun Feb 29, 2004 11:35 pm ]
Post subject: 

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.

Author:  nramsay [ Tue Mar 02, 2004 7:49 pm ]
Post subject:  Finally

For anyone who may be interested, I ended up using irxevent. And it works fine.

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