View unanswered posts    View active topics

All times are UTC - 6 hours





Post new topic Reply to topic  [ 4 posts ] 
Print view Previous topic   Next topic  
Author Message
Search for:
PostPosted: Mon Jul 19, 2004 9:10 pm 
Offline
Joined: Fri Jul 09, 2004 8:10 pm
Posts: 14
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


Top
 Profile  
 
 Post subject:
PostPosted: Mon Jul 19, 2004 11:49 pm 
Offline
Joined: Fri Sep 19, 2003 7:05 pm
Posts: 5088
Location: Fontana, Ca
Don't modify modules.conf. Modify /etc/modutils/lirc and run update-modules.

_________________
cesman

When the source is open, the possibilities are endless!


Top
 Profile  
 
PostPosted: Tue Jul 20, 2004 7:16 pm 
Offline
Joined: Fri Jul 09, 2004 8:10 pm
Posts: 14
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


Top
 Profile  
 
 Post subject:
PostPosted: Tue Aug 10, 2004 12:40 pm 
Offline
Joined: Thu Feb 19, 2004 6:52 pm
Posts: 117
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


Top
 Profile  
 

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


All times are UTC - 6 hours




Who is online

Users browsing this forum: No registered users and 1 guest


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:  
cron
Powered by phpBB® Forum Software © phpBB Group

Theme Created By ceyhansuyu