View unanswered posts    View active topics

All times are UTC - 6 hours





Post new topic Reply to topic  [ 26 posts ] 
Go to page 1, 2  Next

Print view Previous topic   Next topic  
Author Message
Search for:
PostPosted: Fri Jan 12, 2007 7:34 pm 
Offline
Joined: Sat May 06, 2006 8:20 am
Posts: 41
Location: Sydney, Oz
Hi guys,

Going nuts here ! :)

I bought a PVR-350 as I thought it would be a simple case of adding it to the system, boot up, answer some questions and done.

It always has been, except from the fact when it scans for channels it finds nothing! I have a coax cable plugged into it that definitely is transmitting a signal. I choose to use Tuner as the source.

I followed a few guides on selecting source, inputs etc.

2 things from this.

1) could it be that I am in a PAL country and need to set something ?
2) How can I trouble shoot this easily ? How can I get back to the TV card set up to scan for channels again once I have left that section of Knoppmyth ? A reboot doesnt get me there.

Thanks in advance for any responses.


Top
 Profile  
 
 Post subject:
PostPosted: Fri Jan 12, 2007 8:07 pm 
Offline
Joined: Thu Mar 25, 2004 11:00 am
Posts: 9551
Location: Arlington, MA
See this wiki page. It's the central troubleshooting reference for tuner issues. http://www.knoppmythwiki.org/index.php?page=BlackScreenWatchingTV


Top
 Profile  
 
 Post subject:
PostPosted: Fri Jan 12, 2007 10:46 pm 
Offline
Joined: Sat May 06, 2006 8:20 am
Posts: 41
Location: Sydney, Oz
Awesome!!

cheers


Top
 Profile  
 
 Post subject:
PostPosted: Sat Jan 13, 2007 10:35 am 
Offline
Joined: Sat May 06, 2006 8:20 am
Posts: 41
Location: Sydney, Oz
tjc wrote:
See this wiki page. It's the central troubleshooting reference for tuner issues. http://www.knoppmythwiki.org/index.php?page=BlackScreenWatchingTV


Followed that page. It just confirmed everything I did was correct.

Any further instructions ?

PS I found that I should set the confiig located at /etc/sysconfig/ivtv/cfg-0 to have IVTV_TYPE = to PAL. But hasn't seemed to make a difference.


Top
 Profile  
 
 Post subject:
PostPosted: Sat Jan 13, 2007 11:34 am 
Offline
Joined: Thu Mar 25, 2004 11:00 am
Posts: 9551
Location: Arlington, MA
That's broken due to this:
Quote:
10) Due to the use of a newer version of the ivtv drivers with full(?) v4l2 compliance, many settings which you used to be able to adjust with ivtvctl, must now be made using the v4l2-ctl utility. Run it with the --help option for a complete list of the command options.

Poke around with v4l2-ctl -d0 -Sl (-d1 for /dev/video1 etc.) to see how you card(s) are set up. If the card is set to the wrong standard I'll post a patched version of /etc/init.d/set_ivtv_params for you to try.


Top
 Profile  
 
 Post subject:
PostPosted: Sat Jan 13, 2007 11:53 am 
Offline
Joined: Sat May 06, 2006 8:20 am
Posts: 41
Location: Sydney, Oz
Video input : 1 (S-Video 1)
Video standard = 0x000000ff
PAL-B/B1/G/H/I/D/D1/K

Looks right apart from the S-Video part. I have coax plugged in, so Tuner is needed, is it not ?


Top
 Profile  
 
 Post subject:
PostPosted: Sat Jan 13, 2007 11:56 am 
Offline
Joined: Sat May 06, 2006 8:20 am
Posts: 41
Location: Sydney, Oz
Here's the top of /etc/init.d/set_ivtv_params

Code:
#!/bin/bash
#       Set the ivtv Parameters
########################################################################
IVTVCTL='ivtvctl'
IVTVDIR='/etc/sysconfig/ivtv'
#----------------------------------------------------------------------#
# Default values, if not specified in $IVTVDIR/cfg-*
IVTV_DT='0'             # Tuner input,
IVTV_DF='NTSC'          # tuner format [NTSC|PAL]



Looks different to what the command gave us.


Top
 Profile  
 
 Post subject:
PostPosted: Sat Jan 13, 2007 12:28 pm 
Offline
Joined: Thu Mar 25, 2004 11:00 am
Posts: 9551
Location: Arlington, MA
You're looking at the fallback for when nothing is specified under /etc/sysconfig/ivtv.

Try poking in a default input like this:
Code:
v4l2-ctl -d0 -i0

This should really be coming from your defaults in mythtv-setup. Have you gone through that for this card? Did you remember to setup an input connection for it?


Top
 Profile  
 
 Post subject:
