|
SageTV Software Discussion related to the SageTV application produced by SageTV. Questions, issues, problems, suggestions, etc. relating to the SageTV software application should be posted here. (Check the descriptions of the other forums; all hardware related questions go in the Hardware Support forum, etc. And, post in the customizations forum instead if any customizations are active.) |
|
Thread Tools | Search this Thread | Display Modes |
#21
|
||||
|
||||
Wnjj,
Thanks for your help on this! I made a log of my working system and with your first try at the fix and was ready to upload when I saw you had another jar and dll to try. I tried that one and it made no difference. In the archive the broke-secondtry is with your second dll and jar file. After it wouldn't exit I tried to schedule a recording and tried to exit again as I wasn't sure if killing the task would still get all of the log file. https://www.dropbox.com/s/f2ecple7un...eLogs.zip?dl=1 Quote:
|
#22
|
|||
|
|||
Quote:
I'm at a loss otherwise. It successfully calls into the openDTVSerial0 function which didn't have any change to its arguments from the 9.1.x version. Then it fails to find dtvSerialChannel0 which I did change one argument from a jint to a jlong. The difference between those is the name the DLL exposes for Java to call into. On 32-bit DLL's the name includes the number of bytes of arguments after an '@'. I used Dependency Walker to compare the original 9.1.x DLL to both my first broken one and latest 'v1' one. The v1 one matches except for the larger byte count that I would expect. The Java error says it's looking for a function with Long and Int (sage.DirecTVSerialControl.dtvSerialChannel0(JI)Z) which should match the one the v1 DLL exports with 4 more bytes. I'm busy this evening and much of tomorrow but will check in on progress if there is any. I may have to make a standalone Java 'main' to call into this DLL to confirm it all works on my end. Worst case I could revert all of the code back for 32-bit just to prove the compiling process is sound but that won't help for 64-bit. |
#23
|
|||
|
|||
Ok the channel changing is working now. Thanks guys you are awesome.
|
#24
|
|||
|
|||
That’s good news. Just to confirm, you’re using the _v1 version I posted? If davidb can confirm it works well for him too I’ll submit the changes for inclusion in the next release. Until then I’ll hold off in case there’s something specific about his system or use of more than one port that is still broken. Ideally someone can test 64-bit as well.
|
#25
|
|||
|
|||
I did use the V1 file and I am running the 64 bit version of Sage. I didn't want to install the 32 bit program over my 9.1.8 version. After I am satisfied the 64 bit version is stable I can install the 32 bit version if you like.
|
#26
|
|||
|
|||
Getting DLL functions working on 64-bit is actually easier since they standardized on the function calling syntax. It may be that the 32-bit version is still not working. If you’re feeling like helping that would be great but otherwise it looks like davidb has a 32-bit test setup. I’m surprised nobody ran into this for most of a year but it’s good to get the bugs ironed out.
|
#27
|
||||
|
||||
wnjj,
I downloaded the file again and yes it works! Sorry I must not have confirmed the second download and ended up trying the previous file only. The channel change on both tuners is working as well as sage exiting properly. Thanks for the fix! David Quote:
|
#28
|
|||
|
|||
That’s great news. I’ll get it into the main codebase when I get a little time. Thanks for the confirmation.
|
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Using DirecTV serial control cable on a USB port? | bstowers | Hardware Support | 8 | 07-05-2008 12:23 PM |
rca directv serial cable for cheap | berfsicle | General Discussion | 3 | 07-18-2005 12:14 PM |
Does anyone know, where can i find the (serial control cable) schematic, for directv? | underp | Hardware Support | 1 | 01-21-2005 03:01 PM |
DirecTV - changing channels with serial cable | jdbrown | SageTV Software | 24 | 09-23-2004 01:09 PM |
serial (low speed) cable to control RCA Directv Box? | padre | Hardware Support | 11 | 10-09-2003 09:52 AM |