diff options
author | Alex Woods <devnull@localhost> | 2004-05-02 16:30:56 +0000 |
---|---|---|
committer | Alex Woods <devnull@localhost> | 2004-05-02 16:30:56 +0000 |
commit | a9135ebb9e7ffd0934fa6e9bd6b0a0a4e5ff912d (patch) | |
tree | 0de4b6c6082e952a9c6e3e86b7bb53ec031632a6 /linux/drivers/media/dvb | |
parent | 5476dcd7e3a7e5e361fd0805590952e7e071296a (diff) | |
download | mediapointer-dvb-s2-a9135ebb9e7ffd0934fa6e9bd6b0a0a4e5ff912d.tar.gz mediapointer-dvb-s2-a9135ebb9e7ffd0934fa6e9bd6b0a0a4e5ff912d.tar.bz2 |
DiSEqC for 3000-s
Update docs accordingly
Diffstat (limited to 'linux/drivers/media/dvb')
-rw-r--r-- | linux/drivers/media/dvb/ttusb-dec/ttusb_dec.c | 11 |
1 files changed, 10 insertions, 1 deletions
diff --git a/linux/drivers/media/dvb/ttusb-dec/ttusb_dec.c b/linux/drivers/media/dvb/ttusb-dec/ttusb_dec.c index fa05a5bb9..de9d364a2 100644 --- a/linux/drivers/media/dvb/ttusb-dec/ttusb_dec.c +++ b/linux/drivers/media/dvb/ttusb-dec/ttusb_dec.c @@ -1687,9 +1687,18 @@ static int ttusb_dec_3000s_frontend_ioctl(struct dvb_frontend *fe, dprintk("%s: FE_INIT\n", __FUNCTION__); break; - case FE_DISEQC_SEND_MASTER_CMD: + case FE_DISEQC_SEND_MASTER_CMD: { + u8 b[] = { 0x00, 0xff, 0x00, 0x00, + 0x00, 0x00, 0x00, 0x00, + 0x00, 0x00 }; + struct dvb_diseqc_master_cmd *cmd = arg; + memcpy(&b[4], cmd->msg, cmd->msg_len); dprintk("%s: FE_DISEQC_SEND_MASTER_CMD\n", __FUNCTION__); + ttusb_dec_send_command(dec, 0x72, + sizeof(b) - (6 - cmd->msg_len), b, + NULL, NULL); break; + } case FE_DISEQC_SEND_BURST: dprintk("%s: FE_DISEQC_SEND_BURST\n", __FUNCTION__); |