[mythtv-users] ptune.pl user vs. root/mythtv

Nigel Croxon Nigel.Croxon at HP.com
Mon Aug 2 08:58:55 EDT 2004

Hello All,

Question about ptune.pl

When I run the program as a regular user, I get a different output and
the channel doesn't change.  When I run the program as 'root' or as
'mythtv' user, it works fine.  Log found below.  
My issue is, as I run the mythfrontend, it doesn't change the channel
for me.


:~$ ptune.pl 2
Frequency: 960 15.36
Setting msp matrix: input = 3, output = 1
:~$ su
# ptune.pl 2
Ch.2: 54000 864

:~$ sh -x ptune.pl 2
+ use strict
/usr/bin/ptune.pl: line 5: use: command not found
/usr/bin/ptune.pl: ptune.pl: line 7: syntax error near unexpected token
/usr/bin/ptune.pl: ptune.pl: line 7: `use Getopt::Long qw(:config
no_ignore_case bundling);'

:~$ head /usr/bin/ptune.pl
# $Header: /cvsroot/ivtv/ivtv/ivtv/utils/ptune.pl,v 1.12 2003/07/16
03:30:39 pcxuser Exp $
use strict;
use Getopt::Long qw(:config no_ignore_case bundling);
use Video::Frequencies;
use Video::ivtv 0.12;
use Config::IniFiles;

-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part
Url : http://mythtv.org/pipermail/mythtv-users/attachments/20040802/7bf0156b/attachment.pgp

More information about the mythtv-users mailing list