View previous topic :: View next topic |
Author |
Message |
Robert K. Tux's lil' helper
Joined: 24 Oct 2002 Posts: 95 Location: Berlin
|
Posted: Fri Apr 15, 2005 9:24 am Post subject: Patch for bttv: Twinhan DST + Kernel >2.6.10rc2 |
|
|
Hi,
In Kernel bigger 2.6.10rc2 the bttv module freezes the system, when loading as example in combination with the Twinhan DVB-T (DST-Clones) Card.
I found this Patch on Mailing-List from linuxtv.org
Code: | --- bttv-cards.c.orig 2005-04-04 16:27:34.000000000 +0400
+++ bttv-cards.c 2005-04-04 16:26:41.000000000 +0400
@@ -2718,8 +2718,6 @@ void __devinit bttv_init_card2(struct bt
}
btv->pll.pll_current = -1;
- bttv_reset_audio(btv);
-
/* tuner configuration (from card list / autodetect / insmod option) */
if (UNSET != bttv_tvcards[btv->c.type].tuner_type)
if(UNSET == btv->tuner_type)
|
save it as /usr/src/linux/drivers/media/video/bttv-cards.c.bin
then change in above directory and execute
patch -p0 <bttv-cards.c.bin
Recompile Kernel and hopefully it works now
Regards
Robert
Last edited by Robert K. on Thu Apr 28, 2005 6:22 pm; edited 2 times in total |
|
Back to top |
|
|
Auka Tux's lil' helper
Joined: 01 Jul 2002 Posts: 110 Location: Germany
|
Posted: Sun Apr 17, 2005 10:11 am Post subject: |
|
|
Great! My card stopped working with the 2.6.9x series. I'll have to try this patch as soon as I can find a bit of free time...
I'll include a link to your posting in my TwinHan HowTo if you don't mind. |
|
Back to top |
|
|
Robert K. Tux's lil' helper
Joined: 24 Oct 2002 Posts: 95 Location: Berlin
|
Posted: Sun Apr 17, 2005 10:43 am Post subject: |
|
|
Auka wrote: | Great! My card stopped working with the 2.6.9x series. I'll have to try this patch as soon as I can find a bit of free time...
I'll include a link to your posting in my TwinHan HowTo if you don't mind. |
You can use it. I've made a mistake. The Patch is for Kernel >2.6.10rc2. So I corrected this in my above Posting. It's tested to work with different 2.6.10/2.6.11 Kernels.
Original-Thread at linuxtv.org
http://www.linuxtv.org/pipermail/linux-dvb/2005-April/001191.html |
|
Back to top |
|
|
harijay n00b
Joined: 08 Jan 2004 Posts: 22
|
Posted: Thu Apr 28, 2005 12:32 pm Post subject: bttv 2005.0 2.6.11-r6 kernel |
|
|
Hi I got my Hauppage WINTV card working ( the cheap $30 one ..I think it is the WIn-TV Go) with 2.6.11-r6 kernel.
It took me a few days to figure out what was going on
PROBLEMS:
1 ) COuld not find bttv module in gentoo-sourcess..i.e make menuconfig did not show it anywhere..
SOLUTION:
I had forgotten to TURN ON
I2C SUPPORT
support for my chipset under I2C support ( found by lspci -v ..it was a via chipset..in my case)
ANd support for
I2C algo bit ( turn both types on and compile into the kernel )
2) Once I did this , the bttv modules shows up under Multimedia-Video for linux..
I selected this module and deselected the CX88 module .
ALl Modules i.e I2C supprt, I2C algo bit and the bttv modules were compiled directly into the kernel.
When I did these..The warnings during compile dissapeared and everything now works..
Hope this helps
HJ
Also see
http://tldp.org/HOWTO/BTTV/hw.html#RECOMPILE
which says
You will need i2c subsystem support enabled as well as i2c-algo-bit
Too bad the Video for linux section in makemenuconfig does not forewarn us of this requirement.. |
|
Back to top |
|
|
Alexandr n00b
Joined: 06 Sep 2005 Posts: 11 Location: Ukraine
|
Posted: Mon Apr 17, 2006 7:46 pm Post subject: problem... |
|
|
# patch -p0 <bttv-cards.c.bin
Code: | patching file bttv-cards.c
Hunk #1 FAILED at 2718.
1 out of 1 hunk FAILED -- saving rejects to file bttv-cards.c.rej |
# more bttv-cards.c.rej
Code: | ***************
*** 2718,2725 ****
}
btv->pll.pll_current = -1;
- bttv_reset_audio(btv);
-
/* tuner configuration (from card list / autodetect / insmod option) */
if (UNSET != bttv_tvcards[btv->c.type].tuner_type)
if(UNSET == btv->tuner_type)
--- 2718,2723 ----
}
btv->pll.pll_current = -1;
/* tuner configuration (from card list / autodetect / insmod option) */
if (UNSET != bttv_tvcards[btv->c.type].tuner_type)
if(UNSET == btv->tuner_type) |
System uname: 2.6.15-gentoo-r5 x86_64 AMD Athlon(tm) 64 Processor 3200+
damn... don't work for me... any ideas?.. |
|
Back to top |
|
|
Alexandr n00b
Joined: 06 Sep 2005 Posts: 11 Location: Ukraine
|
|
Back to top |
|
|
|