Re: Problems with Hauppauge DEC3000-s

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi

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:
SET_TONE(off), SET_VOLTAGE, SEND_DISEQC_MSG, SEND_BURST, SET_TONE.
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.
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,
 };
_______________________________________________

linux-dvb@xxxxxxxxxxx
http://www.linuxtv.org/cgi-bin/mailman/listinfo/linux-dvb

[Index of Archives]     [Linux Media]     [Video 4 Linux]     [Asterisk]     [Samba]     [Xorg]     [Xfree86]     [Linux USB]

  Powered by Linux