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

Please help me get LIRC working....
http://forum.linhes.org/viewtopic.php?f=2&t=6293
Page 1 of 1

Author:  comcipher [ Mon Oct 03, 2005 7:29 pm ]
Post subject:  Please help me get LIRC working....

Okay, i've been at this most of the day and i'm just lost. I really need some help getting LIRC working on my mythTV box. I've tried following several different tutorials, none of which seem to help much. Is there some way I can simply completly remove LIRC and start over again fresh?

The IR reciever i'm using is from www.zapway.de , it's just a standard homebrew reciever. I think I may need to recompile my kernel or soemthing, but i'm a a noob when it comes to that.

Any suggestions of good tutorials or places to look would be much appreciated.

Author:  tjc [ Mon Oct 03, 2005 8:06 pm ]
Post subject: 

Details dude! Did you try running the lirc-reconfig.sh script?

Author:  comcipher [ Mon Oct 03, 2005 8:51 pm ]
Post subject: 

I am more then willing to provide any details, i'm just not even sure where to start.

I just ran lirc-reconfig.sh and it seemd to run okay, but I still don't think it's working. What should I try next?

Author:  comcipher [ Mon Oct 03, 2005 9:12 pm ]
Post subject: 

Oh, when I try to run mode2 to test if the reciever is working (as per http://www.lirc.org/html/install.html#testing ), I get this error:

root@mythtv:/home/mythtv/.mythtv# mode2
mode2: error opening /dev/lirc
mode2: No such device


Any ideas?

Author:  tjc [ Mon Oct 03, 2005 10:11 pm ]
Post subject: 

Reboot. Seriously. I jacked around with various lircd stuff for a good hour or two before I tried rebooting to see if it would help and ... Ta-DA!

I think this has something to do with the way the various components are stacked, I insmod-ed and delmod-ed and modprobe-d and started and stopped daemons and servers and applications. Nothing made it work until i rebooted. Make you changes or try a new /etc/lirc/lircd.conf and reboot to make sure it all takes effect.

Author:  comcipher [ Mon Oct 03, 2005 10:30 pm ]
Post subject: 

I just tried rebooting again, no luck :(

Is there a way to simply completly remove lirc from my system and start over completly fresh?

Author:  tjc [ Tue Oct 04, 2005 12:17 pm ]
Post subject: 

Sure. A search for "lirc" should turn up a number of threads about removing and reinstalling. Frankly I think it's usually an overreaction that works mostly because it forces people to go through the whole configuration process.

If you haven't made sure that you have the appropriate /etc/lirc/lircd.conf for your remote, that's the first thing to look at. The default one is good for the old cigar shaped Hauppauge remote. You need a different one for the new dog-bone shaped one, there are exmaples somewhere in the system (under /usr/local or /usr/share but I'm away from the box right now and can't check). You can also find examples posted here in the forums

Author:  comcipher [ Tue Oct 04, 2005 8:09 pm ]
Post subject: 

Unfortunatly my PVR-500 didn't come with a remote, so for the time being I was going to try and use my Xbox dvd remote untill I purchased a larger more functional remote. I've tried using the config files for it from the lirc site with little success. I think I will try completly removing it and starting over from scratch.

What do you think of these instructions? http://knoppmythwiki.org/index.php?page=LIRCHowTo

I tried following them the last time but they seem fairly disorganized and i'm thinking it either led me the wrong way or I screwed something up.

Author:  khrusher [ Wed Oct 05, 2005 6:43 am ]
Post subject: 

Those directions seem accurate to me.

I did have difficulties with lirc_serial module on the upldated kernel the R5A16 is build upon. everyting worked fine with R4V5.

is the lirc_serial module successfully loaded? Check and see if you are having the same issue i had. Issue the following command:

Code:
dmesg | grep BUG


if you see lines in the output you may have the same issue

Code:
BUG: using smp_processor_id() in preemptible [00000001] code


If you are still with me....read this thread:

http://mysettopbox.tv/phpBB2/viewtopic.php?t=4743

Author:  comcipher [ Wed Oct 05, 2005 12:13 pm ]
Post subject: 

khrusher wrote:
Those directions seem accurate to me.

I did have difficulties with lirc_serial module on the upldated kernel the R5A16 is build upon. everyting worked fine with R4V5.

is the lirc_serial module successfully loaded? Check and see if you are having the same issue i had. Issue the following command:

Code:
dmesg | grep BUG


if you see lines in the output you may have the same issue

Code:
BUG: using smp_processor_id() in preemptible [00000001] code


If you are still with me....read this thread:

http://mysettopbox.tv/phpBB2/viewtopic.php?t=4743


I just tried the "dmesg | grep BUG" command and there was nothing that appeared, just another command prompt. I had no idea this would become such a pain in the ass.

The main problem I have on that tutorial is it's so convoluted and confusing. At random places there are edited in inserts for R5A16 and other versions and it's difficult to tell where one part starts and another stops. The problem I have if I try to follow the documentation on www.mythtv.org ( http://www.mythtv.org/docs/mythtv-HOWTO-8.html#ss8.4 ) is at some point they want me to edit /etc/rc.d , but that file doesn't exist on my system, there are a lot of files similar files such as rc.boot , rc1.d , rc2.d, etc but i'm not sure which one to edit.

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