View unanswered posts    View active topics

All times are UTC - 6 hours





Post new topic Reply to topic  [ 23 posts ] 
Go to page 1, 2  Next

Print view Previous topic   Next topic  
Author Message
Search for:
PostPosted: Tue Jun 27, 2006 9:16 pm 
Offline
Joined: Thu May 25, 2006 4:06 pm
Posts: 12
Greetings all, I apologize if this is a stupid question but I have been scouring the internet trying to find information on setting this up. I have mythtv up and working superbly except for channel changing. Im on dial up so it took a bit but I got mythfill working properly as well.

However, I just recieved the IR blaster in the mail, I am trying to find any solid information on how to configure it to work with a Bell 4700 series reciever. I have read in some places that it can handle it on its own but I am getting hung up creating a channel Change script after the fact. I would really rather not reinstall after all the hassle I went through to get everything else working.

I do not want to sound pathetic about this but I am still relatively new to linux and and basic information on how to get this working would be truely appreciated.

Thanks.

Jason.


Top
 Profile  
 
 Post subject:
PostPosted: Tue Jun 27, 2006 9:47 pm 
Offline
Joined: Mon May 10, 2004 8:08 pm
Posts: 1891
Location: Adelaide, Australia
What version of knoppmyth are you using? With R5C7 your blaster should pretty much work out of the box (after installing the appropriate lircd config file for your device to /etc/irblaster/irbalsterd.conf). If you are not using knoppmyth, then the information in this thread should help:http://mysettopbox.tv/phpBB2/viewtopic.php?t=9352&highlight=irblaster+contribute


Top
 Profile  
 
 Post subject:
PostPosted: Wed Jun 28, 2006 8:36 am 
Offline
Joined: Thu May 25, 2006 4:06 pm
Posts: 12
I am using R5C7. The problem thats screwing me up is I am adding the blaster 3 weeks after I got the box up and running. I have not been able to find an lirc config file for a 4700. though it may have a different name that I do not know. Also, I popped into /etc/irblaster and irblasterd.conf is not present. So do I need to make a file and configure it or should there have been one in the by default?


Top
 Profile  
 
 Post subject:
PostPosted: Wed Jun 28, 2006 6:23 pm 
Offline
Joined: Mon May 10, 2004 8:08 pm
Posts: 1891
Location: Adelaide, Australia
You should be able to run irblaster.sh and it will prompt you with all the options again.


Top
 Profile  
 
 Post subject:
PostPosted: Wed Jun 28, 2006 6:32 pm 
Offline
Joined: Mon Jun 07, 2004 11:48 am
Posts: 55
Check out this thread, http://mysettopbox.tv/phpBB2/viewtopic. ... 1176#61176.

Note Greg's comment that the channel_change.sh has an extra space that needs to be removed. Try using the DISH 311 config, it works for my DISH 6000 and Bell recievers are basically the same.

If you copy/paste the config on a windows system into notepad and transfer it to you mythbox, use dos2unix command on file. Name it and place it in: /etc/irblaster/irblasterd.conf and reboot.


Top
 Profile  
 
 Post subject:
PostPosted: Thu Jun 29, 2006 8:03 am 
Offline
Joined: Thu May 25, 2006 4:06 pm
Posts: 12
Sweet, I will give this a go here now. It's kind of sad really. Im a bloody Server admin and I know jack about linux. Though we only have 2 boxes running it and they are both contracted out.

Thanks for the help, I'll report back on my results.


Top
 Profile  
 
 Post subject:
PostPosted: Thu Jun 29, 2006 8:14 am 
Offline
Joined: Thu May 25, 2006 4:06 pm
Posts: 12
Hmm I'm getting somewhere but I am getting the following now.


root@mythtv:/etc/irblaster# ./channel_change.sh 10
changing to 10
/usr/bin/irsend: could not connect to socket
/usr/bin/irsend: No such file or directory
/usr/bin/irsend: could not connect to socket
/usr/bin/irsend: No such file or directory
root@mythtv:/etc/irblaster#


It looks like its not connecting to the correct com port. I am supposed to specify in hardware.conf the com port? I have been noticing posts saying it figures it out on its own. but I have a serial modem in com 2 so I wonder if that is a problem.


Edit: Ok thats solved, it seems to do the channel change thinger majigger but I am not getting output from the IR blaster. I got one of the ones from that guy who makes them that everyone likes and normally my digital camera picks up IR outputs but I did not see anything come out of the blaster. Do I need to do something special to make the blaster transmit?


Top
 Profile  
 
 Post subject:
PostPosted: Thu Jun 29, 2006 11:11 am 
Offline
Joined: Mon Jun 07, 2004 11:48 am
Posts: 55
Did you reboot after changing the com port? Check to see if there's a device file: /dev/irblasterd also. The ir xmitter may have a weak signal and require to be right on the ir receiver....hope this helps.


