Difference between revisions of "Controlling DirecTV Set Top Box (STB) via USB or Serial"

From MythTV Official Wiki
Jump to: navigation, search
(added extra information, made more mediawiki friendly)
Line 1: Line 1:
The DirecTV D11 Satellite set top box contains a USB port that can be used as a serial port to change channels and perform other tasks on the box. To do this, you need the following cable:
+
The DirecTV D11 Satellite set top box contains a USB port that can be used as a serial port to change channels and perform other tasks on the box. To do this, you need the following cables:
  
1. USB->Serial Adapter (IOGEAR GUC232A, ATEN UC-232A, BAFO BF-810 are known supported) (usb male to 9 male)
+
# USB->Serial Adapter (IOGEAR GUC232A, ATEN UC-232A, BAFO BF-810 are known supported) (usb male to 9 male)
2. 9-pin Null-Modem Adapter (9 female to 9 female)
+
# 9-pin Null-Modem Adapter (9 female to 9 female)
3. 9 pin serial cable. (9 female to 9 male)
+
# 9 pin serial cable. (9 female to 9 male)
  
 
The end result of this is a null modem serial connection between computers. I assume that using two USB->Serial adapters would also work, given that the Null Modem adapter was still used.
 
The end result of this is a null modem serial connection between computers. I assume that using two USB->Serial adapters would also work, given that the Null Modem adapter was still used.
Line 10: Line 10:
  
 
I started with the directv.pl script used to control the D10 box. I had to change the speed to 115200 from 9600 (contrary to the installers guide which says 9600 or 155200, which must be a typo). I also had to enable hardware flow control in order to get reliable operation.
 
I started with the directv.pl script used to control the D10 box. I had to change the speed to 115200 from 9600 (contrary to the installers guide which says 9600 or 155200, which must be a typo). I also had to enable hardware flow control in order to get reliable operation.
 +
 +
== Cable Pinout ==
 +
 +
This is a standard Null-modem cable, but here is the pinout for the sake of being complete:
 +
 +
{| border=0 cellspacing=0 cellpadding=5
 +
| TD
 +
| (Transmit Data)
 +
| 3
 +
| ->
 +
| 2
 +
| RD
 +
|-
 +
| RD
 +
| (Receive Data)
 +
| 2
 +
| ->
 +
| 3
 +
| TD
 +
|-
 +
| RTS
 +
| (Request To Send)
 +
| 7
 +
| ->
 +
| 8
 +
| CTS
 +
|-
 +
| CTS
 +
| (Clear To Send)
 +
| 8
 +
| ->
 +
| 7
 +
| RTS
 +
|-
 +
| SG
 +
| (Signal Ground)
 +
| 5
 +
| ->
 +
| 5
 +
| SG
 +
|}
  
 
== Hardware Compatibility ==
 
== Hardware Compatibility ==

Revision as of 04:27, 20 January 2006

The DirecTV D11 Satellite set top box contains a USB port that can be used as a serial port to change channels and perform other tasks on the box. To do this, you need the following cables:

  1. USB->Serial Adapter (IOGEAR GUC232A, ATEN UC-232A, BAFO BF-810 are known supported) (usb male to 9 male)
  2. 9-pin Null-Modem Adapter (9 female to 9 female)
  3. 9 pin serial cable. (9 female to 9 male)

The end result of this is a null modem serial connection between computers. I assume that using two USB->Serial adapters would also work, given that the Null Modem adapter was still used.

I used the BAFO BF-810 adapter (found for $9 online) and a pair of 9pin DSub to RJ45 adapters wired as a crossover serial cable, along with a straight-through ethernet cable.

I started with the directv.pl script used to control the D10 box. I had to change the speed to 115200 from 9600 (contrary to the installers guide which says 9600 or 155200, which must be a typo). I also had to enable hardware flow control in order to get reliable operation.

Cable Pinout

This is a standard Null-modem cable, but here is the pinout for the sake of being complete:

TD (Transmit Data) 3 -> 2 RD
RD (Receive Data) 2 -> 3 TD
RTS (Request To Send) 7 -> 8 CTS
CTS (Clear To Send) 8 -> 7 RTS
SG (Signal Ground) 5 -> 5 SG

Hardware Compatibility

  • DirecTV D11-500: Channel changing works, other features flaky
  • DirecTV D11-300: Channel changing not yet confirmed, some problems reported

External Links