|
SageTV for unRAID/Docker Discussion related to SageTV for unRAID/Docker. Questions, issues, problems, suggestions, etc. relating to SageTV for unRAID/Docker should be posted here. |
|
Thread Tools | Search this Thread | Display Modes |
#21
|
|||
|
|||
Quote:
The default PATH variable (where to look for executables) does not by default contain the current directory. So you can either: When in the /opt/sagetv/server/ directory: ./gentuner TUNE FW_dcx3200_3 005 Or use the full path: /opt/sage/server/gentuner TUNE FW_dcx3200_3 005 When you are tuning from within Sage itself, the plugin will always assume the program is at the full path of /opt/sagetv/server/gentuner. --John |
#22
|
|||
|
|||
Try running ./gentuner instead. You probably don't have '.' in your current $PATH variable.
|
#23
|
|||
|
|||
Thanks, guys. I didn't think that path would be an issue when executing from within the same directory. Sorry for the rookie mistake.
Well, that got me a step closer, but it looks like I'm missing something: # ./gentuner TUNE FW_dcx3200_3 005 Can't locate Getopt/Std.pm in @INC (you may need to install the Getopt::Std module) (@INC contains: /etc/perl /usr/local/lib/x86_64-linux-gnu/perl/5.22.1 /usr/local/share/perl/5.22.1 /usr/lib/x86_64-linux-gnu/perl5/5.22 /usr/share/perl5 /usr/lib/x86_64-linux-gnu/perl/5.22 /usr/share/perl/5.22 /usr/local/lib/site_perl /usr/lib/x86_64-linux-gnu/perl-base .) at ./gentuner line 41. BEGIN failed--compilation aborted at ./gentuner line 41. Will have a look at this later tonight as WAF would be very poor if I abandoned my wife to entertain our guests. Getting close, and I really appreciate the help. Shaun |
#24
|
|||
|
|||
Quote:
Quote:
Try this in the container: apt-get install perl-modules-5.22 --John |
#25
|
|||
|
|||
Quote:
Cheers, Shaun |
#26
|
|||
|
|||
Sorry as I am coming to this thread late and I haven't read it too closely, but I didn't need gentuner at all. Once I was using the DVB edition of unRAID which has the FireWire drivers enabled, the FireWire was available directly in the source setup tuners for SageTV for unRAID. I am using SA3250HD or SA4250HD boxes.
__________________
New Server - Sage9 on unRAID 2xHD-PVR, HDHR for OTA Old Server - Sage7 on Win7Pro-i660CPU with 4.6TB, HD-PVR, HDHR OTA, HVR-1850 OTA Clients - 2xHD-300, 8xHD-200 Extenders, Client+2xPlaceshifter and a WHS which acts as a backup Sage server |
#27
|
|||
|
|||
Quote:
The good news is that the panelctl tuning application seems to work perfectly when used from the command line, and I think I now have a properly-configured gentuner script to connect the plugin to panelctl. Unfortunately, we have run into a number of missing components in the Docker container that have delayed success. Once we determine all of what is missing, I'm hoping that we can try to get these included in a future build of the SageTV docker image. All that said, if you happen to know anything about how the Firewire Tuner Plugin works, I'd be interested in hearing it. I'm sure that only a small change is needed to make it work for the Motorola STBs. Cheers, Shaun |
#28
|
|||
|
|||
Quote:
Okay, that allowed a bit of additional progress, and then: # ./gentuner TUNE FW_dcx3200_3 005 System call failed: /usr/local/bin/panelctl -g 0xfe47e18a 005 I checked in /usr/bin, and panelctl is present there: # pwd /usr/bin # find -name panelctl ./panelctl Not sure why this failed, unfortunately. Would appreciate any thoughts. Thanks, Shaun |
#29
|
|||
|
|||
Hey Shaun,
I have good news. I tackled this problem over a year ago when no one had a solution. I have been happily using firewire tuning for over a year now with Motorola STBs. I replaced the SA STBs code with Motorola code from both 6200ch.c and panelctl.c sources. Until your post, it appeared that no one else besides myself used Motorola STBs so I never got around to posting this. This is a drop in replacement for the FirewireTuner.so library file. Follow the 3 steps below:
I have no knowledge of Java but maybe someone with some knowledge can add a configuration option to select the type/brand of STB in the future. I have attached the two files in a zip file. It's been over a year so if I missed anything or if you have any issues, let me know! Enjoy Last edited by c5davey; 03-04-2019 at 10:24 PM. |
#30
|
|||
|
|||
c5davey,
Thanks for the update! Glad you could make Shaun's life easier! Could you post your code changes as well? I'm not sure whether they could be included in the main Sage repo or not (or as you mentioned maybe even merged into a single plugin with some UI additions), but it would be great if the changes are available in case someone wanted to tackle that. Thanks again! --John |
#31
|
|||
|
|||
Quote:
I'll give this a try tomorrow night, and will report back. Cheers, Shaun |
#32
|
|||
|
|||
Well, I couldn't wait, so I applied the changes and ran a test. It worked flawlessly, so sincere thanks to C5davey for the solution. You made it so simple for novices like me.
Also, I'd like to express my huge appreciation for all those who were willing to help me reduce the amount of fumbling around I was doing in Linux, with special mention going to John (jpwegas) for all his help and patience. I really can't thank you all enough for helping to get me started. Now, I have a bunch of testing to do, and then I will update Wayner's thread with the details as I know there were a couple of people there who were seeing the same Motorola-related issue. Cheers, Shaun |
#33
|
||||
|
||||
Quote:
2 different directories The pgm was looking in /usr/local/bin You were checking /usr/bin |
#34
|
|||
|
|||
Quote:
That's true! Thanks, Shaun |
#35
|
|||
|
|||
Quote:
Thanks this is great... I finally have my DXC3200's HDPVR's and Firewire tuning all running in a Docker. SageTV is still alive! |
#36
|
|||
|
|||
Quote:
I know when I did FireWire tuning in Windows there were a few text files and registry entries invovled and there was some opportunity to control the command being sent. With this Linux setup i'm unsure how it all works and if there is any opportunity to do so. Thanks everyone! |
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
FireWire in unRAID How-to | wayner | SageTV for unRAID/Docker | 66 | 01-04-2021 11:46 PM |
What's the solution to tuning multiple boxes in unRAID? | wayner | SageTV for unRAID/Docker | 0 | 02-04-2017 11:36 AM |
unRAID with HD-PVR, Firewire and/or USB-UIRT | wayner | SageTV for unRAID/Docker | 15 | 02-01-2017 05:44 PM |
Firewire tuning and 64 bit OS | UgaData | Hardware Support | 3 | 11-13-2009 12:51 PM |
SA4250 and Firewire tuning? | pat_smith1969 | Hardware Support | 1 | 07-12-2008 11:12 AM |