Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
AverMedia DVB-T
View unanswered posts
View posts from last 24 hours

Goto page Previous  1, 2  
Reply to topic    Gentoo Forums Forum Index Multimedia
View previous topic :: View next topic  
Author Message
the_weird
n00b
n00b


Joined: 25 Oct 2003
Posts: 4
Location: Sweden

PostPosted: Tue Jun 15, 2004 1:54 pm    Post subject: Reply with quote

hi, i have followed every post here to get my card working but with no luck.

I also use a avertv dvb-t card but i cant get the frontend working.
Also where you all have.

DVB: registering new adapter (Ave).
i have
DVB: registering new adapter (Neb).

Code:

Linux video capture interface: v1.00
bttv: driver version 0.9.12 loaded
bttv: using 8 buffers with 2080k (520 pages) each for capture
bttv: Bt8xx card found (0).
bttv0: Bt878 (rev 17) at 0000:01:08.0, irq: 3, latency: 32, mmio: 0xde000000
bttv0: subsystem: 1461:0771 (UNKNOWN)
please mail id, board name and the correct card= insmod option to kraxel@bytesex.org
bttv0: using: Nebula Electronics DigiTV [card=104,insmod option]
bttv0: gpio: en=00000000, out=00000000 in=00f8ff0f [init]
bttv0: using tuner=-1
bttv0: registered device video0
bttv0: registered device vbi0
bttv0: PLL: 28636363 => 35468950 .. ok
bttv0: add subdevice "dvb0"
bt878: AUDIO driver version 0.0.0 loaded
bt878: Bt878 AUDIO function found (0).
bt878(0): Bt878 (rev 17) at 01:08.1, irq: 3, latency: 32, memory: 0xde001000
dvb_bt8xx_init: unknown card_id found 7711461
dvb_bt8xx_init: bttv type set to nebula
attach: checking "bt878 #0 [sw]"
find by pci: checking "bt878 #0 [sw]"
attach: "bt878 #0 [sw]", to card 0
DVB: registering new adapter (Neb).


thats all i get from the following modules

modprobe bttv card=0x68
modprobe bt878
modprobe dvb_bt8xx
modprobe sp887x

(havent started trying to get lirc working)

Im using gentoo-dev-sources(2.6.5-gentoo-r1). I have tried all kernels known to mankind i think.
Also, i have the sc_main.mc firmware in /usr/lib/hotplug/firmware that i got from the avermedia cd.

So please if you have any ideas of whats wrong, tell me, im all out of them.
Back to top
View user's profile Send private message
the_weird
n00b
n00b


Joined: 25 Oct 2003
Posts: 4
Location: Sweden

PostPosted: Tue Jun 15, 2004 3:59 pm    Post subject: Reply with quote

ok, this is how it is, i just found out that i have a AverTV DVB-t 771 card that uses MT352 as demodulator instead of Microtune 7202D.

EDIT:

Ive got the frontend working
What i did was:

Get the latest linuxtv-dvb source
Code:

cvs -d :pserver:anonymous@linuxtv.org:/cvs/linuxtv login
cvs -d :pserver:anonymous@linuxtv.org:/cvs/linuxtv co dvb-kernel


Be sure to use a clean kerneldir, i did the following(i did get a lot of errors before)

Code:

emerge unmerge gentoo-dev-sources
rm /lib/modules/your-kernel-name -rv
rm linux* /usr/src -rv
emerge gentoo-dev-sources


then "soft-patch" your kernel with the new dvb sources

Code:

new_sources/dvb-kernel/makelinks


and enable the new option for the mt352 chip
Code:
 
cd /usr/src/linux && make menuconfig

Device Drivers > Multimedia Devices > Digital Video Broadcasting Devices

<M>     Zarlink MT352 based
< >     Microtune sp887x based (i.e. Microtune DTF7072) <-- that one we dont need

then run:

make && make modules_install
(mount /boot)
cp /usr/src/linux/arch/i386/boot/bzImage /boot

and configure your bootloader with your new kernel.


When you have booted the system with your new kernel just type the following:


Code:

modprobe bttv i2c_hw=1 card=0x68
modprobe bt878
modprobe dvb-bt8xx
modprobe mt352


This would produce a dmesg message like this one:

Code:
Linux video capture interface: v1.00
bttv: driver version 0.9.12 loaded
bttv: using 8 buffers with 2080k (520 pages) each for capture
bttv: Bt8xx card found (0).
bttv0: Bt878 (rev 17) at 0000:01:08.0, irq: 3, latency: 32, mmio: 0xde000000
bttv0: subsystem: 1461:0771 (UNKNOWN)
please mail id, board name and the correct card= insmod option to kraxel@bytesex.org
bttv0: using: Nebula Electronics DigiTV [card=104,insmod option]
bttv0: gpio: en=00000000, out=00000000 in=0098000f [init]
bttv0: using tuner=-1
bttv0: registered device video0
bttv0: registered device vbi0
bttv0: PLL: 28636363 => 35468950 .. ok
bttv0: add subdevice "dvb0"
bt878: AUDIO driver version 0.0.0 loaded
bt878: Bt878 AUDIO function found (0).
bt878(0): Bt878 (rev 17) at 01:08.1, irq: 3, latency: 32, memory: 0xde001000
attach: checking "bt878 #0 [hw]"
find by pci: checking "bt878 #0 [hw]"
attach: "bt878 #0 [hw]", to card 0
DVB: registering new adapter (Ave).
DVB: registering frontend 0:0 (DVB-T Zarlink MT352 demodulator driver)...


Good luck!
Back to top
View user's profile Send private message
devzero_DE
n00b
n00b


