В сообщении от 30 October 2008 23:59:11 Igor M. Liplianin написал(а): > > The patch number 9480 was added via Manu Abraham <manu@xxxxxxxxxxx> > > to http://linuxtv.org/hg/v4l-dvb master development tree. > > > > Kernel patches in this development tree may be modified to be backward > > compatible with older kernels. Compatibility modifications will be > > removed before inclusion into the mainstream Kernel > > > > If anyone has any objections, please let us know by sending a message to: > > v4l-dvb-maintainer@xxxxxxxxxxx > > > > ------ > > > > From: Marco Schluessler <marco@xxxxxxxxxxxxx> > > Fix frontend DVBFE_ALGO_CUSTOM Search > > > > Issue: Currently, the DVBFE_ALGO_CUSTOM is called only at the first > > tuning. After the first call, the status is never set to force a new > > tuning. > > > > > > Signed-off-by: Marco Schluessler <marco@xxxxxxxxxxxxx> > > Signed-off-by: Manu Abraham <manu@xxxxxxxxxxx> > > > > > > --- > > > > linux/drivers/media/dvb/dvb-core/dvb_frontend.c | 3 +++ > > 1 file changed, 3 insertions(+) > > > > diff -r d40d755b5163 -r 3c6a7759c267 > > linux/drivers/media/dvb/dvb-core/dvb_frontend.c --- > > a/linux/drivers/media/dvb/dvb-core/dvb_frontend.c Tue Oct 28 20:50:01 > > 2008 +0400 +++ b/linux/drivers/media/dvb/dvb-core/dvb_frontend.c Thu Oct > > 30 09:38:59 2008 +0400 @@ -1389,6 +1389,9 @@ int > > dtv_property_process_set(struct dvb_ > > dprintk("%s() Finalised property cache\n", __func__); > > dtv_property_cache_submit(fe); > > > > + /* Request the search algorithm to search */ > > + fepriv->algo_status |= DVBFE_ALGO_SEARCH_AGAIN; > > + > > r |= dvb_frontend_ioctl_legacy(inode, file, FE_SET_FRONTEND, > > &fepriv->parameters); > > break; > > > > > > --- > > Patch number 9480 needs to be unapplied. It is not resolving the issue. > Proper patch attached. It is not allowed to unupply, so I made correct patch. -- Igor M. Liplianin Microsoft Windows Free Zone - Linux used for all Computing Tasks
# HG changeset patch # User Igor M. Liplianin <liplianin@xxxxx> # Date 1226241313 -7200 # Node ID 54b128d638438037c7cb4417045c0d773c21d9e7 # Parent 46604f47fca16225c854ad69c3d8a335c94d5448 Bug fix: For legacy applications stv0899 performs search only first time after insmod. From: Igor M. Liplianin <liplianin@xxxxx> For legacy applications stv0899 performs search only first time after insmod due to not set DVBFE_ALGO_SEARCH_AGAIN bit Signed-off-by: Igor M. Liplianin <liplianin@xxxxx> diff -r 46604f47fca1 -r 54b128d63843 linux/drivers/media/dvb/dvb-core/dvb_frontend.c --- a/linux/drivers/media/dvb/dvb-core/dvb_frontend.c Fri Nov 07 15:24:18 2008 -0200 +++ b/linux/drivers/media/dvb/dvb-core/dvb_frontend.c Sun Nov 09 16:35:13 2008 +0200 @@ -1389,9 +1389,6 @@ dprintk("%s() Finalised property cache\n", __func__); dtv_property_cache_submit(fe); - /* Request the search algorithm to search */ - fepriv->algo_status |= DVBFE_ALGO_SEARCH_AGAIN; - r |= dvb_frontend_ioctl_legacy(inode, file, FE_SET_FRONTEND, &fepriv->parameters); break; @@ -1825,6 +1822,10 @@ fepriv->min_delay = (dvb_override_tune_delay * HZ) / 1000; fepriv->state = FESTATE_RETUNE; + + /* Request the search algorithm to search */ + fepriv->algo_status |= DVBFE_ALGO_SEARCH_AGAIN; + dvb_frontend_wakeup(fe); dvb_frontend_add_event(fe, 0); fepriv->status = 0;
_______________________________________________ linux-dvb mailing list linux-dvb@xxxxxxxxxxx http://www.linuxtv.org/cgi-bin/mailman/listinfo/linux-dvb