View unanswered posts    View active topics

All times are UTC - 6 hours





Post new topic Reply to topic  [ 28 posts ] 
Go to page 1, 2  Next

Print view Previous topic   Next topic  
Author Message
Search for:
 Post subject: Remote Configuration
PostPosted: Wed Nov 12, 2003 8:31 pm 
Offline
Joined: Tue Oct 28, 2003 1:25 pm
Posts: 125
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.


Top
 Profile  
 
 Post subject:
PostPosted: Fri Nov 14, 2003 9:13 pm 
Offline
Joined: Tue Oct 28, 2003 1:25 pm
Posts: 125
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.


Top
 Profile  
 
 Post subject:
PostPosted: Fri Nov 14, 2003 11:31 pm 
Offline
Joined: Tue Oct 28, 2003 1:25 pm
Posts: 125
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.


Top
 Profile  
 
 Post subject:
PostPosted: Sat Nov 15, 2003 1:02 am 
Offline
Joined: Fri Sep 19, 2003 7:05 pm
Posts: 5088
Location: Fontana, Ca
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


Top
 Profile  
 
 Post subject:
PostPosted: Sat Nov 15, 2003 6:26 am 
Offline
Joined: Thu Oct 16, 2003 5:27 am
Posts: 148
Location: Dayton, OH
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


Top
 Profile  
 
 Post subject:
PostPosted: Sat Nov 15, 2003 8:34 pm 
Offline
Joined: Tue Oct 28, 2003 1:25 pm
Posts: 125
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.


Top
 Profile  
 
 Post subject:
PostPosted: Sat Nov 15, 2003 8:43 pm 
Offline
Site Admin
Joined: Fri Oct 31, 2003 11:40 pm
Posts: 357
Location: Irvine, Ca
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??


Top
 Profile  
 
 Post subject:
PostPosted: Sat Nov 15, 2003 9:33 pm 
Offline
Joined: Fri Sep 19, 2003 7:05 pm
Posts: 5088
Location: Fontana, Ca
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


Top
 Profile  
 
 Post subject:
PostPosted: Sun Nov 16, 2003 10:44 pm 
Offline
Joined: Tue Oct 28, 2003 1:25 pm
Posts: 125
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.


Top
 Profile  
 
 Post subject:
PostPosted: Sun Nov 16, 2003 11:50 pm 
Offline
Joined: Mon Oct 06, 2003 10:38 am
Posts: 4978
Location: Nashville, TN
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.


Top
 Profile  
 
 Post subject:
PostPosted: Mon Nov 17, 2003 7:28 am 
Offline
Joined: Tue Oct 28, 2003 1:25 pm
Posts: 125
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.


Top
 Profile  
 
 Post subject:
PostPosted: Mon Nov 17, 2003 8:08 am 
Offline
Joined: Tue Oct 28, 2003 1:25 pm
Posts: 125
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.


Top
 Profile  
 
 Post subject:
PostPosted: Mon Nov 17, 2003 11:07 am 
Offline
Joined: Mon Oct 06, 2003 10:38 am
Posts: 4978
Location: Nashville, TN
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.


Top
 Profile  
 
 Post subject:
PostPosted: Mon Nov 17, 2003 11:23 am 
Offline
Joined: Tue Oct 28, 2003 1:25 pm
Posts: 125
Thanks,
I will try running the scripts tonight.

Mike G.


Top
 Profile  
 
 Post subject:
PostPosted: Mon Nov 17, 2003 9:25 pm 
Offline
Joined: Tue Oct 28, 2003 1:25 pm
Posts: 125
Ran the scripts as advised ...

Success :D

Thanks for all the help.
Mike G.


Top
 Profile  
 

Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 28 posts ] 
Go to page 1, 2  Next



All times are UTC - 6 hours




Who is online

Users browsing this forum: Google [Bot] and 6 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