View unanswered posts    View active topics

All times are UTC - 6 hours





Post new topic Reply to topic  [ 9 posts ] 
Print view Previous topic   Next topic  
Author Message
Search for:
PostPosted: Sat Apr 02, 2005 7:52 pm 
Offline
Joined: Fri Mar 18, 2005 11:48 am
Posts: 7
Location: Ontario, Canada
I have been rather unsuccessful trying to get remote to work ( it is Haupp. silver remote), but I do not believe the remote type is the problem.

Here is a synopsis

cat /etc/lircd
shows traffic in the console every time the button is pressed.

I have used irrecord to record my /etc/lircd.conf, so the remote works and key codes are ok.

Original ~/.mythtv/lircrc , button names should match, especially digits 0-9.

No action in mythtv, e.g. in live TV when any of the digits is pressed


irw says:
connect: Connection refused

Which may be indicative of the problem, but I am clueless what the problem would be.

Any hints to debug it further, did not find anything relevant in /var/logs


Top
 Profile  
 
 Post subject:
PostPosted: Sat Apr 02, 2005 9:02 pm 
Offline
Joined: Sat Feb 28, 2004 10:04 am
Posts: 173
Location: Canton, MI USA
R5A12 has a problem with this. Is this the version you are using? If so, you need to do this:

echo /usr/local/sbin/lircd >> /etc/init.d/bootmisc.sh


Top
 Profile  
 
 Post subject: Thanks it worked !
PostPosted: Sun Apr 03, 2005 11:15 am 
Offline
Joined: Fri Mar 18, 2005 11:48 am
Posts: 7
Location: Ontario, Canada
Thanks SnapperDragon worked right away.

Added this line to the script with vi and restarted X with ctrl+alt+bspc.

At some point I was suspecting that lircd was running but I coulnd not find anything like /etc/init.d/lircd so I gave up.

I wish I new it what it was earlier, do you know if there is something like consolidated 'known problems or release notes' for A12 ?
Thanks again.


Top
 Profile  
 
 Post subject:
PostPosted: Sun Apr 03, 2005 12:48 pm 
Offline
Joined: Sat Feb 28, 2004 10:04 am
Posts: 173
Location: Canton, MI USA
I can't say that I know for each release where the offial thread is that explains quirks and workarounds. Plenty of info spread throughout this site and others. I just learned by doing a lot of reading and testing.


Top
 Profile  
 
PostPosted: Sun Apr 03, 2005 1:30 pm 
Offline
Joined: Fri Mar 18, 2005 11:48 am
Posts: 7
Location: Ontario, Canada
Found it.
Hopefully it will help someone else:

http://knoppmythwiki.homelinux.org/inde ... AlphaNotes


Last edited by mszlapa on Wed Apr 13, 2005 2:46 pm, edited 1 time in total.


Top
 Profile  
 
 Post subject:
PostPosted: Wed Apr 13, 2005 12:36 pm 
Offline
Joined: Mon Jan 03, 2005 10:52 am
Posts: 47
Location: Fairfax, VA
I'm still having problems with LIRC...

Quote:
echo /usr/local/sbin/lircd >> /etc/init.d/bootmisc.sh


This fixed the Connection Refused issue, but I don't get any output from irw when poking button on my remote.

Do I understand that if I do:
Quote:
cat /etc/lircd

Ill be able to see if my button pressing on the remote is making it anywhere?

I have added the lircd.conf file for my silver remote to the correct location, and added lircrc to the correct location.... still no luck. I have not, however, tried the steps yet mentioned in the R5 release notes....

any ideas for what the next step should be (other than trying the R5 notes when I get home today?)

thanks in advance...

Joelb

_________________
KnoppMyth: R5F27| Ahanix MCE601 PC 350W| Chaintech 7nif2| AMD 462 Sempron 3000| 512M PC2700 DDR 333| 750Gig LVM| DL Lite-On 1633S +- R RW| Hauppauge PVR 250 cx23416-12 revC185


