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

R5E50 CHANNEL_CHANGE.SH
http://forum.linhes.org/viewtopic.php?f=14&t=13227
Page 1 of 1

Author:  davefor [ Mon Jan 01, 2007 3:27 pm ]
Post subject:  R5E50 CHANNEL_CHANGE.SH

I just finished a new install of R5E50 (not a upgrade)

In the setup I answered yes to serial irblaster on com1
and picked Motorola_DCT2524.

Everything looks ok but when I go to /etc/irblaster there is no channel_change.sh file. Is the path different on R5E50 ?
I would like to setup the external channel change but can't find
the path

Thanks
Dave

Author:  kmaute [ Mon Jan 01, 2007 4:49 pm ]
Post subject: 

Dave,

I am having a similar problem with my RCA based directv receiver. I am trying to use the directv specific perl script and having trouble.

How did you get to the setup where you were asked the irblaster question? I am sure I saw it when I was upgrading to E50 but now I cannot find it.

Thanks,
Kevin

Author:  Greg Frost [ Mon Jan 01, 2007 4:55 pm ]
Post subject: 

kmaute wrote:
How did you get to the setup where you were asked the irblaster question?
To re-run the irblaster setup, as root:
Code:
irblaster.sh

Author:  davefor [ Mon Jan 01, 2007 8:11 pm ]
Post subject: 

does the irblaster.sh create the /etc/irblaster/channel_change.sh ?

Dave

Author:  kmaute [ Mon Jan 01, 2007 9:53 pm ]
Post subject: 

It didn't for me :?

Author:  rsay [ Mon Jan 01, 2007 9:53 pm ]
Post subject: 

I never found the one in /etc/irblaster so I fell back to my old channel_change.sh program and things went fine.

Code:
#!/bin/bash

echo "changing to $1"

REMOTE_NAME=SA2200
for digit in $(echo $1 | sed -e 's/./& /g'); do
sleep 0.2
/usr/bin/irsend --device=/dev/irblasterd SEND_ONCE $REMOTE_NAME $digit
sleep 0.5
done


Of course I had to insert the name of my remote from irblasterd.conf. Also, don't forget to make your script executable.

Code:
chmod +x channel_change.sh

Author:  davefor [ Thu Jan 04, 2007 11:23 am ]
Post subject: 

Thanks rsay

That worked
I still have to get a chance to fiddle with the settings to make it change channels correctly

Author:  falinskip [ Sat Jan 13, 2007 8:48 pm ]
Post subject:  Replaced Cable Box

Hi People,

My cable box was recently replaced with a 2524 and I have a dumb question before I coniture. Are you using a old fashioned 9 pin "Serial" cable with this script or a Serial IR blaster (Serial Cable with a trasmiter on one side)?

The reason I ask, is that I am using the old fashioned serial cable (and I am having trouble getting this to work). I have used the script in the post above, I have changed my remote name to match the file. I have made sure the script is executable. I have gone it to setup and changed it to run /etc/irblaster/channel_change.sh and I have tried it without the .sh on the end to. Any help or gerneral direction to go would be greatly appriciated.

Thanks,

Paul

Author:  kidblast [ Sun Jan 14, 2007 10:16 am ]
Post subject:  Re: Replaced Cable Box

Make sure the mythtv user has access to the serial port.
chmod go+wr /dev/ttyS0

[quote="falinskip"]Hi People,

The reason I ask, is that I am using the old fashioned serial cable (and I am having trouble getting this to work). I have used the script in the post above, I have changed my remote name to match the file. I have made sure the script is executable. I have gone it to setup and changed it to run /etc/irblaster/channel_change.sh and I have tried it without the .sh on the end to. Any help or gerneral direction to go would be greatly appriciated.

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