[mythtv-users] Help with Dish 301 receiver

Dan Wilga dwilga at mtholyoke.edu
Wed Jan 4 15:01:53 UTC 2006


At 11:30 PM -0500 12/30/05, Maverick wrote:
>Can anyone please provide me a working Dish 301 lircd config file and

The important bit in lircd.conf is the "begin codes" section. Using 
the remote config file called "3100" as a starting point, below is 
what I use to control two dish receivers at once. One is set using ID 
1 (names ending in "-1"), the other with ID 2.

           power-1                    0x0000000000000800
           0-1                        0x0000000000004400
           1-1                        0x0000000000001000
           2-1                        0x0000000000001400
           3-1                        0x0000000000001800
           4-1                        0x0000000000002000
           5-1                        0x0000000000002400
           6-1                        0x0000000000002800
           7-1                        0x0000000000003000
           8-1                        0x0000000000003400
           9-1                        0x0000000000003800
           sel-1                     0x0000000000004000

           power-2                    0x0000000000000A00
           0-2                       0x0000000000004600
           1-2                       0x0000000000001200
           2-2                       0x0000000000001600
           3-2                       0x0000000000001A00
           4-2                       0x0000000000002200
           5-2                       0x0000000000002600
           6-2                       0x0000000000002A00
           7-2                       0x0000000000003200
           8-2                       0x0000000000003600
           9-2                       0x0000000000003A00
           sel-2                     0x0000000000004200

I haven't quite worked out how to calculate values for other IDs, but 
I think it has to do with bits 7-9. I'll bet they use a sort of 
backward OR, so for a given ID you'd add these values to the code 
when ID=1:

ID  add
2    0x200
3    0x100
4    0x300
5    0x080
6    0x280
7    0x180
8    0x380

(The above chart is unconfirmed.)

-- 
Dan Wilga                                         dwilga at mtholyoke.edu
Web Administrator                             http://www.mtholyoke.edu
Mount Holyoke College                                Tel: 413-538-3027
South Hadley, MA  01075            "Who left the cake out in the rain?"


More information about the mythtv-users mailing list