ljalves / linux_media

TBS linux open source drivers
https://github.com/ljalves/linux_media/wiki
Other
88 stars 151 forks source link

tbs6280 fails to tune #43

Closed JohnBoyz closed 9 years ago

JohnBoyz commented 9 years ago

First time user so I might be at fault ... but wondering if this is related to your message about changes to tda18212 .....

Installed latest yesterday in a PC with both TBS6981 & TBS6280 running 3.17.2 kernel. The 6981 is working fine. The 6280 fails both with Kaffeine and w_scan. I have included some basic info below ... no idea what else might be useful.

dmesg | grep -i frontend

[ 16.040038] SAA716x Budget 0000:03:00.0: DVB: registering adapter 0 frontend 0 (Sony CXD2820R)... [ 16.043303] SAA716x Budget 0000:03:00.0: DVB: registering adapter 1 frontend 0 (Sony CXD2820R)... [ 27.473236] cx23885_dvb_register() allocating 1 frontend(s) [ 27.473251] i2c i2c-11: cx24117: Attaching frontend 0 [ 27.473254] cx23885 0000:01:00.0: DVB: registering adapter 2 frontend 0 (Conexant CX24117/CX24132)... [ 27.473454] cx23885_dvb_register() allocating 1 frontend(s) [ 27.473459] i2c i2c-11: cx24117: Attaching frontend 1 [ 27.473461] cx23885 0000:01:00.0: DVB: registering adapter 3 frontend 0 (Conexant CX24117/CX24132)...

Using w_scan:

Info: using DVB adapter auto detection. /dev/dvb/adapter0/frontend0 -> DVB-T "Sony CXD2820R": very good :-))

Using DVB-T frontend (adapter /dev/dvb/adapter0/frontend0) ---- Getting frontend capabilities---- Using DVB API 3.2 frontend Sony CXD2820R supports INVERSION_AUTO QAM_AUTO TRANSMISSION_MODE_AUTO GUARD_INTERVAL_AUTO HIERARCHY_AUTO FECAUTO ----------------------- updating transponder list.. QAM_16 f = 690000 kHz I999B8C34D0T2G32Y0: (time: 00:00) (time: 00:06)

QAM_16 f = 746000 kHz I999B8C34D0T2G32Y0: (time: 00:10) (time: 00:14)

tune to: QAM_16 f = 690000 kHz I999B8C34D0T2G32Y0 (no signal) (time: 00:17) ----------no signal---------- tune to: QAM_16 f = 690000 kHz I999B8C34D0T2G32Y0 (no signal) (time: 00:21) ----------no signal---------- tune to: QAM_16 f = 746000 kHz I999B8C34D0T2G32Y0 (no signal) (time: 00:25) ----------no signal---------- tune to: QAM_16 f = 746000 kHz I999B8C34D0T2G32Y0 (no signal) (time: 00:29) ----------no signal----------

ERROR: Sorry - i couldn't get any working frequency/transponder Nothing to scan!!

messages log

Nov 8 11:04:55 XPS klogd: DVB: registering new adapter (SAA716x dvb adapter) Nov 8 11:04:56 XPS klogd: tda18212 9-0060: NXP TDA18212HN/M successfully identified Nov 8 11:04:56 XPS klogd: SAA716x Budget 0000:03:00.0: DVB: registering adapter 0 frontend 0 (Sony CXD2820R)... Nov 8 11:04:56 XPS klogd: DVB: registering new adapter (SAA716x dvb adapter) Nov 8 11:04:56 XPS klogd: tda18212 9-0063: NXP TDA18212HN/M successfully identified Nov 8 11:04:56 XPS klogd: SAA716x Budget 0000:03:00.0: DVB: registering adapter 1 frontend 0 (Sony CXD2820R)... Nov 8 11:05:00 XPS service_harddrake[1670]: ### Program is starting ### Nov 8 11:05:01 XPS klogd: WARNING: You are using an experimental version of the media stack. Nov 8 11:05:01 XPS klogd: ^IAs the driver is backported to an older kernel, it doesn't offer Nov 8 11:05:01 XPS klogd: ^Ienough quality for its usage in production. Nov 8 11:05:01 XPS klogd: ^IUse it with care. Nov 8 11:05:01 XPS klogd: Latest git patches (needed if you report a bug to linux-media@vger.kernel.org): Nov 8 11:05:01 XPS klogd: ^I607c9aacee2a3391a7a3423a19cdb69efffb02f1 Merge latest official media tree

