On Fri, Jul 19, 2013 at 07:42:29PM +0100, Richard Melville wrote:
> > I'm trying to use a BT878 video capture card with my BLFS system.
> > Unfortunately I chose, in a moment of parsimony, a cheap version that
> does
> > not have an eeprom.  This means that although I have added the correct
> > driver information to the kernel tree the card won't work.  The only way
> > I've been able to test it was to run Linux Mint from a USB flash drive
> and
> > create the following bttv.conf file to add to the Linux Mint
> > /etc/modprobe.d directory:-
> >
> > alias char-major-81 bttv
> > options bttv gbuffers=16 card=133,132,133,133 tuner=4,4,4,4
> > options i2c-algo-bit bit_test=1
> >
> > This forces the BTTV driver into the correct configuration.
> >
> > As I'd really like to maintain a static kernel, rather than a modular
> > version, does anybody know how I can add the above driver information
> > directly into the kernel tree so that I can keep my static kernel and not
> > have to bother with modules.
> >
> > Any help would be much appreciated.
> >
> > Richard
>
>  grepping for bttv in Documentation/kernel-parameters.txt suggests
> you might be in luck (it said something like "most important
> parameters" are available as boot args for this driver).
>
> ?en
>
> Thanks Pierre, Ken and Wayne for the help.  Sorry for the tardy response
from me but I've just returned from a long weekend away.

Ken, I really should read the kernel documentation more often :-)  That was
spot-on.  I've now got the card to work by adding the above card values,
each prepended with "bttv.", to the kernel boot options.  The "disable
test" command works in a similar way -- i2c-algo-bit.bit_test=1
(unnecessary to get the card working but it does speed up the boot time
enormously). The first command -- char-major-81 -- is not needed as the
driver is always ascribed with this value.

Thanks again for all the help.

Richard
-- 
http://linuxfromscratch.org/mailman/listinfo/blfs-support
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page

Reply via email to