Re: [mythtv-users] DirectTV D10 Receiver - channel problems

2005-06-02 Thread Jim Gifford
Well got some interesting test results, thanx to Scott Harris and others 
for doing the testing.


Using my program satcontrol with the standard directv driver.

Channels above 127 It does work, but channels below 128 do not.

./satcontrol -c 128
Channel has been changed to 128.
./satcontrol -c 127
Unable to change channel to 127.
./satcontrol -c 63
Unable to change channel to 63.
./satcontrol -c 31
Unable to change channel to 31.
./satcontrol -c 15
Unable hange channel to 15.
./satcontrol -c 7
Unable to change channel to 7.
./satcontrol -c 3
Unable to change channel to 3.

Now the wierd part here, is my program sends every in bits. If anyone 
has any ideas(I'm dumbfounded now) on how to modify my existing program 
to fix everything below a 128. I also tried to use the remote codes that 
have been provided, but they seem not be working also.


I will be working on this until I get it resolved, thanx again for all 
your help.


For those who want to look at the code in question. Here is a link
http://svn.jg555.com/filedetails.php?repname=satcontrol&path=%2Ftrunk%2Fdrivers%2Fdirectv.c&rev=0&sc=0
setChannel is the function for changing the channels starts at line 99
___
mythtv-users mailing list
mythtv-users@mythtv.org
http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users


Re: [mythtv-users] DirectTV D10 Receiver - channel problems

2005-06-01 Thread djg
>
>Maybe we could merge our to products together??
>
>http://ftp.jg555.com/satcontrol/satcontrol-0.02.tar.bz2
>
Feel free to take what you want from mine.  Since the script I found that
sort of worked was in Perl I just stuck with it.  Email me if you don't
read Perl and need to know more of what is going on.

The D10-200 0.8.30 firmware (2002) seems to be real buggy.  It required a
carriage return after the command, it sometimes says bad command when
you send a valid command, and it locks up on the channel change command
randomly.

To get around this I made the script try to send the command up to 4
times checking if it gets a completed ok response.  I also switch to
sending remote key codes since that didn't lock up the box.  We have also
had the box lock up overnight without anything talking to it.  May be
related to short power flickers.  The -200 also seems to use a different
set of control codes than documented online.

The other goal of my script was something that people didn't have to
edit but just type the string for your box in which in theory would
make it easier for less skilled people to setup.

I will try your script tonight and see how it works for me. Got to go to work.

I emailed the one person who had some success with my modified script
to try to figure out exactly why it doesn't work fully for him.  If anybody
else tries and want to work on getting it fully working for you I will
need you to run some extra tests.  If you email me we can get the script
straight.

For people who are trying the box_type D10-200 switches between sending
carriage returns after the command and the second set of key codes.  It
also stitches to using the keys to change channel.  The channel_change_type
just selects between the command and key.  You also may need the port command
since the script I first put online defaulted to /dev/ttyS1 since that
is where my box is.  I have changed the default to /dev/ttyS0. 

___
mythtv-users mailing list
mythtv-users@mythtv.org
http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users


Re: [mythtv-users] DirectTV D10 Receiver - channel problems

2005-05-31 Thread Jim Gifford

Looks like the issue is happening to all scripts, tivo, and replay tv's.

I have a contact at directv who is suppose to be getting me the control 
codes for the receivers, he told me that there are different 
manufactures for the d10-200 and the d10-300. He also believes that 
serial is disabled by default so, I don't know for sure.


Once I get the info, or some else gets the info please post it.
___
mythtv-users mailing list
mythtv-users@mythtv.org
http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users


Re: [mythtv-users] DirectTV D10 Receiver - channel problems

2005-05-31 Thread Jim Gifford
I don't use the keyboard codes with satcontrol, mine uses the control 
codes. Satcontrol works the same way as the windows dtvcontrol, so it 
may solve your issue.


Anyways, I would appreciate it of someone test it out on the d10-200 box 
to make sure it works. The onlything that might not work is the disable 
lock, which is a minor fix.


For those who will test it, Thank you.

http://ftp.jg555.com/satcontrol/satcontrol-0.02.tar.bz2


___
mythtv-users mailing list
mythtv-users@mythtv.org
http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users


Re: [mythtv-users] DirectTV D10 Receiver - channel problems

2005-05-31 Thread Jim Gifford

[EMAIL PROTECTED] wrote:


I only have a D10-200 so haven't tested on other boxes so would be interested
in if it does work.  I attempted to not break support for other boxes
as I added the additional stuff.
 


Maybe we could merge our to products together??

http://ftp.jg555.com/satcontrol/satcontrol-0.02.tar.bz2

--

Jim Gifford
[EMAIL PROTECTED]

___
mythtv-users mailing list
mythtv-users@mythtv.org
http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users



Re: [mythtv-users] DirectTV D10 Receiver - channel problems

2005-05-31 Thread LarryX



Scott Harris wrote:




 


-Original Message-
From: [EMAIL PROTECTED] 
[mailto:[EMAIL PROTECTED] On Behalf Of [EMAIL PROTECTED]

Sent: Tuesday, May 31, 2005 9:44 AM
To: mythtv-users@mythtv.org
Subject: RE: [mythtv-users] DirectTV D10 Receiver - channel problems

  What is the full number of your box?  My script at 
http://www.pdp8.net/directv/directv.shtml
can change channels by sending remote keys.  The D10-200 box 
I have will lockup sometimes with the normal channel change 
command so I added support to change channel by sending the 
remote keys instead of the channel change command. 


Try the script with the channel change command string

directv.pl channel_change_type key setup_channel 


for manual testing add the channel number at the end.
If you have a d10-200 box you will need box_type d10-200 also 
before the setup channel.


You can also try without the channel_change_type key but I 
expect it will work the same as the other scripts.


I only have a D10-200 so haven't tested on other boxes so 
would be interested in if it does work.  I attempted to not 
break support for other boxes as I added the additional stuff.


   




Interesting enough this script works but the satcontrol-0.02 only works
for channels greater than 102 (I contacted the author).

Works fine
./directv.pl  box_type D10-200 port /dev/ttyS0 6

Changes the channel to 6 on the guide but then kills the process leaving you
on the same channel
./directv.pl  channel_change_type key box_type D10-200  port /dev/ttyS0
setup_channel 6

Produces an error for channels < 102
./directv.pl  port /dev/ttyS0 6
Error excessive retries
./directv.pl  port /dev/ttyS0 102





 




___
mythtv-users mailing list
mythtv-users@mythtv.org
http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users
 



I was getting errors (failed command) using key controls while using the 
windoze software at www.dtvcontrol.com.  Why DirectTv feels like they 
can upload software to the box without permission and break the 
functionality of the box is beyond me...  I'll try the script tomorrow...

___
mythtv-users mailing list
mythtv-users@mythtv.org
http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users


Re: [mythtv-users] DirectTV D10 Receiver - channel problems

2005-05-31 Thread LarryX

Model: D10
Mfr ID: 100

I looked at your script and will be giving it a try tomorrow thanks

[EMAIL PROTECTED] wrote:

  What is the full number of your box?  My script at 
http://www.pdp8.net/directv/directv.shtml

can change channels by sending remote keys.  The D10-200 box I have will
lockup sometimes with the normal channel change command so I added support
to change channel by sending the remote keys instead of the channel change
command. 


Try the script with the channel change command string

directv.pl channel_change_type key setup_channel 


for manual testing add the channel number at the end.
If you have a d10-200 box you will need box_type d10-200 also before
the setup channel.

You can also try without the channel_change_type key but I expect it will
work the same as the other scripts.

I only have a D10-200 so haven't tested on other boxes so would be interested
in if it does work.  I attempted to not break support for other boxes
as I added the additional stuff.
 




___
mythtv-users mailing list
mythtv-users@mythtv.org
http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users
 



___
mythtv-users mailing list
mythtv-users@mythtv.org
http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users


RE: [mythtv-users] DirectTV D10 Receiver - channel problems

2005-05-31 Thread Scott Harris
 

> -Original Message-
> From: [EMAIL PROTECTED] 
> [mailto:[EMAIL PROTECTED] On Behalf Of [EMAIL PROTECTED]
> Sent: Tuesday, May 31, 2005 9:44 AM
> To: mythtv-users@mythtv.org
> Subject: RE: [mythtv-users] DirectTV D10 Receiver - channel problems
> 
>What is the full number of your box?  My script at 
> http://www.pdp8.net/directv/directv.shtml
> can change channels by sending remote keys.  The D10-200 box 
> I have will lockup sometimes with the normal channel change 
> command so I added support to change channel by sending the 
> remote keys instead of the channel change command. 
> 
> Try the script with the channel change command string
> 
> directv.pl channel_change_type key setup_channel 
> 
> for manual testing add the channel number at the end.
> If you have a d10-200 box you will need box_type d10-200 also 
> before the setup channel.
> 
> You can also try without the channel_change_type key but I 
> expect it will work the same as the other scripts.
> 
> I only have a D10-200 so haven't tested on other boxes so 
> would be interested in if it does work.  I attempted to not 
> break support for other boxes as I added the additional stuff.
> 


Interesting enough this script works but the satcontrol-0.02 only works
for channels greater than 102 (I contacted the author).

Works fine
./directv.pl  box_type D10-200 port /dev/ttyS0 6

Changes the channel to 6 on the guide but then kills the process leaving you
on the same channel
./directv.pl  channel_change_type key box_type D10-200  port /dev/ttyS0
setup_channel 6

Produces an error for channels < 102
./directv.pl  port /dev/ttyS0 6
Error excessive retries
./directv.pl  port /dev/ttyS0 102



 

___
mythtv-users mailing list
mythtv-users@mythtv.org
http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users


RE: [mythtv-users] DirectTV D10 Receiver - channel problems

2005-05-31 Thread djg
   What is the full number of your box?  My script at 
http://www.pdp8.net/directv/directv.shtml
can change channels by sending remote keys.  The D10-200 box I have will
lockup sometimes with the normal channel change command so I added support
to change channel by sending the remote keys instead of the channel change
command. 

Try the script with the channel change command string

directv.pl channel_change_type key setup_channel 

for manual testing add the channel number at the end.
If you have a d10-200 box you will need box_type d10-200 also before
the setup channel.

You can also try without the channel_change_type key but I expect it will
work the same as the other scripts.

I only have a D10-200 so haven't tested on other boxes so would be interested
in if it does work.  I attempted to not break support for other boxes
as I added the additional stuff.
___
mythtv-users mailing list
mythtv-users@mythtv.org
http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users


Re: [mythtv-users] DirectTV D10 Receiver - channel problems

2005-05-31 Thread Jim Gifford

Scott Harris wrote:


Hello all,

I'm having problems changing channels via serial cable, well 
not all channels just 0-99.  My mythbox has been down for a 
week or so tring to get the time to redo everything 
(Slackware 10.1 - 2.6.10).  I got it up this weekend, last 
week I noticed my receiver (D10) software was updated.  Well, 
non of the scripts I have will change to any channel 0-99.  I 
also connected a windoze box up to the receiver using the 
software at www.dtvcontrol.com.  When I have the channel on 
lets say 2 it reports FA A6 00 02 FF FF, but when I send the 
same string it fails.  
FA A6 00 64 FF FF and above works just fine.  Does anyone 
have a clue or recently seen the same problem with D10 receivers?


   



If it is any consolation, you aren't alone.  On my dual tuner
setup, both my d10's started exhibiting this behavior this morning.


 




___
mythtv-users mailing list
mythtv-users@mythtv.org
http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users
 


Scott,
   Give my satcontrol program a try, it may fix the situation for you. 
http://ftp.jg555.com/satcontrol, if it doesn't let me know and I can 
modify based off of the information you provide me.



--

Jim Gifford
[EMAIL PROTECTED]

___
mythtv-users mailing list
mythtv-users@mythtv.org
http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users


RE: [mythtv-users] DirectTV D10 Receiver - channel problems

2005-05-31 Thread Scott Harris

> Hello all,
> 
> I'm having problems changing channels via serial cable, well 
> not all channels just 0-99.  My mythbox has been down for a 
> week or so tring to get the time to redo everything 
> (Slackware 10.1 - 2.6.10).  I got it up this weekend, last 
> week I noticed my receiver (D10) software was updated.  Well, 
> non of the scripts I have will change to any channel 0-99.  I 
> also connected a windoze box up to the receiver using the 
> software at www.dtvcontrol.com.  When I have the channel on 
> lets say 2 it reports FA A6 00 02 FF FF, but when I send the 
> same string it fails.  
> FA A6 00 64 FF FF and above works just fine.  Does anyone 
> have a clue or recently seen the same problem with D10 receivers?
> 

If it is any consolation, you aren't alone.  On my dual tuner
setup, both my d10's started exhibiting this behavior this morning.


___
mythtv-users mailing list
mythtv-users@mythtv.org
http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users