lsmod | grep -i tda18212

tda18212 2992 2 regmap_i2c 1808 1 tda18212 i2c_core 16688 24 tda18218,af9013,dvb_usb_v2,cx25840,cx23885,tda18271,v4l2_common,videodev,tveeprom,i2c_i801,tda18212,regmap_i2c,saa716x_budget,cx24117,saa716x_core,mb86a16,stv090x,cxd2820r,tas2101,i2c_mux,i915,drm_kms_helper,drm,i2c_algo_bit

Thank you for your work on this.

ljalves commented 9 years ago

The tuner seems to be successfully identified when the module is loaded. Stupid question, but have you double checked that the problem isn't the tv cable? Can someone else confirm this bug?

willat8 commented 9 years ago

I have fail to tune error on 6285 using dvb-t, if it's related.

ljalves commented 9 years ago

Completely unrelated. Please paste your dmesg output (use pastebin).

JohnBoyz commented 9 years ago

About the only thing I can be sure of is the aerial feed ...... have a dual boot system and both cards work using a community version of Openelec with TBS drivers.

dmesg output from today http://pastebin.com/mVB8D8WL

Thank you.

ljalves commented 9 years ago

@JohnBoyz Ok, I'll take a look as soon as I can.

ljalves commented 9 years ago

I have people reporting that tbs6280 is working fine after the update....

JohnBoyz commented 9 years ago

OK, thanks. It might be something about the install that is causing it I guess.

I will look to backing up and doing a new OS install and then get the latest files and see how that goes.

timmydog commented 9 years ago

My TBS 6280 is also failing to tune after an update to the latest version yesterday.

It all looked to checkout, build and install ok. I will try to have another go, to check for user error.

I will also try to re-install the older version that was working fine to confirm that it was recent changes that caused the problem, but I have 2 young children that take up most of my free time, so it might take me a while.

Thanks for your work on this driver, it is appreciated.

timmydog commented 9 years ago

I tried to re-install last night and spotted errors in the patch process. This was done in an empty directory. If you can spot anything that I've done wrong, please let me know and I'll give it another try.

