root@mythtv:/home/mythtv/ffmpeg# more /usr/bin/change_chan.sh
#!/bin/sh
REMOTE_NAME=DCT2524
for digit in $(echo $1 | sed -e 's/./& /g'); do
irsend --device=/dev/lircd SEND_ONCE $REMOTE_NAME $digit
sleep 0.4 # note, you may have to tweak the interdigit delay up a bit
done
irsend --device=/dev/lircd SEND_ONCE $REMOTE_NAME ok/select
So I would change these items:
irsend --device=/dev/irblasterd to irsend --device=/dev/lircd
and then it would know to look in the lircd.conf file for the needed REMOTE_NAME
And all i would have to do is change the /dev and copy my irblasterd.conf file for the dish 301 receiver into the lircd.conf file
Am I correct?