LinHES Forums
http://forum.linhes.org/

KnoppMyth-run always sets to NTSC/Can't switch channel
http://forum.linhes.org/viewtopic.php?f=11&t=151
Page 1 of 1

Author:  voltCraft [ Fri Nov 21, 2003 5:48 pm ]
Post subject:  KnoppMyth-run always sets to NTSC/Can't switch channel

Now on my box is running KnoppMyth and I've to say: it's quite cool! But I've two problems:
The first one is, when I run 'KnoppMyth-run' test_ioctl sets the TV Standard to NTSC but during the boot the standard was correctly set to PAL (set in /etc/sysconfig/ivtv/cfg-0), mythfrontend uses PAL.... - Maybe a bug?
What does KnoppMyth-run, can I use mythfrontend instead of it the?
The secound thing is that I can't change channels with mythtv - ptune.pl works well... The problem is that I live in Austria an the de_xmltv_grap is broken so I've to use the tvmoviefetch script (generates a xmltv flat-file), I filled the database with mythfilldatabase 1 -1 all.xml, then I entered my channels and frequencies. I get following when I want to switch to the next channel:

Channel: '' was not found in the database.
Most likely, the default channel set for this input
(1 Tuner 0 )
in setup is wrong
Error, couldn't find any available channels.
Your database is most likely setup incorrectly.

I can't find the problem, this is the content of my database:
select name, chanid, channum, freqid, sourceid from channel;
+----------------------+--------+---------+--------+----------+
| name | chanid | channum | freqid | sourceid |
+----------------------+--------+---------+--------+----------+
| ZDF | 1000 | 22 | 479 | 1 |
| MTV | 1001 | SE20 | 294 | 1 |
| arte | 1002 | 21 | 471 | 1 |
| Bayern | 1003 | 54 | 735 | 1 |
| Sat 1 | 1004 | 44 | 655 | 1 |
| ARD | 1005 | 26 | 511 | 1 |
| ORF 2 | 1006 | E11 | 217 | 1 |
| EuroSport | 1007 | 27 | 519 | 1 |
| VOX | 1008 | SE12 | 238 | 1 |
| DSF | 1009 | 60 | 738 | 1 |
| Super RTL | 1010 | 23 | 187 | 1 |
| Home Shopping Europe | 1011 | 25 | 503 | 1 |
| Pro 7 | 1012 | 56 | 751 | 1 |
| Kabel 1 | 1013 | 42 | 639 | 1 |
| VIVA | 1014 | 28 | 527 | 1 |
| MDR | 1015 | SE19 | 287 | 1 |
| n-tv | 1016 | SE16 | 266 | 1 |
| RTL 2 | 1017 | 52 | 719 | 1 |
| Ki.Ka | 1018 | SE15 | 259 | 1 |
| 3sat | 1019 | 50 | 703 | 1 |
| ORF 1 | 1020 | E7 | 189 | 1 |
| TW1 | 1021 | 30 | 543 | 1 |
| RTL | 1022 | 48 | 687 | 1 |
+----------------------+--------+---------+--------+----------+
23 rows in set (0.00 sec)

select cardinputid,cardid,sourceid,inputname from cardinput;
+-------------+--------+----------+-----------+
| cardinputid | cardid | sourceid | inputname |
+-------------+--------+----------+-----------+
| 2 | 1 | 1 | Tuner 0 |
+-------------+--------+----------+-----------+
1 row in set (0.00 sec)
--> Why is my cardinputid 2? Maybe the solution?

select * from videosource;
+----------+----------+--------------+--------+
| sourceid | name | xmltvgrabber | userid |
+----------+----------+--------------+--------+
| 1 | TV-Movie | tv_grab_de | |
+----------+----------+--------------+--------+
1 row in set (0.00 sec)
--> Should I change the xmltvgrabber to tvmoviefetcher?

What else can I do to change channels? Help ;)
I hope some can help me with this **** problem ....

Thanks,
René[/b]

Author:  cesman [ Fri Nov 21, 2003 7:22 pm ]
Post subject: 

Take a look at /etc/init.d/set_ivtv_params change the default to PAL. As far as teh channel changing problem, sorry I cannot be of help. Check the MythTV archive to see what other are doing.

cesman