tim@dvr:~/installs/tbs-open-source-drivers/2014-11-25$ ll total 0 tim@dvr:~/installs/tbs-open-source-drivers/2014-11-25$ git clone git://linuxtv.org/media_build.git Cloning into 'media_build'... remote: Counting objects: 2588, done. remote: Compressing objects: 100% (971/971), done. remote: Total 2588 (delta 1809), reused 2261 (delta 1577) Receiving objects: 100% (2588/2588), 516.00 KiB | 464.00 KiB/s, done. Resolving deltas: 100% (1809/1809), done. Checking connectivity... done. tim@dvr:~/installs/tbs-open-source-drivers/2014-11-25$ git clone --depth=1 https://github.com/ljalves/linux_media.git -b latest ./media Cloning into './media'... remote: Counting objects: 50811, done. remote: Compressing objects: 100% (48269/48269), done. remote: Total 50811 (delta 3990), reused 16713 (delta 1924) Receiving objects: 100% (50811/50811), 136.04 MiB | 530.00 KiB/s, done. Resolving deltas: 100% (3990/3990), done. Checking connectivity... done. Checking out files: 100% (48069/48069), done. tim@dvr:~/installs/tbs-open-source-drivers/2014-11-25$ cd media_build tim@dvr:~/installs/tbs-open-source-drivers/2014-11-25/media_build$ make dir DIR=../media make -C linux/ dir DIR="../../media" make[1]: Entering directory '/mnt/bigdisk/home/tim/installs/tbs-open-source-drivers/2014-11-25/media_build/linux' rm -rf drivers firmware include sound .patches_applied .linked_dir .git_log.md5 git_log kernel_version.h Searching in ../../media/Makefile for kernel version. ./use_dir.pl ../../media sync file: firmware/ihex2fw.c sync file: firmware/ttusb-budget/dspbootcode.bin.ihex sync file: include/uapi/linux/v4l2-subdev.h sync file: firmware/vicam/firmware.H16 sync file: include/trace/events/v4l2.h sync file: include/linux/fence.h sync file: include/sound/aci.h sync file: include/uapi/linux/v4l2-common.h sync file: include/uapi/linux/ivtvfb.h sync file: include/uapi/linux/v4l2-dv-timings.h sync file: include/linux/fixp-arith.h sync file: include/linux/of_graph.h sync file: include/uapi/linux/uvcvideo.h sync file: include/linux/kconfig.h sync file: include/uapi/linux/media.h sync file: include/uapi/linux/vsp1.h sync file: include/uapi/linux/meye.h sync file: include/linux/dma-buf.h sync file: include/uapi/linux/usb/video.h sync file: include/linux/platform_data/camera-rcar.h sync file: sound/pci/bt87x.c sync file: include/linux/ti_wilink_st.h sync file: include/linux/via-core.h sync file: include/linux/mmc/sdio_ids.h sync file: include/uapi/linux/ivtv.h sync file: include/uapi/linux/v4l2-mediabus.h sync file: include/misc/altera.h sync file: firmware/av7110/bootcode.bin.ihex sync file: include/uapi/linux/v4l2-controls.h sync file: include/uapi/linux/media-bus-format.h sync file: firmware/cpia2/stv0672_vp4.bin.ihex sync file: firmware/av7110/Boot.S sync file: include/uapi/linux/videodev2.h sync file: include/uapi/linux/smiapp.h sync file: include/linux/platform_data/vsp1.h sync dir: include/media/ sync dir: drivers/media/ sync dir: drivers/misc/altera-stapl/ sync dir: drivers/staging/media/ sync dir: include/uapi/linux/dvb/ make[1]: Leaving directory '/mnt/bigdisk/home/tim/installs/tbs-open-source-drivers/2014-11-25/media_build/linux' tim@dvr:~/installs/tbs-open-source-drivers/2014-11-25/media_build$ make distclean make -C /mnt/bigdisk/home/tim/installs/tbs-open-source-drivers/2014-11-25/media_build/v4l distclean make[1]: Entering directory '/mnt/bigdisk/home/tim/installs/tbs-open-source-drivers/2014-11-25/media_build/v4l' No version yet, using 3.16.0-4-amd64 rm -f ~ .o .ko ..o.cmd ..ko.cmd .mod.c av7110_firm.h fdump \ config-compat.h Module.symvers Module.markers modules.order \ .unsigned ..ko.unsigned.cmd make -C firmware clean make[2]: Entering directory '/mnt/bigdisk/home/tim/installs/tbs-open-source-drivers/2014-11-25/media_build/v4l/firmware' rm -f ihex2fw rm -f vicam/firmware.fw ttusb-budget/dspbootcode.bin cpia2/stv0672_vp4.bin av7110/bootcode.bin make[2]: Leaving directory '/mnt/bigdisk/home/tim/installs/tbs-open-source-drivers/2014-11-25/media_build/v4l/firmware' rm -f .version ..o.flags ..o.d Makefile.media \ Kconfig Kconfig.kern .config .config.cmd .myconfig \ .kconfig.dep rm -rf .tmp_versions .tmp.ver .tmp.o .*.gcno rm -f scripts/lxdialog scripts/kconfig make -C firmware distclean make[2]: Entering directory '/mnt/bigdisk/home/tim/installs/tbs-open-source-drivers/2014-11-25/media_build/v4l/firmware' rm -f ihex2fw rm -f vicam/firmware.fw ttusb-budget/dspbootcode.bin cpia2/stv0672_vp4.bin av7110/bootcode.bin for i in av7110/ cpia2/ ttusb-budget/ vicam/; do if [ -d $i ]; then rm -rf $i; fi; done make[2]: Leaving directory '/mnt/bigdisk/home/tim/installs/tbs-open-source-drivers/2014-11-25/media_build/v4l/firmware' make[1]: Leaving directory '/mnt/bigdisk/home/tim/installs/tbs-open-source-drivers/2014-11-25/media_build/v4l' tim@dvr:~/installs/tbs-open-source-drivers/2014-11-25/media_build$ make -j3 make -C /mnt/bigdisk/home/tim/installs/tbs-open-source-drivers/2014-11-25/media_build/v4l make[1]: Entering directory '/mnt/bigdisk/home/tim/installs/tbs-open-source-drivers/2014-11-25/media_build/v4l' No version yet, using 3.16.0-4-amd64 scripts/make_makefile.pl Updating/Creating .config make[2]: Entering directory '/mnt/bigdisk/home/tim/installs/tbs-open-source-drivers/2014-11-25/media_build/linux' make[2]: Entering directory '/mnt/bigdisk/home/tim/installs/tbs-open-source-drivers/2014-11-25/media_build/linux' Syncing with dir ../../media Syncing with dir ../../media Applying patches for kernel 3.16.0-4-amd64 patch -s -f -N -p1 -i ../backports/api_version.patch patch -s -f -N -p1 -i ../backports/pr_fmt.patch make[3]: Entering directory '/mnt/bigdisk/home/tim/installs/tbs-open-source-drivers/2014-11-25/media_build/linux' Unapplying patches patch -s -f -R -p1 -i ../backports/api_version.patch make[3]: Leaving directory '/mnt/bigdisk/home/tim/installs/tbs-open-source-drivers/2014-11-25/media_build/linux' Applying patches for kernel 3.16.0-4-amd64 patch -s -f -N -p1 -i ../backports/api_version.patch patch -s -f -N -p1 -i ../backports/pr_fmt.patch 1 out of 1 hunk FAILED -- saving rejects to file drivers/media/common/saa7146/saa7146_core.c.rej 1 out of 1 hunk FAILED -- saving rejects to file drivers/media/common/saa7146/saa7146_fops.c.rej 1 out of 1 hunk FAILED -- saving rejects to file drivers/media/common/saa7146/saa7146_hlp.c.rej 1 out of 1 hunk FAILED -- saving rejects to file drivers/media/common/saa7146/saa7146_i2c.c.rej 1 out of 1 hunk FAILED -- saving rejects to file drivers/media/common/saa7146/saa7146_video.c.rej 1 out of 1 hunk FAILED -- saving rejects to file drivers/media/common/siano/smsdvb-debugfs.c.rej patch -s -f -N -p1 -i ../backports/debug.patch patch -s -f -N -p1 -i ../backports/drx39xxj.patch patch -s -f -N -p1 -i ../backports/v3.16_netdev.patch 1 out of 1 hunk FAILED -- saving rejects to file drivers/media/dvb-frontends/drx39xyj/drxj.c.rej 1 out of 1 hunk FAILED -- saving rejects to file drivers/media/dvb-frontends/drxk_hard.c.rej 1 out of 1 hunk FAILED -- saving rejects to file drivers/media/dvb-frontends/nxt200x.c.rej 1 out of 1 hunk FAILED -- saving rejects to file drivers/media/dvb-frontends/or51211.c.rej 1 out of 1 hunk FAILED -- saving rejects to file drivers/media/media-devnode.c.rej 1 out of 1 hunk FAILED -- saving rejects to file drivers/media/pci/bt8xx/bttv-cards.c.rej patch -s -f -N -p1 -i ../backports/v3.16_wait_on_bit.patch 1 out of 1 hunk FAILED -- saving rejects to file drivers/media/pci/bt8xx/bttv-driver.c.rej 1 out of 1 hunk FAILED -- saving rejects to file drivers/media/pci/bt8xx/bttv-gpio.c.rej 1 out of 1 hunk FAILED -- saving rejects to file drivers/media/pci/bt8xx/bttv-i2c.c.rej 1 out of 1 hunk FAILED -- saving rejects to file drivers/media/pci/bt8xx/bttv-input.c.rej 1 out of 1 hunk FAILED -- saving rejects to file drivers/media/pci/bt8xx/bttv-risc.c.rej 1 out of 1 hunk FAILED -- saving rejects to file drivers/media/pci/bt8xx/bttv-vbi.c.rej 1 out of 1 hunk FAILED -- saving rejects to file drivers/media/pci/bt8xx/dvb-bt8xx.c.rej 1 out of 1 hunk FAILED -- saving rejects to file drivers/media/pci/cx25821/cx25821-alsa.c.rej 1 out of 1 hunk FAILED -- saving rejects to file drivers/media/pci/cx25821/cx25821-audio-upstream.c.rej 1 out of 1 hunk FAILED -- saving rejects to file drivers/media/pci/cx25821/cx25821-cards.c.rej 1 out of 1 hunk FAILED -- saving rejects to file drivers/media/pci/cx25821/cx25821-core.c.rej 1 out of 1 hunk FAILED -- saving rejects to file drivers/media/pci/cx25821/cx25821-i2c.c.rej 1 out of 1 hunk FAILED -- saving rejects to file drivers/media/pci/cx25821/cx25821-medusa-video.c.rej 1 out of 1 hunk FAILED -- saving rejects to file drivers/media/pci/cx25821/cx25821-video-upstream.c.rej 1 out of 1 hunk FAILED -- saving rejects to file drivers/media/pci/cx25821/cx25821-video.c.rej patch -s -f -N -p1 -i ../backports/v3.16_void_gpiochip_remove.patch 1 out of 1 hunk FAILED -- saving rejects to file drivers/media/pci/saa7146/hexium_gemini.c.rej 1 out of 1 hunk FAILED -- saving rejects to file drivers/media/pci/saa7146/hexium_orion.c.rej 1 out of 1 hunk FAILED -- saving rejects to file drivers/media/pci/saa7146/mxb.c.rej 1 out of 1 hunk FAILED -- saving rejects to file drivers/media/pci/ttpci/av7110_v4l.c.rej 1 out of 1 hunk FAILED -- saving rejects to file drivers/media/pci/ttpci/budget-av.c.rej 1 out of 1 hunk FAILED -- saving rejects to file drivers/media/platform/s3c-camif/camif-capture.c.rej 1 out of 1 hunk FAILED -- saving rejects to file drivers/media/platform/s3c-camif/camif-core.c.rej 1 out of 1 hunk FAILED -- saving rejects to file drivers/media/platform/s3c-camif/camif-regs.c.rej 1 out of 1 hunk FAILED -- saving rejects to file drivers/media/platform/s5p-tv/hdmi_drv.c.rej 1 out of 1 hunk FAILED -- saving rejects to file drivers/media/platform/s5p-tv/mixer_video.c.rej 1 out of 1 hunk FAILED -- saving rejects to file drivers/media/rc/ene_ir.c.rej 1 out of 1 hunk FAILED -- saving rejects to file drivers/media/rc/fintek-cir.c.rej 1 out of 1 hunk FAILED -- saving rejects to file drivers/media/rc/imon.c.rej 1 out of 1 hunk FAILED -- saving rejects to file drivers/media/rc/nuvoton-cir.c.rej 1 out of 1 hunk FAILED -- saving rejects to file drivers/media/rc/winbond-cir.c.rej 1 out of 1 hunk FAILED -- saving rejects to file drivers/media/usb/au0828/au0828.h.rej 1 out of 1 hunk FAILED -- saving rejects to file drivers/media/usb/go7007/go7007-usb.c.rej 1 out of 1 hunk FAILED -- saving rejects to file drivers/media/usb/gspca/benq.c.rej 1 out of 1 hunk FAILED -- saving rejects to file drivers/media/usb/gspca/conex.c.rej 1 out of 1 hunk FAILED -- saving rejects to file drivers/media/usb/gspca/cpia1.c.rej 1 out of 1 hunk FAILED -- saving rejects to file drivers/media/usb/gspca/dtcs033.c.rej 1 out of 1 hunk FAILED -- saving rejects to file drivers/media/usb/gspca/etoms.c.rej 1 out of 1 hunk FAILED -- saving rejects to file drivers/media/usb/gspca/finepix.c.rej 1 out of 1 hunk FAILED -- saving rejects to file drivers/media/usb/gspca/gl860/gl860.c.rej 1 out of 1 hunk FAILED -- saving rejects to file drivers/media/usb/gspca/gspca.c.rej 1 out of 1 hunk FAILED -- saving rejects to file drivers/media/usb/gspca/jeilinj.c.rej 1 out of 1 hunk FAILED -- saving rejects to file drivers/media/usb/gspca/kinect.c.rej 1 out of 1 hunk FAILED -- saving rejects to file drivers/media/usb/gspca/konica.c.rej 1 out of 1 hunk FAILED -- saving rejects to file drivers/media/usb/gspca/m5602/m5602_core.c.rej 1 out of 1 hunk FAILED -- saving rejects to file drivers/media/usb/gspca/m5602/m5602_mt9m111.c.rej 1 out of 1 hunk FAILED -- saving rejects to file drivers/media/usb/gspca/m5602/m5602_ov7660.c.rej 1 out of 1 hunk FAILED -- saving rejects to file drivers/media/usb/gspca/m5602/m5602_ov9650.c.rej 1 out of 1 hunk FAILED -- saving rejects to file drivers/media/usb/gspca/m5602/m5602_po1030.c.rej 1 out of 1 hunk FAILED -- saving rejects to file drivers/media/usb/gspca/m5602/m5602_s5k4aa.c.rej 1 out of 1 hunk FAILED -- saving rejects to file drivers/media/usb/gspca/m5602/m5602_s5k83a.c.rej 1 out of 1 hunk FAILED -- saving rejects to file drivers/media/usb/gspca/mars.c.rej 1 out of 1 hunk FAILED -- saving rejects to file drivers/media/usb/gspca/mr97310a.c.rej 1 out of 1 hunk FAILED -- saving rejects to file drivers/media/usb/gspca/nw80x.c.rej 1 out of 1 hunk FAILED -- saving rejects to file drivers/media/usb/gspca/ov519.c.rej Patched drivers/media/dvb-core/dvbdev.c 1 out of 1 hunk FAILED -- saving rejects to file drivers/media/usb/gspca/ov534.c.rej 1 out of 1 hunk FAILED -- saving rejects to file drivers/media/usb/gspca/ov534_9.c.rej 1 out of 1 hunk FAILED -- saving rejects to file drivers/media/usb/gspca/pac207.c.rej 1 out of 1 hunk FAILED -- saving rejects to file drivers/media/usb/gspca/pac7302.c.rej 1 out of 1 hunk FAILED -- saving rejects to file drivers/media/usb/gspca/pac7311.c.rej 1 out of 1 hunk FAILED -- saving rejects to file drivers/media/usb/gspca/se401.c.rej Patched drivers/media/v4l2-core/v4l2-dev.c 1 out of 1 hunk FAILED -- saving rejects to file drivers/media/usb/gspca/sn9c2028.c.rej 1 out of 1 hunk FAILED -- saving rejects to file drivers/media/usb/gspca/sn9c20x.c.rej 1 out of 1 hunk FAILED -- saving rejects to file drivers/media/usb/gspca/sonixj.c.rej 1 out of 1 hunk FAILED -- saving rejects to file drivers/media/usb/gspca/spca1528.c.rej 1 out of 1 hunk FAILED -- saving rejects to file drivers/media/usb/gspca/spca500.c.rej 1 out of 1 hunk FAILED -- saving rejects to file drivers/media/usb/gspca/spca501.c.rej 1 out of 1 hunk FAILED -- saving rejects to file drivers/media/usb/gspca/spca505.c.rej Patched drivers/media/rc/rc-main.c 1 out of 1 hunk FAILED -- saving rejects to file drivers/media/usb/gspca/spca508.c.rej 1 out of 1 hunk FAILED -- saving rejects to file drivers/media/usb/gspca/spca561.c.rej 1 out of 1 hunk FAILED -- saving rejects to file drivers/media/usb/gspca/sq905.c.rej 1 out of 1 hunk FAILED -- saving rejects to file drivers/media/usb/gspca/sq905c.c.rej 1 out of 1 hunk FAILED -- saving rejects to file drivers/media/usb/gspca/sq930x.c.rej 1 out of 1 hunk FAILED -- saving rejects to file drivers/media/usb/gspca/stk014.c.rej 1 out of 1 hunk FAILED -- saving rejects to file drivers/media/usb/gspca/stk1135.c.rej 1 out of 1 hunk FAILED -- saving rejects to file drivers/media/usb/gspca/stv0680.c.rej 1 out of 1 hunk FAILED -- saving rejects to file drivers/media/usb/gspca/stv06xx/stv06xx.c.rej 1 out of 1 hunk FAILED -- saving rejects to file drivers/media/usb/gspca/stv06xx/stv06xx_hdcs.c.rej 1 out of 1 hunk FAILED -- saving rejects to file drivers/media/usb/gspca/stv06xx/stv06xx_pb0100.c.rej 1 out of 1 hunk FAILED -- saving rejects to file drivers/media/usb/gspca/stv06xx/stv06xx_st6422.c.rej 1 out of 1 hunk FAILED -- saving rejects to file drivers/media/usb/gspca/stv06xx/stv06xx_vv6410.c.rej 1 out of 1 hunk FAILED -- saving rejects to file drivers/media/usb/gspca/sunplus.c.rej 1 out of 1 hunk FAILED -- saving rejects to file drivers/media/usb/gspca/t613.c.rej 1 out of 1 hunk FAILED -- saving rejects to file drivers/media/usb/gspca/topro.c.rej 1 out of 1 hunk FAILED -- saving rejects to file drivers/media/usb/gspca/vc032x.c.rej 1 out of 1 hunk FAILED -- saving rejects to file drivers/media/usb/gspca/vicam.c.rej 1 out of 1 hunk FAILED -- saving rejects to file drivers/media/usb/gspca/w996Xcf.c.rej 1 out of 1 hunk FAILED -- saving rejects to file drivers/media/usb/gspca/xirlink_cit.c.rej 1 out of 1 hunk FAILED -- saving rejects to file drivers/media/usb/gspca/zc3xx.c.rej 1 out of 1 hunk FAILED -- saving rejects to file drivers/staging/media/lirc/lirc_bt829.c.rej 1 out of 1 hunk FAILED -- saving rejects to file drivers/staging/media/lirc/lirc_imon.c.rej 1 out of 1 hunk FAILED -- saving rejects to file drivers/staging/media/lirc/lirc_parallel.c.rej 1 out of 1 hunk FAILED -- saving rejects to file drivers/staging/media/lirc/lirc_sasem.c.rej 1 out of 1 hunk FAILED -- saving rejects to file drivers/staging/media/lirc/lirc_serial.c.rej 1 out of 1 hunk FAILED -- saving rejects to file drivers/staging/media/lirc/lirc_sir.c.rej 1 out of 1 hunk FAILED -- saving rejects to file drivers/media/platform/exynos4-is/fimc-is-param.c.rej 1 out of 1 hunk FAILED -- saving rejects to file drivers/media/platform/exynos4-is/fimc-is.c.rej 1 out of 1 hunk FAILED -- saving rejects to file drivers/media/platform/exynos4-is/fimc-isp.c.rej patch -s -f -N -p1 -i ../backports/debug.patch 1 out of 1 hunk FAILED 1 out of 1 hunk FAILED 1 out of 1 hunk FAILED 1 out of 1 hunk FAILED Makefile:129: recipe for target 'apply_patches' failed make[2]: *** [apply_patches] Error 1 make[2]: Leaving directory '/mnt/bigdisk/home/tim/installs/tbs-open-source-drivers/2014-11-25/media_build/linux' Preparing to compile for kernel version 3.16.0 Syncing with dir ../../media

