Re: [hg:v4l-dvb] Enable DiSEqC in Starbox II (vp7021a)

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

 



Argh! What mess this commit did??? Patrick SOB were missed, and it went
into the mailing lists...

Patrick, I'll fix it at -git.

Cheers,
Mauro.

Em Sex, 2007-05-04 às 15:50 +0200, Patch from Pat Erley escreveu:
> The patch number 5602 was added via Mauro Carvalho Chehab <mchehab@xxxxxxxxxxxxx>
> to http://linuxtv.org/hg/v4l-dvb master development tree.
> 
> Kernel patches at this development tree might be modified to keep backward
> compatibility with older kernels. Those compatibility stuff will be removed
> during preparation to be included at kernel mainstream.
> 
> If anyone has any objections, please let us know by sending a message to:
> 	v4l-dvb-maintainer@xxxxxxxxxxx
> 
> ------
> 
> From: Pat Erley  <pat-lkml@xxxxxxxxx>
> Enable DiSEqC in Starbox II (vp7021a)
> 
> 
> Uncomments code in vp702x-fe.c to enable DiSEqC in vp7021a
> 
> Cc:  <linux-dvb@xxxxxxxxxxx>
> Signed-off-by: Mauro Carvalho Chehab <mchehab@xxxxxxxxxxxxx>
> Signed-off-by: Pat Erley <pat@xxxxxxxxx>
> 
> 
> ---
> 
>  linux/drivers/media/dvb/dvb-usb/vp702x-fe.c |   16 ++++++++--------
>  1 files changed, 8 insertions(+), 8 deletions(-)
> 
> diff -r 4214538d8a33 -r d016af2e3e29 linux/drivers/media/dvb/dvb-usb/vp702x-fe.c
> --- a/linux/drivers/media/dvb/dvb-usb/vp702x-fe.c	Thu May 03 16:01:02 2007 -0300
> +++ b/linux/drivers/media/dvb/dvb-usb/vp702x-fe.c	Fri May 04 10:26:28 2007 -0300
> @@ -204,8 +204,8 @@ static int vp702x_fe_send_diseqc_msg (st
>  static int vp702x_fe_send_diseqc_msg (struct dvb_frontend* fe,
>  				    struct dvb_diseqc_master_cmd *m)
>  {
> -	//struct vp702x_fe_state *st = fe->demodulator_priv;
> -	u8 cmd[8];//,ibuf[10];
> +	struct vp702x_fe_state *st = fe->demodulator_priv;
> +	u8 cmd[8],ibuf[10];
>  	memset(cmd,0,8);
>  
>  	deb_fe("%s\n",__FUNCTION__);
> @@ -218,12 +218,12 @@ static int vp702x_fe_send_diseqc_msg (st
>  	memcpy(&cmd[3], m->msg, m->msg_len);
>  	cmd[7] = vp702x_chksum(cmd,0,7);
>  
> -//	vp702x_usb_inout_op(st->d,cmd,8,ibuf,10,100);
> -
> -//	if (ibuf[2] == 0 && ibuf[3] == 0)
> -//		deb_fe("diseqc cmd failed.\n");
> -//	else
> -//		deb_fe("diseqc cmd succeeded.\n");
> +	vp702x_usb_inout_op(st->d,cmd,8,ibuf,10,100);
> +
> +	if (ibuf[2] == 0 && ibuf[3] == 0)
> +		deb_fe("diseqc cmd failed.\n");
> +	else
> +		deb_fe("diseqc cmd succeeded.\n");
>  
>  	return 0;
>  }
> 
> _______________________________________________
> linux-dvb mailing list
> linux-dvb@xxxxxxxxxxx
> http://www.linuxtv.org/cgi-bin/mailman/listinfo/linux-dvb



_______________________________________________
linux-dvb mailing list
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