Joined: 06 Jun 2004
Posts: 36
Location: Cologne / Germany

PostPosted: Tue Jun 22, 2004 3:02 pm    Post subject: Reply with quote

I got same DVB-T card as the_weird, also with MT352 onboard.
dmesg shows the card correctly, but its unable to tune to any channel. The scan programm isnt working too. Ive noticed that there is no output in dmesg that the firmware gets loaded. Hotplug is running.

Code:
bttv: driver version 0.9.14 loaded
bttv: using 8 buffers with 2080k (520 pages) each for capture
bttv: Bt8xx card found (0).
bttv0: Bt878 (rev 17) at 0000:01:0b.0, irq: 12, latency: 32, mmio: 0xe4000000
bttv0: subsystem: 1461:0771 (UNKNOWN)
please mail id, board name and the correct card= insmod option to kraxel@bytesex                                                                           
.org
bttv0: using:  *** UNKNOWN/GENERIC ***  [card=0,autodetected]
bttv0: gpio: en=00000000, out=00000000 in=0090000f [init]
bttv0: using tuner=-1
bttv0: i2c: checking for MSP34xx @ 0x80... not found
bttv0: i2c: checking for TDA9875 @ 0xb0... not found
bttv0: i2c: checking for TDA7432 @ 0x8a... not found
bttv0: registered device video0
bttv0: registered device vbi0
bt878: AUDIO driver version 0.0.0 loaded
bt878: Bt878 AUDIO function found (0).
bt878(0): Bt878 (rev 17) at 01:0b.1, irq: 12, latency: 32, memory: 0xe4001000
attach: checking "SMBus nForce2 adapter at 5000"
attach: checking "SMBus nForce2 adapter at 5040"
attach: checking "ISA main adapter"
attach: checking "bt878 #0 [hw]"
find by pci: checking "bt878 #0 [hw]"
attach: "bt878 #0 [hw]", to card 0
DVB: registering new adapter (Ave).
DVB: registering frontend 0:0 (DVB-T Zarlink MT352 demodulator driver)...



Code:
root@ck-01 scan # ./scan dvb-t/de-Bonn 
scanning dvb-t/de-Bonn
using '/dev/dvb/adapter0/frontend0' and '/dev/dvb/adapter0/demux0'
initial transponder 514000000 0 2 0 1 1 3 0
initial transponder 538000000 0 2 0 1 1 3 0
initial transponder 594000000 0 2 0 1 1 3 0
initial transponder 650000000 0 2 0 1 1 3 0
initial transponder 698000000 0 2 0 1 1 3 0
initial transponder 826000000 0 2 0 1 1 3 0
>>> tune to: 514000000:INVERSION_AUTO:BANDWIDTH_8_MHZ:FEC_2_3:FEC_NONE:QAM_16:TRANSMISSION_MODE_8K:GUARD_INTERVAL_1_4:HIERARCHY_NONE
WARNING: >>> tuning failed!!!
>>> tune to: 514000000:INVERSION_AUTO:BANDWIDTH_8_MHZ:FEC_2_3:FEC_NONE:QAM_16:TRANSMISSION_MODE_8K:GUARD_INTERVAL_1_4:HIERARCHY_NONE (tuning failed)
WARNING: >>> tuning failed!!!
>>> tune to: 538000000:INVERSION_AUTO:BANDWIDTH_8_MHZ:FEC_2_3:FEC_NONE:QAM_16:TRANSMISSION_MODE_8K:GUARD_INTERVAL_1_4:HIERARCHY_NONE
WARNING: >>> tuning failed!!!
>>> tune to: 538000000:INVERSION_AUTO:BANDWIDTH_8_MHZ:FEC_2_3:FEC_NONE:QAM_16:TRANSMISSION_MODE_8K:GUARD_INTERVAL_1_4:HIERARCHY_NONE (tuning failed)
WARNING: >>> tuning failed!!!
>>> tune to: 594000000:INVERSION_AUTO:BANDWIDTH_8_MHZ:FEC_2_3:FEC_NONE:QAM_16:TRANSMISSION_MODE_8K:GUARD_INTERVAL_1_4:HIERARCHY_NONE
WARNING: >>> tuning failed!!!
>>> tune to: 594000000:INVERSION_AUTO:BANDWIDTH_8_MHZ:FEC_2_3:FEC_NONE:QAM_16:TRANSMISSION_MODE_8K:GUARD_INTERVAL_1_4:HIERARCHY_NONE (tuning failed)
WARNING: >>> tuning failed!!!
>>> tune to: 650000000:INVERSION_AUTO:BANDWIDTH_8_MHZ:FEC_2_3:FEC_NONE:QAM_16:TRANSMISSION_MODE_8K:GUARD_INTERVAL_1_4:HIERARCHY_NONE
WARNING: >>> tuning failed!!!
>>> tune to: 650000000:INVERSION_AUTO:BANDWIDTH_8_MHZ:FEC_2_3:FEC_NONE:QAM_16:TRANSMISSION_MODE_8K:GUARD_INTERVAL_1_4:HIERARCHY_NONE (tuning failed)
WARNING: >>> tuning failed!!!
>>> tune to: 698000000:INVERSION_AUTO:BANDWIDTH_8_MHZ:FEC_2_3:FEC_NONE:QAM_16:TRANSMISSION_MODE_8K:GUARD_INTERVAL_1_4:HIERARCHY_NONE
WARNING: >>> tuning failed!!!
>>> tune to: 698000000:INVERSION_AUTO:BANDWIDTH_8_MHZ:FEC_2_3:FEC_NONE:QAM_16:TRANSMISSION_MODE_8K:GUARD_INTERVAL_1_4:HIERARCHY_NONE (tuning failed)
WARNING: >>> tuning failed!!!
>>> tune to: 826000000:INVERSION_AUTO:BANDWIDTH_8_MHZ:FEC_2_3:FEC_NONE:QAM_16:TRANSMISSION_MODE_8K:GUARD_INTERVAL_1_4:HIERARCHY_NONE
WARNING: >>> tuning failed!!!
>>> tune to: 826000000:INVERSION_AUTO:BANDWIDTH_8_MHZ:FEC_2_3:FEC_NONE:QAM_16:TRANSMISSION_MODE_8K:GUARD_INTERVAL_1_4:HIERARCHY_NONE (tuning failed)
WARNING: >>> tuning failed!!!
ERROR: initial tuning failed
dumping lists (0 services)
Done.


