[mythtv-users] Avermedia 771 Card

Lloyd Keen lloyd at comnetel.com
Sat Aug 21 06:54:49 EDT 2004


Rob,
I haven't got all the info in front of me at the moment, but from memory you 
have to edit the mt352.c file and comment out the line with 761 and 
uncomment out the line with 771. Rebuild and try again. The only two modules 
you need to load are dvb-bt8xx and mt352. The dvb-bt8xx module takes care of 
loading bt878. BTW you shouldn't need to put any switches on the mt352 
module. Just a modprobe mt352 should do it.
----- Original Message ----- 
From: "Rob Willett" <rob.mythtv at robertwillett.com>
To: "Discussion about mythtv" <mythtv-users at mythtv.org>
Sent: Saturday, August 21, 2004 5:20 PM
Subject: [mythtv-users] Avermedia 771 Card


> Hi,
>
> I'm trying to get the Avermedia DVB-T 771 card to work. It's been a trying 
> week
> so far.
>
> The system is as follows:
>
> Generic 2.6.7 kernel on top of RedHat 9.0
> The latest CVS of the DVB-kernel code from linuxtv.org.
> The bytesex patches 2.6.7-kracken
> Myth 0.15.1
> A number of informal mt352.c patches...
>
> The system has a Nebula DVB card and this works OK.
>
> I have used the ethics-gradient setup for DVB and can get the Nebula card 
> to
> scan and tune, the Nebula card also works in Mythtv.
>
> The Avermedia card is a different issue. It will not scan 
> dvb-t/uk-CrsyalPalace
> and find channels. Since the same arial is used for both I figure that the 
> input
> signal is OK. I start the scan process and it simply comes back with 
> tuning failed.
>
> Ouput from scan command
> [root at mythtv scan]# ./scan -a1 dvb-t/uk-CrystalPalace
> scanning dvb-t/uk-CrystalPalace
> using '/dev/dvb/adapter1/frontend0' and '/dev/dvb/adapter1/demux0'
> initial transponder 505833333 0 3 0 1 0 0 0
> initial transponder 481833333 0 2 0 3 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!!!
>>>> tune to:
> 481833333:INVERSION_AUTO:BANDWIDTH_8_MHZ:FEC_2_3:FEC_NONE:QAM_64:TRANSMISSION_MODE_2K:GUARD_INTERVAL_1_32:HIERARCHY_NONE
> ERROR: interrupted by SIGINT, dumping partial result...
> dumping lists (0 services)
>
> (I cut short the scanning).
>
> The modules load OK apart from the error on loading mt352.c highlighted 
> below
>
> 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).
> bttv0: Bt878 (rev 17) at 0000:01:06.0, irq: 5, latency: 32, mmio: 
> 0xdc000000
> bttv0: detected: Nebula Electronics DigiTV [card=104], PCI subsystem ID is 
> 0071:0101
> bttv0: using: Nebula Electronics DigiTV [card=104,insmod option]
> bttv0: gpio: en=00000000, out=00000000 in=00ff84cb [init]
> bttv0: using tuner=-1
> bttv0: registered device video0
> bttv0: registered device vbi0
> bttv0: PLL: 28636363 => 35468950 . ok
> bttv0: add subdevice "dvb0"
> bttv: Bt8xx card found (1).
> bttv1: Bt878 (rev 17) at 0000:01:08.0, irq: 10, latency: 32, mmio: 
> 0xdc002000
> bttv1: detected: AVermedia DVB-T 771 [card=123], PCI subsystem ID is 
> 1461:0771
> bttv1: using: AVerMedia AVerTV DVB-T 771 [card=123,autodetected]
> bttv1: gpio: en=00000000, out=00000000 in=0090008f [init]
> bttv1: using tuner=4
> bttv1: registered device video1
> bttv1: registered device vbi1
> bttv1: PLL: 28636363 => 35468950 . ok
> bttv1: add subdevice "dvb1"
> mt352: Unknown parameter `debug'
> bt878: AUDIO driver version 0.0.0 loaded
> bt878: Bt878 AUDIO function found (0).
> bt878(0): Bt878 (rev 17) at 01:06.1, irq: 5, latency: 32, memory: 
> 0xdc001000
> bt878: Bt878 AUDIO function found (1).
> bt878(1): Bt878 (rev 17) at 01:08.1, irq: 10, latency: 32, memory: 
> 0xdc003000
> attach: checking "bt878 #0 [hw]"
> find by pci: checking "bt878 #0 [hw]"
> attach: "bt878 #0 [hw]", to card 0
> attach: checking "bt878 #1 [hw]"
> find by pci: checking "bt878 #1 [hw]"
> attach: "bt878 #1 [hw]", to card 1
> DVB: registering new adapter (Neb).
> DVB: registering frontend 0:0 (NxtWave NXT6000)...
>>>>> mt352_read_register: readreg error (ret == -5) <<<< Is this the 
>>>>> problem?
> DVB: registering new adapter (Ave).
> DVB: registering frontend 1:0 (DVB-T Zarlink MT352 demodulator driver)...
>
> I have setup the following /etc/rc3.d/S98avermedia
> #!/bin/sh
>
> #depmod -ae
>
> case "$1" in
>
>    start)
>        echo -e "Inserting DVB modules into kernel"
>        # Linux video
>        modprobe videodev
>        # bttv is required for bt878 and dvb-bt8xx
>        # modprobe bttv  card=104
>        modprobe bttv i2c_hw=1 card=0x68
>        # modprobe bttv
>        # core DVB
>        modprobe dvb-core dvb_shutdown_timeout=0;
>        modprobe v4l1-compat
>        modprobe v4l2-common
>        modprobe video-buf
>        # Avermedia DVB-T card
>        modprobe mt352 debug=1 force_card=0x1
>        modprobe bt878
>        modprobe dvb-bt8xx
>        ;;
>    stop)
>        echo -e "Removing DVB modules from kernel"
>        rmmod mt352
>        # Avermedia DVB-T card
>        rmmod dvb-bt8xx bt878
>        # core DVB
>        rmmod dvb-core
>        # bttv (required for bt878 and dvb-bt8xx)
>        rmmod bttv
>        # Linux video
>        rmmod videodev video-buf
>        echo
>        ;;
>    restart|reload)
>        $0 stop && $0 start
>        ;;
>    *)
>        echo "Usage: $0 {start|stop|restart}"
>        exit 1
> esac
>
> exit 0
>
> When I try and use the card in Mythtv all I get is a blank screen and 
> error
> messages saying no signal.
>
> I figure that my problems are:
>
> 1) The card is not scanning and locking onto a signal.
> 2) The mt352.c code is pretty new and even though it says it works on 
> Avermedia
> 771 cards it is still alpha code. There may be all sorts of subtle 
> interactions
> I know nothing about.
> 3) There have been a small number of postings about the 771 card but I'm
> confused as to what the correct version of the mt352.c should be and 
> whether
> some of the patches mentioned are in the CVS version or not.
>
> I brought the Avermedia card by mistake, I wanted the older M179 card but
> Avermedia in their wisdom have changed the bloody chipset. I hate 
> manufacturers
> who do this. Oh well, whinge off, let's make the dammed thing work.
>
> Any help greatly appreciated.
>
> Rob.
>
> -------------------------------------------------
> This mail sent through IMP: http://horde.org/imp/
>


--------------------------------------------------------------------------------


_______________________________________________
mythtv-users mailing list
mythtv-users at mythtv.org
http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users




More information about the mythtv-users mailing list