WARNING: You do not have the full kernel sources installed. This does not prevent you from building the v4l-dvb tree if you have the kernel headers, but the full kernel source may be required in order to use make menuconfig / xconfig / qconfig.

If you are experiencing problems building the v4l-dvb tree, please try building against a vanilla kernel before reporting a bug.

Vanilla kernels are available at http://kernel.org. On most distros, this will compile a newly downloaded kernel:

cp /boot/config-uname -r /.config cd make all modules_install install

Please see your distro's web site for instructions to build a new kernel.

WARNING: This is the V4L/DVB backport tree, with experimental drivers backported to run on legacy kernels from the development tree at: http://git.linuxtv.org/media-tree.git. It is generally safe to use it for testing a new driver or feature, but its usage on production environments is risky. Don't use it in production. You've been warned. make[2]: Leaving directory '/mnt/bigdisk/home/tim/installs/tbs-open-source-drivers/2014-11-25/media_build/linux' ./scripts/make_kconfig.pl /lib/modules/3.16.0-4-amd64/build /lib/modules/3.16.0-4-amd64/source Preparing to compile for kernel version 3.16.0

WARNING: You do not have the full kernel sources installed. This does not prevent you from building the v4l-dvb tree if you have the kernel headers, but the full kernel source may be required in order to use make menuconfig / xconfig / qconfig.

