# contributed by      Jordan Hazen  <jnh@aug.com>
#
# brand:                         Echostar / DishNetwork (ExpressVu)
# model no. of remote control:   "blue-button" remote set for codeset #9
# supported devices:   Most models of Echostar IRDs: 2700, 4700, 5000 etc.
#                      Receiver must be set to a matching remote codeset,
#                      per instructions in the manual.  There are 16 choices
#                      available, to avoid interference between nearby
#                      units.  I've recorded codes #9 (here) and #6.
#
# Pulse timing is more critical than usual for these receivers.  You may
# have to play with the one/zero widths to get it working on a particular
# computer.  A kernel compiled with HZ set to 1000 or 1024 (rather than
# 100) is also helpful.

begin remote

  name  d9
  bits           16
  flags SPACE_ENC
  eps            30
  aeps          100

# socket370 Via C3 / via686b motherboard
  header        370  6020
  one           472  2770
  zero          472  1665
  ptrail        480
  gap           6200

# old socket7 k6 MB:
#  header        350  6000
#  one           465  2768
#  zero          465  1636
#  ptrail        467
#  gap           6092

# first attempt, from yet another motherboard:
#  one           324  2800
#  zero          324  1700
#  ptrail        324
#  gap          6000

  min_repeat      4
  toggle_bit      0

  frequency     56000

      begin codes
          mute                     0x000000000000ABBF
          vol-                     0x0000000000008BBF
          vol+                     0x0000000000009BBF
          guide                    0x000000000000AFBF
          select                   0x000000000000BFBF
          up                       0x00000000000097BF
          down                     0x00000000000087BF
          left                     0x0000000000008FBF
          right                    0x0000000000009FBF
          info                     0x000000000000FFBF
          view                     0x000000000000A7BF
          cancel                   0x000000000000B7BF
          recall                   0x00000000000093BF
          menu                     0x000000000000D3BF
          1                        0x000000000000EFBF
          2                        0x000000000000EBBF
          3                        0x000000000000E7BF
          4                        0x000000000000DFBF
          5                        0x000000000000DBBF
          6                        0x000000000000D7BF
          7                        0x000000000000CFBF
          8                        0x000000000000CBBF
          9                        0x000000000000C7BF
          0                        0x000000000000BBBF
          power                    0x000000000000F7BF
          scrollup                 0x000000000000C3AF
          scrolldown               0x000000000000E3AF
          record                   0x00000000000083BF
      end codes

end remote

# contributed by      Jordan Hazen  <jnh@aug.com>
#
# brand:                         Echostar / DishNetwork (ExpressVu)
# model no. of remote control:   "blue-button" remote set for codeset #6
# supported devices:   Most models of Echostar IRDs: 2700, 4700, 5000 etc.
#                      Receiver must be set to a matching remote codeset,
#                      per instructions in the manual.  There are 16 choices
#                      available, to avoid interference between nearby
#                      units.  I've recorded codes #6 (here) and #9.
#
# Pulse timing is more critical than usual for these receivers.  You may
# have to play with the one/zero widths to get it working on a particular
# computer.  A kernel compiled with HZ set to 1000 or 1024 (rather than
# 100) is also helpful.

begin remote

  name  d6
  bits           16
  flags SPACE_ENC
  eps            30
  aeps          100

  header        370  6020
  one           472  2770
  zero          472  1665
  ptrail        480
  gap           6200

# OLD K6 MB:
#  header        370  6020
#  one           472  2770
#  zero          472  1655
#  ptrail        480
#  gap           6110

#  one           324  2800
#  zero          324  1700
#  ptrail        324
#  gap          6000

  min_repeat      4
  toggle_bit      0

  frequency     56000

      begin codes
          mute                   0x000000000000A97F
          vol-                   0x000000000000897F
          vol+                   0x000000000000997F
          select                 0x000000000000BD7F
          0                      0x000000000000B97F
          1                      0x000000000000ED7F
          2                      0x000000000000E97F
          3                      0x000000000000E57F
          4                      0x000000000000DD7F
          5                      0x000000000000D97F
          6                      0x000000000000D57F
          7                      0x000000000000CD7F
          8                      0x000000000000C97F
          9                      0x000000000000C57F
          *                      0x000000000000697F
          0                      0x000000000000B97F
          #                      0x000000000000657F
          recall                 0x000000000000917F
          info                   0x000000000000FD7F
          view                   0x000000000000A57F
          cancel                 0x000000000000B57F
          up                     0x000000000000957F
          down                   0x000000000000857F
          left                   0x0000000000008D7F
          right                  0x0000000000009D7F
          guide                  0x000000000000AD7F
          menu                   0x000000000000D17F
          scrollup               0x000000000000C16F
          scrolldown             0x000000000000E16F
          power                  0x000000000000F57F
          tvvideo                0x000000000000A17F
          sysinfo                0x0000000000006D7F
          record                 0x000000000000817F
          mute                   0x000000000000A97F
          vol-                   0x000000000000897F
          vol+                   0x000000000000997F
      end codes

end remote

