View unanswered posts    View active topics

All times are UTC - 6 hours





Post new topic Reply to topic  [ 5 posts ] 
Print view Previous topic   Next topic  
Author Message
Search for:
PostPosted: Fri Mar 10, 2006 7:01 pm 
Offline
Joined: Sat Feb 11, 2006 3:07 am
Posts: 8
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?


Top
 Profile  
 
PostPosted: Fri Mar 10, 2006 8:11 pm 
Offline
Joined: Mon Nov 17, 2003 8:59 am
Posts: 206
Location: Michigan
ggroth wrote:
Iadd the script as an external command under Input Connections in the setup


More detail, what did you enter here?

_________________
Knoppmyth installation Pamphlet
Knoppmyth wiki
Search this forum, remember to check "Search for all terms"


Top
 Profile  
 
 Post subject:
PostPosted: Fri Mar 10, 2006 8:14 pm 
Offline
Joined: Mon Feb 13, 2006 10:44 am
Posts: 16
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


Top
 Profile  
 
 Post subject:
PostPosted: Fri Mar 10, 2006 11:28 pm 
Offline
Joined: Sat Feb 11, 2006 3:07 am
Posts: 8
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.


Top
 Profile  
 
 Post subject:
PostPosted: Sat Mar 11, 2006 1:27 pm 
Offline
Joined: Mon Feb 13, 2006 10:44 am
Posts: 16
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.


Top
 Profile  
 

Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 5 posts ] 


All times are UTC - 6 hours




Who is online

Users browsing this forum: No registered users and 9 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Jump to:  
Powered by phpBB® Forum Software © phpBB Group

Theme Created By ceyhansuyu