Mailing List archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[linux-dvb] Re: problems with NEWSTRUCT



Hi Jeremy,

this is definitely no DiSEqC. You have to set up a command Sequence as 
described in the table below by switching on and off voltage. Are you 
sure that your switch was controlled correctly by the old driver?

We might have to extend the API to support Dish network switches, this 
protocol would require some more logic in the driver...

Holger


Jeremy Hall wrote:
>                                        
>    Commands are sent in asyncronous NRZ form using the LNB polarization
>    voltage. A logic zero is 13 volts (odd/rhcp), and a logic one is 18
>    volts (even/lhcp). The data rate is 125 bps (8 ms per bit). A start
>    bit is followed by 7 data bits. There is no parity or stop bit. The
>    Twin, Quad and SW44 respond to both SW42 commands and to their own
>    command(s).
>    
>    Cmd Model Input
>    0x34 SW21 Dish 1
>    0x65 SW21 Dish 2
>    0x46 SW42 Dish 1
>    0x17 SW42 Dish 2
>    0x68 SW44 Dish 2
>    0x39 SW64 Dish 1A
>    0x1A SW64 Dish 1B
>    0x4B SW64 Dish 2A
>    0x5C SW64 Dish 2B
>    0x0D SW64 Dish 3A
>    0x2E SW64 Dish 3B
>    0x72 Twin LNB 1
>    0x23 Twin LNB 2
>    0x51 Quad LNB 2
>      _________________________________________________________________
>    
>                 Dish Network Multi-dish Switch Protocol Logger
>                                        
>    [logger.jpg] [schematic.gif]
>    
>    A SW21 with the logger circuit. A 4 MHz resonator was used instead of
>    a crystal and caps as shown in the schematic.
>    
>    A Microchip PIC 16F84 is programmed to receive the switch commands and
>    send an ASCII text string describing the command. The switch commands
>    can then be observed on a personal computer or serial terminal. A SW21
>    is used to supply power and serial data to the 16F84. Selected
>    commands can be used to drive the SW21's RF switches, this allows the
>    PIC 12C508 in the SW21 to be replaced by the 16F84. The SW21 can then
>    take on the personality of any Dish Network switch. A DIY switch could
>    easily be constructed using a 16F84 or similar PIC for control of PIN
>    diode or RF relay switching. Source code and schematic for logger
>    
>    Actual output of logger during switch test:
> 46 Odd  SW42 Dish 1
> ........ ........ ******** ******** ........ ........ ........ ********
> .......
> .
> 46 Even SW42 Dish 1
> ........ ........ ******** ******** ........ ........ ........ ********
> *******
> *
> 17 Odd  SW42 Dish 2
> ........ ******** ******** ******** ........ ********
> ........ ........ .......
> .
> 17 Even SW42 Dish 2
> ........ ******** ******** ******** ........ ********
> ........ ........ *******
> *
> 34 Odd  SW21 Dish 1
> ........ ........ ........ ******** ........ ******** ********
> ........ .......
> .
> 34 Even SW21 Dish 1
> ........ ........ ........ ******** ........ ******** ********
> ........ *******
> *
> 65 Odd  SW21 Dish 2
> ........ ******** ........ ******** ........ ........ ******** ********
> .......
> .
> 65 Even SW21 Dish 2
> ........ ******** ........ ******** ........ ........ ******** ********
> *******
> *
> 39 Odd  SW64 Dish 1A
> ........ ******** ........ ........ ******** ******** ********
> ........ .......
> .
> 1A Even SW64 Dish 1B
> ........ ........ ******** ........ ******** ********
> ........ ........ *******
> *
> 4B Odd  SW64 Dish 2A
> ........ ******** ******** ........ ******** ........ ........ ********
> .......
> .
> 5C Even SW64 Dish 2B
> ........ ........ ........ ******** ******** ******** ........ ********
> *******
> *
> 0D Odd  SW64 Dish 3A
> ........ ******** ........ ******** ********
> ........ ........ ........ .......
> .
> 2E Even SW64 Dish 3B
> ........ ........ ******** ******** ******** ........ ********
> ........ *******
> *
> 46 Odd  SW42 Dish 1
> ........ ........ ******** ******** ........ ........ ........ ********
> .......
> .
> 46 Even SW42 Dish 1
> ........ ........ ******** ******** ........ ........ ........ ********
> *******
> *
> 51 Odd  Quad LNB 2 (110)
> ........ ******** ........ ........ ........ ******** ........ ********
> .......
> .
> 51 Even Quad LNB 2 (110)
> ........ ******** ........ ........ ........ ******** ........ ********
> *******
> *
> 72 Odd  Twin LNB 1 (119)
> ........ ........ ******** ........ ........ ******** ******** ********
> .......
> .
> 72 Even Twin LNB 1 (119)
> ........ ........ ******** ........ ........ ******** ******** ********
> *******
> *
> 23 Odd  Twin LNB 2 (110)
> ........ ******** ******** ........ ........ ........ ********
> ........ .......
> .
> 23 Even Twin LNB 2 (110)
> ........ ******** ******** ........ ........ ........ ********
> ........ *******
> *
> 34 Odd  SW21 Dish 1
> ........ ........ ........ ******** ........ ******** ********
> ........ .......
> .
> 46 Odd  SW42 Dish 1
> ........ ........ ******** ******** ........ ........ ........ ********
> .......
> .
> 34 Even SW21 Dish 1
> ........ ........ ........ ******** ........ ******** ********
> ........ *******
> *
> 46 Even SW42 Dish 1
> ........ ........ ******** ******** ........ ........ ........ ********
> *******
> *
> 34 Odd  SW21 Dish 1
> ........ ........ ........ ******** ........ ******** ********
> ........ .......
> .
> 17 Odd  SW42 Dish 2
> ........ ******** ******** ******** ........ ********
> ........ ........ .......
> .
> 34 Odd  SW21 Dish 1
> ........ ........ ........ ******** ........ ******** ********
> ........ .......
> .
> 17 Even SW42 Dish 2
> ........ ******** ******** ******** ........ ********
> ........ ........ *******
> *
> 65 Odd  SW21 Dish 2
> ........ ******** ........ ******** ........ ........ ******** ********
> .......
> .
> 46 Odd  SW42 Dish 1
> ........ ........ ******** ******** ........ ........ ........ ********
> .......
> .
> 65 Even SW21 Dish 2
> ........ ******** ........ ******** ........ ........ ******** ********
> *******
> *
> 46 Even SW42 Dish 1
> ........ ........ ******** ******** ........ ........ ........ ********
> *******
> *
> 65 Odd  SW21 Dish 2
> ........ ******** ........ ******** ........ ........ ******** ********
> .......
> .
> 17 Odd  SW42 Dish 2
> ........ ******** ******** ******** ........ ********
> ........ ........ .......
> .
> 65 Even SW21 Dish 2
> ........ ******** ........ ******** ........ ........ ******** ********
> *******
> *
> 17 Even SW42 Dish 2
> ........ ******** ******** ******** ........ ********
> ........ ........ *******
> *
> 46 Odd  SW42 Dish 1
> ........ ........ ******** ******** ........ ........ ........ ********
> .......
> .
> 46 Even SW42 Dish 1
> ........ ........ ******** ******** ........ ........ ........ ********
> *******
> *
> 68 Odd  SW44 Dish 2
> ........ ........ ........ ........ ******** ........ ******** ********
> .......
> .
> 68 Even SW44 Dish 2
> ........ ........ ........ ........ ******** ........ ******** ********
> *******
> *
>      _________________________________________________________________
>    
>                                  Back to Index
>      _________________________________________________________________
>    
>    [nph-count?link=logger]
>    
>    ) 2000 Kevin Timmerman
>    [visit.gif?1007789549] 1




-- 
Info:
To unsubscribe send a mail to listar@linuxtv.org with "unsubscribe linux-dvb" as subject.



Home | Main Index | Thread Index