PostPosted: Sat Jan 13, 2007 2:45 pm 
Offline
Joined: Sat May 06, 2006 8:20 am
Posts: 41
Location: Sydney, Oz
So I should edit "/etc/sysconfig/ivtv" ? "/etc/init.d/set_ivtv_params " is the fallback ? Where do i poke in "v4l2-ctl -d0 -i0 " in a terminal and then run the setup again ?


I did all that wiki said, which is what other tutorials said, so have done it a few times.


Top
 Profile  
 
 Post subject:
PostPosted: Sat Jan 13, 2007 3:57 pm 
Offline
Joined: Thu Mar 25, 2004 11:00 am
Posts: 9551
Location: Arlington, MA
DaveQB wrote:
So I should edit "/etc/sysconfig/ivtv" ? "/etc/init.d/set_ivtv_params " is the fallback ? Where do i poke in "v4l2-ctl -d0 -i0 " in a terminal and then run the setup again ?

The setting in the /etc/sysconfig/ivtv/cfg-0 file is what is used for video0. If there is nothing in that file it "falls back" to the default setting built into the set_ivtv_params script. What I was say was that if you've got it set in cfg-0, then the default in the script never gets used.

As for the v4l2-ctl command, yes, just run it in a shell/terminal session. It sets your card 0 to input 0 which should be the tuner.


Top
 Profile  
 
 Post subject:
PostPosted: Sat Jan 13, 2007 8:04 pm 
Offline
Joined: Sat May 06, 2006 8:20 am
Posts: 41
Location: Sydney, Oz
Ahh great thanks.

How come I have this in my /etc/sysconfig/ivtv/cfg-0

Code:
# IVTV_TUNER is the tuner input selection value,
#  if not set the Default of '0' will be used.
#IVTV_TUNER='0'


Yet v4l2-ctl -d0 -SI returns:
Code:
Video input : 1 (S-Video 1)


???


Last edited by DaveQB on Sun Jan 14, 2007 12:37 am, edited 1 time in total.


Top
 Profile  
 
 Post subject:
PostPosted: Sat Jan 13, 2007 8:25 pm 
Offline
Joined: Thu Mar 25, 2004 11:00 am
Posts: 9551
Location: Arlington, MA
Well, the # starts a comment, and the set_ivtv_params is not working in R5E50. That's why I suggested running that v4l2-ctl command by hand.

BTW - I've posted a patched version of set_ivtv_params in the R5E50 upgrade hints thread.


Top
 Profile  
 
 Post subject:
PostPosted: Sun Jan 14, 2007 1:21 am 
Offline
Joined: Sat May 06, 2006 8:20 am
Posts: 41
Location: Sydney, Oz
Still nothing when scanning. I don't believe it.

One would never need set_ivtv_params if they set /etc/sysconfig/ivtv/cfg-0

Correct ?

What next can I try ? Any logs anywhere giving back more feedback ? Should I set the --log-status argument to v4l2-ctl ?


Top
 Profile  
 
 Post subject:
PostPosted: Sun Jan 14, 2007 12:04 pm 
Offline
Joined: Thu Mar 25, 2004 11:00 am
Posts: 9551
Location: Arlington, MA
DaveQB wrote:
One would never need set_ivtv_params if they set /etc/sysconfig/ivtv/cfg-0

Correct ?

No. My explainer must be broken this wekend... :?

set_ivtv_params is the script (which just means an interpreted program) which runs when the system starts up to apply initial settings to all of your PVR cards.

/etc/sysconfig/ivtv/cfg-0 and it's siblings are configuration files which are used by that script. The script has builtin defaults which it uses if there are no settings in the config file for a particular card (cfg-0 for /dev/video0, cfg-1 for /dev/video1, and so on...).

If there is a setting in the config file the script uses that. If there is not a setting, it falls back to the default value built into the script.

Is this getting any clearer?


Top
 Profile  
 
 Post subject:
PostPosted: Sun Jan 14, 2007 6:00 pm 
Offline
Joined: Sat May 06, 2006 8:20 am
Posts: 41
Location: Sydney, Oz
tjc wrote:
Well, the # starts a comment, and the set_ivtv_params is not working in R5E50. That's why I suggested running that v4l2-ctl command by hand.

BTW - I've posted a patched version of set_ivtv_params in the R5E50 upgrade hints thread.


I think your explainer is in tack, its just me being thick and meticulous about this all.

I think it was this comment that had me thinking that the set_ivtv_params script was superfluous.

I'll try your patched script, thanks. But is it not possible to set all that this script sets with the v4l2 command ? I set it to use tuner 0 with your command and then did the channel scan [with backend shutdown] and still not a single channel.

Whats the best way to troubleshoot this ? A way to enable a more verbose output ?

I might try not using the tuner, but an external one and use the composite inputs perhaps....... :?


Top
 Profile  
 

Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 26 posts ] 
Go to page 1, 2  Next



All times are UTC - 6 hours




Who is online

Users browsing this forum: No registered users and 9 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Jump to:  
Powered by phpBB® Forum Software © phpBB Group

Theme Created By ceyhansuyu