[linux-dvb] Problems with Hauppauge DEC3000-s

Peter Beutner p.beutner at gmx.net
Fri Apr 7 16:21:07 CEST 2006


Jens Krehbiel-Gräther schrieb:
> Hi Peter!
>> hmm seems the read_status command works different than with the 
>> dec2000t device.
>> Could you try the attached patch?
> I applied the patch to the actual version of v4l-dvb drivers and loaded 
> it in debug-mode.
> Now the output in the syslog by plugging in the DEC3000-s is the following:
> [snip]
That's fine so far.

> The syslog-etnry while scanning is the following:
> [snip]
hrm, turned out to be a rather dumb bug. When dvbscan prepares the tuning it does:
Because the driver doesn't implemenent the send_burst method, dvbscan errors out 
_before_ setting the tone, which results tuning to the wrong frequency ...
Try the attached patch, which implements a dummy send_burst function.

>>> When I plugged it into my linux box and the modules where loaded I could
>>> not change anything with the remove control on the reciever any more.
>>> Even I could not turn it off! I must pull out the power supply to get it
>>> back running standalone again!!
>> dvb-apps includes a program to reset the device to standalone mode.
> Do you know the command?
ttusb_dec_reset (in dvb-apps/utils).
You need libusb in order to compile and use it.
-------------- next part --------------
diff -r a0c636ae2d1a linux/drivers/media/dvb/ttusb-dec/ttusbdecfe.c
--- a/linux/drivers/media/dvb/ttusb-dec/ttusbdecfe.c	Wed Apr  5 16:39:19 2006 -0300
+++ b/linux/drivers/media/dvb/ttusb-dec/ttusbdecfe.c	Fri Apr  7 15:26:27 2006 +0200
@@ -155,6 +155,11 @@ static int ttusbdecfe_dvbs_diseqc_send_m
 	return 0;
+static int ttusbdecfe_dvbs_send_diseqc_burst(struct dvb_frontend* fe, fe_sec_mini_cmd_t burst)
+	/* nothing todo */
+	return 0;
 static int ttusbdecfe_dvbs_set_tone(struct dvb_frontend* fe, fe_sec_tone_mode_t tone)
@@ -280,6 +285,7 @@ static struct dvb_frontend_ops ttusbdecf
 	.read_status = ttusbdecfe_read_status,
 	.diseqc_send_master_cmd = ttusbdecfe_dvbs_diseqc_send_master_cmd,
+	.diseqc_send_burst = ttusbdecfe_dvbs_send_diseqc_burst,
 	.set_voltage = ttusbdecfe_dvbs_set_voltage,
 	.set_tone = ttusbdecfe_dvbs_set_tone,

More information about the linux-dvb mailing list