Author:  voltCraft [ Sat Nov 22, 2003 6:27 am ]
Post subject: 

Thank you for your fast answer, KnoppMyth-run is running now! And I can change channels, my fault was that I wrote to the channum my frequencies ;) *grr* !
But I didn't find a config file where I can set up my msp matrix, I wrote in the /etc/init.d/set_ivtv_params following:
$IVTVCTL -d /dev/video$f -u $IVTV_TYPE
$IVTVCTL -d /dev/video$f -p ${IVTV_TUNER:-${IVTV_DT}}
$IVTVCTL -d /dev/video$f -f width=640,height=496
$IVTVCTL -v input=7,output=1
$IVTVCTL -d /dev/video$f -c dnr_mode=0,dnr_temporal=0
But every time when I switch to another channel the MSP Matrix is set back to 1/1, where can I config this?
Only one last question to you: Is there a way to play webradio with mythmusic?

Thanks! Rene!
mythtv & KnoppMyth are soo cool ;)

Author:  floek [ Sat Nov 29, 2003 3:41 am ]
Post subject: 

Hi voltCraft,
can you post your /etc/mythtv/modules/ivtv ?
I have the same problem with channel switching. I found somewhere, you have to change the standard option of the msp3400 module, but I haven't found the correct value for my german/pal version of the pvr250.

I have also the same problem with the blank screen at the first startup.
I'm starting a script through ~/.fvwm/.fvwmrc wich executes the following commands:
test_ioctl -p 4
ptune.pl -c E2
test_ioctl -v input=7,output=1

But this doesn't help. If I execute the same script manually from the shell it's OK. (=> TV works, channel switching works, but no sound)

Any suggestions? (and your module config please :) )

Floek

Author:  voltCraft [ Mon Dec 01, 2003 8:51 am ]
Post subject: 

floek wrote:
can you post your /etc/mythtv/modules/ivtv ?

Here you are:
Tuner type 5 is the correct one (look at the ivtv faq)
---------------------------------------------------
alias char-major-81 videodev
alias char-major-61 lirc_i2c
options ivtv debug=1
options tuner type=5
options msp3400
add below ivtv msp3400 saa7115 tuner
add above ivtv lirc_dev lirc_i2c
---------------------------------------------------
floek wrote:
I have the same problem with channel switching. I found somewhere, you have to change the standard option of the msp3400 module, but I haven't found the correct value for my german/pal version of the pvr250.

I have also the same problem with the blank screen at the first startup.
I'm starting a script through ~/.fvwm/.fvwmrc wich executes the following commands:
test_ioctl -p 4
ptune.pl -c E2
test_ioctl -v input=7,output=1

I did this in the /etc/init.d/set_ivtv_params Initscript:
$IVTVCTL -v input=7,output=1
sleep 3
$IVTVCTL -v input=7,output=2

Now I have sound! ;)
The problem is that I have to change the tuner input via pressing "C" on the Keyboard to get Live TV. When I record a movie mythtv changes the tuner input correctly, no idea why it doesn't work with Live TV...
All in all my myth-box is working now, but I have another strange problem:
When I set the resulution to low (480x480 f.e.) my picture is jumping a little bit, like in very old movies... Does anyone else notice this problem? My solution was to set the resulution to the maximum (720x576).
It would be perfect if anyone could give me a hint how to listing to webradio with mythmusic.
Maybe I will write a guide to use Knoppmyth/Mythtv in Germany/Austria because there are few hints to notice (another xmltv-prog, modify the msp matrix, set the tuner inputs, ...)

Hope I helped you,
René

Author:  floek [ Tue Dec 02, 2003 12:13 am ]
Post subject: 

Thanx for reply.
OK. So you've got no special options.
The inut problem is caused by xawtv started in the KnoppMyth-run script.
I'm now just starting mythfrontend alone. Look at this thread:
http://mysettopbox.tv/phpBB2/viewtopic.php?p=884#884

The sound issue is solved, too. Don't know why, but it works now.

I do just a $IVTVCTL -v input=7,output=1 in /etc/init.d/set_ivtv_params.

I don't have the resolution problem. But I also use the full resolution now...

Page 1 of 1 All times are UTC - 6 hours
Powered by phpBB® Forum Software © phpBB Group
http://www.phpbb.com/