Making IR Work with MythTV, DISH Receiver, and the PVR-150

A great hack and a lot of reverse-engineering the PVR-150 IR blaster Windows driver is detailed here. The idea is to use a modified ivtv driver and patched lircd. Straightforward directions are provided.

DISH Satellite Control
A poorly-written shell script helped me discover via trial and error the codeset for my satellite reciever, the DISH Network 311. I found it to be codeset 1_28. For those of you who may have a different receiver, feel free to use my script to brute-force it! It will send power commands, one at a time, to the receiver when using the 'all codeset' lircd.conf provided with the modified ivtv distribution. All you need to do is hit enter a lot.

For those interested in my lircd.conf snippet for using the PVR-150 IR blaster with the DISH 311, here you go:

begin remote

  name          blaster
  bits          32
  flags         RAW_CODES
  eps           0
  aeps          0
  plead         0
  gap           1000
  repeat_bit    0

  begin raw_codes
    name 0
    2149318656
    name 1
    2149318657
    name 2
    2149318658
    name 3
    2149318659
    name 4
    2149318660
    name 5
    2149318661
    name 6
    2149318662
    name 7
    2149318663
    name 8
    2149318664
    name 9
    2149318665
    name POWER
    2149318666
    name CH_UP
    2149318671
    name CH_DOWN
    2149318672
    name MUTE
    2149318673
    name VOL_DOWN
    2149318674
    name CH_PREVIOUS
    2149318675
    name VOL_UP
    2149318676
    name DISPLAY
    2149318677
    name EXIT
    2149318680
    name GUIDE
    2149318683
    name SELECT
    2149318686
    name AV
    2149318697
    name ENTER
    2149318699
    name MENU
    2149318703
    name MUP
    2149318704
    name MDOWN
    2149318705
    name MLEFT
    2149318706
    name MRIGHT
    2149318707

  end raw_codes

end remote

Have fun!

Back to MythTV Guide