Re: [discussion] Frontend capable of reporting and supporting supported diseqc version

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

 



Hello Michel,

Michel Verbraak schrieb:
> A suggestion could be the following:
> 1. Add following values to enum fe_caps:
>       FE_CAN_DISEQC_1_0 = 0x1000000
>       FE_CAN_DISEQC_1_1 = 0x2000000
>       FE_CAN_DISEQC_1_2 = 0x4000000

you don't need to know about the "minor version number". If a frontend
supports _sending_ DiSEqC commands, then it supports 1.0, 1.1 and 1.2.
You can "probe" it by calling FE_DISEQC_SEND_MASTER_CMD and checking its
return value.

>       FE_CAN_DISEQC_2_0 = 0x8000000

If it also supports _receiving_ DiSEqC replies, then it supports 2.0,
2.1 and 2.2. You can check this by calling FE_DISEQC_RECV_SLAVE_REPLY. I
think none of the frontend drivers implements this ioctl for now.

Both ioctls return -EOPNOTSUPP if they are not implemented by the device.

The supported (or required) "minor version" solely depends on the
application controlling the device (mythtv, vdr...), and of course on
the attached hardware, i.e. switches and LNBs (x.0), cascaded switches
(x.1), and motors (x.2).

Regards,
Andreas

Attachment: signature.asc
Description: OpenPGP digital signature

_______________________________________________
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