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

Remote still doesn't work, irw says connection refused
http://forum.linhes.org/viewtopic.php?f=2&t=4051
Page 1 of 1

Author:  mszlapa [ Sat Apr 02, 2005 7:52 pm ]
Post subject:  Remote still doesn't work, irw says connection refused

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

Author:  SnapperDragon [ Sat Apr 02, 2005 9:02 pm ]
Post subject: 

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

Author:  mszlapa [ Sun Apr 03, 2005 11:15 am ]
Post subject:  Thanks it worked !

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.

Author:  SnapperDragon [ Sun Apr 03, 2005 12:48 pm ]
Post subject: 

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.

Author:  mszlapa [ Sun Apr 03, 2005 1:30 pm ]
Post subject:  Found installation notes !

Found it.
Hopefully it will help someone else:

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

Author:  joelbradshaw [ Wed Apr 13, 2005 12:36 pm ]
Post subject: 

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

Author:  mszlapa [ Wed Apr 13, 2005 3:31 pm ]
Post subject: 

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.

Author:  jmarcum [ Thu Apr 21, 2005 8:10 pm ]
Post subject:  Got PVR-350 remote A415-HPG working

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.

Author:  jmarcum [ Fri Apr 22, 2005 8:30 pm ]
Post subject:  fixed all keys

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.

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