[linux-dvb] PCI question (looking at Nebula DigiTV support)

Andrew de Quincey adq_dvb at lidskialf.net
Sat Apr 9 00:45:57 CEST 2005


On Friday 08 Apr 2005 22:37, Seb James wrote:
> Hello,
>
> The Nebula Electronics DigiTV card has Subsystem number 0071:0101, which
> identifies it to the bttv driver.
>
> Nebula Electronics have just swapped from the NXT6000 demod chip to the
> MT352, but the Subsystem number remains 0071:0101. Is there any way of
> auto detecting which frontend is in use, or will I need to give the
> kernel compiling user the option of compiling either for the v1 DigiTV
> or the v2?
>
> Thanks for any pointers on this.

When you call nxt6000_attach() (say) to attach the frontend, it will determine 
whether the device is really there or not. If it isn't NULL will be returned, 
so you can just try the next frontend on your list to see if it works.

Several of the drivers do this already : have a look in 
av7110.c/frontend_init() for an example.




More information about the linux-dvb mailing list