[linux-dvb] Forcing SW tuning on the DST cards

Luis Ochoa luis.m.ochoa at gmail.com
Sat Mar 11 20:11:14 CET 2006


On 3/11/06, Luis Ochoa <luis.m.ochoa at gmail.com> wrote:
> On 3/10/06, Michael Krufky <mkrufky at linuxtv.org> wrote:
> > Luis Ochoa wrote:
> > > Hi all,
> > >
> > > Judging by what I've been reading, all the drivers have default as SW
> > > tuning except the DST cards that have HW as default.
> > >
> > > By reading around, and by my own personal experience, at least on my
> > > card (Chaintech DigiTOP DST-1000), tuning is not working too well for
> > > me with the latest mercurial (sometimes it tunes, others not,
> > > especially when I'm sending a 22khz signal to switch LNBs).
> > >
> > > I read another thread where Manu provides a link to his personal
> > > development tree (I suppose), and by passing dst_algo=0 to the dst
> > > module, I get the card to tune reliably every time.
> > >
> > > Now, my problem is I _need_ the mercurial tree for another board that
> > > was added (genpix) and whose patches don't compile against Manu's
> > > tree. Now this is my Question: can anybody give me a pointer on where
> > > to look so that I can modify/compile the current mercurial so that I
> > > can make the DST tuning algo being SW by default like the rest of the
> > > cards?.
> > >
> > > Thanks for your help.
> > > Luis.
> > hg clone http://path.to/first/tree
> >
> > cd {tree}
> >
> > hg pull -u http://path.to/second/tree
> >
> > hg update -m
> >
> > make && sudo make install
> >
> > Hope this helps!
> >
> > --
> > Michael Krufky
>
> Thanks, here's what I did.
>
> [mythtv at mythtv-family ~]$ cd v4l-dvb
> [mythtv at mythtv-family v4l-dvb]$ hg pull -u
> http://thadathil.net:8000/cgi-bin/hgw
>                                            ebdir.cgi/v4l-algo-test
> pulling from http://thadathil.net:8000/cgi-bin/hgwebdir.cgi/v4l-algo-test
> searching for changes
> warning: pulling from an unrelated repository!
> adding changesets
> adding manifests
> adding file changes
> added 41 changesets with 427 changes to 454 files (+2 heads)
> this update spans a branch affecting the following files:
>  Makefile (resolve)
>  README.CVS
>  README.patches (resolve)
>  linux/Documentation/dvb/README.dvb-usb (resolve)
>  linux/Documentation/dvb/README.flexcop (resolve)
>  linux/Documentation/dvb/avermedia.txt (resolve)
>  linux/Documentation/dvb/bt8xx.txt (resolve)
>  linux/Documentation/dvb/cards.txt (resolve)
>  linux/Documentation/dvb/ci.txt (resolve)
>  linux/Documentation/dvb/contributors.txt (resolve)
>  linux/Documentation/dvb/faq.txt (resolve)
>  linux/Documentation/dvb/get_dvb_firmware (resolve)
> .......
>  v4l_experimental/pvrusb2/pvrusb2-main.c (resolve)
>  v4l_experimental/pvrusb2/pvrusb2-sysfs.c (resolve)
>  v4l_experimental/pvrusb2/pvrusb2-tuner.c (resolve)
>  v4l_experimental/pvrusb2/pvrusb2-tuner.h (resolve)
>  v4l_experimental/pvrusb2/pvrusb2-v4l2.c (resolve)
>  v4l_experimental/pvrusb2/pvrusb2-version.h
>  v4l_experimental/pvrusb2/pvrusb2-video-v4l.c (resolve)
>  v4l_experimental/pvrusb2/pvrusb2-video-v4l.h (resolve)
>  v4l_experimental/pvrusb2/pvrusb2-video.c
>  v4l_experimental/pvrusb2/pvrusb2-video.h
>  v4l_experimental/rds-saa6588.c (resolve)
> aborting update spanning branches!
> (use update -m to merge across branches or -C to lose changes)
>
> [mythtv at mythtv-family v4l-dvb]$ hg update -m
> abort: outstanding uncommited changes
>
> so, does this look like the right output?
>
> Manu, is (http://thadathil.net:8000/cgi-bin/hgwebdir.cgi/v4l-algo-test)
> the right place to pull your changes from?
>

Doing it the other way (ie: starting with Manu's tree and pulling
updates from latest linuxtv) I get:

[mythtv at mythtv-family v4l-dvb]$ hg pull -u http://linuxtv.org/hg/v4l-dvb
pulling from http://linuxtv.org/hg/v4l-dvb
searching for changes
adding changesets
adding manifests
adding file changes
added 40 changesets with 79 changes to 48 files
remote changed linux/drivers/media/video/msp3400-kthreads.c which local deleted
(k)eep or (d)elete? d
remote changed linux/drivers/media/video/tuner-types.c which local deleted
(k)eep or (d)elete? d
remote changed linux/Documentation/video4linux/README.cpia2 which local deleted
(k)eep or (d)elete? d
remote changed linux/drivers/media/video/cpia2/cpia2_v4l.c which local deleted
(k)eep or (d)elete? d
remote changed README.HG which local deleted
(k)eep or (d)elete? d
merging linux/Documentation/video4linux/CARDLIST.cx88
conflicts detected in
/home/mythtv/v4l-dvb/linux/Documentation/video4linux/CARDLIST.cx88
merging linux/Documentation/video4linux/CARDLIST.saa7134
conflicts detected in
/home/mythtv/v4l-dvb/linux/Documentation/video4linux/CARDLIST.saa7134
merging linux/Documentation/video4linux/CARDLIST.tuner
conflicts detected in
/home/mythtv/v4l-dvb/linux/Documentation/video4linux/CARDLIST.tuner
merging linux/drivers/media/dvb/dvb-core/demux.h
merging linux/drivers/media/dvb/dvb-core/dmxdev.c
conflicts detected in
/home/mythtv/v4l-dvb/linux/drivers/media/dvb/dvb-core/dmxdev.c
merging linux/drivers/media/dvb/dvb-core/dmxdev.h
merging linux/drivers/media/dvb/dvb-core/dvb_frontend.h
merging linux/drivers/media/dvb/dvb-usb/dtt200u.c
merging linux/drivers/media/dvb/dvb-usb/dvb-usb-init.c
merging linux/drivers/media/dvb/dvb-usb/dvb-usb.h
merging linux/drivers/media/dvb/dvb-usb/vp7045.c
merging linux/drivers/media/dvb/frontends/Kconfig
merging linux/drivers/media/dvb/frontends/Makefile
merging linux/drivers/media/dvb/frontends/dvb-pll.c
merging linux/drivers/media/dvb/frontends/dvb-pll.h
merging linux/drivers/media/dvb/ttpci/av7110.c
conflicts detected in
/home/mythtv/v4l-dvb/linux/drivers/media/dvb/ttpci/av7110.c
merging linux/drivers/media/dvb/ttpci/av7110_hw.c
merging linux/drivers/media/dvb/ttpci/budget-ci.c
merging linux/drivers/media/dvb/ttpci/budget.c
merging linux/drivers/media/video/bttv-cards.c
merging linux/drivers/media/video/bttv-risc.c
merging linux/drivers/media/video/compat_ioctl32.c
conflicts detected in
/home/mythtv/v4l-dvb/linux/drivers/media/video/compat_ioctl32.c
merging linux/drivers/media/video/cx88/Kconfig
conflicts detected in
/home/mythtv/v4l-dvb/linux/drivers/media/video/cx88/Kconfig
merging linux/drivers/media/video/cx88/Makefile
merging linux/drivers/media/video/cx88/cx88-cards.c
conflicts detected in
/home/mythtv/v4l-dvb/linux/drivers/media/video/cx88/cx88-cards.c
merging linux/drivers/media/video/cx88/cx88-dvb.c
conflicts detected in
/home/mythtv/v4l-dvb/linux/drivers/media/video/cx88/cx88-dvb.c
merging linux/drivers/media/video/cx88/cx88-mpeg.c
merging linux/drivers/media/video/cx88/cx88.h
conflicts detected in /home/mythtv/v4l-dvb/linux/drivers/media/video/cx88/cx88.h
merging linux/drivers/media/video/msp3400.h
conflicts detected in /home/mythtv/v4l-dvb/linux/drivers/media/video/msp3400.h
merging linux/drivers/media/video/saa7134/saa7134-cards.c
conflicts detected in
/home/mythtv/v4l-dvb/linux/drivers/media/video/saa7134/saa7134-cards.c
merging linux/drivers/media/video/saa7134/saa7134-core.c
merging linux/drivers/media/video/tuner-simple.c
merging linux/include/linux/dvb/video.h
merging linux/include/linux/videodev2.h
merging linux/include/media/tuner.h
conflicts detected in /home/mythtv/v4l-dvb/linux/include/media/tuner.h
merging v4l/Makefile

[mythtv at mythtv-family v4l-dvb]$ hg update -m
abort: outstanding uncommited changes

I guess I can read up more on hg (and I will) I am supposed to resolve
conflicts by hand, right?

Thanks again.



More information about the linux-dvb mailing list