I load the bttv module with this command
Code:
modprobe bttv i2c_hw=1 card=0x79


because I really don't know why 0x68 (take a look in the bttv modul related source, there is 0x79 for the AverMedia DVB-T 771) - 0x68 isnt working either for me.
Back to top
View user's profile Send private message
cca93014
Tux's lil' helper
Tux's lil' helper


Joined: 31 Jul 2002
Posts: 77
Location: London, UK

PostPosted: Mon Jul 12, 2004 4:21 pm    Post subject: Reply with quote

I'm getting errors with the latest DVB CVS snapshot...I have a 771 card and followed your advice, the_weird, but am getting warnings when compiling the kernel and the following when insmodding the modules:

Code:
Jul 12 16:16:02 gentoo Linux video capture interface: v1.00
Jul 12 16:16:02 gentoo bttv: driver version 0.9.12 loaded
Jul 12 16:16:02 gentoo bttv: using 8 buffers with 2080k (520 pages) each for capture
Jul 12 16:16:02 gentoo bttv: Bt8xx card found (0).
Jul 12 16:16:02 gentoo bttv0: Bt878 (rev 17) at 0000:00:0a.0, irq: 12, latency: 32, mmio: 0xec100000
Jul 12 16:16:02 gentoo bttv0: subsystem: 1461:0771 (UNKNOWN)
Jul 12 16:16:02 gentoo please mail id, board name and the correct card= insmod option to kraxel@bytesex.org
Jul 12 16:16:02 gentoo bttv0: using: Nebula Electronics DigiTV [card=104,insmod option]
Jul 12 16:16:02 gentoo bttv0: gpio: en=00000000, out=00000000 in=00f0ff0f [init]
Jul 12 16:16:02 gentoo bttv0: using tuner=-1
Jul 12 16:16:02 gentoo bttv0: registered device video0
Jul 12 16:16:02 gentoo bttv0: registered device vbi0
Jul 12 16:16:02 gentoo bttv0: PLL: 28636363 => 35468950 .. ok
Jul 12 16:16:02 gentoo bttv0: add subdevice "dvb0"
Jul 12 16:16:05 gentoo bt878: AUDIO driver version 0.0.0 loaded
Jul 12 16:16:05 gentoo bt878: Bt878 AUDIO function found (0).
Jul 12 16:16:05 gentoo bt878(0): Bt878 (rev 17) at 00:0a.1, irq: 12, latency: 32, memory: 0xec101000
Jul 12 16:16:08 gentoo dvb_core: Unknown symbol dvb_ringbuffer_pkt_read
Jul 12 16:16:08 gentoo dvb_core: Unknown symbol dvb_ringbuffer_pkt_write
Jul 12 16:16:08 gentoo dvb_core: Unknown symbol dvb_ringbuffer_pkt_next
Jul 12 16:16:08 gentoo dvb_core: Unknown symbol dvb_ringbuffer_pkt_dispose
Jul 12 16:16:08 gentoo dvb_bt8xx: Unknown symbol dvb_dmxdev_init
Jul 12 16:16:08 gentoo dvb_bt8xx: Unknown symbol dvb_register_i2c_bus
Jul 12 16:16:08 gentoo dvb_bt8xx: Unknown symbol dvb_register_adapter
Jul 12 16:16:08 gentoo dvb_bt8xx: Unknown symbol dvb_dmx_swfilter_204
Jul 12 16:16:08 gentoo dvb_bt8xx: Unknown symbol dvb_dmx_release
Jul 12 16:16:08 gentoo dvb_bt8xx: Unknown symbol dvb_net_init
Jul 12 16:16:08 gentoo dvb_bt8xx: Unknown symbol dvb_dmx_swfilter
Jul 12 16:16:08 gentoo dvb_bt8xx: Unknown symbol dvb_dmxdev_release
Jul 12 16:16:08 gentoo dvb_bt8xx: Unknown symbol dvb_unregister_i2c_bus
Jul 12 16:16:08 gentoo dvb_bt8xx: Unknown symbol dvb_net_release
Jul 12 16:16:08 gentoo dvb_bt8xx: Unknown symbol dvb_unregister_adapter
Jul 12 16:16:08 gentoo dvb_bt8xx: Unknown symbol dvb_dmx_init


I downloaded the CVS snapshot, placed it in /usr/src

then went:

Code:
cd /usr/src/dvb-kernel
./makelinks /usr/src/linux
cd ../linux
make && make modules_install


I am getting the following warnings during the module compile:

