LinHES Forums http://forum.linhes.org/ |
|
Trouble with modules.conf (changing channels via IR) http://forum.linhes.org/viewtopic.php?f=14&t=2027 |
Page 1 of 1 |
Author: | matt_morgan [ Mon Jul 19, 2004 9:10 pm ] |
Post subject: | Trouble with modules.conf (changing channels via IR) |
I am SO close to getting this all to work. I have a cable box that requires IR input for channel-changing, so I'm trying to set up a second instance of lirc according to the instructions at http://members.cox.net/rwraithr/IRBlaster_Howto.txt and it all went pretty well, at least after I figured out (by searching this forum) about extracting the kernel sources. BUT, there's a step where you have to edit modules.conf, which I've never done before, and the instructions didn't work exactly right. Basically, the instructions say -------- Edit /etc/modules.conf. Add the following: alias char-major-72 remote_sir below remote_sir remote_dev options remote_sir irq=3 io=0x2f8 Your options may be different. My blaster is on COM2, irq=3, io=0x2f8 Also in /etc/modules.conf, add the following to the top: path[toplevel]=/lib/modules/`uname -r`/misc -------- The first bit seems fine; it's the second part, the path statement, that screws everything up. If I boot with that line in my modules.conf, most of the rest of my hardware is not found and basically nothing works. On the other hand, if I take it out, then channel-changing definitely doesn't work: the most relevant error I get is "/usr/local/bin/remote_irsend: could not connect to socket." Any idea how I can set up modules.conf so everything works? I searched but could not find a good answer. Thanks, Matt |
Author: | cesman [ Mon Jul 19, 2004 11:49 pm ] |
Post subject: | |
Don't modify modules.conf. Modify /etc/modutils/lirc and run update-modules. |
Author: | matt_morgan [ Tue Jul 20, 2004 7:16 pm ] |
Post subject: | Thanks; didn't quite work either |
OK, I edited /etc/modutils/lirc and added all those lines, then ran update-modules.conf. Everything went smoothly; I could see that the remote_sir lines were added to modules.conf. I rebooted and everything looked fine--X is starting normally and everything that was working is still working--but when I run change_channel.sh or channel.pl (the perl script my change_channel.sh calls), I get /usr/local/bin/remote_irsend: could not connect to socket /usr/local/bin/remote_irsend: Permission denied The way this works, change_channel.sh runs channel.pl, which runs remote_irsend. All of them are 755 permissions, and /dev/ttyS1 (com2, right? that's where I have my IRBlaster) is 666. So I shouldn't be having permissions problems on any of those. What socket is it talking about? For reference, the /etc/modutils/lirc file looks like this now: path[toplevel]=/lib/modules/`uname -r`/misc alias char-major-72 remote_sir below remote_sir remote_dev options remote_sir irq=3 io=0x2f8 alias char-major-61 lirc_i2c (I just copied that from the instructions I mentioned above). Thanks, Matt |
Author: | wrooster [ Tue Aug 10, 2004 12:40 pm ] |
Post subject: | |
matt, see my writeup here: http://losdos.dyndns.org:8080/public/my ... _LIRC.html especially the configuration and testing part. you're far enough along that you can probably continue forward rather than backing up. but if still no joy just follow my writeup from the first step and it will work. jim |
Page 1 of 1 | All times are UTC - 6 hours |
Powered by phpBB® Forum Software © phpBB Group http://www.phpbb.com/ |