[linux-dvb] Two card config question
abraham.manu at gmail.com
Mon Oct 31 10:04:41 CET 2005
Philip Prindeville wrote:
> Michael Krufky wrote:
>> Jon Burgess wrote:
>>> Philip Prindeville wrote:
>>>> Michael Krufky wrote:
>>>> install bttv0 /sbin/modprobe --ignore-install bttv &&
>>>> /sbin/modprobe dvb-bt8xx && /sbin/modprobe dst
>>>> install bttv1 /sbin/modprobe --ignore-install bttv &&
>>>> But that doesn't work... or at least, not automatically at boot.
>>>> I have to run
>>>> "modprobe bttv0" and then "modprobe bttv1"... I suppose there's an
>>>> way to fix that, such as:
>>> I think the reason it doesn't work is that the "modprobe bttv"
>>> creates both the bttv0 & bttv1 devices, hence only one of your two
>>> "install bttvX" lines ever gets executed. You could try having just
>>> a single line which does everything:
>>> install bttv /sbin/modprobe --ignore-install bttv && /sbin/modprobe
>>> dvb-bt8xx && /sbin/modprobe dst && /sbin/modprobe cx88-dvb &&
>>> /sbin/modprobe cx8800
>> cx88-dvb depends on cx8802, which depends on cx8800 which depends on
>> so, the && logic above is incorrect, and irrelevant... all that must
>> be modprobe'd is cx88-dvb ... it will automatically load all of its
> Still not clear... I was thinking about the "bttv" options... If one
> of the
> invocations of bttv requires:
> options bttv0 card=113 i2c_hw=1
> but the other invocation of bttv requires:
> options bttv1 card=112
> (with no "i2c_hw=1" parameter), how does one break those out?
when you specify card=113, i2c_hw=1 is assumed by newer changes in bttv
as i can see. So you need not explicitly state i2c_hw=1, unless there
have been changes to bttv again. Can't state that for sure, since bttv
undergoes changes every now and then.
so that would mean you can pass arguments like bttv card=113 card=112,
these will mean card0, card1 etc.
More information about the linux-dvb