[linux-dvb] [discussion] Frontend capable of reporting and supporting supported diseqc version

Andreas Oberritter obi at linuxtv.org
Tue Dec 12 01:15:35 CET 2006


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

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 189 bytes
Desc: OpenPGP digital signature
Url : http://www.linuxtv.org/pipermail/linux-dvb/attachments/20061212/d84a4a75/signature.pgp


More information about the linux-dvb mailing list