Re: [PATCH] Mantis Bug (was Technisat HD2 cannot szap/scan)

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

 




> Hello,
> i'm sorry to bother you with this small thing.
>
> 
> On Thu, 2009-02-05 at 13:34 +0100, Hans Werner wrote:

> > 
> > I looked at it again and here is a new patch to set the LNBP21 
> > options for the Twinhan VP-1041. This works better for me, including
> > DVB-S2 channels. The EN enable bit is now not permanently set so
> > sleep behavior is correct.
> > 
> > Please note that I have a DiSEqC 1.2 rotor between the VP-1041 card
> > and the LNB. That is quite a normal configuration, but the driver was
> > probably not properly tested with rotors (and switches?) before.
> > 
> > To rotate with scan-s2 use the patch I posted, which will be applied
> > there soon:
> > http://linuxtv.org/pipermail/linux-dvb/2009-January/031660.html
> > 
> > Regards,
> > Hans
> > 
> > Patch is against latest
> http://mercurial.intuxication.org/hg/s2-liplianin  repo.
> > 
> > Signed-off-by: Hans Werner <hwerner4@xxxxxx>
> >  
> > diff -r 084878324629 linux/drivers/media/dvb/mantis/mantis_dvb.c
> > --- a/linux/drivers/media/dvb/mantis/mantis_dvb.c
> > +++ b/linux/drivers/media/dvb/mantis/mantis_dvb.c
> > @@ -239,7 +239,8 @@ int __devinit mantis_frontend_init(struc
> >  			vp1041_config.demod_address);
> >  
> >  			if (stb6100_attach(mantis->fe, &vp1041_stb6100_config,
> &mantis->adapter)) {
> > -				if (!lnbp21_attach(mantis->fe, &mantis->adapter, 0, 0)) {
> > +				// static current limit, no extra 1V, high current limit, tone from
> DSQIN pin (stb0899)
> 
> May i ask you not to use C99-style "// ..." comments ?
> Linux style for comments is the C89 "/* ... */" style.
> 
> Honestly, when you do "make checkpatch" it will notify you about bad
> things (style of comments included).

Thanks for pointing it out -- I appreciate your attention to detail.
However a quick grep of the kernel source shows that there are
thousands of // comments already.

Surely both styles are allowed now?

Regards,
Hans

> 
> 
> > +				if (!lnbp21_attach(mantis->fe, &mantis->adapter, LNBP21_PCL ,
> LNBP21_LLC | LNBP21_ISEL | LNBP21_TEN)) {
> >  					printk("%s: No LNBP21 found!\n", __FUNCTION__);
> >  					mantis->fe = NULL;
> >  				}
> > 
> -- 
> Best regards, Klimov Alexey

-- 
Release early, release often.

Psssst! Schon vom neuen GMX MultiMessenger gehört? Der kann`s mit allen: http://www.gmx.net/de/go/multimessenger01

_______________________________________________
linux-dvb users mailing list
For V4L/DVB development, please use instead linux-media@xxxxxxxxxxxxxxx
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