Code:
if [ -r System.map ]; then /sbin/depmod -ae -F System.map  2.6.5-gentoo-r1; fi
WARNING: /lib/modules/2.6.5-gentoo-r1/kernel/drivers/media/dvb/dvb-core/dvb-core.ko needs unknown symbol dvb_ringbuffer_pkt_read
WARNING: /lib/modules/2.6.5-gentoo-r1/kernel/drivers/media/dvb/dvb-core/dvb-core.ko needs unknown symbol dvb_ringbuffer_pkt_write
WARNING: /lib/modules/2.6.5-gentoo-r1/kernel/drivers/media/dvb/dvb-core/dvb-core.ko needs unknown symbol dvb_ringbuffer_pkt_next
WARNING: /lib/modules/2.6.5-gentoo-r1/kernel/drivers/media/dvb/dvb-core/dvb-core.ko needs unknown symbol dvb_ringbuffer_pkt_dispose


Anyone got any ideas? Is the current snapshot of CVS broken? I've no idea how to find out...Is there a pervious day's snapshot I can checkout and from?
Back to top
View user's profile Send private message
cca93014
Tux's lil' helper
Tux's lil' helper


Joined: 31 Jul 2002
Posts: 77
Location: London, UK

PostPosted: Mon Jul 12, 2004 6:00 pm    Post subject: Sort of working... Reply with quote

Right. I had the wrong card selected in the kernel config :oops:, but also I checked out the CVS snapshot from around the same time as the people above, with:

Code:
cvs -d :pserver:anonymous@linuxtv.org:/cvs/linuxtv co -D 2004-06-21 dvb-kernel


Anyway, it looks like things are starting up OK now. I get this in the dmesg when insmodding the modules:

Code:
Linux video capture interface: v1.00
bttv: driver version 0.9.12 loaded
bttv: using 8 buffers with 2080k (520 pages) each for capture
bttv: Bt8xx card found (0).
bttv0: Bt878 (rev 17) at 0000:00:0a.0, irq: 12, latency: 32, mmio: 0xec100000
bttv0: subsystem: 1461:0771 (UNKNOWN)
please mail id, board name and the correct card= insmod option to kraxel@bytesex.org
bttv0: using: Nebula Electronics DigiTV [card=104,insmod option]
bttv0: gpio: en=00000000, out=00000000 in=00f0ff0f [init]
bttv0: using tuner=-1
bttv0: registered device video0
bttv0: registered device vbi0
bttv0: PLL: 28636363 => 35468950 .. ok
bttv0: add subdevice "dvb0"
bt878: AUDIO driver version 0.0.0 loaded
bt878: Bt878 AUDIO function found (0).
bt878(0): Bt878 (rev 17) at 00:0a.1, irq: 12, latency: 32, memory: 0xec101000
attach: checking "bt878 #0 [hw]"
find by pci: checking "bt878 #0 [hw]"
attach: "bt878 #0 [hw]", to card 0
DVB: registering new adapter (Ave).
DVB: registering frontend 0:0 (DVB-T Zarlink MT352 demodulator driver)...

But trying to scan for channels gives me:
Code:

gentoo scan # ./scan dvb-t/uk-CrystalPalace -v
scanning dvb-t/uk-CrystalPalace
using '/dev/dvb/adapter0/frontend0' and '/dev/dvb/adapter0/demux0'
initial transponder 505833333 0 3 0 1 0 0 0
>>> tune to: 505833333:INVERSION_AUTO:BANDWIDTH_8_MHZ:FEC_3_4:FEC_NONE:QAM_16:TRANSMISSION_MODE_2K:GUARD_INTERVAL_1_32:HIERARCHY_NONE
>>> tuning status == 0x00
>>> tuning status == 0x00
>>> tuning status == 0x00
>>> tuning status == 0x00
>>> tuning status == 0x00
>>> tuning status == 0x00
>>> tuning status == 0x00
>>> tuning status == 0x00
>>> tuning status == 0x00
>>> tuning status == 0x00
WARNING: >>> tuning failed!!!
>>> tune to: 505833333:INVERSION_AUTO:BANDWIDTH_8_MHZ:FEC_3_4:FEC_NONE:QAM_16:TRANSMISSION_MODE_2K:GUARD_INTERVAL_1_32:HIERARCHY_NONE (tuning failed)
>>> tuning status == 0x00
>>> tuning status == 0x00
>>> tuning status == 0x00
>>> tuning status == 0x00
>>> tuning status == 0x00
>>> tuning status == 0x00
>>> tuning status == 0x00
>>> tuning status == 0x00
>>> tuning status == 0x00
>>> tuning status == 0x00
WARNING: >>> tuning failed!!!
ERROR: initial tuning failed
dumping lists (0 services)
Done.

I'm in North London, so I am 99% sure the transmitter is right. I have had the card working with the same aerial under windows. Anyone with any ideas?
Code:
Back to top
View user's profile Send private message
quadbox
Tux's lil' helper
Tux's lil' helper


Joined: 11 Jun 2002
Posts: 94
Location: Brisbane, Australia

PostPosted: Mon Jul 19, 2004 9:06 am    Post subject: Reply with quote

I've also got a DVB-T 771 card.

Thanks for the info the_weird, very helpful.

Unfortuanately, the current (as of 19/7/04) cvs code for mt352 segfaults, for me. I've gone back a revision or two, and it loads fine, but I get the same tuning problem as devzero_DE.

Anyone aware of a solution?

I know in my case that it isn't a signal problem, as the same card/antenna setup works fine in windows.

EDIT - I just knabbed a channels.conf that someone else had done for Brisbane, and it works a treat :)
Back to top
View user's profile Send private message
the_weird
n00b
n00b


Joined: 25 Oct 2003
Posts: 4
Location: Sweden

PostPosted: Mon Aug 02, 2004 8:52 am    Post subject: Reply with quote

Skyvalley wrote:
Hi! and thx for all the great inputs! But I'm still having problems with my card.
I run Gentoo with 2.6.5 kernel.
Here is my dmesg:
Code:

