Excellent, glad it worked out for you! I seem to have things to the point now where I can make use of both my satellite boxes (one attached to the core, one to my MD int he living room) from either the core or MD (PiP working too).
Rule #1 - Be Patient - Rule #2 - Don't ask when, if you don't contribute - Rule #3 - You have coding skills - LinuxMCE's small brother is available: http://www.agocontrol.com
This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.
Show posts Menu
#!/bin/sh
REMOTE_NAME=DISH_1 # Define my remote name here
for digit in $(echo $1 | sed -e 's/./& /g'); do # Accept input from MythTV
irsend --device=/dev/lircd1 SEND_ONCE $REMOTE_NAME $digit # Send the output to Lirc
sleep 0.4 # note, you may have to tweak the interdigit delay up a bit # Wait for next digit
done # got last digit from MythTV
irsend --device=/dev/lircd1 SEND_ONCE $REMOTE_NAME select # Add a select to speed up channel changing.
sleep 0.4
irsend --device=/dev/lircd1 SEND_ONCE $REMOTE_NAME cancel # Get the Dish OSD off the screen, it annoys me and I don't want it on my recordings.
10 02/15/08 1:01:20.798 Receive string: MESSAGE 451 <0x42003950>
10 02/15/08 1:01:20.798 Received MESSAGE 451 0x651940 device: 54 <0x42003950>
10 02/15/08 1:01:20.799 Received Message type 1 ID 191 from 0 to 54 (device: 54) resp 0 <0x42003950>
10 02/15/08 1:01:20.799 UsbUirt Sending with repeat 1: 0000 0048 0000 0024 0017 0163 0017 00A2 0017 00A2 0017 00A2 0017 0062 0017 0062 0017 00A2 0017 00A2 0017 00A2 0017 00A2 0017 00A2 0017 00A2 0017 00A2 0017 00A2 0017 00A2 0017 00A2 0017 00A2 0017 0163 0017 00A2 0017 00A2 0017 00A2 0017 0062 0017 0062 0017 00A2 0017 00A2 0017 00A2 0017 00A2 0017 00A2 0017 00A2 0017 00A2 0017 00A2 0017 00A2 0017 00A2 0017 00A2 0017 0163 0017 176E <0x42003950>
10 02/15/08 1:02:06.042 Receive string: MESSAGE 78 <0x42003950>
10 02/15/08 1:02:06.042 Received MESSAGE 78 0x651940 device: 54 <0x42003950>
10 02/15/08 1:02:06.042 Received Message type 1 ID 187 from 0 to 57 (device: 54) resp 0 <0x42003950>
10 02/15/08 1:02:06.051 AVMessageTranslator::Translate begin <0x42003950>
10 02/15/08 1:02:06.054 Status : CMD=187, TP=0, TI=0 last input 0 last power 0 <0x42003950>
05 02/15/08 1:02:06.054 Device id 57 has no number digits parameter. Sending as is with an enter.
<0x42003950>
10 02/15/08 1:02:06.054 Sending digit 3... <0x42003950>
10 02/15/08 1:02:06.054 Sending <enter>... <0x42003950>
10 02/15/08 1:02:06.054 AVMessageTranslator::Translate begin <0x42003950>
10 02/15/08 1:02:06.054 Status : CMD=207, TP=0, TI=0 last input 0 last power 0 <0x42003950>
10 02/15/08 1:02:06.054 AVMessageTranslator::Translate end <0x42003950>
10 02/15/08 1:02:06.054 AVMessageTranslator::Translate begin <0x42003950>
10 02/15/08 1:02:06.054 Status : CMD=190, TP=0, TI=0 last input 0 last power 0 <0x42003950>
10 02/15/08 1:02:06.054 AVMessageTranslator::Translate end <0x42003950>
05 02/15/08 1:02:06.054 #### Pre-Process Queue = 2 <0x42003950>
05 02/15/08 1:02:06.068 _QueueProc Pre - 207 : 0 <0x42804950>
10 02/15/08 1:02:06.068 _QueueProc ------- 207 <0x42804950>
05 02/15/08 1:02:06.069 GSD-Sleep Pre 207 : 0 <0x42804950>
10 02/15/08 1:02:06.069 In IRBase::DispatchMessage <0x42804950>
10 02/15/08 1:02:06.069 Sending Infrared Code for dev <57> cmd <207>, channel <>, repeat <4> code <0000 0048 0000 0024 0017 0163 0017 00A2 0017 00A2 0017 00A2 0017 0062 0017 0062 0017 00A2 0017 00A2 0017 00A2 0017 00A2 0017 00A2 0017 00A2 0017 00A2 0017 00A2 0017 00A2 0017 00A2 0017 00A2 0017 0163 0017 00A2 0017 00A2 0017 00A2 0017 0062 0017 0062 0017 00A2 0017 00A2 0017 00A2 0017 00A2 0017 00A2 0017 00A2 0017 00A2 0017 00A2 0017 00A2 0017 00A2 0017 00A2 0017 0163 0017 176E> <0x42804950>
10 02/15/08 1:02:06.069 pos 380 size 379 Checking 0000 0048 0000 0024 0017 0163 0017 00A2 0017 00A2 0017 00A2 0017 0062 0017 0062 0017 00A2 0017 00A2 0017 00A2 0017 00A2 0017 00A2 0017 00A2 0017 00A2 0017 00A2 0017 00A2 0017 00A2 0017 00A2 0017 0163 0017 00A2 0017 00A2 0017 00A2 0017 0062 0017 0062 0017 00A2 0017 00A2 0017 00A2 0017 00A2 0017 00A2 0017 00A2 0017 00A2 0017 00A2 0017 00A2 0017 00A2 0017 00A2 0017 0163 0017 176E
for multiple codes, got: 0000 0048 0000 0024 0017 0163 0017 00A2 0017 00A2 0017 00A2 0017 0062 0017 0062 0017 00A2 0017 00A2 0017 00A2 0017 00A2 0017 00A2 0017 00A2 0017 00A2 0017 00A2 0017 00A2 0017 00A2 0017 00A2 0017 0163 0017 00A2 0017 00A2 0017 00A2 0017 0062 0017 0062 0017 00A2 0017 00A2 0017 00A2 0017 00A2 0017 00A2 0017 00A2 0017 00A2 0017 00A2 0017 00A2 0017 00A2 0017 00A2 0017 0163 0017 176E <0x42804950>
10 02/15/08 1:02:06.069 UsbUirt Sending with repeat 4: 0000 0048 0000 0024 0017 0163 0017 00A2 0017 00A2 0017 00A2 0017 0062 0017 0062 0017 00A2 0017 00A2 0017 00A2 0017 00A2 0017 00A2 0017 00A2 0017 00A2 0017 00A2 0017 00A2 0017 00A2 0017 00A2 0017 0163 0017 00A2 0017 00A2 0017 00A2 0017 0062 0017 0062 0017 00A2 0017 00A2 0017 00A2 0017 00A2 0017 00A2 0017 00A2 0017 00A2 0017 00A2 0017 00A2 0017 00A2 0017 00A2 0017 0163 0017 176E <0x42804950>
05 02/15/08 1:02:07.264 GSD-Sleep Post 207 : 250 <0x42804950>
05 02/15/08 1:02:07.265 _QueueProc Post - 207 : 250 <0x42804950>
05 02/15/08 1:02:07.265 _QueueProc Pre - 190 : 0 <0x42804950>
10 02/15/08 1:02:07.265 _QueueProc ------- 190 <0x42804950>
05 02/15/08 1:02:07.265 GSD-Sleep Pre 190 : 0 <0x42804950>
10 02/15/08 1:02:07.265 In IRBase::DispatchMessage <0x42804950>
10 02/15/08 1:02:07.265 Sending Infrared Code for dev <57> cmd <190>, channel <>, repeat <4> code <0000 0048 0000 0046 0017 0163 0017 00A2 0017 0062 0017 00A2 0017 00A2 0017 00A2 0017 00A2 0017 00A2 0017 00A2 0017 00A2 0017 00A2 0017 00A2 0017 00A2 0017 00A2 0017 00A2 0017 00A2 0017 00A2 0017 0163 0017 00A2 0017 0062 0017 00A2 0017 00A2 0017 00A2 0017 00A2 0017 00A2 0017 00A2 0017 00A2 0017 00A2 0017 00A2 0017 00A2 0017 00A2 0017 00A2 0017 00A2 0017 00A2 0017 0164 0017 00A2 0017 0062 0017 00A2 0017 00A2 0017 00A2 0017 00A2 0017 00A2 0017 00A2 0017 00A2 0017 00A2 0017 00A2 0017 00A2 0017 00A2 0017 00A2 0017 00A2 0017 00A2 0017 0163 0017 00A2 0017 0062 0017 00A2 0017 00A2 0017 00A2 0017 00A2 0017 00A2 0017 00A2 0017 00A2 0017 00A2 0017 00A2 0017 00A2 0017 00A2 0017 00A2 0017 00A2 0017 00A2 0017 0163 0017 1774> <0x42804950>
10 02/15/08 1:02:07.265 pos 720 size 719 Checking 0000 0048 0000 0046 0017 0163 0017 00A2 0017 0062 0017 00A2 0017 00A2 0017 00A2 0017 00A2 0017 00A2 0017 00A2 0017 00A2 0017 00A2 0017 00A2 0017 00A2 0017 00A2 0017 00A2 0017 00A2 0017 00A2 0017 0163 0017 00A2 0017 0062 0017 00A2 0017 00A2 0017 00A2 0017 00A2 0017 00A2 0017 00A2 0017 00A2 0017 00A2 0017 00A2 0017 00A2 0017 00A2 0017 00A2 0017 00A2 0017 00A2 0017 0164 0017 00A2 0017 0062 0017 00A2 0017 00A2 0017 00A2 0017 00A2 0017 00A2 0017 00A2 0017 00A2 0017 00A2 0017 00A2 0017 00A2 0017 00A2 0017 00A2 0017 00A2 0017 00A2 0017 0163 0017 00A2 0017 0062 0017 00A2 0017 00A2 0017 00A2 0017 00A2 0017 00A2 0017 00A2 0017 00A2 0017 00A2 0017 00A2 0017 00A2 0017 00A2 0017 00A2 0017 00A2 0017 00A2 0017 0163 0017 1774
for multiple codes, got: 0000 0048 0000 0046 0017 0163 0017 00A2 0017 0062 0017 00A2 0017 00A2 0017 00A2 0017 00A2 0017 00A2 0017 00A2 0017 00A2 0017 00A2 0017 00A2 0017 00A2 0017 00A2 0017 00A2 0017 00A2 0017 00A2 0017 0163 0017 00A2 0017 0062 0017 00A2 0017 00A2 0017 00A2 0017 00A2 0017 00A2 0017 00A2 0017 00A2 0017 00A2 0017 00A2 0017 00A2 0017 00A2 0017 00A2 0017 00A2 0017 00A2 0017 0164 0017 00A2 0017 0062 0017 00A2 0017 00A2 0017 00A2 0017 00A2 0017 00A2 0017 00A2 0017 00A2 0017 00A2 0017 00A2 0017 00A2 0017 00A2 0017 00A2 0017 00A2 0017 00A2 0017 0163 0017 00A2 0017 0062 0017 00A2 0017 00A2 0017 00A2 0017 00A2 0017 00A2 0017 00A2 0017 00A2 0017 00A2 0017 00A2 0017 00A2 0017 00A2 0017 00A2 0017 00A2 0017 00A2 0017 0163 0017 1774 <0x42804950>
10 02/15/08 1:02:07.265 UsbUirt Sending with repeat 4: 0000 0048 0000 0046 0017 0163 0017 00A2 0017 0062 0017 00A2 0017 00A2 0017 00A2 0017 00A2 0017 00A2 0017 00A2 0017 00A2 0017 00A2 0017 00A2 0017 00A2 0017 00A2 0017 00A2 0017 00A2 0017 00A2 0017 0163 0017 00A2 0017 0062 0017 00A2 0017 00A2 0017 00A2 0017 00A2 0017 00A2 0017 00A2 0017 00A2 0017 00A2 0017 00A2 0017 00A2 0017 00A2 0017 00A2 0017 00A2 0017 00A2 0017 0164 0017 00A2 0017 0062 0017 00A2 0017 00A2 0017 00A2 0017 00A2 0017 00A2 0017 00A2 0017 00A2 0017 00A2 0017 00A2 0017 00A2 0017 00A2 0017 00A2 0017 00A2 0017 00A2 0017 0163 0017 00A2 0017 0062 0017 00A2 0017 00A2 0017 00A2 0017 00A2 0017 00A2 0017 00A2 0017 00A2 0017 00A2 0017 00A2 0017 00A2 0017 00A2 0017 00A2 0017 00A2 0017 00A2 0017 0163 0017 1774 <0x42804950>
Return code: 139
3 02/15/08 01:02:07 54 (spawning-device) Device died... count=8/50 dev=54