Le vendredi 17 novembre 2006 à 23:24 +0100, Hans Verkuil a écrit :
> On Friday 17 November 2006 23:15, Nicolas Mailhot wrote:
> > Hi all,
> >
> > In case someone is interested, the following works for pvr150 with
> > the svideo input (svn 3585, linux 2.6.19-rc5-mm2) :
> >
> > 1. pretend you want to use blackbird (or tveeprom.ko won't be built)
>
> I always select Bt848. Note: there is a new option 'Autoselect
> encoders/decoders' in 2.6.19 which you need to unselect, then select
> the drivers underneath it. You can just select all, it won't hurt.
It sucks there's no TVEEPROM option there though
> > 2. touch linux/include/config.h (removed in 2.6.19-rc)
>
> Already fixed in ivtv-0.8 and trunk
It wasn't this morning (3583) :). Guess I need a new svn pull
> > 3. patch ivtv.c to use ilog2 (long_log2 removed from mm)
>
> Please provide patch.
Real stupid patch (probably only valid for mm now):
diff -uNr ivtv-b3585.orig/driver/ivtv-i2c.c ivtv-b3585/driver/ivtv-i2c.c
--- ivtv-b3585.orig/driver/ivtv-i2c.c 2006-11-17 22:46:10.000000000
+0100
+++ ivtv-b3585/driver/ivtv-i2c.c 2006-11-17 22:49:49.000000000
+0100
@@ -577,7 +577,7 @@
its i2c address or -ENODEV if no matching device was found. */
int ivtv_i2c_hw_addr(struct ivtv *itv, u32 hw)
{
- int i = long_log2(hw);
+ int i = ilog2(hw);
int id = 0;
if (i < ARRAY_SIZE(hw_driverids))
> > 4. truncate your firmware to the size ivtv now requires
>
> Use the firmware from www.ivtvdriver.org, it's already at the correct
> size.
>
> > (dd if=hcwfalcn.rom of=v4l-cx2341x-enc.fw bs=1024 count=256)
>
> But this works too.
I've scripted the whole thing for update convenience
unzip -j -C -LL hauppauge.exe "*.rom"
dd if=hcwfalcn.rom of=v4l-cx2341x-enc.fw bs=1024 count=256
install …
BTW has Hauppauge blessed this kind of redistribution ? This is what
distros will ask once ivtv is in vanilla kernel
Also I've just noticed something strange – if I add the magic lines to
modprobe.conf to autoload ivtv, system will load it before my sound card
driver, which will go bang. If I load ivtv manually later (or via a
modprobe line in rc.local) everything is fine.
Regards,
--
Nicolas Mailhot
_______________________________________________
ivtv-devel mailing list
[email protected]
http://ivtvdriver.org/mailman/listinfo/ivtv-devel