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

Remote Configuration
http://forums.linhes.org/viewtopic.php?f=1&t=109
Page 1 of 2

Author:  mgordon [ Wed Nov 12, 2003 8:31 pm ]
Post subject:  Remote Configuration

I am making very good progress setting up my mythbox. I am at the point where I am trying to get the remote control working. I have a leadtek 2000 deluxe. I copied the config file located @ lirc.org into /etc as lircd.confg. I rebooted and expected the remote to work.

What am I missing?

Thanks,
Mike G.

Author:  mgordon [ Fri Nov 14, 2003 9:13 pm ]
Post subject: 

I am still struggling to get the remote to work. I tried following the documentation on mythtv.org with no success.

Any advice would be greatly appreciated.
Thanks,
Mike G.

Author:  mgordon [ Fri Nov 14, 2003 11:31 pm ]
Post subject: 

This is what I gathered from the lircd log

lircd(hauppauge) ready
accepted new client on /dev/lircd
could not open /dev/lirc
default_init(): No such device
caught signal.

I don't have a hauppauge, but a leadtek 2000.

Thanks,
Mike G.

Author:  cesman [ Sat Nov 15, 2003 1:02 am ]
Post subject: 

sigh...
You need to recompile LIRC. LIRC can only be compiled for one device. As I only have a PVR-250, I compile it for the Hauppauge cards. You need to recompile LIRC if you have another remote. The source is in /usr/src. In addition you'll need /etc/lircd.conf to correspond to your remote. Take a look in /usr/src, you'll see a remote.tar.gz(maybe bz2). You'll need to cp the file for your device to /etc/lircd.conf. In addition /home/mythtv/.mythtv/lircrc needs to be reconfigured for your remote. Sorry I didn't respond earlier, but I thought a search of the forum would have given you the answer:http://mysettopbox.tv/phpBB2/viewtopic.php?t=106&highlight=remote

cesman

Author:  Quigs [ Sat Nov 15, 2003 6:26 am ]
Post subject: 

mgordon - I have a leadtek TV2000XP card and have everything working great. It was actually very easy to get going.

As Cesman mentioned you have to recompile lirc to work for your remote. This is very easy to do.

Before you compile the driver to match your card you need to run the ./setup.sh script. When the script runs it will bring up a menu of options. Choose the option that selects your remote. You will choose card based remote and select the TV2000XP from the list. After selecting your card, save and exit the setup.

After running setting you type in "make" to have the system get the recompile ready. After that completes you type in "make install"

This will complete the install. I rebooted after this step - not sure if you need to do that or not. I then toggled back out of Myth to a root prompt, logged in and ran some test. The remote config file included as Cesman mentioned is setup for the PVR-250. Some of the buttons work like the PVR-250, but I re-wrote the config file to match my buttons exactly. I would send that to you but I have no idea how to get it off my linux box to send. I used a command line lirc command to test the remote. You simply run this program from the # prompt and can hit buttons on the remote. The program will spit out the corresponding code on the screen. I can't remember the program off the top of my head, but you can find it on the myth boards or check out the lirc docs.

Finally, as Cesman mentioned you need to reconfigure the master file to be like yours. Just follow the direction to the file in Cesmans post. When you open that file in a text editor you will see what you need to edit - it is very self explanatory. Once you get that edited you will be good to go.

Good luck and ping back if you have troubles or questions!

Quigs

Author:  mgordon [ Sat Nov 15, 2003 8:34 pm ]
Post subject: 

Ok I think I have made progress but still no success.
The lircd log now reports:

lircd(leadtex_0010) ready
accepted new client on /dev/lircd
could not open /dev/lirc
default_init(): No such device
caught signal.

I followed the thread recommended by Cesman.

I also chomod 666 /dev/lirc

Any ideas?
Thanks,
Mike G.

Author:  Dale [ Sat Nov 15, 2003 8:43 pm ]
Post subject: 

cesman wrote:
sigh...
You need to recompile LIRC. LIRC can only be compiled for one device. As I only have a PVR-250, I compile it for the Hauppauge cards. You need to recompile LIRC if you have another remote. The source is in /usr/src. In addition you'll need /etc/lircd.conf to correspond to your remote. Take a look in /usr/src, you'll see a remote.tar.gz(maybe bz2). You'll need to cp the file for your device to /etc/lircd.conf. In addition /home/mythtv/.mythtv/lircrc needs to be reconfigured for your remote. Sorry I didn't respond earlier, but I thought a search of the forum would have given you the answer:http://mysettopbox.tv/phpBB2/viewtopic.php?t=106&highlight=remote

cesman


cesman, would it be possible to have both modules available
on r5 and just let the detection move the right one into place??

Author:  cesman [ Sat Nov 15, 2003 9:33 pm ]
Post subject: 

It may be possible, but we'd have to speak with the LIRC folks to find out how. Something to consider after my return from Minnesota...

cesman

Author:  mgordon [ Sun Nov 16, 2003 10:44 pm ]
Post subject: 

Ok - I am having some success but the remote doesn't work with mythtv yet.

I am at the point where I get the following messages in the lircd log

lircd(leadtex_0010) ready
accepted new client on /dev/lircd
removed client

The remote works with irw.
I modified the /home/mythtv/.mythtv/lircrc but that doesn't seem to make a difference.

I guest the question at this point is what does remove client mean?

Thanks,
Mike G.

Author:  Xsecrets [ Sun Nov 16, 2003 11:50 pm ]
Post subject: 

If you've go it working with irw and you have modified .mythtv/lircrc to work with your remote then you should be good. The only other thing I can think of is some people on the list didn't run the install-ix86-l script to install mythtv with lirc support.

Author:  mgordon [ Mon Nov 17, 2003 7:28 am ]
Post subject: 

I have already installed mythtv. Can this script be executed now that the installition is complete or do I have to re-install mythtv?

Thanks,
Mike G.

Author:  mgordon [ Mon Nov 17, 2003 8:08 am ]
Post subject: 

Also I am using an AMD 2000, do I execute install-i686-l.

I also reviewed the thread of what does the install script change, my question is what does the install script do.

Thanks,
Mike G.

Author:  Xsecrets [ Mon Nov 17, 2003 11:07 am ]
Post subject: 

If you just did the standard Knoppmyth install without running any of the install-x86-? scripts then yes you can safely run the scripts now. For your processor you need to run the install-i686-l script. The 586 script is mainly for the via miniITX boards.

Author:  mgordon [ Mon Nov 17, 2003 11:23 am ]
Post subject: 

Thanks,
I will try running the scripts tonight.

Mike G.

Author:  mgordon [ Mon Nov 17, 2003 9:25 pm ]
Post subject: 

Ran the scripts as advised ...

Success :D

Thanks for all the help.
Mike G.

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