Top
 Profile  
 
 Post subject:
PostPosted: Thu Jun 29, 2006 1:05 pm 
Offline
Joined: Thu May 25, 2006 4:06 pm
Posts: 12
I'll Check that out. I havent tried it on the reciever yet but I normally use my digital camera to check for transmits and its not seeing anything. The mce remote I use shows up clearly.

There is an irblasterd file in /dev/ as well


Top
 Profile  
 
 Post subject:
PostPosted: Thu Jun 29, 2006 3:01 pm 
Offline
Joined: Mon Jun 07, 2004 11:48 am
Posts: 55
Also you may want to try to rename /dev/irblasterd (i.e. mv irblasterd irbasterdx), I believe a reboot will re-create it by reading the hardware file in /etc/irblaster (can't remember the filename, one you define the com port being used).


Top
 Profile  
 
 Post subject:
PostPosted: Thu Jun 29, 2006 3:05 pm 
Offline
Joined: Thu May 25, 2006 4:06 pm
Posts: 12
Interesting, that might be worth a try. Attempting now.

Oddly enough I'm back to

root@mythtv:/etc/irblaster# ./channel_change.sh 215
changing to 215
/usr/bin/irsend: could not connect to socket
/usr/bin/irsend: Connection refused
/usr/bin/irsend: could not connect to socket
/usr/bin/irsend: Connection refused
/usr/bin/irsend: could not connect to socket
/usr/bin/irsend: Connection refused

Edit: nuts

After renaming irblasterd I now get the following.

root@mythtv:/etc/irblaster# ./channel_change.sh 215
changing to 215
/usr/bin/irsend: could not connect to socket
/usr/bin/irsend: No such file or directory
/usr/bin/irsend: could not connect to socket
/usr/bin/irsend: No such file or directory
/usr/bin/irsend: could not connect to socket
/usr/bin/irsend: No such file or directory

Ok, that does not appear to have created a new one. I have irblaster in yellow and irblasterold(what I named it) in purple.

Whew, I got rid of the errors but Im not apperently any closer to makeing the blaster transmit. Is there any way to tell that its transmitting without needing a reciever? I am stuck on dial up at home.


Last edited by hawkbox on Thu Jun 29, 2006 3:58 pm, edited 1 time in total.


Top
 Profile  
 
 Post subject:
PostPosted: Thu Jun 29, 2006 3:46 pm 
Offline
Joined: Mon Jun 07, 2004 11:48 am
Posts: 55
Did you mean irblasterd, not irblaster?

Make sure you defined the com port in the hardware file in /etc/irblaster, or try running the irblaster.sh again, then reboot... if all fails, rename the /etc/tirblasterdold back to /etc/irblasterd


Top
 Profile  
 
 Post subject:
PostPosted: Thu Jun 29, 2006 4:20 pm 
Offline
Joined: Thu May 25, 2006 4:06 pm
Posts: 12
Yes, I renamed irblasterd like you suggested and it did not seem to create a new one. But I seem to have cleared the error messages and I pulled the casing off of the irblaster and i can confirm it is not transmitting anything. I will try irblaster.sh again

Edit: I tried irblaster.sh again and everything seems to indicate it is working. However I get nothing from the irblaster. Im starting to get concerned it is dead. Is there any way to make it pulse regardless of what it is sending?


Top
 Profile  
 
 Post subject:
PostPosted: Thu Jun 29, 2006 5:01 pm 
Offline
Joined: Mon Jun 07, 2004 11:48 am
Posts: 55
You could try the irsend command instead of using the sh script.

If you have a VOM, check to see if the serial port is sending the command by probing the DTR (pin 4) when sending a channel change. It should be toggling to prove that the device file is setup properly and the port is working.

If you opened up the connector, you could probe for voltages also. Not sure what design he used (a simple or an amplified one, here's an example: http://www.lirc.org/transmitters.html), you might ask the creator (mike? http://www.irblaster.info/). Here's info on serial ports and pin outs: http://www.arcelect.com/rs232.htm


Top
 Profile  
 
 Post subject:
PostPosted: Thu Jun 29, 2006 5:24 pm 
Offline
Joined: Mon Jun 07, 2004 11:48 am
Posts: 55
Also you can write a script to continually send out a signal, i.e.:

while [ 1 ]
do
/usr/bin/irsend --device=/dev/irblasterd SEND_ONCE 311 2
sleep 1
done

Where 311 is what is defined in your irblasterd.conf. Save the file to, say test.sh, change permissions: chmod 777 test.sh

To run: ./test.sh
To stop: Ctl-C


Top
 Profile  
 

Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 23 posts ] 
Go to page 1, 2  Next



All times are UTC - 6 hours




Who is online

Users browsing this forum: No registered users and 5 guests


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