bttv: driver version 0.9.12 loaded
bttv: using 8 buffers with 2080k (520 pages) each for capture
bttv: Bt8xx card found (0).
PCI: Found IRQ 11 for device 0000:00:0b.0
PCI: Sharing IRQ 11 with 0000:00:07.2
PCI: Sharing IRQ 11 with 0000:00:0b.1
bttv0: Bt878 (rev 17) at 0000:00:0b.0, irq: 11, latency: 32, mmio: 0xe0001000
bttv0: subsystem: 1461:0761 (UNKNOWN)
please mail id, board name and the correct card= insmod option to kraxel@bytesex.org
bttv0: using: Nebula Electronics DigiTV [card=104,insmod option]
bttv0: gpio: en=00000000, out=00000000 in=009f00cd [init]
bttv0: using tuner=-1
bttv0: registered device video0
bttv0: registered device vbi0
bttv0: PLL: 28636363 => 35468950 . ok
bttv0: add subdevice "dvb0"
bt878: AUDIO driver version 0.0.0 loaded
bt878: Bt878 AUDIO function found (0).
PCI: Found IRQ 11 for device 0000:00:0b.1
PCI: Sharing IRQ 11 with 0000:00:07.2
PCI: Sharing IRQ 11 with 0000:00:0b.0
bt878(0): Bt878 (rev 17) at 00:0b.1, irq: 11, latency: 32, memory: 0xe0002000
attach: checking "bt878 #0 [sw]"
find by pci: checking "bt878 #0 [sw]"
attach: "bt878 #0 [sw]", to card 0
DVB: registering new adapter (Ave).
DVB: registering frontend 0:0 (Microtune MT7202DTF)...
lirc_dev: lirc_register_plugin:sample_rate: 10
lirc_gpio (0): driver registered

...and when i run ./scan dvb-t/se-Gavle i'll get:
Code:

i2c_adapter i2c-1: sendbytes: error - bailout.
sp887x_initial_setup: firmware upload... done.

and
Code:

scanning dvb-t/se-Gavle
using '/dev/dvb/adapter0/frontend0' and '/dev/dvb/adapter0/demux0'
Frontend can not do INVERSION_AUTO, trying INVERSION_OFF instead
initial transponder 674000000 0 2 0 3 1 2 0
initial transponder 498000000 0 2 0 3 1 2 0
initial transponder 562000000 0 2 0 3 1 2 0
initial transponder 706000000 0 2 0 3 1 2 0
>>> tune to: 674000000:INVERSION_OFF:BANDWIDTH_8_MHZ:FEC_2_3:FEC_NONE:QAM_64:TRANSMISSION_MODE_8K:GUARD_INTERVAL_1_8:HIERARCHY_NONE
WARNING: >>> tuning failed!!!
>>> tune to: 674000000:INVERSION_OFF:BANDWIDTH_8_MHZ:FEC_2_3:FEC_NONE:QAM_64:TRANSMISSION_MODE_8K:GUARD_INTERVAL_1_8:HIERARCHY_NONE (tuning failed)
WARNING: >>> tuning failed!!!
>>> tune to: 498000000:INVERSION_OFF:BANDWIDTH_8_MHZ:FEC_2_3:FEC_NONE:QAM_64:TRANSMISSION_MODE_8K:GUARD_INTERVAL_1_8:HIERARCHY_NONE
WARNING: >>> tuning failed!!!
>>> tune to: 498000000:INVERSION_OFF:BANDWIDTH_8_MHZ:FEC_2_3:FEC_NONE:QAM_64:TRANSMISSION_MODE_8K:GUARD_INTERVAL_1_8:HIERARCHY_NONE (tuning failed)
WARNING: >>> tuning failed!!!
>>> tune to: 562000000:INVERSION_OFF:BANDWIDTH_8_MHZ:FEC_2_3:FEC_NONE:QAM_64:TRANSMISSION_MODE_8K:GUARD_INTERVAL_1_8:HIERARCHY_NONE
WARNING: >>> tuning failed!!!
>>> tune to: 562000000:INVERSION_OFF:BANDWIDTH_8_MHZ:FEC_2_3:FEC_NONE:QAM_64:TRANSMISSION_MODE_8K:GUARD_INTERVAL_1_8:HIERARCHY_NONE (tuning failed)
WARNING: >>> tuning failed!!!
>>> tune to: 706000000:INVERSION_OFF:BANDWIDTH_8_MHZ:FEC_2_3:FEC_NONE:QAM_64:TRANSMISSION_MODE_8K:GUARD_INTERVAL_1_8:HIERARCHY_NONE
WARNING: >>> tuning failed!!!
>>> tune to: 706000000:INVERSION_OFF:BANDWIDTH_8_MHZ:FEC_2_3:FEC_NONE: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.


Thanx!!!



You are probably having the same problems like i had.
Se-Gavle does work.... in the northern part of Sweden.
If you are in the southern part you could try Hörbymasten.

These are the settings i came up with when i had the same problem

T 482000000 8MHz 3/4 NONE QAM64 8k 1/4 NONE
T 506000000 8MHz 3/4 NONE QAM64 8k 1/4 NONE
T 794000000 8MHz 3/4 NONE QAM64 8k 1/4 NONE
T 818000000 8MHz 3/4 NONE QAM64 8k 1/4 NONE
T 850000000 8MHz 3/4 NONE QAM64 8k 1/4 NONE

You could write your own scan settings, just look at http://www.teracom.se for frequence tables.
Back to top
View user's profile Send private message
lodgey
n00b
n00b


Joined: 27 Oct 2004
Posts: 19
Location: Adelaide, South Australia

PostPosted: Mon Jan 10, 2005 12:48 pm    Post subject: Reply with quote

