Hi all,
I modified the DiSEqC ioctl's to FE_DISEQC_SEND_MASTER_CMD and
FE_DISEQC_RECV_SLAVE_REPLY so that we can handle two-way DiSEqC 2.0.
Anyway, I don't have a device here where I can implement and test this...
You can get the complete header file from the NEWSTRUCT branch, here the
DiSEqC 2.0 related snippets:
------------------------------------------------------------------
struct dvb_diseqc_master_cmd {
uint8_t msg [6]; /* { framing, address, command, data
[3] } */
uint8_t msg_len; /* valid values are 3...6 */
};
struct dvb_diseqc_slave_reply {
uint8_t msg [4]; /* { framing, data [3] } */
uint8_t msg_len; /* valid values are 0...4, 0 means no
msg */
int timeout; /* return from ioctl after timeout ms
with */
}; /* errorcode when no message was
received */
#define FE_DISEQC_SEND_MASTER_CMD _IOW('o', 63, struct
dvb_diseqc_master_cmd)
#define FE_DISEQC_RECV_SLAVE_REPLY _IOW('o', 64, struct
dvb_diseqc_slave_reply)
--
Info:
To unsubscribe send a mail to [EMAIL PROTECTED] with "unsubscribe linux-dvb" as
subject.