How to runtime-detect S2API kernel?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi list,


Is there an official safe way to detect S2API capable DVB drivers at 
runtime, so that a program compiled against S2API headers can check for 
S2API drivers and switch to old API otherwise?

Does it work to call FE_HAS_EXTENDED_CAPS? Do all old drivers return 
this flag under the new API, or only S2API-aware drivers?

Or is it better to call FE_SET_PROPERTY with num=0 commands? Does this 
always return success under S2API?


Cheers,

Udo

_______________________________________________
linux-dvb mailing list
linux-dvb@xxxxxxxxxxx
http://www.linuxtv.org/cgi-bin/mailman/listinfo/linux-dvb

[Index of Archives]     [Linux Media]     [Video 4 Linux]     [Asterisk]     [Samba]     [Xorg]     [Xfree86]     [Linux USB]

  Powered by Linux