Top
 Profile  
 
 Post subject:
PostPosted: Wed Apr 13, 2005 3:31 pm 
Offline
Joined: Fri Mar 18, 2005 11:48 am
Posts: 7
Location: Ontario, Canada
I am not sure if what you describe is a problem at all since I did not try to cat /dev/lircd it after I started lircd.

Few observations though.

In my case standard MythTV R5A12 config files worked well with the HPg silver remote. Probably there is no need for creating your owns. I copied back *.orig that I kept and everything worked as soon as I got lircd started.

You can use the irrecord to record a sample remote file with just a few test keys like arrows and OK. This will confirm that (1) your remote is working and by comparing the file generated by irrecord with the lircd.conf you can confirm that (2) there is no difference in the remote version.


Top
 Profile  
 
PostPosted: Thu Apr 21, 2005 8:10 pm 
Offline
Joined: Thu Apr 21, 2005 7:52 pm
Posts: 2
I followed several of the instructions on this forum that were given to get the hauppauge remote working. None of them made it work. I have a hauppauge pvr 350 remote with the number A415-HPG. You can find the number under the batteries. I'm not sure which all steps i needed to take to make the remote work, but it does work now so this is what i did.

Followed instructions from several other places which said to do the following:
(from http://knoppmythwiki.homelinux.org/inde ... AlphaNotes )

Quote:
LIRC is being problematic... If you have a PVR x50 make /etc/modprobe.d/lirc that looks like(may work for some):

alias char-major-61 lirc_i2c install lirc_i2c /sbin/modprobe ivtv; /sbin/modprobe --ignore-install lirc_i2c

Add /usr/local/sbin/lircd to /etc/init.d/bootmisc.sh

Don't forget to update modules....

If this doesn't work for you, vi /etc/init.d/bootmisc.sh and add:

modprobe lirc_i2c /usr/local/sbin/lircd


I made both of those changes, to my /etc/modprobe.d/lirc and to my /etc/init.d/bootmisc.sh
That still didn't make the remote work. I knew it didn't work because I ran irw and it never showed any output when i pressed buttons on my remote. However i knew the remote was working because i ran "irrecord someTempFile.conf" and it recognized input from the remote. (At first irrecord said to make sure lircd was running and it was, but when i killed lircd and then ran irrecord it worked, don't know why).

So i backed up my /etc/lircd.conf file and went to the lirc website where i found a different config file for the hauppauge pvr 350 remote. It is found here http://lirc.sourceforge.net/remotes/hauppauge/lircd.conf.hauppauge. I used the last entry in that file and created a new /etc/lircd.conf containing that. I then restarted lirc and ran irw and it showed all my button presses. I then rebooted and the remote works fine with mythtv. Hope this helps.

One thing i noticed was that the 4 directional arrow buttons didn't work (i have to use the channel up/down and volume up/down to scroll) . If anyone knows how to make those work with mythtv please post it. Also, my volume buttons don't change the volume during the "Watch TV" mode, it rewinds/fast forwards the show.


Top
 Profile  
 
 Post subject: fixed all keys
PostPosted: Fri Apr 22, 2005 8:30 pm 
Offline
Joined: Thu Apr 21, 2005 7:52 pm
Posts: 2
after looking at mythtv's guide I found that you can set up your key mappings with your ~/.mythtv/lircrc file. there should already be one there, you can modify it to have the string after the "button =" to corrospond to the button name in your /etc/lircd.conf. that was my problem. for example, in my /etc/lircd.conf file it had the menu button named "Menu/i" but in my ~/.mythtv/lircrc file it had it named just "Menu" . Once i changed it in my ~/.mythtv/lircrc file to be the same as the lircd.conf file, i restarted mythfrontend and all my keys worked. if you aren't sure the name of a key you can run irw and press that key and it will tell you the name of it.


Top
 Profile  
 

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


All times are UTC - 6 hours




Who is online

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