Probing the nine pin serial port
Hey All,
I'm experimenting with the "LOW SPEED DATA" port on my DirecTV Box (model #DRD523RB). I've connected to the DirecTV box via a nine pin serial connector. I hope to use the port to change channels etc. I have no idea how to probe the port for "signs of life." Any suggestions much appreciated. Perhaps the following info will help: Quote:
|
The first thing to do is to establish which logical tty is connected to the physical serial port. If there is only one serial port on the computer, then it will almost certainly be /dev/ttyS0. If not, you will have to experiment a bit. I like to get a program like C-Kermit or minicom, and use it to try sending data to a logical tty (type at the keyboard) while pins 2 & 3 on the serial port are jumpered together. When you see characters echo back whenever the jumper is installed, but stop echoing when the jumper is removed, you established the correlation between a logical device and a physical device.
Next, you will need to establish whether the set-top box is a DTE or DCE. This will dictate whether your cable needs to be a straight through cable, or one that crosses over the Tx & Rx signals, along with possibly other modem control signals. This is fairly easy if you hav a DVM or other way to meacure low voltage DC signals. The Tx signal on a serial interface with normally be driven to a logical zero, repesented by a positive voltage, somewhere between 6 & 12 volts DC. This signal will be on either of pins 2 or 3 on each interface (I guess we should assume that the set-top box uses some industry standard pin numbering scheme). The chassis may be used as a ground ref, pin 7 is even better. A functioning connection will require the Tx pin on each device to be connected to the Rx pin on the counterpart device. Code:
2 ----------------------------- 2 Code:
2 ----------\ /--------------- 2 You will probably have plenty of questions along the way. Come back here to ask away. --- rod. |
Wow! thanks for taking the time to give such a thorough answer!
I'll take it step by step. First step find cKermit or minicon. Would I need some type of break out box to do the jumpering? Thanks Again. |
A breakout box works best, and usually has indicators to use to display signal levels. To jumper two adjacent pins, I often just use a small screwdriver tip. Helps to have some kind of third hand. It didn't sound like you had a lot of experience with these matters, and were unlikely to have a breakout box.
Oh, and while you are looking for minicon, look for minicom, instead (unless that was just a typo). It is probably already installed on your linux. C-kermit, might be. Should be easy to find. --- rod. |
|
Wow! thanks for taking the time to give such a thorough answer!
I'll take it step by step. First, find and get to know cKermit or minicon. Would I need some type of break out box to do the jumpering? Thanks Again, |
Oops, sorry for the double post!
|
Rod,
Quote:
Mincon was a bust. I found Minicom in a second. Thanks for your patience and help. |
All times are GMT -5. The time now is 06:18 PM. |