[mythtv-users] SOLVED: DishNetwork 322 w/usb-uirt

John H. mistamaila at gmail.com
Wed Oct 18 02:51:15 UTC 2006


min_repeat 0 was the key


here's the lircd.conf you need

(I have lirc 7.1 with usb-uirt patch)

begin remote

  name  DISH_1
  bits           16
  flags SPACE_ENC|NO_HEAD_REP
  eps            30
  aeps          100

  header        350  6000
  one           324  2800
  zero          324  1700
  ptrail        324
  gap          6000
  min_repeat      0
  toggle_bit      0
  frequency    40000

      begin codes
          tv/video                 0x000000000000A3FF
          power                    0x000000000000F7FF
          menu                     0x000000000000D3FF
          page_up                  0x000000000000C3EF
          page_down                0x000000000000E3EF
          guide                    0x000000000000AFFF
          pointer_up               0x00000000000097FF
          pointer_left             0x0000000000008FFF
          pointer_right            0x0000000000009FFF
          pointer_down             0x00000000000087FF
          select                   0x000000000000BFFF
          recall                   0x00000000000093FF
          info                     0x000000000000FFFF
          view                     0x000000000000A7FF
          cancel                   0x000000000000B7FF
          sys_info                 0x0000000000006FFF
          record                   0x00000000000083FF
          1                        0x000000000000EFFF
          2                        0x000000000000EBFF
          3                        0x000000000000E7FF
          4                        0x000000000000DFFF
          5                        0x000000000000DBFF
          6                        0x000000000000D7FF
          7                        0x000000000000CFFF
          8                        0x000000000000CBFF
          9                        0x000000000000C7FF
          0                        0x000000000000BBFF
          *                        0x0000000000006BFF
          #                        0x00000000000067FF
      end codes

end remote


and here's a change channel script

#!/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
/usr/bin/irsend --device=/dev/lircd 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
/usr/bin/irsend --device=/dev/lircd SEND_ONCE $REMOTE_NAME select #
Add a select to speed up channel changing.
sleep 0.4
/usr/bin/irsend --device=/dev/lircd SEND_ONCE $REMOTE_NAME cancel #
Get the Dish OSD off the screen, it annoys me and I don't want it on
my recordings.


More information about the mythtv-users mailing list