Hi.
I have Aver Media AverTV a761 dvb-t tuner, on bt878 and SP887x.
And 2 troubles with it.
1.
It works well with kaffeine, but does not work with vdr.
Kaffeine can scan and play dvb-t h.264 transponder in my area.
With vdr I can scan channels only, with reelchannelscan or wirbelscan.
When I try select dvb-t channel, I have message info: Channel not available!
In syslog when system start:
bttv: driver version 0.9.18 loaded
bttv: using 8 buffers with 2080k (520 pages) each for capture
bttv: Bt8xx card found (0).
bttv 0000:00:0c.0: PCI INT A -> Link[LNKD] -> GSI 11 (level, low) -> IRQ 11
bttv0: Bt878 (rev 17) at 0000:00:0c.0, irq: 11, latency: 32, mmio: 0xe9128000
bttv0: detected: AverMedia AverTV DVB-T 761 [card=124], PCI subsystem ID is 1461:0761
bttv0: using: AverMedia AverTV DVB-T 761 [card=124,autodetected]
bttv0: gpio: en=00000000, out=00000000 in=009c004d [init]
bttv0: tuner absent
bttv0: registered device video0
bttv0: registered device vbi0
bttv0: PLL: 28636363 => 35468950 .. ok
bttv0: add subdevice "dvb0"
Registered IR keymap rc-avermedia-dvbt
input: bttv IR (card=124) as /devices/pci0000:00/0000:00:0c.0/rc/rc0/input4
rc0: bttv IR (card=124) as /devices/pci0000:00/0000:00:0c.0/rc/rc0
bt878: Bt878 AUDIO function found (0).
bt878 0000:00:0c.1: PCI INT A -> Link[LNKD] -> GSI 11 (level, low) -> IRQ 11
bt878_probe: card id=[0x7611461],[ AverMedia AverTV DVB-T 761 ] has DVB functions.
bt878(0): Bt878 (rev 17) at 00:0c.1, irq: 11, latency: 32, memory: 0xe9129000
DVB: registering new adapter (bttv0)
DVB: registering adapter 0 frontend 0 (Spase SP887x DVB-T)...
In syslog when vdr start:
vdr: [5047] probing /dev/dvb/adapter0/frontend0
vdr: [5047] creating cDvbDevice
vdr: [5047] new device number 1
kernel: [ 39.494991] sp887x: waiting for firmware upload (dvb-fe-sp887x.fw)...
kernel: [ 39.721116] i2c i2c-1: sendbytes: NAK bailout.
kernel: [ 39.721188] sp887x_writereg: writereg error (reg f1a, data 000, ret == -5)
vdr: [5047] frontend 0/0 provides DVB-T with QPSK,QAM16,QAM64 ("Spase SP887x DVB-T")
vdr: [5047] found 1 DVB device
vdr: [5135] tuner on frontend 0/0 thread started (pid=5047, tid=5135)
kernel: [ 39.723034] sp887x_initial_setup: firmware upload... sp887x: firmware upload complete
vdr: [5095] video directory scanner thread ended (pid=5047, tid=5095)
vdr: [5096] video directory scanner thread ended (pid=5047, tid=5096)
When select dvb-t channel:
vdr: [5047] switching to channel 271
vdr: [5047] info: Channel not available!
I use vdr-1.7.16, tried reel eHD, softdevice and xineliboutput.
The channels are NOT encrypted.
Anybody can tell me something about this?
2.
And yet. If I try use Avertv a761 and PRV 150 with pvrinput plugin, I have vdr crash:
vdr: [7166] starting plugin: pvrinput
vdr: [7166] registered source parameters for 'V - analog (pvrinput)'
kernel: [ 1342.984061] BUG: unable to handle kernel paging request at 8068560c
kernel: [ 1342.984073] IP: [<f8182010>] video_devdata+0x0/0x20 [videodev]
kernel: [ 1342.984093] *pde = 00000000
kernel: [ 1342.984099] Oops: 0000 [#1] SMP
kernel: [ 1342.984104] last sysfs file: /sys/devices/pci0000:00/0000:00:01.0/0000:01:00.0/device
kernel: [ 1342.984110] Modules linked in: snd_intel8x0 snd_emu10k1 snd_rawmidi snd_ac97_codec snd_pcm snd_timer snd_
util_mem snd_hwdep snd soundcore tun lirc_serial hdshm video output container battery sbs sbshc iptable_filter ip_tables x_tables ac w83627hf
hwmon_vid matroxfb_maven matroxfb_crtc2 i2c_matroxfb matroxfb_base matroxfb_DAC1064 matroxfb_accel matroxfb_Ti3026 matroxfb_g450 g450_pll matr
oxfb_misc firewire_sbp2 lp loop evdev tuner_simple tuner_types ipv6 wm8775 tda9887 tda8290 option usb_wwan serio_raw usbserial tuner
cx25840 parport_pc sp887x parport lirc_dev ir_sony_decoder dvb_bt8xx ir_jvc_decoder lnbp21 tpm_tis tpm tpm_bios dvb_core bt878 ivtv ir_rc6_decoder button rc_avermedia_dvbt cx2341x processor ir_rc5_decoder bttv ac97_bus ir_nec_
decoder v4l2_common shpchp videodev v4l1_compat i2c_algo_bit videobuf_dma_sg pci_hotplug videobuf_core btcx_risc ir_common ir_core sis_agp emu
10k1_gp tveeprom gameport agpgart s
kernel: d_page_alloc i2c_sis96x i2c_core ext3 jbd mbcache sd_mod sr_mod cdrom sg pata_sis pata_acpi ata_generic libata ehci_hcd ohci_hcd usbcore scsi_mod firewire_ohci sis900 firewire_core mii crc_itu_t thermal fan thermal_sys fuse [last unloaded: soundcore]
kernel: [ 1342.984322]
kernel: [ 1342.984329] Pid: 7166, comm: vdr Tainted: G D 2.6.37 #2 NS80/
kernel: [ 1342.984334] EIP: 0060:[<f8182010>] EFLAGS: 00210296 CPU: 0
kernel: [ 1342.984346] EIP is at video_devdata+0x0/0x20 [videodev]
kernel: [ 1342.984350] EAX: 80685600 EBX: f3592400 ECX: bfd01870 EDX: 80685600
kernel: [ 1342.984357] ESI: 80685600 EDI: bfd01870 EBP: f35a4000 ESP: f35a5f08
kernel: [ 1342.984363] DS: 007b ES: 007b FS: 00d8 GS: 0033 SS: 0068
kernel: [ 1342.984371] Process vdr (pid: 7166, ti=f35a4000 task=f3424f80 task.ti=f35a4000)
kernel: [ 1342.984376] Stack:
kernel: [ 1342.984380] f8182049 f3592400 f8182030 00000016 c01e9f20 f3592400 f44f0060 c01ea09b
kernel: [ 1342.984396] 00000004 c03d23c9 00200246 c05d1e00 f3424f80 f35ec180 f3592408 f44f0060
kernel: [ 1342.984412] 00008001 00000000 f67aff00 fffffff2 00200286 00000000 c01dac34 00000020
kernel: [ 1342.984428] Call Trace:
kernel: [ 1342.984444] [<f8182049>] ? v4l2_ioctl+0x19/0x40 [videodev]
kernel: [ 1342.984458] [<f8182030>] ? v4l2_ioctl+0x0/0x40 [videodev]
kernel: [ 1342.984468] [<c01e9f20>] ? vfs_ioctl+0x30/0x50
kernel: [ 1342.984475] [<c01ea09b>] ? do_vfs_ioctl+0x6b/0x550
kernel: [ 1342.984483] [<c03d23c9>] ? do_page_fault+0x219/0x4e0
kernel: [ 1342.984489] [<c01dac34>] ? do_sys_open+0xd4/0x100
kernel: [ 1342.984494] [<c01dac34>] ? do_sys_open+0xd4/0x100
kernel: [ 1342.984499] [<c01ea5d6>] ? sys_ioctl+0x56/0x70
kernel: [ 1342.984505] [<c0102d18>] ? sysenter_do_call+0x12/0x28
kernel: [ 1342.984508] Code: <8b> 40 0c 8b 40 10 8b 40 3c 25 ff ff 0f 00 8b 04 85 c0 a6 18 f8 c3
kernel: [ 1342.984543] EIP: [<f8182010>] video_devdata+0x0/0x20 [videodev] SS:ESP 0068:f35a5f08
kernel: [ 1342.984556] CR2: 000000008068560c
kernel: [ 1342.984562] ---[ end trace 383337887707f3d9 ]---
I have this trouble when try load pvrinput + a761 without pvr150, pvrinput and avertv a761 do not love each other :-)
I understand that a761 should not work with pvrinput, but why crash?
Best regards.
Hi,
bttv0: registered device video0 bttv0: registered device vbi0
And yet. If I try use Avertv a761 and PRV 150 with pvrinput plugin, I have vdr crash:
It seems that the driver for your a761 registers also an analog video device. pvrinput tries to open it and sends a VIDIOC_QUERYCAP to determine if it's a device it can handle. But the driver don't like it...
A dirty workaround would be to add the option "video_nr" and "vbi_nr" to your bttv-module (look at "modinfo bttv") and set the number to something greater than 16. pvrinput will only test the first 8 video-nodes (see global.h in its source if it's modified).
The right way is to look into the driver and test it if it crashes when you send the ioctl mentioned above.
Regards, Lars.
I tried "options bttv video_nr=17 vbi_nr=17". It works fine.
Thank you.
Remains to solve the 1 trouble, playing dvb-t.
Best regards.
-----Original Message----- From: L. Hanisch [mailto:dvb@flensrocker.de] Sent: Sunday, February 13, 2011 8:18 PM To: VDR Mailing List Cc: Придворов Андрей Subject: Re: [vdr] AvetTV a761
Hi,
bttv0: registered device video0 bttv0: registered device vbi0
And yet. If I try use Avertv a761 and PRV 150 with pvrinput plugin, I have
vdr crash:
It seems that the driver for your a761 registers also an analog video device. pvrinput tries to open it and sends a VIDIOC_QUERYCAP to determine if it's a device it can handle. But the driver don't like it...
A dirty workaround would be to add the option "video_nr" and "vbi_nr" to your bttv-module (look at "modinfo bttv") and set the number to something greater than 16. pvrinput will only test the first 8 video-nodes (see global.h in its source if it's modified).
The right way is to look into the driver and test it if it crashes when you send the ioctl mentioned above.
Regards, Lars.