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

R5C7 - IRBlaster -> (Works fine till reboot? then static)
http://forum.linhes.org/viewtopic.php?f=6&t=10513
Page 1 of 1

Author:  bakes [ Fri Jun 16, 2006 7:01 pm ]
Post subject:  R5C7 - IRBlaster -> (Works fine till reboot? then static)

UPDATE: I got the script to work just fine but when I reboot the machine and go to watch tv Ill get static untill I goto the mythtv setup -> input connections and remove the channel_change.sh script and then restart the backend. Then I can watch TV if i change the channel to 3 after wich ill get picture from my sat dish.. after i can then go back into the backend setup re-enter the tuner to 3 and channel_change.sh script and everything will work perfectly untill I reboot the machine.

-------Old Issue--------
I finally have my knoppmyth box semi working now yay!!!
Only issue im having is that when I try to setup/enable my channel_change script for my dish box all I get is static when I go to live tv... but when dont have the /etc/irblaster/channel_change.sh in the field it works just fine?

channel_change.sh
Code:
#!/bin/bash

echo "changing to $1"

REMOTE_NAME=dish
#$(grep ^[[:space:]]*name[[:space:]] /etc/irblaster/irblasterd.conf |
#  awk '{ print $2 }')

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


part of irblastered.conf
Code:

begin remote

  name  dish
  bits           16
  flags SPACE_ENC
  eps            30
  aeps          100

  header        400  6100
  one           400  1700
  zero          400  2800
  ptrail        400
  gap          6200
  min_repeat      4
  toggle_bit      0

  frequency    56000

      begin codes
          info                     0x0000000000000000
          power                    0x0000000000000800
          play                     0x0000000000000C10
          1                        0x0000000000001000
          2                        0x0000000000001400
          3                        0x0000000000001800

Author:  IceburgIV [ Wed Jun 21, 2006 12:23 am ]
Post subject: 

Hey bakes, I had a similiar issue on my R5B7 issue. I ended up deleting the cards, sources, channels, etc, and reconfiguring from the beginning. Your issue sounds a bit different, so it could also be some database corruption?? Not sure though.

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