LinHES Forums
http://forum.linhes.org/

Problem with DirecTV serial connection.
http://forum.linhes.org/viewtopic.php?f=6&t=8918
Page 1 of 1

Author:  ggroth [ Fri Mar 10, 2006 7:01 pm ]
Post subject:  Problem with DirecTV serial connection.

I'm trying to install this script:
http://www.pdp8.net/directv/directv.pl
and having difficulty getting it to work with a DirecTV D10-100. I'm using a Hauppage 250 with the A415 remote. The remote works perfectly in Knoppmyth. The script works perfectly from a shell prompt. However when I add the script as an external command under Input Connections in the setup, and restart mythtv-backend, I get no changes when I try to change the channel watching TV. In /var/log/myth/mythbackend.log I have the following error message:

Channelbase: external tuning program exited with error 255

I tried the serial cable on my XP box using an executable from http://www.dtvcontrol.com/, and have no problems connecting to the DirecTV box. I've checked the permissions on both /usr/local/bin/directv.pl and /dev/ttyS0, and can run the script from the command line without an issue logged in as mythtv or root. I'm assuming that the cable is working and that the script works as well. Any idea why knoppmyth is having problems talking to the DirecTV box?

Author:  davem [ Fri Mar 10, 2006 8:11 pm ]
Post subject:  Re: Problem with DirecTV serial connection.

ggroth wrote:
Iadd the script as an external command under Input Connections in the setup


More detail, what did you enter here?

Author:  LinuxSneaker [ Fri Mar 10, 2006 8:14 pm ]
Post subject: 

I have the same setup.
First, try putting the full path in front of the command in MythTV (ie /usr/bin/directv.pl )
Second, type passing the command "box_type D10-100".
/usr/bin/directv.pl box_type D10-100

Author:  ggroth [ Fri Mar 10, 2006 11:28 pm ]
Post subject: 

From the instructions at the site where I found the script, I entered the following:

/usr/local/bin/directv.pl box_type D10-100 setup_channel

Not having any luck with that, I also tried the following:
/usr/local/bin/directv.pl
/usr/local/bin/directv.pl setup_channel
/usr/local/bin/directv.pl box_type RCA_OLD setup_channel

as well as the follwing:

/usr/local/bin/./directv.pl box_type D10-100 setup_channel
/usr/local/bin/./directv.pl
/usr/local/bin/./directv.pl setup_channel
/usr/local/bin/./directv.pl box_type RCA_OLD setup_channel

For kicks I tried the following:

/usr/local/bin/directv.pl box_type D10-200 setup_channel

but had the same results. The reason I tried out the Windows exe I mentioned was to figure out what protocol I needed to use to talk to the D10-100. The exe has options for old, new, D10-100 & D10-200. The D10-100 protocol worked perfect, so I assumed that setting the flag for box_type D10-100 would work.

I did go back and try

/usr/local/bin/./directv.pl box_type D10-100

with the same results as well.

From the command line, /usr/local/bin/directv.pl channel# works just fine.

Thanks for the assistance.

Author:  LinuxSneaker [ Sat Mar 11, 2006 1:27 pm ]
Post subject: 

Why are you putting "setup_channel"? Just put
/usr/local/bin/directv.pl box_type D10-100 #
where # is the channel you want. Then, if it works, put
/usr/local/bin/directv.pl box_type D10-100
into "Input Connections" in mythtv-setup.

Page 1 of 1 All times are UTC - 6 hours
Powered by phpBB® Forum Software © phpBB Group
http://www.phpbb.com/