summaryrefslogtreecommitdiff
path: root/linux
diff options
context:
space:
mode:
authorAlex Woods <devnull@localhost>2004-05-02 16:30:56 +0000
committerAlex Woods <devnull@localhost>2004-05-02 16:30:56 +0000
commita9135ebb9e7ffd0934fa6e9bd6b0a0a4e5ff912d (patch)
tree0de4b6c6082e952a9c6e3e86b7bb53ec031632a6 /linux
parent5476dcd7e3a7e5e361fd0805590952e7e071296a (diff)
downloadmediapointer-dvb-s2-a9135ebb9e7ffd0934fa6e9bd6b0a0a4e5ff912d.tar.gz
mediapointer-dvb-s2-a9135ebb9e7ffd0934fa6e9bd6b0a0a4e5ff912d.tar.bz2
DiSEqC for 3000-s
Update docs accordingly
Diffstat (limited to 'linux')
-rw-r--r--linux/Documentation/dvb/contributors.txt2
-rw-r--r--linux/Documentation/dvb/ttusb-dec.txt7
-rw-r--r--linux/drivers/media/dvb/ttusb-dec/ttusb_dec.c11
3 files changed, 15 insertions, 5 deletions
diff --git a/linux/Documentation/dvb/contributors.txt b/linux/Documentation/dvb/contributors.txt
index 12026e933..dd40ad665 100644
--- a/linux/Documentation/dvb/contributors.txt
+++ b/linux/Documentation/dvb/contributors.txt
@@ -69,6 +69,8 @@ Andreas 'randy' Weinberger
Kenneth Aafløy <ke-aa@frisurf.no>
for adding support for Typhoon DVB-S budget card
+Ernst Peinlich <e.peinlich@inode.at>
+ for tuning/DiSEqC support for the DEC 3000-s
(If you think you should be in this list, but you are not, drop a
line to the DVB mailing list)
diff --git a/linux/Documentation/dvb/ttusb-dec.txt b/linux/Documentation/dvb/ttusb-dec.txt
index b8e24995c..485dab5ad 100644
--- a/linux/Documentation/dvb/ttusb-dec.txt
+++ b/linux/Documentation/dvb/ttusb-dec.txt
@@ -6,6 +6,8 @@ Driver Status
Supported:
DEC2000-t
+ DEC2450-t
+ DEC3000-s
Linux Kernels 2.4 and 2.6
Video Streaming
Audio Streaming
@@ -13,14 +15,11 @@ Supported:
Channel Zapping
Hotplug firmware loader under 2.6 kernels
-In Progress:
- DEC2540-t
- DEC3000-s
-
To Do:
Tuner status information
DVB network interface
Streaming video PC->DEC
+ Conax support for 2450-t
Getting the Firmware
--------------------
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__);