Mailing List archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[linux-dvb] Re: AW: Re: AW: AW: Re: Avermedia 771 on Gentoo



Thanks for the help.

I'm not sure if things are going in the right direction now. When running  

modprobe bttv
modprobe bt878
modprobe dvb-bt8xx
modprobe mt352

I get the following in dmesg:

bttv: driver version 0.9.15 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: detected: AVermedia DVB-T 771 [card=123], PCI subsystem ID is 1461:0771
bttv0: using: AVerMedia AVerTV DVB-T 771 [card=123,autodetected]
bttv0: gpio: en=00000000, out=00000000 in=0090000f [init]
bttv0: using tuner=4
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)...

So it seems that it is firing up OK, however I cannot get anything out of scan or tzap. Scan gives me:

gentoo scan # ./scan dvb-t/uk-CrystalPalace
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
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)
WARNING: >>> tuning failed!!!
ERROR: initial tuning failed
dumping lists (0 services)
Done.

(I have tried commenting out the line you suggest, but to no avail)

tzap just gives me:

gentoo szap # ./tzap -c channels.conf-dvbt-crystal-palace BBC ONE
using '/dev/dvb/adapter0/frontend0' and '/dev/dvb/adapter0/demux0'
tuning to 529833333 Hz
video pid 0x0000, audio pid 0x01b2
status 00 | signal b6ed | snr 0000 | ber 00000000 | unc 00000000 |
status 05 | signal b6ed | snr 0000 | ber 00000000 | unc 00000000 |
status 01 | signal b6ed | snr 0000 | ber 00000000 | unc 00000000 |
status 01 | signal b6ed | snr 0000 | ber 00000000 | unc 00000000 |
status 01 | signal b6ed | snr 0000 | ber 00000000 | unc 00000000 |
status 01 | signal b6ed | snr 0000 | ber 00000000 | unc 00000000 |
status 05 | signal b6ed | snr 0000 | ber 00000000 | unc 00000000 |

The card has successfully tuned under windows, in the same room and with the same aerial, but the fact that the figures are flatlining in linux makes me think that there is still something wrong. I'm not sure if I am selecting the correct kernel configuration options, or if there is something stupid I am missing (more than likely...!)

Any ideas? 

-----Original Message-----
From: linux-dvb-bounce@linuxtv.org [mailto:linux-dvb-bounce@linuxtv.org] On Behalf Of Peter Henderson
Sent: 14 July 2004 00:55
Cc: linux-dvb@linuxtv.org
Subject: [linux-dvb] Re: AW: Re: AW: AW: Re: Avermedia 771 on Gentoo

Ben Rometsch wrote:

>Hi Peter,
> 
>I'm not quite sure I follow you. I have portage extract the kernel sources into /usr/src/linux-2.6.7-gentoo-r10 (and the symlink /usr/src/linux)?
>  
>
Im using a stock 2.6.7 kernel from www.kernel.org (my distro was mandrake before I started breaking it) So I'm not sure how gentoo differs.

> 
>Can you detail the commands you run? 
>  
>
Sure I just posted. But feel free to ask more questions, I'll help the best I can.

>Additionally, what modprobe commands do you run? Do you pass any parameters to the "modprobe bttv" line? I have seen these lines in the gentoo forums: 
>  
>
My understanding of the kraxel patch is that it elimates the need to pass in params to bttv.

So I ran.
modprobe bttv
modprobe bt878
modprobe dvb-bt8xx
modprobe mt352

