Author |
Message |
comcipher
|
Posted: Mon Oct 03, 2005 7:29 pm |
|
Joined: Wed Jul 20, 2005 6:42 pm
Posts: 18
|
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.
_________________ Nerd is not a four-letter word. It's a six-figure income.
|
|
Top |
|
 |
tjc
|
Posted: Mon Oct 03, 2005 8:06 pm |
|
Joined: Thu Mar 25, 2004 11:00 am
Posts: 9551
Location:
Arlington, MA
|
Details dude! Did you try running the lirc-reconfig.sh script?
|
|
Top |
|
 |
comcipher
|
Posted: Mon Oct 03, 2005 8:51 pm |
|
Joined: Wed Jul 20, 2005 6:42 pm
Posts: 18
|
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?
_________________ Nerd is not a four-letter word. It's a six-figure income.
|
|
Top |
|
 |
comcipher
|
Posted: Mon Oct 03, 2005 9:12 pm |
|
Joined: Wed Jul 20, 2005 6:42 pm
Posts: 18
|
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?
_________________ Nerd is not a four-letter word. It's a six-figure income.
|
|
Top |
|
 |
tjc
|
Posted: Mon Oct 03, 2005 10:11 pm |
|
Joined: Thu Mar 25, 2004 11:00 am
Posts: 9551
Location:
Arlington, MA
|
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.
|
|
Top |
|
 |
comcipher
|
Posted: Mon Oct 03, 2005 10:30 pm |
|
Joined: Wed Jul 20, 2005 6:42 pm
Posts: 18
|
I just tried rebooting again, no luck
Is there a way to simply completly remove lirc from my system and start over completly fresh?
_________________ Nerd is not a four-letter word. It's a six-figure income.
|
|
Top |
|
 |
tjc
|
Posted: Tue Oct 04, 2005 12:17 pm |
|
Joined: Thu Mar 25, 2004 11:00 am
Posts: 9551
Location:
Arlington, MA
|
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
|
|
Top |
|
 |
comcipher
|
Posted: Tue Oct 04, 2005 8:09 pm |
|
Joined: Wed Jul 20, 2005 6:42 pm
Posts: 18
|
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.
_________________ Nerd is not a four-letter word. It's a six-figure income.
|
|
Top |
|
 |
khrusher
|
Posted: Wed Oct 05, 2005 6:43 am |
|
Joined: Tue Apr 13, 2004 6:51 pm
Posts: 890
Location:
Groton, MA
|
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
_________________ R5F1 - Dell P4 2.4Ghz 500MB - PVR250 x 2 - GeForce FX 5200 - Onboard sound/NIC 80GB ATA/250GB ATA/400GB SATA
|
|
Top |
|
 |
comcipher
|
Posted: Wed Oct 05, 2005 12:13 pm |
|
Joined: Wed Jul 20, 2005 6:42 pm
Posts: 18
|
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.
_________________ Nerd is not a four-letter word. It's a six-figure income.
|
|
Top |
|
 |