Hans Gunnarsson wrote: > Hi all! > > I have patched the bttv driver with Manu's "anti-freeze" patch, and am > using the latest CVS from dvb. The kernel is 2.6.11 > > Compiling and loading the modules are fine, but when I try to scan it > returns Tuning failed! > > Any ideas? > You need to use the bttv timout patch which i posted a while back along with the freeze patch, for kernel = 2.6.11. for kernel > 2.6.12-rc4 it has the freeze patch as well as the timeout patch. Right now i am out of station and can't send you the patch.. > The following output on command line: > > hansg@muhammed:~/project/dvb_trunk/dvb-apps/util/scan>./dvbscan > dvb-t/se-Stockholm_Nacka > scanning dvb-t/se-Stockholm_Nacka > using '/dev/dvb/adapter0/frontend0' and '/dev/dvb/adapter0/demux0' > initial transponder 730000000 0 2 9 3 1 2 0 > initial transponder 754000000 0 2 9 3 1 2 0 > initial transponder 778000000 0 2 9 3 1 2 0 > initial transponder 706000000 0 2 9 3 1 2 0 > initial transponder 746000000 0 2 9 3 1 2 0 > >>> tune to: > 730000000:INVERSION_AUTO:BANDWIDTH_8_MHZ:FEC_2_3:FEC_AUTO:QAM_64:TRANSMISSION_MODE_8K:GUARD_INTERVAL_1_8:HIERARCHY_NONE > > WARNING: >>> tuning failed!!! > >>> tune to: > 730000000:INVERSION_AUTO:BANDWIDTH_8_MHZ:FEC_2_3:FEC_AUTO:QAM_64:TRANSMISSION_MODE_8K:GUARD_INTERVAL_1_8:HIERARCHY_NONE > (tuning failed) Yep, timed out.. > > WARNING: >>> tuning failed!!! > >>> tune to: > 754000000:INVERSION_AUTO:BANDWIDTH_8_MHZ:FEC_2_3:FEC_AUTO:QAM_64:TRANSMISSION_MODE_8K:GUARD_INTERVAL_1_8:HIERARCHY_NONE > > WARNING: >>> tuning failed!!! > >>> tune to: > 754000000:INVERSION_AUTO:BANDWIDTH_8_MHZ:FEC_2_3:FEC_AUTO:QAM_64:TRANSMISSION_MODE_8K:GUARD_INTERVAL_1_8:HIERARCHY_NONE > (tuning failed) > WARNING: >>> tuning failed!!! > >>> tune to: > 778000000:INVERSION_AUTO:BANDWIDTH_8_MHZ:FEC_2_3:FEC_AUTO:QAM_64:TRANSMISSION_MODE_8K:GUARD_INTERVAL_1_8:HIERARCHY_NONE > > WARNING: >>> tuning failed!!! > >>> tune to: > 778000000:INVERSION_AUTO:BANDWIDTH_8_MHZ:FEC_2_3:FEC_AUTO:QAM_64:TRANSMISSION_MODE_8K:GUARD_INTERVAL_1_8:HIERARCHY_NONE > (tuning failed) > WARNING: >>> tuning failed!!! > >>> tune to: > 706000000:INVERSION_AUTO:BANDWIDTH_8_MHZ:FEC_2_3:FEC_AUTO:QAM_64:TRANSMISSION_MODE_8K:GUARD_INTERVAL_1_8:HIERARCHY_NONE > > WARNING: >>> tuning failed!!! > >>> tune to: > 706000000:INVERSION_AUTO:BANDWIDTH_8_MHZ:FEC_2_3:FEC_AUTO:QAM_64:TRANSMISSION_MODE_8K:GUARD_INTERVAL_1_8:HIERARCHY_NONE > (tuning failed) > WARNING: >>> tuning failed!!! > >>> tune to: > 746000000:INVERSION_AUTO:BANDWIDTH_8_MHZ:FEC_2_3:FEC_AUTO:QAM_64:TRANSMISSION_MODE_8K:GUARD_INTERVAL_1_8:HIERARCHY_NONE > > WARNING: >>> tuning failed!!! > >>> tune to: > 746000000:INVERSION_AUTO:BANDWIDTH_8_MHZ:FEC_2_3:FEC_AUTO:QAM_64:TRANSMISSION_MODE_8K:GUARD_INTERVAL_1_8:HIERARCHY_NONE > (tuning failed) > WARNING: >>> tuning failed!!! > ERROR: initial tuning failed > dumping lists (0 services) > Done. > > > > > the interesting parts of dmesg: > > videodev: unsupported module, tainting kernel. > Linux video capture interface: v1.00 > tveeprom: unsupported module, tainting kernel. > btcx_risc: unsupported module, tainting kernel. > v4l2_common: unsupported module, tainting kernel. > video_buf: unsupported module, tainting kernel. > bttv: unsupported module, tainting kernel. > bttv: driver version 0.9.15 loaded > bttv: using 8 buffers with 2080k (520 pages) each for capture > bttv: Bt8xx card found (0). > ACPI: PCI interrupt 0000:06:02.0[A] -> GSI 18 (level, low) -> IRQ 217 > bttv0: Bt878 (rev 17) at 0000:06:02.0, irq: 217, latency: 32, mmio: > 0xdfefe000 > bttv0: detected: Twinhan VisionPlus DVB-T [card=113], PCI subsystem ID > is 1822:0001 > bttv0: using: Twinhan DST + clones [card=113,insmod option] > bttv0: gpio: en=00000000, out=00000000 in=00f500fd [init] > bttv0: using tuner=4 > tuner: unsupported module, tainting kernel. > bttv0: add subdevice "dvb0" > or51211: unsupported module, tainting kernel. > cx24110: unsupported module, tainting kernel. > dvb_core: unsupported module, tainting kernel. > bt878: unsupported module, tainting kernel. > bt878: AUDIO driver version 0.0.0 loaded > bt878: Bt878 AUDIO function found (0). > ACPI: PCI interrupt 0000:06:02.1[A] -> GSI 18 (level, low) -> IRQ 217 > bt878(0): Bt878 (rev 17) at 06:02.1, irq: 217, latency: 32, memory: > 0xdfeff000 > dst: unsupported module, tainting kernel. > dst_ca: unsupported module, tainting kernel. > sp887x: unsupported module, tainting kernel. > mt352: unsupported module, tainting kernel. > nxt6000: unsupported module, tainting kernel. > dvb_bt8xx: unsupported module, tainting kernel. > DVB: registering new adapter (bttv0). > dst_get_device_id: Recognise [DTT-CI] > DST type : terrestrial > DST type flags : 0x2 ts204 0x10 firmware version = 2 > DVB: registering frontend 0 (DST DVB-T)... > read_dst: read_dst error (err == -5, len == 0x01, b0 == 0xf7) > dst_error_recovery: Trying to return from previous errors... > read_dst: read_dst error (err == -5, len == 0x01, b0 == 0xf7) > dst_error_recovery: Trying to return from previous errors... > dst_error_bailout: Trying to bailout from previous error... > dst_write_tuna: read verify not successful. No doubts that it timed out. Manu.