>modprobe bttv i2c_hw=1 card=0x68
>modprobe bt878
>modprobe dvb-bt8xx
>modprobe mt352
>
>Is that correct? 
> 
>Many thanks,
>Ben
> 
> 
>
>________________________________
>
>From: linux-dvb-bounce@linuxtv.org 
>[mailto:linux-dvb-bounce@linuxtv.org] On Behalf Of Peter Henderson
>Sent: 14 July 2004 00:36
>Cc: linux-dvb@linuxtv.org
>Subject: [linux-dvb] Re: AW: Re: AW: AW: Re: Avermedia 771 on Gentoo
>
>
>Hmm.
>
>I had a  similar problem with the kernel config recently. The way  i fixed it was by untaring the kernel srcs to an empty dir and re running makelinks.  I've done this today with cvs snapshot of dvb-kernel, 2.6.7 linux sources and the  patch-2.6.7-kraxel.
>
>
>On a side note.
>To get my Avermedia 771 card to tune I had to comment out line 420 of mt352.c   (rev 1.7 in cvs).
>
>
>Peter.
>
>Ben Rometsch wrote:
>
>
>	Hmmm. Still not getting anywhere (!!!)
>	
>	Can I just confirm the kernel config? I am under the impression I need to add: 
>	
>	--- Video Adapters                                                        │ │
>	  │ │     <M> BT848 Video For Linux                                       │ │
>	  │ │     < > Mediavision Pro Movie Studio Video For Linux                │ │
>	  │ │     < > Quickcam BW Video For Linux                                 │ │
>	  │ │     < > QuickCam Colour Video For Linux (EXPERIMENTAL)              │ │
>	  │ │     < > CPiA Video For Linux                                        │ │
>	  │ │     < > SAA5246A Teletext processor                                 │ │
>	  │ │     < > SAA5249 Teletext processor                                  │ │
>	  │ │     < > SAB3036 tuner                                               │ │
>	  │ │     < > Stradis 4:2:2 MPEG-2 video driver  (EXPERIMENTAL)           │ │
>	  │ │     < > Zoran ZR36057/36067 Video For Linux                         │ │
>	  │ │     < > Philips SAA7134 support                                     │ │
>	  │ │     <M> Siemens-Nixdorf 'Multimedia eXtension Board'                │ │
>	  │ │     < > Philips-Semiconductors 'dpc7146 demonstration board'        │ │
>	  │ │     < > Hexium HV-PCI6 and Orion frame grabber                      │ │
>	  │ │     < > Hexium Gemini frame grabber                                 │ │
>	  │ │     < > Conexant 2388x (bt878 successor) support                     
>	
>	
>	Now, do I need the <M> BT848 Video For Linux ? This ONLY appears after I have selected <M> Siemens-Nixdorf 'Multimedia eXtension Board', which doesn’t seem right. 
>	
>	If I don’t select either of these video adaptors, the kernel builds OK. If they are selected, I get the following error: 
>	
>	CC [M]  drivers/media/video/tea6415c.o
>	  CC [M]  drivers/media/video/tea6420.o
>	  CC [M]  drivers/media/video/mxb.o
>	drivers/media/video/mxb.c: In function `mxb_probe':
>	drivers/media/video/mxb.c:186: error: too many arguments to function `saa7146_i2c_adapter_prepare'
>	make[3]: *** [drivers/media/video/mxb.o] Error 1
>	make[2]: *** [drivers/media/video] Error 2
>	make[1]: *** [drivers/media] Error 2
>	make: *** [drivers] Error 2
>	
>	If I don’t include the "BT848 Video For Linux" driver, I don’t get the option of adding the Nebula/Pinnacle PCTV/Twinhan PCI cards in the DVB section. Something doesn't feel right...
>	Thanks for the help,
>	Ben
>	
>	-----Original Message-----
>	From: linux-dvb-bounce@linuxtv.org [mailto:linux-dvb-bounce@linuxtv.org] On Behalf Of Andreas Witte
>	Sent: 13 July 2004 11:41
>	To: linux-dvb@linuxtv.org
>	Subject: [linux-dvb] AW: Re: AW: AW: Re: Avermedia 771 on Gentoo
>	
>	Hi Ben.
>	
>	I do it exactly as you wrote. But i used the latest dvb-kernel cvs-sources.
>	Maybe this is why you cant find the mt352-module?
>	
>	Look here:
>	http://linuxtv.org/cgi-bin/cvsweb.cgi/dvb-kernel/linux/drivers/media/dvb/fro
>	ntends/mt352.c?rev=1.7&content-type=text/x-cvsweb-markup
>	
>	Hope that helps a bit.
>	
>	Regards,
>	Andreas
>	
>	
>	-----Ursprüngliche Nachricht-----
>	Von: linux-dvb-bounce@linuxtv.org
>	[mailto:linux-dvb-bounce@linuxtv.org]Im Auftrag von Ben Rometsch
>	Gesendet: Dienstag, 13. Juli 2004 12:13
>	An: linux-dvb@linuxtv.org
>	Betreff: [linux-dvb] Re: AW: AW: Re: Avermedia 771 on Gentoo
>	
>	
>	Hi Andreas,
>	
>	Can you explain what the order of patching was? I am presuming you went:
>	
>	1. Unpack 2.6.7 kernel
>	2. Download and apply dvb-kernel makelinks script (is this correct? 
>What version of dvb-kernel?) 3. Apply the bytesex patch 4. Configure 
>and build kernel
>	
>	I am assuming step 2 - I ran 1 then 3 and realised that there was no "Zarlink MT352 based" option in the Digital Video Broadcasting Devices section of the kernel?
>	
>	Thanks,
>	Ben
>	
>	-----Original Message-----
>	From: linux-dvb-bounce@linuxtv.org [mailto:linux-dvb-bounce@linuxtv.org] On Behalf Of Andreas Witte
>	Sent: 13 July 2004 06:49
>	To: linux-dvb@linuxtv.org
>	Subject: [linux-dvb] AW: AW: Re: Avermedia 771 on Gentoo
>	
>	Hi All...
>	
>	I managed it to work partially. Now i can tune and everything works fine...
>	I used the patch on a 2.6.7 gentoo kernel:
>	
>	http://dl.bytesex.org/patches/2.6.7-1/
>	
>	applied the patch-2.6.7-kraxel.gz - Archive to that Kernel. Now bttv realize that right card. Tuning works nice except one small thing:
>	I can tune any frequencies, except 177500000(VHF) and 191500000(VHF). If i try i get following:
>	
>	***
>	using '/dev/dvb/adapter1/frontend0' and '/dev/dvb/adapter1/demux0'
>	tuning to 191500000 Hz
>	video pid 0x00c9, audio pid 0x00ca
>	status 00 | signal 97a5 | snr 0000 | ber 00000000 | unc 00000000 | status 05
>	| signal 97a5 | snr 0000 | ber 00000000 | unc 00000000 | status 05 | 
>	| signal
>	97a5 | snr 0000 | ber 00000000 | unc 00000000 | status 05 | signal 97a5 | snr 0000 | ber 00000000 | unc 00000000 | status 05 | signal 97a5 | snr 0000
>	| ber 00000000 | unc 00000000 | status 05 | signal 97a5 | snr 0000 | ber
>	00000000 | unc 00000000 | status 05 | signal 97a5 | snr 0000 | ber 00000000
>	| unc 00000000 | status 05 | signal 97a5 | snr 0000 | ber 00000000 | unc
>	00000000 | status 05 | signal 97a5 | snr 0000 | ber 00000000 | unc 00000000
>	|
>	***
>	
>	The frequencies 506000000 and above all working fine. The card should also able to tune on the VeryHiFrequencies (VHF) it looks to me that only the UHV-Band is used in the driver.
>	
>	Any idea!? I dunno if its right in the linuxtv-mailinglist, i could imagine that this is some bug elsewhere!? Im not sure...
>	
>	Thanks alot for any help.
>	Time to bed now, since i fizzle around with that the whole night... =)
>	
>	Regards,
>	Andreas
>	
>	
>	-----Ursprüngliche Nachricht-----
>	Von: linux-dvb-bounce@linuxtv.org
>	[mailto:linux-dvb-bounce@linuxtv.org]Im Auftrag von Andreas Witte
>	Gesendet: Montag, 12. Juli 2004 23:47
>	An: linux-dvb@linuxtv.org
>	Betreff: [linux-dvb] AW: AW: Re: Avermedia 771 on Gentoo
>	
>	
>	Here is the messages that i get when i try to load the mt352 module:
>	
>	***
>	attach: checking "bt878 #0 [sw]"
>	find by pci: checking "bt878 #0 [sw]"
>	attach: "bt878 #0 [sw]", to card 0
>	attach: checking "SMBus Via Pro adapter at 5000"
>	attach: checking "ISA main adapter"
>	DVB: registering new adapter (Ave).
>	i2c_adapter i2c-0: sendbytes: error - bailout.
>	i2c_adapter i2c-0: sendbytes: error - bailout.
>	mt352_read_register: readreg error (ret == -14)
>	***
>	
>	Here i stuck...
>	
>	Thanks for any help in advance..
>	Andreas
>	
>	-----Ursprüngliche Nachricht-----
>	Von: linux-dvb-bounce@linuxtv.org
>	[mailto:linux-dvb-bounce@linuxtv.org]Im Auftrag von Andreas Witte
>	Gesendet: Montag, 12. Juli 2004 23:37
>	An: linux-dvb@linuxtv.org
>	Betreff: [linux-dvb] AW: Re: Avermedia 771 on Gentoo
>	
>	
>	Hello List.
>	
>	Hours ago i also bought such AverMedia 771 and try to get it to work with my gentoo Box. Im using a 2.6.6 Kernel. This is my second card in this pc. I have a technotrend up and running and want to give a dual-dvb a try. It seems that i cant load the mt352 module.
>	
>	This is a part of dmesg after loading the relevant modules:
>	
>	****
>	Linux video capture interface: v1.00
>	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:00:06.0, irq: 10, latency: 32, mmio:
>	0xde001000
>	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=00f0ff0f [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 00:06.1, irq: 10, latency: 32, memory:
>	0xde002000
>	***
>	
>	I miss the line
>	bttv0: i2c: checking for MT352 @ ... or am i wrong here?
>	
>	I get an error while im loading the mt352 module. But i cant find it in dmesg anymore... ;( I repost once i find it.
>	
>	The patch that is applied in this thread wont work for me, maybe its already in cvs since im using the today's grab from it.
>	
>	Any suggestions?
>	Thanks for help,
>	Andreas
>	
>	-----Ursprüngliche Nachricht-----
>	Von: linux-dvb-bounce@linuxtv.org
>	[mailto:linux-dvb-bounce@linuxtv.org]Im Auftrag von Dirk Meyer
>	Gesendet: Montag, 12. Juli 2004 21:04
>	An: Ben Rometsch
>	Cc: linux-dvb@linuxtv.org
>	Betreff: [linux-dvb] Re: Avermedia 771 on Gentoo
>	
>	
>	Ben Rometsch wrote:
>	  
>
>		Hi There,
>		
>		I'm new to the list, but, having read through the list and searched 
>		the gentoo forums, am unable to get my Avermedia 771 card working on 
>		my gentoo box.
>		
>		I have a gentoo-dev-sources 2.6.5r1 kernel running.
>		    
>
>	
>	I'm using gentoo-dev-sources 2.6.7
>	
>	  
>
>		Grabbed a CVS snapshot of the linuxtv-dvb dated 2004-06-21
>		    
>
>	
>	I have 2004-06-18 I guess. This version needs a patch I send to this list but I don't know if it's in cvs or not. I attached it to this mail, it should fix tuning problems (at least it does for me).
>	
>	
>	Dischi
>	
>	
>	
>	
>	
>	
>	
>	
>	
>	
>	
>	
>	
>	
>	
>	  
>
>
>
>
>
>
>  
>







Home | Main Index | Thread Index