I've got a AverTV DVB-T card that has been sitting in a windows machine for a while, and I want to see if it will work through linux, but I'm not having much luck.

I have recently emerged linux 2.6.10 r4 from gentoo-dev-sources.

dmesg:
Code:
Linux video capture interface: v1.00
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:02:04.0[A] -> GSI 11 (level, low) -> IRQ 11
bttv0: Bt878 (rev 17) at 0000:02:04.0, irq: 11, latency: 32, mmio: 0xf7efe000
bttv0: detected: AverMedia AverTV DVB-T [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=0098008d [init]
bttv0: using tuner=-1
bttv0: registered device video0
bttv0: registered device vbi0
bttv0: PLL: 28636363 => 35468950 . ok
bttv0: add subdevice "remote0"
bttv0: add subdevice "dvb0"
bt878: AUDIO driver version 0.0.0 loaded
bt878: Bt878 AUDIO function found (0).
ACPI: PCI interrupt 0000:02:04.1[A] -> GSI 11 (level, low) -> IRQ 11
bt878(0): Bt878 (rev 17) at 02:04.1, irq: 11, latency: 32, memory: 0xf7eff000
DVB: registering new adapter (bttv0).
DVB: registering frontend 0 (Spase SP887x DVB-T)...


When I run scan I get:
Code:
using '/dev/dvb/adapter0/frontend0' and '/dev/dvb/adapter0/demux0'
initial transponder 226500000 1 2 0 3 1 2 0
initial transponder 191625000 1 2 0 3 1 2 0
initial transponder 219500000 1 2 0 3 1 2 0
initial transponder 177500000 1 2 0 3 1 2 0
initial transponder 564500000 1 2 0 3 1 2 0
>>> tune to: 226500000:INVERSION_AUTO:BANDWIDTH_7_MHZ:FEC_2_3:FEC_NONE:QAM_64:TRANSMISSION_MODE_8K:GUARD_INTERVAL_1_8:HIERARCHY_NONE
WARNING: >>> tuning failed!!!
>>> tune to: 226500000:INVERSION_AUTO:BANDWIDTH_7_MHZ:FEC_2_3:FEC_NONE:QAM_64:TRANSMISSION_MODE_8K:GUARD_INTERVAL_1_8:HIERARCHY_NONE (tuning failed)
WARNING: >>> tuning failed!!!


etc.

If I try dmesg again...
Code:
sp887x: waiting for firmware upload...
i2c_adapter i2c-0: sendbytes: error - bailout.
sp887x_initial_setup: firmware upload... done.


gets added.

does anyone know what this problem is?
Back to top
View user's profile Send private message
rushdy
n00b
n00b


Joined: 01 Jun 2004
Posts: 22
Location: England

PostPosted: Mon Feb 07, 2005 1:08 pm    Post subject: I2C Errors Reply with quote

I, and a few other people on here have been having a problem with i2c when trying to get avermedia dvb cards working.

Im my case the error im getting is:

i2c_adapter i2c-4: sendbytes: error - bailout.

This appears when you attempt to test the card and it uploads the firmware. This is obviously a problem, because the turning details etc are sent using i2c.

Anyone know how to fix this?
Back to top
View user's profile Send private message
herbo
Tux's lil' helper
Tux's lil' helper


Joined: 13 Feb 2004
Posts: 145
Location: Land Of Oz

PostPosted: Tue Feb 08, 2005 5:43 am    Post subject: Reply with quote

Uh, I am sure that the message is not the problem:

I have this come up, whenever I use the dvb card:
Quote:

sp887x: waiting for firmware upload...
i2c_adapter i2c-0: sendbytes: error - bailout.
sp887x_initial_setup: firmware upload... done.
spurious 8259A interrupt: IRQ7.

And my aver dvb-t (761) works fine, here is the appropriate kernel parts:
Code:

Linux video capture interface: v1.00
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 Link [LNK3] enabled at IRQ 11
ACPI: PCI interrupt 0000:01:0a.0[A] -> GSI 11 (level, low) -> IRQ 11
bttv0: Bt878 (rev 17) at 0000:01:0a.0, irq: 11, latency: 32, mmio: 0xd8000000
bttv0: detected: AverMedia AverTV DVB-T [card=124], PCI subsystem ID is 1461:0761
bttv0: using: AverMedia AverTV DVB-T 761 [card=124,insmod option]
bttv0: gpio: en=00000000, out=00000000 in=009f00dd [init]
bttv0: using tuner=-1
bttv0: registered device video0
bttv0: registered device vbi0
bttv0: PLL: 28636363 => 35468950 .. ok
bttv0: add subdevice "remote0"
bttv0: add subdevice "dvb0"
bt878: AUDIO driver version 0.0.0 loaded
bt878: Bt878 AUDIO function found (0).
ACPI: PCI interrupt 0000:01:0a.1[A] -> GSI 11 (level, low) -> IRQ 11
bt878(0): Bt878 (rev 17) at 01:0a.1, irq: 11, latency: 32, memory: 0xd8001000
DVB: registering new adapter (bttv0).
DVB: registering frontend 0 (Spase SP887x DVB-T)...


Can I suggest trying kaxtv (now part of kaffeine) http://hftom.club.fr/kaxtv/download.html

I have used the original kaxtv and the cvs version of kaffeine and it has the ability to tune your card automatically (it downloads the appropriate tuning data for your area - I use AU-Melbourne). If you have kde installed give kaffeine (nee kaxtv) a whirl, because the hardware and kernel setup(s) look fine. It may be a problem getting the tuning data.
Back to top
View user's profile Send private message
rushdy
n00b
n00b


Joined: 01 Jun 2004
Posts: 22
Location: England

PostPosted: Wed Feb 09, 2005 12:26 am    Post subject: Reply with quote

Thanks, I have made it work now, although it took some random messing.

For the benefit of anyone else trying to make the Aver DVB-T work, ill say what I did.

Its working for me, with 32bit gentoo-dev-sources 2.6.10-r6 (by which I mean it finds channels with the scan unitlity, though I havnt yet put X on here to see the results)

Firstly set up your kernel properly. Ive included my complete kernel config at the bottom, the most important sections are the I2C and the DVB ones. They are similar to the other posts on here, but there might be one or two odd differences.

Ill assume thats working fine for you. When you start the system up, you should see lines in your dmesg from bttv and things registering the adaptor. A quick check with ls /dev/dvb/ should show adaptor0, and ls /dev/dvb/adaptor0/ should show demux0 dvr0 frontend0 net0

If you have more than one dvb card that might vary. If those dont show up then your card isnt working properly with the kernel, so try a few different combinations of enabling bt878 support before and after other options and try using modules.

Firstly, for those of you who dont have the scan utility, you need to download the linuxtv-apps. You can get these from http://linuxtv.org -> Downloads -> DVB and then the apps file.

Youll need to untar it with tar -xjf [name of the linux apps tar file]

Once youve done that, cd into the folder thats appeared, then into util, and then scan.

Run 'make' in the scan folder.

Now before we can go any further you need the firmware for the card. Theres a perl script in /usr/src/linux/Documentation/dvb. cd there and use perl get_dvb_firmware sp887x. At this point it may say you dont have some programs, emerge those and youll be fine. Once it has downloaded and extracted the firmware from the avermedia drivers, youll have a file called something like dvb-fe-sp887x.fw. At this point you should check if you have hotplug installed, and running, if not do so now.

Now the firmware needs to be copied to /usr/lib/hotplug/firmware/ but in my case this was not enough. The firmware is loaded the first time you try to use the card when the machine has been booted, so this doesnt happen on startup - you have to run something like scan before it tries. I also had to mkdir /lib/firmware and copy the firmware there. I left the copy in the hotplug firmware directory in case this suddenly is needed - but in my case the firmware was not found there, and I had to make the other directory myself.

At this point, you should have the firmware in the right place(s) , have the right stuff in dev, have the scan utility compiled, and have hotplug running. Now to use scan, change to the scan directory from before and use ./scan dvb-t/[transmitter name] where the transmitter name is one of the files there. In my case again (being in wales) our transmitter wasnt there - instead i downloaded the right file from the excellent www.mikeasoft.com (thanks Mike), you probably wont need to.

If you scan using the wrong file I have found it says tuning failed a bit, and doesnt do much, so that may not indicate the card isnt working.

If it finds channels, well done, it works, and theres plenty of guides that say how to turn the outout into a channels.conf for use with xine or whatever.

If it doesnt work, try dmesg and see what the output at the bottom is. I get a strange moan about i2c sendbytes and bailing out, that doesnt affect the card working (which kept me occupied for days!).

I hope this helps anyone who stumbles accross it trying to get the card to work, and hopefully you wont have to trawl through those linuxtv mailing list archives that google keeps returning - uggggghhhh :D
Back to top
View user's profile Send private message
rushdy
n00b
n00b


Joined: 01 Jun 2004
Posts: 22
Location: England

PostPosted: Wed Feb 09, 2005 12:32 am    Post subject: Reply with quote

Heres that kernel config i promised:

I took out the irrelavant bits after all cos it would have been huge! :D

#
# Bus options (PCI, PCMCIA, EISA, MCA, ISA)
#
CONFIG_PCI=y
# CONFIG_PCI_GOBIOS is not set
# CONFIG_PCI_GOMMCONFIG is not set
# CONFIG_PCI_GODIRECT is not set
CONFIG_PCI_GOANY=y
CONFIG_PCI_BIOS=y
CONFIG_PCI_DIRECT=y
CONFIG_PCI_MMCONFIG=y
# CONFIG_PCI_MSI is not set
# CONFIG_PCI_LEGACY_PROC is not set
CONFIG_PCI_NAMES=y
CONFIG_ISA=y
# CONFIG_EISA is not set
# CONFIG_MCA is not set
# CONFIG_SCx200 is not set

#
# Generic Driver Options
#
CONFIG_STANDALONE=y
CONFIG_PREVENT_FIRMWARE_BUILD=y
CONFIG_FW_LOADER=y

#
# I2C support
#
CONFIG_I2C=y
CONFIG_I2C_CHARDEV=y

#
# I2C Algorithms
#
CONFIG_I2C_ALGOBIT=y
CONFIG_I2C_ALGOPCF=y
# CONFIG_I2C_ALGOPCA is not set

#
# I2C support
#
CONFIG_I2C=y
CONFIG_I2C_CHARDEV=y

#
# I2C Algorithms
#
CONFIG_I2C_ALGOBIT=y
CONFIG_I2C_ALGOPCF=y
# CONFIG_I2C_ALGOPCA is not set

# I2C Hardware Bus support
#
# CONFIG_I2C_ALI1535 is not set
# CONFIG_I2C_ALI1563 is not set
# CONFIG_I2C_ALI15X3 is not set
# CONFIG_I2C_AMD756 is not set
# CONFIG_I2C_AMD8111 is not set
# CONFIG_I2C_ELEKTOR is not set
# CONFIG_I2C_I801 is not set
# CONFIG_I2C_I810 is not set
CONFIG_I2C_ISA=y
# CONFIG_I2C_NFORCE2 is not set
# CONFIG_I2C_PARPORT_LIGHT is not set
# CONFIG_I2C_PIIX4 is not set
# CONFIG_I2C_PROSAVAGE is not set
# CONFIG_I2C_SAVAGE4 is not set
# CONFIG_SCx200_ACB is not set
# CONFIG_I2C_SIS5595 is not set
# CONFIG_I2C_SIS630 is not set
# CONFIG_I2C_SIS96X is not set
# CONFIG_I2C_STUB is not set
# CONFIG_I2C_VIA is not set
CONFIG_I2C_VIAPRO=y
# CONFIG_I2C_VOODOO3 is not set
# CONFIG_I2C_PCA_ISA is not set

#
# Video For Linux
#

#
# Video Adapters
#
CONFIG_VIDEO_BT848=y
# CONFIG_VIDEO_PMS is not set
# CONFIG_VIDEO_CPIA is not set
# CONFIG_VIDEO_SAA5246A is not set
# CONFIG_VIDEO_SAA5249 is not set
# CONFIG_TUNER_3036 is not set
# CONFIG_VIDEO_STRADIS is not set
# CONFIG_VIDEO_ZORAN is not set
# CONFIG_VIDEO_ZR36120 is not set
# CONFIG_VIDEO_SAA7134 is not set
# CONFIG_VIDEO_MXB is not set
# CONFIG_VIDEO_DPC is not set
# CONFIG_VIDEO_HEXIUM_ORION is not set
# CONFIG_VIDEO_HEXIUM_GEMINI is not set
CONFIG_VIDEO_CX88=y
# CONFIG_VIDEO_CX88_DVB is not set
# CONFIG_VIDEO_OVCAMCHIP is not set

#
# Digital Video Broadcasting Devices
#
CONFIG_DVB=y
CONFIG_DVB_CORE=y

#
# Supported BT878 Adapters
#
CONFIG_DVB_BT8XX=y

#
# DVB-T (terrestrial) frontends
#
# CONFIG_DVB_SP8870 is not set
CONFIG_DVB_SP887X=y
# CONFIG_DVB_CX22700 is not set
# CONFIG_DVB_CX22702 is not set
# CONFIG_DVB_L64781 is not set
# CONFIG_DVB_TDA1004X is not set
CONFIG_DVB_NXT6000=y
CONFIG_DVB_MT352=y
# CONFIG_DVB_DIB3000MB is not set
# CONFIG_DVB_DIB3000MC is not set
Back to top
View user's profile Send private message
deadstar
Guru
Guru


Joined: 02 Nov 2004
Posts: 319
Location: England

PostPosted: Wed Feb 16, 2005 4:20 pm    Post subject: Reply with quote

Code:

dvb-bt8xx: A frontend driver was not found for device 109e/0878 subsystem 1461/0771




Anyone?
_________________
Hysteriagaming.co.uk is now DOT COM! New design, forum, articles, the works! http://www.hysteriagaming.com

(\ /)
(O.o)
(> <)
This is Bunny. Copy Bunny into your signature to help him on his way to world domination
Back to top
View user's profile Send private message
rlholgate
Tux's lil' helper
Tux's lil' helper


Joined: 30 Jan 2005
Posts: 82
Location: UK

PostPosted: Thu Feb 17, 2005 1:07 am    Post subject: Reply with quote

Quote:
dvb-bt8xx: A frontend driver was not found for device 109e/0878 subsystem 1461/0771

I had this error while setting up an Aver 771. It appeared in dmesg after modprobing the modules if I use the card=0x68 option, and a side effect (I think) is a missing frontend0 device in /dev/dvb. Interestingly the card=0x79 option (recommended in Avermedia's own howto doc) also does not work for me - no devices appear in /dev/dvb if I use that.

I seem able to load modules correctly using:
Code:
modprobe bttv     (<-- note not specifying card parameter at all - it seems to autodetect correctly)
modprobe bt878
modprobe dvb-bt8xx     (<-- should see mt352 module already loaded in lsmod)


I am using CVS dvb-kernel sources from www.linuxtv.org from 11 Feb 2005 or thereabouts, and gentoo 2.6.10-r6 kernel.


Last edited by rlholgate on Sat Feb 19, 2005 10:57 pm; edited 1 time in total
Back to top
View user's profile Send private message
rlholgate
Tux's lil' helper
Tux's lil' helper


Joined: 30 Jan 2005
Posts: 82
Location: UK

PostPosted: Sat Feb 19, 2005 3:21 am    Post subject: Reply with quote

Am trying to get an Avermedia 771 installed and running. Have been following a number of the posts in this thread. I have succeeded in compling the kernel (2.6.10-gentoo-r6) but am using recent cvs dvb modules from linuxtv.org. The dvb stuff is compiled as modules. I am able to modprobe all the modules, and can then see /dev/dvb/adapter0, with frontend0, demux0, net0, dvr0 devices all present. Hotplug is installed.

However when I try to tune the card using the scan utility it says tuning failed for all channels. I have checked the channel frequencies aganist www.dba.org.au (I'm in Sydney Australia, north shore).

I got suspicious that my firmware might not be loading, since not having the firmware present seemed to make no difference to the result of modprobe. Subsequently turned on debugging in /etc/hotplug.d/default/hotplug.default, and sure enough hotplug is logging errors in /var/log/everything/current. A lot of errors like

"no runnable /etc/hotplug/dvb.agent is installed"
"no runnable /etc/hotplug/parameters.agent is installed"

So:

1) How do I know if hotplug is loading the firmware correctly? Anyone got an example dmesg or log message?
2) Am I missing some hotplug agent scripts?

EDIT 20 Feb 2005: Obviously a red herring - got it working despite these messages.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Multimedia All times are GMT
Goto page Previous  1, 2
Page 2 of 2

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum