Mailing List archive

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

[linux-dvb] Re: DVB-Dec Hauppauge! DEC 3000-S (Technotrend)





Alex Woods wrote:
On Wednesday 28 Apr 2004 14:57, Johannes Stezenbach wrote:
  
Ernst Peinlich wrote:
    
--- ttusb_dec.c.org	2004-03-31 11:55:34.000000000 +0200
+++ ttusb_dec.c	2004-04-28 10:01:31.000000000 +0200
@@ -1659,7 +1659,7 @@
 			p->u.qam.symbol_rate);
 		dprintk("            inversion->%d\n", p->inversion);

-		freq = htonl(p->frequency * 1000 +
+		freq = htonl(p->frequency +
 		       (dec->hi_band ? LOF_HI : LOF_LO));
 		memcpy(&b[4], &freq, sizeof(u32));
 		sym_rate = htonl(p->u.qam.symbol_rate);
      
Thanks, I've comitted this to CVS.
    

Eesh, I thought it must be close, but this is a surprise ;)
Thanks, Ernst.

Can someone confirm what is and isn't working with the DEC 3000-s now, please, 
so I can update the documentation?

Cheers,
Alex
  
patch for get diseqc working.

i get unknown IOCTL (0xC0307653) ??

scan and szap is working, but vdr ends with "usb_control/bulk timeout"

Ciao
Ernst
--- ttusb_dec.c.org	2004-04-28 16:31:19.000000000 +0200
+++ ttusb_dec.c	2004-05-01 12:20:30.000000000 +0200
@@ -1687,9 +1687,15 @@
 		dprintk("%s: FE_INIT\n", __FUNCTION__);
 		break;
 
-	case FE_DISEQC_SEND_MASTER_CMD:
+	case FE_DISEQC_SEND_MASTER_CMD: { 
+		u8 b[8] = { 0x00, 0xff, 0x00, 0x00,
+			    0x00, 0x00, 0x00, 0x00 };
+		u8 *b1 = (u8 *)arg;
+		memcpy(&b[4],&b1[0],4);
 		dprintk("%s: FE_DISEQC_SEND_MASTER_CMD\n", __FUNCTION__);
+		ttusb_dec_send_command(dec, 0x72, 8, b, NULL, NULL);
 		break;
+	}
 
 	case FE_DISEQC_SEND_BURST:
 		dprintk("%s: FE_DISEQC_SEND_BURST\n", __FUNCTION__);

Home | Main Index | Thread Index