If you are experiencing problems building the v4l-dvb tree, please try building against a vanilla kernel before reporting a bug.

Vanilla kernels are available at http://kernel.org. On most distros, this will compile a newly downloaded kernel:

cp /boot/config-uname -r /.config cd make all modules_install install

Please see your distro's web site for instructions to build a new kernel.

WARNING: This is the V4L/DVB backport tree, with experimental drivers backported to run on legacy kernels from the development tree at: http://git.linuxtv.org/media-tree.git. It is generally safe to use it for testing a new driver or feature, but its usage on production environments is risky. Don't use it in production. You've been warned. ^Cmake[1]: wait: No child processes. Stop. make[1]: Waiting for unfinished jobs.... make[1]: wait: No child processes. Stop. Makefile:26: recipe for target 'all' failed make: [all] Error 2

tim@dvr:~/installs/tbs-open-source-drivers/2014-11-25/media_build$

ljalves commented 9 years ago

I have updated the tree to the latest official tree. You should be able to build it now.

timmydog commented 9 years ago

I have discovered what caused the patch failures: if I use make without the -j3 option it doesn't give any of the patch errors and with the -j3, it does!

However, after a clean, build and install, I get "module has wrong symbol version" errors. I tried:

 sudo rm -rf /lib/modules/`uname -r`/kernel/drivers/media/*

but still got the errors after a reboot.

I didn't have much time, so might have made a mistake; I will try again to see if there are old modules being loaded somehow.

ljalves commented 9 years ago

Check dmesg for the module names that are giving an error. (pastebin here your dmesg after loading the modules)

JohnBoyz commented 9 years ago

Hi, sorry for delay in getting back .... due to hardware and software changes in set up. Have done an install on an AMD Athlon 64x2 5000 and am having similar problems as previously - this time with 3.18.1 kernel.

I have to try fault finding yet .... this is just to let you know I have not abandoned this.

I will have a new release in a few days so might wait for that and do a complete new installation.

Oh yes ... in case there is any confusion, the new set up works with Openelec and TBS drivers.

JohnBoyz commented 9 years ago

Did a fresh install today. Kernel 3.18.1 Checked that the Sat card TBS6981 was functioning using the kernel driver .... all ok. Also had TBS6280 card in place.

Downloaded and built from git and hit problems.

At least I found what I reckon was the basis of most of my problems ..... the OS has all modules compressed (.ko.gz) but building just drops .ko modules in along side them.

I tried manually deleting all the old modules (.ko.gz) and then compressing the new ones. During problem solving it appeared that some modules are dependent on others and expect those to be .ko and not .ko.gz :(

I managed to find a few related to SAA716x and uncompress them.

End result was that both cards are seen and registered. The usual checks show the adapters and frontends etc.

Neither will lock onto a frequency for tuning.

At this time I have little doubt that the problem is caused by the .ko.gz/.ko thing.

I could, I suppose, decompress all the modules under /media but would prefer if possible to only do those necessary (if this is the problem).

I realise that this problem is apparently unrelated to the drivers themselves, but would be grateful if you could drop a pointer or two so I can see if I can get them to work.

Thanks for your attention and help.

It seems this can be closed ..... will leave that to you.

Thanks again.

JohnBoyz commented 9 years ago

Further update ...... I tried the community version of the latest Openelec with ljalves drivers and hit a similar problem. Swapping to the community build with TBS drivers has everything working as expected.

Maybe the drivers do not like the combination of these two cards .........

JohnBoyz commented 9 years ago

I had left things for a while and yesterday used a community version of Openelec with the open source drivers on a HTPC backend (old P4 3Ghz) with the newer cards .. 6281 and 6982. I am happy to say that all four tuners showed (plus the DVB-C options with the DVB-T on the 6281) and all tuners worked after being enabled.

The HTPC has now been 'up' for about 15 hours without a glitch.

All looks good so this can be closed I think. If I get a chance I will probably play about with other distro, but I am happy as it is for the present.

Thank you!