|
SageTV Linux Discussion related to the SageTV Media Center for Linux. Questions, issues, problems, suggestions, etc. relating to the SageTV Linux should be posted here. |
|
Thread Tools | Search this Thread | Display Modes |
#1
|
|||
|
|||
DirecTV usb serial control
I am using the IO Gear usb to serial controller on a DirecTV H20 HD reciever. I am attempting to get the channel changing to work using DirectSerial, and so far no luck. I have done the symlink from /dev/ttyUSB0 to /dev/ttyS0.
I would appreciate any suggestions. here is my log file Sun 12/21 23:29:36.711 V4L: getV4LCardType /dev/video1 Sun 12/21 23:29:36.711 V4L: getV4LInputName /dev/video1 0 Sun 12/21 23:29:36.711 V4L: setInput0 0 1 1 1 Sun 12/21 23:29:36.711 V4L: setting standard to 0x3000 Sun 12/21 23:29:36.750 V4L: setting audio to input 2 Sun 12/21 23:29:36.754 V4L: updateColors0 b=128 c=128 h=128 s=128 Sun 12/21 23:29:36.835 V4L: setEncodingProperties0 Sun 12/21 23:29:36.853 DTVSerial opened handle on port COM1 Sun 12/21 23:29:36.854 DTVSerial testing to see if baud rate is 115200... Sun 12/21 23:29:36.862 DTVSerial response num=2 cmd[0]=0x0 cmd[1]=0x0 cmd[2]=0x0 cmd[3]=0x0 cmd[4]=0x0 cmd[5]=0x0 Sun 12/21 23:29:36.862 DTVSerial failed at 115200, reverting to 9600 baud. Sun 12/21 23:29:36.882 DTVSerialX num=1 cmd[0]=0xf0. Sun 12/21 23:29:36.882 DTVSerial new command set was detected num=1 cmd[0]=0x1. Sun 12/21 23:29:36.886 DTVSerial new command set was detected num=1 cmd[0]=0x16. Sun 12/21 23:29:36.886 DTVSerial new command set was detected num=1 cmd[0]=0xff. Sun 12/21 23:29:36.886 DTVSerial new command set was detected num=1 cmd[0]=0xff. Sun 12/21 23:29:36.890 DTVSerial new command set was detected num=1 cmd[0]=0xf4. Sun 12/21 23:29:37.338 V4L: setup encoding /var/media/tv/58646_202_1221_2329-0.mpg Sun 12/21 23:29:37.935 DTVSerial new command set was detected num=0 cmd[0]=0xf4. Sun 12/21 23:29:37.935 DTVSerial wrote out a junk param Sun 12/21 23:29:38.934 DTVSerial new command set was detected num=0 cmd[0]=0x0. Sun 12/21 23:29:38.934 DTVSerial wrote out a junk param Sun 12/21 23:29:39.934 DTVSerial new command set was detected num=0 cmd[0]=0x0. Sun 12/21 23:29:39.934 DTVSerial wrote out a junk param Sun 12/21 23:29:39.946 DTVSerial Valid Command Recognized for handle 39 Sun 12/21 23:29:39.958 DTVSerial Set Top is Processing Request for handle 39 Sun 12/21 23:29:39.958 DTVSerial Command Successful for handle 39 Sun 12/21 23:29:39.966 DTVSerial Valid Command Recognized for handle 39 Sun 12/21 23:29:39.978 DTVSerial Set Top is Processing Request for handle 39 Sun 12/21 23:29:39.978 DTVSerial Command Successful for handle 39 Sun 12/21 23:29:39.986 DTVSerial Valid Command Recognized for handle 39 Sun 12/21 23:29:39.998 DTVSerial Set Top is Processing Request for handle 39 Sun 12/21 23:29:39.998 DTVSerial Command Successful for handle 39 Sun 12/21 23:29:39.998 DTVSerial channel change worked Sun 12/21 23:29:50.390 V4L: closeEncoding Sun 12/21 23:29:50.390 V4L: join capture thread Sun 12/21 23:29:50.415 V4L: capture thread stopped Sun 12/21 23:29:52.138 V4L: getV4LCardType /dev/video1 Sun 12/21 23:29:52.138 V4L: getV4LInputName /dev/video1 0 Sun 12/21 23:29:52.138 V4L: setInput0 0 1 1 1 Sun 12/21 23:29:52.138 V4L: setting standard to 0x3000 Sun 12/21 23:29:52.178 V4L: setting audio to input 2 Sun 12/21 23:29:52.182 V4L: updateColors0 b=128 c=128 h=128 s=128 Sun 12/21 23:29:52.280 V4L: setEncodingProperties0 Sun 12/21 23:29:52.286 DTVSerial Valid Command Recognized for handle 39 Sun 12/21 23:29:52.294 DTVSerial Set Top is Processing Request for handle 39 Sun 12/21 23:29:52.298 DTVSerial Command Successful for handle 39 Sun 12/21 23:29:52.306 DTVSerial Valid Command Recognized for handle 39 Sun 12/21 23:29:52.314 DTVSerial Set Top is Processing Request for handle 39 Sun 12/21 23:29:52.318 DTVSerial Command Successful for handle 39 Sun 12/21 23:29:52.326 DTVSerial Valid Command Recognized for handle 39 Sun 12/21 23:29:52.334 DTVSerial Set Top is Processing Request for handle 39 Sun 12/21 23:29:52.338 DTVSerial Command Successful for handle 39 Sun 12/21 23:29:52.338 DTVSerial channel change worked Sun 12/21 23:29:52.782 V4L: setup encoding /var/media/tv/LarryKingLive-74045-0.mpg Last edited by redbaron73; 12-21-2008 at 11:37 PM. |
#2
|
|||
|
|||
Addl Info
I am running the latest linux beta.
Reading the threads it appears as though a missing setting for fastserial switching may be the problem. Since this is missing from the UI, is there a possibility that adding it to the properites file manually would help? Using the script from my mythtv box, directv.pl, I am able to change boxes. So for now, I am using an ssh session to do my surfing..but that is about a 0 on the WAF :> Last edited by redbaron73; 12-22-2008 at 12:06 AM. |
#3
|
|||
|
|||
You'll want to send this into the support email I think for fastest resolution. If it is working with the perl script, you could also try Stuckless' generic plugin for tuning as well and tune through it using directv.pl
How many devices are you trying to control? B
__________________
Running SageTV on unRAID via Docker Tuning handled by HDHR3-6CC-3X2 using OpenDCT |
#4
|
|||
|
|||
you have to manually create a file named DTVSERIAL_FAST in the directory sage is installed and it should work. there is nothing in the UI to do this for you. this is how I control 2 H20's and I have no problems at all with the latest beta.
Jayson
__________________
ESXi Host Intel Xeon x3440 on Intel S3420PLX, 4GB RAM, 80GB Primary Server:2 CPU's and 2GB memory Allocated, 15GB Virtual Primary, 1.5 TB RDM Physical Disk, A180 using VMDirectPath, 1 xHDHR Headless ArchLinux 2.6.34 64-bit, SageTV 7.0.15 Sun JRE 1.6.0_20 Comskip&PlayonWindows XP 2CPU and 1GB Ram Allocated Clients: 1 Media MVP and 2 STX-HD100 |
#5
|
|||
|
|||
Quote:
|
#6
|
|||
|
|||
THAT DID IT!!!! Thank You!!!
|
#7
|
|||
|
|||
Does this apply to setting it up on the Mac as well?
I have directv.pl working on my Mac. I'm using an ATEN UC-232AC USB to serial adapter. This command worked for me, from terminal: directv.pl port /dev/cu.UC-232AC baudrate 9600 box_type H20 I can change channels, get channels, etc., from the command line in terminal. I'm struggling a bit to find info on how to make Sage do all this for me. Sorry, I'm fairly new to Sage, so I'm probably missing something obvious. |
#8
|
|||
|
|||
send an email to tech support. They custom compiled a dll for me that solved all my issues. It seems that the original driver was attempting to do a high speed connection, then back to 9600.
For my DirecTV unit, they had me create the following files in the server directory: DTVSERIAL_9600 DTVSERIAL_FAST DTVSERIAL_NEWCMD I now have perfect channel changing. |
#9
|
|||
|
|||
Thanks. I sent an e-mail to support, and they asked me for log information. Nothing after that.
I'll send them the contents of your post, and see if that spurs any action. |
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
DirecTV Serial Control Guide | SWKerr | Hardware Support | 110 | 05-01-2011 11:37 AM |
Simple utility to control multiple USB or Serial HD DirecTV STBs | jchiso | Hardware Support | 15 | 02-19-2009 06:27 PM |
DirecTV USB Control | chstuart | Hardware Support | 45 | 02-17-2009 03:29 PM |
Using DirecTV serial control cable on a USB port? | bstowers | Hardware Support | 8 | 07-05-2008 12:23 PM |
DirecTV D11 Serial (USB) control works | Se7enLC | Hardware Support | 3 | 04-07-2006 08:24 AM |