[mythtv-users] Configuring USB->serial converter to control DirecTV set top box

jim scott jimdscott at gmail.com
Mon Nov 27 20:50:56 UTC 2006


I'm running Myth 0.20 on Fedora Core 5. I am controlling one DirecTV set top
box through my serial port using the directv.pl script and the low speed
data port. I ordered a USB->Serial converter to try to control a second
DirecTV STB . I plugged in the cable and loaded the modules, but I get a
TIMEOUT error whenever I try to manipulate the STB.

dmesg reports
usbcore: registered new driver usbserial
drivers/usb/serial/usb-serial.c: USB Serial support registered for generic
usbserial_generic 3-1:1.0: generic converter detected
usb 3-1: generic converter now attached to ttyUSB0
usbcore: registered new driver usbserial_generic
drivers/usb/serial/usb-serial.c: USB Serial Driver core

here's the node I added:
crw-rw---- 1 root uucp 188, 0 Nov 27 14:26 /dev/ttyUSB0

Here's the command I'm using:
./directv_usb.pl verbose off
SEND: 0xFA [�] 0x1 []
RECV: Timeout Error

Here's what I know about the node:
stty -a -F /dev/ttyUSB0
speed 9600 baud; rows 0; columns 0; line = 0;
intr = ^C; quit = ^\; erase = ^?; kill = ^U; eof = ^D; eol = <undef>; eol2 =
<undef>; swtch = <undef>; start = ^Q; stop = ^S; susp = ^Z; rprnt = ^R;
werase = ^W; lnext = ^V; flush = ^O; min = 0; time = 2;
-parenb -parodd cs8 hupcl -cstopb cread clocal -crtscts
ignbrk -brkint ignpar -parmrk -inpck -istrip -inlcr -igncr -icrnl -ixon
-ixoff -iuclc -ixany -imaxbel -iutf8
-opost -olcuc -ocrnl -onlcr -onocr -onlret -ofill -ofdel nl0 cr0 tab0 bs0
vt0 ff0
-isig -icanon -iexten -echo -echoe -echok -echonl -noflsh -xcase -tostop
-echoprt -echoctl -echoke

Any ideas on what else I need to do to get this working?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mythtv.org/pipermail/mythtv-users/attachments/20061127/8fab0186/attachment.htm 


More information about the mythtv-users mailing list