View unanswered posts    View active topics

All times are UTC - 6 hours





Post new topic Reply to topic  [ 6 posts ] 
Print view Previous topic   Next topic  
Author Message
Search for:
PostPosted: Mon Mar 08, 2004 2:11 pm 
Offline
Joined: Tue Oct 21, 2003 11:30 am
Posts: 188
Location: UK
I've just brought a new PVR-250 (in the UK) and its fitted with a Microtune tuner instead of the standard Philips one. No problem I thought, probably auto detected with R4V2 - whoops!

Using MythTV I can get a static/snowy picture but the card will never tune in :(

From my understanding, its the BTTV driver that controls the tuning and the IVTV driver for the picture data etc.

R4V2 is compiled with BTTV-0.9.12, and this new tuner is only available in version 0.9.13 - typical!

Its listed (in tuner.h) as TUNER_MICROTUNE_4049FM5 - card type 45.

This problem is simiar http://www.poptix.net/ivtv/Feb-2004/msg00151.html

Now, my question is, how do I install the newer BTTV-0.9.13?

I've downloaded it and make'd it but it complains about "unresolved symbols" in "bttv.o".

Looking at the documents it seems that a patch is needed for this kernel file - however, the R4V2 kernel is "v2.4.21-xfs" and the only patches for this file supplied by bttv are for "v2.4.22-xfs" - just my luck!

Any ideas? Is it worth trying to compile a new kernel?


Top
 Profile  
 
 Post subject:
PostPosted: Mon Mar 08, 2004 4:27 pm 
Offline
Joined: Tue Oct 21, 2003 11:30 am
Posts: 188
Location: UK
Actually think R4V2 is compiled with bttv-0.7.104 and not the version mentioned above :oops:


Top
 Profile  
 
 Post subject: Fixed it myself!
PostPosted: Wed Mar 10, 2004 12:29 pm 
Offline
Joined: Tue Oct 21, 2003 11:30 am
Posts: 188
Location: UK
Actually fixed this issue myself! :idea:

Followed some of the threads mentioned on the link above. I've installed a clean R4V2 release so you should have exactly the same file versions I have. What I did was.....

1 modify file /usr/src/kernel-source-2.4.21-xfs/drivers/media/video/tuner.c
add line 16: #include "audiochip.h"
add line 226: { "Microtune 4049 FM5",Microtune,PAL,
add line 227: 16*141.00,16*464.00,0xa0,0x90,0x30,0x8e,623},

2 modify file /usr/src/kernel-source-2.4.21-xfs/drivers/media/video/tuner.h
add line 68: #define TUNER_MICROTUNE_4049FM5 40

3 then
cd /usr/src/kernel-source-2.4.21-xfs
make modules (this will take some time!)
cp -f /usr/src/kernel-source-2.4.21-xfs/drivers/media/video/*.o /lib/modules/2.4.21-xfs/kernel/drivers/media/video/

4 edited my /etc/mythtv/modules/ivtv file to contain
alias char-major-81 videodev
alias char-major-81-0 ivtv
alias char-major-61 lirc_i2c
options ivtv ivtv_debug=1 tda9887=1
options tuner type=40
options tda9887
options msp3400 once=1 simple=1
add below ivtv msp3400 saa7115 tuner tda9887
add above ivtv lirc_dev lirc_i2c
post-install ivtv /usr/sbin/test_ioctl -d /dev/video0 -u 0xFF

5 extract existing version of ivtv
cd /usr/local/lib
tar xzvf ivtv-0.1.9+m179.tar
cd ivtv/driver/

6 edit file /usr/local/lib/ivtv/driver/ivtv-driver.c
add line 316: int tda9887 = -1
add line 329: MODULE_PARM(tda9887, "i");
add line 330: MODULE_PARM_DESC(tda9887, "\nEnable or disable tda9887 unit, 1 to enable");
add line 2175: if( tda9887 > -1) {
add line 2176: ivtv_call_i2c_client(itv,
add line 2177: IVTV_TDA9887_I2C_ADDR, AUDC_CONFIG_PINNACLE, &tda9887 );
add line 2180: }

7 edit file /usr/local/lib/ivtv/driver/ivtv.h
add line 43: #include "audiochip.h"
add line 160: #define IVTV_TDA9887_I2C_ADDR 0x43

8 build the new ivtv driver (following guide in http://mysettopbox.tv/phpBB2/viewtopic.php?t=223)
make clean
make
make install
cd ../utils
make

9 Finally
reboot

Sometimes on a power up of the PC, mythtv shows the picture tuned in okay but has horizontal stripes across the picture - any ideas about this?

Hope this helps others!


Top
 Profile  
 
 Post subject:
PostPosted: Sat May 08, 2004 4:50 am 
Offline
Joined: Fri Apr 23, 2004 4:01 am
Posts: 41
Thanks for that spit2k1!

I have a similar card, but it also has a different encoder chip (iVC16).

I got around this by installing ivtv-0.1.10pre2 with the latest Chris Kennedy patches. This allows capture from composite and S-video to work fine.

So on to the Microtune 4049 tuner. I would just apply your changes, but as I have a different ivtv, I can't tell where to make them.

So I wonder, should I
1) just install a 2.6.5 kernel to get the new bttv and re-apply my ivtv change? What is the drawback to this?
2) try to work out how to apply your changes to my version of ivtv?

Thanks in advance for any comments!

JohnO


Top
 Profile  
 
 Post subject: V4R3
PostPosted: Sat May 08, 2004 8:13 am 
Offline
Joined: Tue Oct 21, 2003 11:30 am
Posts: 188
Location: UK
I've just installed the V4R3 auto-upgrade and the card seems to work straight out of the box as it were.

Just had to change the tuner to type "5" PAL rather than the default NTSC!

I havent tried svideo or comp. yet though!


Top
 Profile  
 
 Post subject:
PostPosted: Sat May 08, 2004 2:00 pm 
Offline
Joined: Fri Apr 23, 2004 4:01 am
Posts: 41
Yeah, I also just found out that R4V3 has bttv0.9.x as standard, along with a 2.4.25 kernel and vfl2.

I think I'll just upgrade to R4V3 too, along with re-applying the latest ivtv and atchs - fingers crossed!

PS: I'm surprised you used tuner 5 (Phillips PAL) as that was already there in earlier bttv versions. I expected the solution to be a new tuner 43 (or thereabouts) specifically called the Microtune 4049.

Cheers,
JohnO


Top
 Profile  
 

Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 6 posts ] 


All times are UTC - 6 hours




Who is online

Users browsing this forum: No registered users and 1 guest


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