[mythtv-users] 0.25: since 10 days PVR-500 fails to tune?

Herman Kuiper herman at frontier.nl
Wed Jun 1 17:17:22 UTC 2011


> What kind of surprises me is:
>
>> 2011-05-31 21:46:28.023 V4LChannel(/dev/video1) Error: GetCurrentChannelNum(784000): Failed to find Channel
>
> where a frequency appears to go into a function related to channel
> *numbers*?

Hmmm, strange. Looking through the code it seems it expecting *just* a 
frequency-id. So as a test, I changed the frequency table from 
'europe-west' into 'try-all' (as 784000 seems to be in 'try-all' only in 
frequencies.c) and changed the 784000 to 705 for that channel. 
Lo-and-behold:

2011-06-01 19:03:00.695 DTVChan(/dev/video1): SetChannelByString(1)
2011-06-01 19:03:00.695 V4LChannel(/dev/video1): SetFormat(Default) 
fmt(PAL) input(2)
2011-06-01 19:03:00.695 Channel(/dev/video1)::Tune(705): 
curList[704].freq(748000)
2011-06-01 19:03:00.695 V4LChannel(/dev/video1): Tune(748000000, )
2011-06-01 19:03:00.712 Channel(/dev/video1)::Tune(): Frequency is now 
748000000
2011-06-01 19:03:00.712 DTVChan(/dev/video1): SetChannelByString(1) success

Now I'm *very* sure this worked with actual frequencies before...

'git blame v4lchannel.cpp' shows that Daniel Kristjansson changed (a.o.) 
the Tune function on May 11, in commit 9b22460f. The commit message 
mentions "This will probably cause some regressions" :-)

I really don't have a problem with changing all the frequencies into 
id's but maybe it is better to submit a bug for this?

	Herman

-----------------------------------------------------------------
Herman Kuiper - m: herman at frontier.nl - w: http://www.frontier.nl
Parklaan 32 - 2011 KW  Haarlem - tel/fax: 023-5155103/020-6142816


More information about the mythtv-users mailing list