https://www.linuxtv.org/wiki/api.php?action=feedcontributions&user=Mcuerdo&feedformat=atomLinuxTVWiki - User contributions [en]2024-03-19T13:43:44ZUser contributionsMediaWiki 1.39.6https://www.linuxtv.org/wiki/index.php?title=AVerMedia_AVerTV_DVB-T_777_(A16AR)&diff=10034AVerMedia AVerTV DVB-T 777 (A16AR)2007-06-29T11:53:29Z<p>Mcuerdo: /* Remote control */ no need to patch in newer kernels</p>
<hr />
<div>The [[AVerMedia]] 777 is a quite good [[budget]] [[DVB-T PCI Cards|PCI DVB-T card]]. You can get one for about 65 euros.<br />
<br />
You must know that AVerMedia 777 features a '''Philips saa7134''' and '''Zarlink MT352''' demodulator. According to the documentation, the AVerMedia 777 is the <u>'''card=85'''</u> for the saa7134.<br />
<br />
To make this card work, you need at least a vanilla kernel 2.6.17rc2. First we will see how to configure our kernel for the AVerMedia 777:<br />
<br />
__TOC__<br />
<br />
==Overview==<br />
(mt352)<br />
features: Card is capable of delivering the full unmodified TS stream to userspace. Card has A/V inputs.<br />
card driver: saa7134<br />
interface: PCI<br />
PCI device id: 1131:7134<br />
PCI subsystem id: 1461:2c05<br />
Bridge: saa7134<br />
frontend 1:<br />
tin box: ??<br />
frontend driver: mt352<br />
demodulator location: ??<br />
demodulator: mt352<br />
PLL: ??<br />
Notes:<br />
<br />
<br />
== Kernel configuration ==<br />
DEVICE DRIVERS &rarr; '''I2C''' &rarr;<br />
<br />
select:<br />
[*] I2C Support<br />
[*] I2C Device Interface<br />
<br />
<br />
DEVICE DRIVERS &rarr; I2C &rarr; '''I2C Algorithms'''<br />
[*] I2C bit-banging interfaces<br />
<br />
<br />
<br />
----<br />
----<br />
<br />
<br />
<br />
DEVICE DRIVERS &rarr; '''MULTIMEDIA DEVICES''' &rarr;<br />
<br />
select: <br />
[*] Video For Linux<br />
<br />
<br />
DEVICE DRIVERS &rarr; MULTIMEDIA DEVICES &rarr; '''VIDEO FOR LINUX''' &rarr;<br />
<br />
select ONLY these that are marked with the asterisk:<br />
<br />
[*] Philips SAA7134 support<br />
[*] Philips SAA7134 DMA audio support<br />
[*] DVB/ATSC Support for saa7134 based TV cards<br />
[ ] Build all supported frontends for saa7134 based TV cards<br />
[*] Zarlink MT352 DVB-T Support<br />
[ ] Philips TDA10045H/TDA10046H DVB-T Support<br />
[ ] NXT2002/NXT2004 ATSC Support<br />
<br />
<br />
----<br />
----<br />
<br />
<br />
<br />
DEVICE DRIVERS &rarr; MULTIMEDIA DEVICES &rarr; '''DIGITAL VIDEO BROADCASTING DEVICES''' &rarr;<br />
<br />
select:<br />
<br />
[*] DVB for linux<br />
[*] DVB Core support<br />
<br />
<br />
You must select these components in the kernel configuration if you want your AVerMedia 777 to work. You can compile-in kernel (marked as asterisk) or as Modules (typing M). Some people may think that if they compile in-kernel these components, in particular the saa7134, they won't be able to specify parameters. That's wrong.<br />
<br />
And we are done with kernel configuration. Now compile and install.<br />
<br />
<br />
<br />
'''Note A:''' If you compiled these options into the kernel (marked with asterisk) you must use some kernel parameters for choosing the correct DVB-T card:<br />
''(taken from <tt>grub.conf</tt>)''<br />
kernel /boot/mykernel ro i2c-scan=1 saa7134.card=85<br />
<br />
'''Note B:''' If you compiled these options as modules (marked with capital M) don't forget the '''make modules''' and '''make modules_install'''. Then, you must load the module like this:<br />
<br />
modprobe saa7134 card=85<br />
lsmod<br />
<br />
== System ==<br />
After reboot we're done. Check <tt><u>/var/log/dmesg</u></tt> and see if kernel said something about your card, I am sure it did.<br />
<br />
The first problem i encountered is the device node wasn't being created using udev at boot time. Most modern Linux distros use udev, so let's check if we have <tt>/dev/dvb/adapter0/</tt> populated.<br />
If not, we need to create the device manually. I found this [http://www.avermedia.com/docs/pdffiles/linux.txt script] in the official AVerMedia page (now is included in dvb-apps tarball), in the previous model (AVerMedia DVB-T 771) section. After running it, devices ware successfully created and we can continue scanning our channels.<br />
<br />
If you don't have <tt>/dev/dvb/adapter0/frontend0</tt> and friends, you need to run this script. Copy and paste it<br />
<br />
#!/bin/sh<br />
# Create device nodes for the Linux DVB API with DVB_API_VERSION 2.<br />
# The devices created are suitable for most current PC DVB cards,<br />
# i.e. cards having one frontend, one demux and optionally one MPEG decoder.<br />
# The script creates devices for four cards by default.<br />
#<br />
if [ -e /dev/.devfsd ]; then<br />
echo "It seems you are using devfs. Good!"<br />
exit 0<br />
fi<br />
#<br />
# get rid of old DVB API devices; do it twice for good measure...<br />
rm -rf /dev/ost<br />
rm -rf /dev/ost<br />
rm -rf /dev/dvb<br />
rm -rf /dev/dvb<br />
#<br />
mkdir /dev/dvb<br />
chmod 755 /dev/dvb<br />
for i in `seq 0 3`; do<br />
echo "Creating DVB devices in /dev/dvb/adapter$i"<br />
mkdir /dev/dvb/adapter$i<br />
chmod 755 /dev/dvb/adapter$i<br />
mknod -m 0660 /dev/dvb/adapter$i/video0 c 212 `expr 64 \* $i + 0`<br />
mknod -m 0660 /dev/dvb/adapter$i/audio0 c 212 `expr 64 \* $i + 1`<br />
mknod -m 0660 /dev/dvb/adapter$i/frontend0 c 212 `expr 64 \* $i + 3`<br />
mknod -m 0660 /dev/dvb/adapter$i/demux0 c 212 `expr 64 \* $i + 4`<br />
mknod -m 0660 /dev/dvb/adapter$i/dvr0 c 212 `expr 64 \* $i + 5`<br />
mknod -m 0660 /dev/dvb/adapter$i/ca0 c 212 `expr 64 \* $i + 6`<br />
mknod -m 0660 /dev/dvb/adapter$i/net0 c 212 `expr 64 \* $i + 7`<br />
mknod -m 0660 /dev/dvb/adapter$i/osd0 c 212 `expr 64 \* $i + 8`<br />
chown root.video /dev/dvb/adapter$i/*<br />
done<br />
<br />
<br />
===Scanning channels===<br />
<br />
We need the [[LinuxTV dvb-apps|dvb-apps]] from [http://linuxtv.org/hg/dvb-apps http://linuxtv.org/hg/dvb-apps]. Click tree and then bz2 to download the latest. Bunzip and untar the package.<br />
<br />
% bunzip2 hg-dvb-apps.tar.bz2<br />
% tar -xvf hg-dvb-apps.tar<br />
% cd hg-dvb-apps/util/scan<br />
% make<br />
<br />
Good! now we compiled the scan tool, now we'll see how it works.<br />
<br />
In the <tt>scan/dvb-t</tt> directory we have some files with presets for certain locations around the world, for example let's imagine we are in Oxford, UK.<br />
<br />
So, we type:<br />
<br />
% ./scan dvb-t/uk-Oxford | tee channels.conf<br />
<br />
Wait until it ends scanning, you will have a working <tt>'''channels.conf'''</tt>. This file is very important!<br />
<br />
=== What if there isn't a preset file for my location?===<br />
<br />
On the other hand, what if there isn't a preset file for your location? that's a problem, because you won't be able to scan channels with the scan tool.<br />
I wrote my own preset file, it's not hard but you will need some data, like frequency or bandwidth. You can get all the information from the official AVerTV software for Windows XP, take pencil and paper and write frequencies and bandwidths used by your scanned channels, Then edit any preset file and see how it is. It's not hard. <br />
<br />
Example of a DVB-T preset file for the DVB-scan tool: (es-Lugo in the following example)<br />
<br />
# DVB-T Lugo (Centro emisor Paramo) - Rev. 1.2 - 11.12.05<br />
# T freq bw fec_hi fec_lo mod transmission-mode guard-interval hierarchy<br />
#<br />
T 778000000 8MHz 2/3 NONE QAM64 8k 1/4 NONE # TVE 1, TVE 2, 24H TVE, CLAN/50 TVE, RNE1, RNE CLASICA, RNE3<br />
T 858000000 8MHz 2/3 NONE QAM64 8k 1/4 NONE # ANTENA 3, ANTENA.NEOX, ANTENA.NOVA, LA SEXTA 2<br />
<br />
<br />
You see? the first it's the letter T (from DVB-T) then goes the frequency in Hz (not in MHz!) and then the bandwidth (seen also in the AVerTV software in Windows XP) probably you won't need to edit the other parameters. I recommend to pick the "nearest" preset file for editing. Hope it helps.<br />
<br />
== Viewing TV ==<br />
<br />
===Using [[xine]] [http://www.xinehq.de]===<br />
<br />
Now copy the <tt>channels.conf</tt> file into your <tt>/home/user/.xine/</tt> directory and launch Xine. Click on DVB and after buffering you will be watching TV. With the mouse wheel you wrap around the channels list, then click for change channel.<br />
<br />
===Using [[Kaffeine]] [http://kaffeine.sourceforge.net]===<br />
<br />
Kaffeine implements it´s own scan tool and has a great qt interface, so you can skip the previous scan part. Remember that Kaffeine has it´s own pack of preset files for frequencies, like the scan tool. So, if needed, put your own preset file in the same directory as the other presets that Kaffeine installs in the hard disk. This directory varies between distributions. After that, your preset file will be avaliable in Kaffeine's DVB scan interface. Then click SCAN.<br />
<br />
===Other players===<br />
I'm almost sure that [[VLC media player]] also plays DVB-T well using your <tt>channels.conf</tt> but I haven't tested.<br />
<br />
[[MPlayer]] works fine with the <tt>channels.conf</tt>.<br />
<br />
[[MythTV]] 0.20 works fine, using it to scan channels itself, and EPG data works fine.<br />
<br />
[[VDR]] with xineliboutput plugin works with <tt>channels.conf</tt> in VDR format.<br />
<br />
== Remote control ==<br />
--[[User:Mcuerdo|Mcuerdo]] 13:53, 29 June 2007 (CEST) '''Using newer kernels you DON'T NEED TO PATCH anything, just setup your <tt>lircd.conf</tt>, <tt>hardware.conf</tt> and <tt>lircrc</tt>'''<br />
<center>'''This is just a draft'''</center><br />
<br />
I'll try complete it as soon as I can. Contributions are welcome. It worked in my case Ubuntu 6.10 + [[MythTV]] 0.20, it should be fine for other distros.<br />
<br />
First of all install '''mercurial''' package.<br />
<br />
Copy the following to your text editor and save it as <tt>aver777remote.diff</tt>:<br />
<br />
diff -r 38162695285b linux/drivers/media/video/saa7134/saa7134-cards.c<br />
--- a/linux/drivers/media/video/saa7134/saa7134-cards.c Tue May 09 10:15:42 2006 -0300<br />
+++ b/linux/drivers/media/video/saa7134/saa7134-cards.c Thu May 11 12:33:43 2006 +0200<br />
@@ -3554,6 +3554,7 @@ int saa7134_board_init1(struct saa7134_d<br />
case SAA7134_BOARD_AVERMEDIA_STUDIO_307:<br />
case SAA7134_BOARD_AVERMEDIA_307:<br />
case SAA7134_BOARD_AVERMEDIA_GO_007_FM:<br />
+ case SAA7134_BOARD_AVERMEDIA_777:<br />
/* case SAA7134_BOARD_SABRENT_SBTTVFM: */ /* not finished yet */<br />
case SAA7134_BOARD_VIDEOMATE_TV_PVR:<br />
case SAA7134_BOARD_VIDEOMATE_GOLD_PLUS:<br />
diff -r 38162695285b linux/drivers/media/video/saa7134/saa7134-input.c<br />
--- a/linux/drivers/media/video/saa7134/saa7134-input.c Tue May 09 10:15:42 2006 -0300<br />
+++ b/linux/drivers/media/video/saa7134/saa7134-input.c Thu May 11 12:33:43 2006 +0200<br />
@@ -56,9 +56,9 @@ static int build_key(struct saa7134_dev <br />
<br />
gpio = saa_readl(SAA7134_GPIO_GPSTATUS0 >> 2);<br />
if (ir->polling) {<br />
- if (ir->last_gpio == gpio)<br />
+ if (ir->last_gpio == (gpio & (ir->mask_keycode | ir->mask_keydown | ir->mask_keyup)))<br />
return 0;<br />
- ir->last_gpio = gpio;<br />
+ ir->last_gpio = gpio & (ir->mask_keycode | ir->mask_keydown | ir->mask_keyup);<br />
}<br />
<br />
data = ir_extract_bits(gpio, ir->mask_keycode);<br />
@@ -189,6 +189,14 @@ int saa7134_input_init1(struct saa7134_d<br />
/* Set GPIO pin2 to high to enable the IR controller */<br />
saa_setb(SAA7134_GPIO_GPMODE0, 0x4);<br />
saa_setb(SAA7134_GPIO_GPSTATUS0, 0x4);<br />
+ break;<br />
+ case SAA7134_BOARD_AVERMEDIA_777:<br />
+ ir_codes = ir_codes_avermedia;<br />
+ mask_keycode = 0x02F200;<br />
+ mask_keydown = 0x000400;<br />
+ polling = 50; // ms<br />
+ saa_setl(SAA7134_GPIO_GPMODE0 >> 2, 0x100);<br />
+ saa_setl(SAA7134_GPIO_GPSTATUS0 >> 2, 0x100);<br />
break;<br />
case SAA7134_BOARD_KWORLD_TERMINATOR:<br />
ir_codes = ir_codes_pixelview;<br />
<br />
then do the following:<br />
<br />
hg clone http://linuxtv.org/hg/v4l-dvb<br />
cd v4l-dvb<br />
<br />
Patch it using file create previously (pointing wherever you have saved it)<br />
patch -p1 </root/aver777remote.diff<br />
<br />
make<br />
make install<br />
reboot<br />
<br />
after that, open a terminal window and press some keys on the RC, you should see them on the console, if not, something went wrong :(<br />
<br />
next steps should be configuring <tt>lircd.conf</tt>, <tt>hardware.conf</tt> and <tt>lircrc</tt><br />
<br />
I followed this how-to for MythTV: http://parker1.co.uk/mythtv_ubuntu.php<br />
<br />
== Notes ==<br />
* Kernel support of AVerMedia 777 began in the version 2.6.17rc2. Probably the card won't work with older kernels unless you apply patches.<br />
* Saa7134 can be compiled in-kernel or as module. Both must have the parameter '''card=85'''<br />
* If the dvb-scan fails because it can't open /dev/dvb/adapter0/frontend0 or similar, recheck the step 3: did the script did his job? are you root?<br />
* If the dvb-scan still fails try '''modprobe saa7134-dvb'''<br />
* The dvb-scan app doesn't do frequency scans, so you need a correct DVB-T preset file. You can expect very weird results scanning with a wrong preset file.<br />
* This [http://www.linuxtv.org/wiki/index.php/Image:Kernel-aver777.png screenshot] shows how options should be selected in kernel for the AVerMedia 777<br />
* This wiki have not been corrected for proper grammar and/or spelling. After it's reviewed please delete this advice. (Klez)<br />
* '''Remote Control HowTo''' is in an early stage, I'll upload configuration files as examples. Thanks to Jose Alberto who provided the patch (http://www.mail-archive.com/linux-dvb@linuxtv.org/msg18947.html) and put me on the right track.</div>Mcuerdohttps://www.linuxtv.org/wiki/index.php?title=DVB-T_PCI_cards&diff=8073DVB-T PCI cards2006-11-22T17:23:30Z<p>Mcuerdo: aver777 RC update</p>
<hr />
<div>This is a list of [[Budget]] as well as [[full-featured]] PCI-Cards for [[DVB-T]]. Bear in mind that this naming can be deceptive, and for modern systems with powerful CPUs a "full-featured" card is simply a waste of money.<br />
<br><br><br />
{| border=1 cellpadding=2 cellspacing=0 valign="top"<br />
|- bgcolor=#efefef valign="top"<br />
|'''Manufacturer<br><br />
Model number<br><br />
<br>Price'''<br />
|'''Supports'''<br />
|'''Tuner / Chips'''<br />
|'''Connectors'''<br />
|'''Notes'''<br />
|'''Pictures'''<br />
<br />
|- valign="top"<br />
|'''[[AVerMedia]]<br><br />
[[AverTV DVB-T 761 PCI]]''' [http://www.avermedia.de/Products/TV_Tuner/DVB-T/main.htm]<br><br />
oldest model of the AverTV DVB-T<br><br />
<br><br />
ca. 90 EURO<br />
|DVB, VDR<br>[http://www.vaslet.de]<br />
<br><br />
English Linux Tutorial[http://www.blackbone.info/main/tutorials/aver761_tut.html]<br />
|[[Fusion 878A]]<br />
|<br />
* Antenna in<br><br />
* S-Video in<br><br />
* Composite in<br />
|<br />
* Comes with remote and Infra-Red-Sensor<br />
* Low-Profile-Card<br />
* Difference compared to 771 is the Tuner and Composite-in<br />
|[http://www.avermedia.de/Products/images/Products/DVB-T_FB.jpg]<br />
[http://www.vaslet.de/content/dvbt/averdvb_a761_pcb_top.jpg]<br />
[[Image:Avertv_dvb-t_761.jpg|thumb|50px|]]<br />
<br />
|- valign="top"<br />
|'''[[AVerMedia]]<br><br />
[[AverTV DVB-T 771 PCI]]'''<br><br />
old model of the AVerTV DVB-T<br />
[http://www.avermedia.de/cgi-bin/products_digitvtuner_dvbt771.asp?show=1]<br />
<br><br><br />
ca. 90 EURO<br />
|DVB, VDR possible<br><br />
[http://www.gossamer-threads.com/lists/mythtv/users/72584] [http://www.frokaschwei.net/avtv771/avermedia.html], [http://www.mail-archive.com/linux-dvb@linuxtv.org/msg17579.html] [http://www.vaslet.de]<br />
<br><br />
Warning some people experience problems with this card search for mt352_read_register on the mailing list.<br />
|[[Fusion 878A]]<br />
|<br />
* Antenna In<br><br />
* S-Video In<br><br />
* S-Video/Composite Adapter<br />
|<br />
* Remote and Infra-red-rerceiver included<br />
* Low-Profile-Card<br />
* Difference to the "761" is the Tuner and the missing Composite-in<br />
|[http://www.avermedia.de/Products/TV_Tuner/dvbt771/771.jpg][http://www.vaslet.de/content/dvbt/averdvb_a771_pcb_top.jpg]<br />
[[Image:Avertv_dvb-t_771.jpg|thumb|50px|]]<br />
<br />
|- valign="top"<br />
|'''[[AVerMedia]]<br><br />
[[AverTV DVB-T 777 PCI]]'''<br><br />
newest model of the AVerTV DVB-T<br />
[http://www.avermedia.de/cgi-bin/products_digitvtuner_dvbt777.asp?show=1]<br />
<br><br><br />
ca. 65 EURO<br />
|DVB, VDR ab 2.6.17-rc1<br />
| Philips [[SAA7134]], Zarlink [[MT352]]<br />
|<br />
* Antenna In<br><br />
* S-Video In<br><br />
* S-Video/Composite Adapter<br />
|<br />
* Remote and Infra-red-receiver included (v4l-dvb needs a patch to properly work)<br />
* Works on Ubuntu 6.10 "almost" out of the box.<br />
* HDTV *(1080i / 720P) ready<br />
|[[Image:Avermedia777.jpg|thumb|50px|]]<br />
<br />
|- valign="top"<br />
|'''[[AVerMedia]]<br><br />
[[AVerTV Hybrid-FM PCI]]'''<br><br />
hybrid model of the AVerTV DVB-T <br/><br />
Model: A16D<br />
[http://www.avermedia.com/cgi-bin/products_digitvtuner_hybridPCI(A16D).asp?show=1#]<br />
<br><br><br />
ca. 80 EURO<br />
| Not yet <br/><br />
[http://www.hardwareportal.ru/Multimedia/Aver.hybridfmpci/index.html Russian Review]<br />
<br/><br/><br />
Analog Tuning supported, see [http://www.linuxtv.org/v4lwiki/index.php/AVerMedia_Cardbus_Hybrid_TV_FM_E506R HERE]<br />
| Philips [[SAA7134]], Zarlink [[MT352]], Xceive [[XC3018]]<br />
|<br />
PCI:<br><br />
* Antenna In<br><br />
* S-Video In<br><br />
* FM<br><br />
<br><br />
CardBus:<br><br />
* Antenna In<br><br />
* S-Video In<br><br />
* Composite<br><br />
* Audio L/R<br><br />
* FM<br><br />
|<br />
* Analog / DVB-T<br />
* Remote and Infra-red-receiver included<br />
* HDTV *(1080i / 720P) ready<br />
|[http://www.avermedia.com/docs/productimage/AVerTV-Hybrid+FM-PCI-b.jpg]<br />
<br />
|- valign="top"<br />
|'''[[ChainTech]]<br><br />
[[DTT 1000 PCI]]''' [http://www.chaintech.com.tw/tw/eng/product_spec.asp?MPSNo=15&PISNo=170]<br><br />
<br><br><br />
ca. 100 EURO<br />
|DVB, VDR<br> (lt. c't 11/2004)<br />
|[[Fusion 878A]]<br />
|<br />
* Antenna In<br />
|<br />
* Hangs at least older kernels (<2.6.12) unless the bttv module is loaded with parameters "i2c_hw=1 card=0x71". This may cause boot problems when the module is automatically loaded by hotplug.<br />
|[http://www.chaintech.com.tw/tw/images/Products/DMPD/DTT1000_L.jpg]<br />
<br />
|- valign="top"<br />
|'''[[Compro]]<br><br />
[[VideoMate DVB-T200 PCI]]'''<br><br />
Digital TV only card<br />
[http://www.comprousa.com/New/en/product/vmt200.html]<br />
<br><br><br />
ca. 37 EURO<br />
|DVB kernel 2.6.17<br />
| Philips [[SAA7134]]<br />
|<br />
* Antenna In<br><br />
* S-Video In<br><br />
* Composite In<br><br />
|<br />
* Remote and Infra-red-rerceiver included <br />
( to get the irda working correctly you may find this mail useful [http://marc.theaimsgroup.com/?l=linux-video&m=113672404400380&w=2] )<br />
* HDTV *(1080i / 720P) ready<br />
* Power on via irda<br />
|<br />
<br />
|- valign="top"<br />
|'''[[GDI Black Gold]]'''<br>[http://www.blackgold.tv/products/digital.htm]<br />
|S-Video support works (Small patch which is now in CVS). DVB doesn't work.<br />
|[[Conexant Systems, Inc.|Conexant]] [[Cx2388x|CX23881-19]]/Front End CX22702/Tuner Philips TU1216/TDA10046 demodulator<br />
|<br />
* Antenna In<br />
* S-Video In<br />
* Remote In<br />
|<br />
|Like this, but slightly longer with a heat sink. <br><br />
[http://www.gta-ltd.co.uk/Product/Black%20Gold%20TV/Graphics/Signature_Plan.jpg Card]<br />
[http://www.gta-ltd.co.uk/Product/Black%20Gold%20TV/Graphics/Signature_End.jpg Connectors]<br />
<br />
|- valign="top"<br />
|'''[[Hama]]<br><br />
[[DVB-T PCI-Karte]]''' [http://www.hama.de/portal/articleId*110877/action*2563/searchMode*1/bySearch*dvb-t]<br />
<br><br><br />
ca. 80 EURO<br />
|DVB, VDR possible<br><br />
[http://www.heise.de/ct/foren/go.shtml?read=1&msg_id=5445372&forum_id=47443] (lt. c't 11/2004)<br />
|[[Fusion 878A]]<br />
|<br />
* Antenna In<br />
|<br />
* Remote & IR-receiver included (via USB)<br />
* Identical to the [[TwinHan]] [[VisionDTV Ter PCI]]<br />
|[http://www.hama.de/bilder/00049/abb/00049019abb.jpg]<br />
<br />
|- valign="top"<br />
|'''[[Hauppauge]]'''<br />
Old [[WinTV-NOVA-T_PCI]]<br><br />
(until 06/2004) [http://213.221.87.83/prod_nova-t-pci.htm]<br />
|DVB, VDR<br />
|[[Philips]]<br />
|<br />
* Antenna In<br />
* Remote In<br />
|<br />
* '''Since 07/2004 Hauppauge have been shipping a new Nova-T that is not supported yet (see below)'''<br />
* Comes with remote<br />
[[Image:Hauppauge_nova-t_remote.jpg|thumb|30px|]]<br />
|[[Image:Hauppauge_nova-t_old.jpg|thumb|50px|]]<br />
<br />
|- valign="top"<br />
|'''[[Hauppauge]]'''<br><br />
New [[WinTV-NOVA-T_PCI]]<br><br />
(since 07/2004) [http://213.221.87.83/prod_nova-t-pci.htm]<br />
<br><br><br />
ca. 100 EURO<br />
|works with patches from [http://dl.bytesex.org/patches/] or >= kernel 2.6.12<br />
|[[Conexant Systems, Inc.|Conexant]] [[cx2388x]]<br />
|<br />
* Antenna In<br />
* Antenna Out<br />
* Remote In<br />
|<br />
* You need to search for more information, not yet supported well. Drivers included in kernel 2.6.12 (CONFIG_VIDEO_CX88_DVB)<br />
|[http://sulu.sohanet.de/tmp/]<br />
[[Image:Hauppauge_nova-t_juli2004.jpg|thumb|50px|]]<br />
[[Image:Hauppauge_nova-t_juli2004_Packung.jpg|thumb|50px|]]<br />
<br />
|- valign="top"<br />
|'''[[Hauppauge]]'''<br><br />
[[WinTV-NOVA-T 500 PCI]]<br><br />
(since 09/2006) [http://www.hauppauge.co.uk/pages/products/data_novat500.html]<br />
<br><br><br />
ca. 100 EURO<br />
|works with v4l-dvb hg from 2006-09-20 [http://www.linuxtv.org/repo/]<br />
|[[DiBcom]] [[DiB0700]]<br />
|<br />
* Antenna In<br />
* Remote In (not working yet)<br />
|<br />
*device is a USB2.0 device with a USB host controller on a PCI card. see [[DVB_USB#DiBcom_USB2.0_DVB-T_devices_.28based_on_the_DiB0700.29 | DVB_USB]] for further details<br />
|<br />
<br />
|- valign="top"<br />
||'''[[Hauppauge]]'''<br><br />
new [[HVR-1300]] (since 07/2005) [http://www.hauppauge.co.uk/pages/products/data_hvr1300.html]<br />
(HVR-1100 is similiar to HVR-1300, but without MPEG hardware encoder)<br />
<br><br><br />
ca. 130 EURO<br />
|Digital & Analogue working in repository [http://linuxtv.org/hg/v4l-dvb?cmd=changeset;node=3e90edbf7c53584f109fe091d7380e8bda9fa282;style=gitweb]. Encoder support being worked on.<br />
|[[Conexant Systems, Inc.|Conexant]] [[cx2388x]]<br />
|<br />
* TV Antenna In<br />
* FM Antenna In<br />
* AV (Cinch)<br />
* S-Video (Mini-DIN)<br />
* Audio In<br />
* Remote I<br />
|<br />
* You need to search for more information, not yet supported. Basic drivers included in kernel 2.6.12 (CONFIG_VIDEO_CX88_DVB)<br />
|[http://sulu.sohanet.de/tmp/][[Image:100 7999.JPG|thumb|50px|]]<br />
<br />
|- valign="top"<br />
|'''[[KNC1]]<br><br />
[[KNC1 TV-Station DVB-T]]''' [http://www.kncone.de/d/produkte/digital_dvb_t.htm]<br><br />
<br><br />
ca. 80 EURO<br />
|DVB, ? <br />
|Philips [[SAA7146]]<br />
|<br />
* Antenna In<br />
* Antenna Out<br />
* [[Common Interface]]<br />
| <br />
|<br />
<br />
|- valign="top"<br />
|'''[[KWorld]]<br><br />
[[Kworld V-Stream Xpert DTV|V-Stream Xpert DVB-T PCI]]''' [http://www.kworld.com.tw/en/product/DVBT-PCI/DVBT-PCI.html]<br><br />
<br><br />
ca. 80 EURO<br />
|DVB, VDR possible [http:///www.linuxtv.org/mailinglists/linux-dvb/2004/12-2004/msg00716.html] New card:[http://www.manenti.org/blog/archives/000089.html]<br />
Full support :[[http://linuxtv.org/wiki/index.php/Kworld_V-Stream_Xpert_DVB-T_%28tuner_THOMSON_DTT_7579%29]]<br />
|[[Conexant Systems, Inc.|Conexant]]<br />
|<br />
* Antenna In<br />
* S-Video In<br />
* Composite In<br />
* Remote In<br />
|<br />
* Remote & IR-receiver included<br />
* There are three versions of this card, one with a Samsung tuner similar to the AVerMedia 771, another with a Thomson tuner (similar to the Nova-T 90002) and another with Thomson tuner DTT 7579. Both versions are supported.<br />
|[http://www.kworld.com.tw/en/product/DVBT-PCI/DVBT-PCI.jpg]<br />
<br />
|- valign="top"<br />
|'''[[KWorld]]<br><br />
[[Kworld DVB-T 220]]''' [http://www.kworld.com.tw/en/index_D+A.htm]<br><br />
|DVB, analogue<br />
|Philips [[SAA7134]]<br />
|<br />
* Antenna In (two)<br />
* FM In<br />
* Remote In<br />
|<br />
* As of kernel 2.6.16, requires v4l-dvb from Mercurial tree<br />
|<br />
<br />
|- valign="top"<br />
||'''[[LeadTek]]'''<br><br />
[[Winfast DTV 1000 T]]<br>[http://www.leadtek.com.tw/eng/tv_tuner/overview.asp?lineid=6&pronameid=220]<br />
|DVB<br />
|[[Conexant Systems, Inc.|Conexant]] based system see [[LR6650]]<br />
|<br />
* TV Antenna In<br />
* S-Video<br />
* Remote In<br />
|<br />
* Since kernel 2.6.15-rc1<br />
|[http://www.leadtek.com.tw/eng/tv_tuner/image/winfast_dvt1000t_2.jpg]<br />
<br />
|- valign="top"<br />
|'''[[LifeView]]<br><br />
[[FlyDVB-T]]''' [http://www.lifeview.com.tw/html/products/internal_tv/flydvbt.htm]<br><br />
|DVB-T only<br />
|Philips [[SAA7134]]<br />
|<br />
* Antenna In<br />
* S-Video In<br />
* Composite in<br />
* Remote In<br />
|<br />
* Supported by Linux kernel 2.6.10.<br />
|[[Image:LR301.jpg|thumb|85px|]]<br />
<br />
|- valign="top"<br />
|'''[[LifeView]]<br><br />
[[FlyDVB-T Duo]]''' [http://www.lifeview.com.tw/html/products/internal_tv/flydvbt_duo.htm]<br><br />
|DVB-T and Analog<br />
|Philips [[SAA7135]]<br />
|<br />
* Cable/Antenna In (two)<br />
* S-Video In<br />
* Composite In<br />
* FM In<br />
* Remote In<br />
|<br />
* Combination analog/digital card<br />
* Supported by Linux kernel 2.6.10.<br />
|[[Image:LR306.jpg|thumb|120px|]]<br />
<br />
|- valign="top"<br />
|'''[[LifeView]]<br><br />
[[FlyDVB Trio]]''' [http://www.lifeview.com.tw/html/products/internal_tv/flydvb_trio.htm]<br><br />
|DVB-T, Satellite and Analog<br />
|Philips [[SAA7134]]<br />
|<br />
* Satellite Antenna In<br />
* Digital Antenna In<br />
* Analog Antenna In<br />
* S-Video/Composite In<br />
* FM In<br />
* Remote In<br />
|<br />
* Combination analog/digital card<br />
* Supported by Linux kernel 2.6.10.<br />
|[[Image:photo_dvb_trio.jpg|thumb|120px|]]<br />
<br />
|- valign="top"<br />
|'''[[LifeView]]<br><br />
[[FlyDVB-T Hybrid MCE PRO]]''' <br><br />
|DVB-T and Analog HW encoder<br />
|<br />
*Philips [[SAA7131]] <br />
*Vixs encoder<br />
|<br />
* Cable/Antenna In <br />
* S-Video In<br />
* Composite In<br />
* FM In<br />
* Remote In<br />
|<br />
* Hybrid analog/digital HW encoder card<br />
* Supported by Linux kernel 2.6.15.<br />
|[[Image:323.jpg|thumb|120px|]]<br />
<br />
|- valign="top"<br />
|'''[[Lorenzen]]<br><br />
[[SL DVB-T PCI]]''' [http://www.lorenzen.de/produkte/cgi-bin/iboshop.cgi?showd60!,3709831960,3930]<br />
|DVB, VDR<br />
|[[Philips]]<br />
|<br />
* Antenna In<br />
|<br />
* Can support +5V power supply for Antenna (Jumper on board)<br />
|(Old Design): [http://www.lorenzen.de/produkte/bilder/3922%20200.jpg]<br />
[[Image:Lorenzen_SL_DVB-T_PCI.jpg|thumb|50px|]]<br />
<br />
|- valign="top"<br />
|'''[[Nebula]]<br><br />
[[DigiTV PCI]]''' [http://www.nebula-electronics.com/information/info.asp?Code=0001]<br><br />
<br><br />
ca. 150 EURO<br />
|DVB,VDR<br> NXT6000 demod supported by recent kernels, mt352 demod will be supported by kernels >= 2.6.14-rc1.<br />
|<b>Demod Chip</b><br><br />
<i>Old board:</i><br> <br />
[[ATI NXT6000]]<br><br />
<i>New board:</i><br><br />
[[Zarlink MT352]]<br><br />
<b>Tuner (tin box)</b><br><br />
[[Alps TDED4]] <i>(both boards)</i><br><br />
|<br />
* Antenna In<br />
* AV In<br />
* Remote In<br />
|<br />
* Comes with remote<br />
|[http://www.nebula-electronics.com/images/ProdPCI.jpg]<br />
<br />
|- valign="top"<br />
|'''[[NPG Real DVB-T]]'''<br>[http://www.npgtech.com]<br />
|Doesn't seem to work.<br />
|[[Conexant Systems, Inc.|Conexant]] [[Cx2388x|CX23880-19]] CX22702-25<br />
|<br />
* Antenna In<br />
* S-Video In<br />
* Remote In<br />
|<br />
* 2.6.16 kernel recognizes the card as "Conexant DVB-T reference design" (card=19)<br />
|<br />
<br />
|- valign="top"<br />
|'''[[Pinnacle]]<br><br />
[[PCTV MediaCenter 300i]]''' [http://www.pinnaclesys.com/ProductPage_n.asp?Product_ID=2451&Langue_ID=4]<br><br />
<br><br />
ca. 110 EURO<br><br />
(~40 Euro for "Dazzle" package with no remote)<br />
|DVB works with patches from [http://dl.bytesex.org/patches/], but see this thread [http://www.linuxtv.org/pipermail/linux-dvb/2005-December/007035.html] for recent regression post 2.6.12<br />
Everyone seems happy using Hartmut's Patch [http://www.linuxtv.org/pipermail/linux-dvb/2006-February/008345.html] with more recent kernels. Check the associated thread for more info...<br />
<br />
July 2006: Worked out of the box with recent kernel 2.6.17 Debian unstable!<br />
|Philips [[SAA7134]]<br />
Zarlink [[MT352]]<br />
[[tda9887]] PLL<br />
|<br />
* Antenna In<br />
* Remote In<br />
* Composite Video In<br />
|<br />
* Hybrid DVB-T / Analogue card.<br />
* Comes with remote control.<br />
|[http://www.pinnaclesys.com/images/ProductImages/Ss_01_MediaCenter300iB_02.jpg][http://www.pinnaclesys.com/images/box/box_128x148_pctvmediacenter300i_bl_4.jpg]<br />
<br />
|- valign="top"<br />
|'''[[Pinnacle]]<br><br />
[[PCTV Dual DVB-T Pro PCI / 2000i]]''' [http://www.pinnaclesys.com/PublicSite/de/Products/Consumer+Products/PCTV+Tuners/PCTV+Digital+PVR+%28DVB-S_DVB-T%29/PCTV+Dual+DVB-T+Pro+PCI.htm]<br />
<br><br />
ca. 120 EURO<br />
|Not working so far (Oct.2006). Shows up as three unknown PCI devices ID 0040, 0041, 0042 with subsystems 0044. Manufacturer ''Pinnacle Systems Inc.'' detected correctly.<br />
|2x Zarlink [[ZL10353]]<br> 2x Microtune MT2060<br />
[[PINNACLE DTV BRIDGE 0612MP007/0611MP007]]<br />
|<br />
* Antenna In<br />
* Remote In<br />
|<br />
* Dual DVB-T tuner card.<br />
* Comes with remote control.<br />
* [http://reactorcore.net/pctv/ High Quality Pictures]<br />
|[http://www.sandbox.de/dvb-t/Pinnacle_Dual_DVB-T_Pro_PCI.jpg]<br />
<br />
|- valign="top"<br />
|'''[[Satelco]]<br><br />
[[Satelco PCI]]''' [http://www.satelco.de/htm/shop/popup/intro_dvb_t.htm]<br><br />
<br><br />
ca. 110 EURO<br />
|?<br />
|?<br />
|<br />
* Antenna In<br />
* Antenna Out<br />
|.<br />
|[http://www.satelco.de/img/produkte/karte_dvbt.jpg]<br />
<br />
|- valign="top"<br />
|'''[[Technisat]]<br><br />
[[Airstar2/Air2PC DVB]]''' [http://www.technisat.de/?site=produkte/produkteview.php&kid=1,29&pid=1352&PHPSESSID=69a82464181e34e44928a4fe4ff4fe6c&reload]<br><br />
<br><br />
ca. 80 EURO<br />
|DVB, VDR possible<br><br />
[http://www.vdr-portal.de/board/thread.php?sid=&postid=154853][http://www.vdr-portal.de/board/thread.php?postid=163580#post163580]<br />
|?<br />
|<br />
* Antenna In<br />
* Antenna Out<br />
|<br />
* Remote and LIRC Compatible Serial Dongle Included<br><br />
|[http://www.technisat.de/images/produkte/produktbilder/234_160/1352.jpg]<br />
<br />
|- valign="top"<br />
|'''[[Technotrend]]'''<br><br />
'''[[TT-DVB-T 1200]]''' <br />
<br><br />
<br><br />
ca. 210 EURO<br />
|DVB, VDR<br><br />
|?<br />
|<br />
* Antenna In<br />
* Video Out<br />
|<br />
* The TT-DVB-T 1200 is the only known [[full-featured]] DVB-T Card.<br />
* Can only tune UHF channels: '''VHF is not supported with this card!'''<br />
|.<br />
<br />
|- valign="top"<br />
|'''[[Technotrend]]'''<br><br />
'''[[TT-DVB-T 1500]]''' <br />
<br><br />
<br><br />
ca. 79 EURO<br />
|DVB, VDR<br><br />
|Philips [[SAA7146]]<br />
Tuner: Philips TDA10046H<br><br />
|<br />
* Antenna In<br />
|<br />
* Common Interface for TT-budget-S/C/T-1500 is supported.<br />
* Gives wrong frequencies when channelscanning in for example xawtv4 and mythtv for at least one user. As long as the channel frequencies are adjusted afterwards everything works fine. (Hardware: 0000:00:14.0 Multimedia controller: Philips Semiconductors SAA7146 (rev 01))<br />
|.<br />
<br />
|- valign="top"<br />
|'''[[Technotrend]]<br />
[[TT-DVB-T 1300]]''' [http://www.technotrend.de/english/products/pcproducts3-1.html][http://www.technotrend.de/english/products/pcproducts3-2.html]<br />
|DVB, VDR<br />
|[[Philips]]<br />
|<br />
* Antenna In<br />
|<br />
|<br />
<br />
|- valign="top"<br />
|'''[[Technotrend]]<br><br />
[[TT-PCline Budget3 TA1000]]'''<br />
<br><br />
<br><br />
ca. 90 EURO<br />
|?<br />
|?<br />
|<br />
* Antenna In<br />
|<br />
* Combination DVB-T and analog (PAL/NTSC)<br />
|[http://www.dvbshop.net/images/budget3.jpg]<br />
<br />
|- valign="top"<br />
|'''[[Terratec]]<br><br />
[[Cinergy 1200 DVB-T]]''' [http://tvde.terratec.net/modules.php?op=modload&name=News&file=article&sid=224]<br><br />
<br><br />
ca. 80 EURO<br />
|DVB, VDR <br />
|Philips [[SAA7146]]<br><br />
Tuner: Philips [[TDA10046H]]<br />
|<br />
* Antenna In<br />
* Video In<br />
| <br />
|<br />
<br />
|- valign="top"<br />
|'''[[Terratec]]<br><br />
[[Cinergy 1400 DVB-T]]''' [http://tvde.terratec.net/modules.php?op=modload&name=News&file=article&sid=244]<br><br />
<br><br />
ca. 80 EURO<br />
|DVB, VDR <br />
|Tuner: Thomson [[TT 7579]]<br><br />
Chipset Connexant CX88XX<br><br />
|<br />
* Antenna In<br />
* Antenna Out<br />
* S-Video In<br />
* S-Video/Composite Adapter<br />
* Remote In <br />
|* Use cx88xx with option card=30 or card=19 (connexant ref. design)<br />
|[[http://www.sandbox.de/dvb-t/TerraTec_Cinergy_1400_DVB-T_PCI.jpg]]<br />
<br />
|- valign="top"<br />
|'''[[TwinHan]]<br><br />
[[VisionDTV Ter PCI]]''' [http://www.twinhan.de/default.php?pg=products&pid=220]<br />
<br><br><br />
ca. 80 EURO<br />
|DVB, VDR possible<br><br />
[http://www.heise.de/ct/foren/go.shtml?read=1&msg_id=5445372&forum_id=47443] (lt. c't 11/2004)<br />
|[[Fusion 878A]]<br />
|<br />
* Antenna in<br />
|<br />
* Remote & IR-receiver included (via USB)<br />
* Identical to the [[Hama]] [[DVB-T PCI-Karte]]<br />
|[http://www.twinhan.com/product_terrestrial_4.asp]<br />
<br />
<br />
|- valign="top"<br />
|'''[[TwinHan]]<br><br />
[[DTV Ter PCI (A&D)]]''' [http://www.conrad.de/script/twinhan_dtv_ter.sap]<br />
<br><br><br />
Model: VP-30540<br />
<br><br><br />
ca. 70 EURO<br />
|<br />
Works ok with FC4 latest 2.6 kernel and cx88xx option card=42.<br />
<br><br />
Cannot use the DVB, Analogue or FM tuners simultaneously.<br />
<br />
<br><br />
|<br />
3 Chips:<br />
<br> Zarlink MT352<br />
<br> Conexant CX23883<br />
<br> Philips FMD1216ME<br />
|<br />
* Antenna in<br />
* FM (radio) in<br />
* Composite in<br />
* S-Video in<br />
* Remote in<br />
|Hybrid (DVB-T & analog TV)<br />
<br><br />
You will see 4 new PCI-Devices:<br />
<br>14f1:8800 Conexant CX23880/1/2/3 PCI Video and Audio Decoder<br />
<br>14f1:8801 unknown<br />
<br>14f1:8802 unknown<br />
<br>14f1:8804 unknown<br />
<br><br>The non-DVB-T (analog-tuner) evtl. works running<br />
<br>modprobe cx88xx tuner=63<br />
<br><br />
<br>EDIT: Got DVB-T to work with option card=42:<br />
<br>cx88[0]: card=42 -> digitalnow DNTV Live! DVB-T Pro<br />
<br>Playback is smooth the earlier comment about Jekryness was due<br />
<br>to not have overlay switched on. <br />
<br>The card even looks like the digitalnow DNTV Live! DVB-T Pro [http://www.digitalnow.com.au/product_pages/DNTV_Pro.html]<br />
<br><br />
|<br />
[http://www.mcsat.co.uk/catalog/images/ter-D+A.gif]<br />
|}<br />
<br />
<br />
<br />
<br />
[[Category:DVB-T|!PCI devices DVB-T]]<br />
[[Category:Hardware|!PCI devices DVB-T]]</div>Mcuerdohttps://www.linuxtv.org/wiki/index.php?title=AVerMedia_AVerTV_DVB-T_777_(A16AR)&diff=8070AVerMedia AVerTV DVB-T 777 (A16AR)2006-11-21T16:23:27Z<p>Mcuerdo: Remote Control</p>
<hr />
<div>== PREFACE ==<br />
The Avermedia 777 is a quite good budget pci DVB-T Card. You can get one for about 65 euros.<BR><br />
You must know that Avermedia777 features a '''Philips saa7134''' and '''Zarlink MT352''' demodulator. Acording to the documentation, the avermedia 777 is the <U>'''card=85'''</U> for the saa7134<br />
<br />
For make this card work, you need at last a vanilla kernel 2.6.17rc2. First we will see how to configure our kernel for the avermedia 777:<BR><br />
<BR><br />
<br />
== KERNEL CONFIGURATION ==<br />
DEVICE DRIVERS -> '''I2C''' -> <br />
<br />
select:<br />
[*] I2C Support<br />
[*] I2C Device Interface<br />
<br />
<br />
DEVICE DRIVERS -> I2C -> '''I2C Algorithms'''<br />
[*] I2C bit-banging interfaces<br />
<br />
<br />
<br />
----<br />
----<br />
<br />
<br />
<br />
DEVICE DRIVERS -> '''MULTIMEDIA DEVICES''' -><br />
<br />
select: <br />
[*] Video For Linux<br />
<br />
<br />
DEVICE DRIVERS -> MULTIMEDIA DEVICES -> '''VIDEO FOR LINUX''' -><br />
<br />
select ONLY these that are marked with the asterisk:<br />
<br />
[*] Philips SAA7134 support<br />
[*] Philips SAA7134 DMA audio support<br />
[*] DVB/ATSC Support for saa7134 based TV cards<br />
[ ] Build all supported frontends for saa7134 based TV cards<br />
[*] Zarlink MT352 DVB-T Support<br />
[ ] Philips TDA10045H/TDA10046H DVB-T Support<br />
[ ] NXT2002/NXT2004 ATSC Support<br />
<br />
<br />
----<br />
----<br />
<br />
<br />
<br />
DEVICE DRIVERS -> MULTIMEDIA DEVICES -> '''DIGITAL VIDEO BROADCASTING DEVICES''' -><br />
<br />
select:<br />
<br />
[*] DVB for linux<br />
[*] DVB Core support<br />
<br />
<br />
You must select these components in the kernel configuration if you want your avermedia777 to work. You can compile-in kernel (marked as asterisk) or as Modules (typing M). Some people may think that if they compile in-kernel these components, in particular the saa7134, they won't be able to specify parameters. That's wrong.<br><br />
And we are done with kernel configuration. Now compile and install.<br><br />
<br />
'''Note A:''' If you compiled these options into the kernel (marked with asterisk) you must use some kernel parameters for choosing the correct Dvb-t card:<br />
''(taken from grub.conf)''<br />
kernel /boot/mykernel ro i2c-scan=1 saa7134.card=85<br />
<br />
'''Note B:''' If you compiled these options as modules (marked with capital M) don't forget the '''make modules''' and '''make modules_install'''. Then, you must load the module like this:<br />
<br />
modprobe saa7134 card=85<br />
lsmod<br />
<br />
== SYSTEM ==<br />
After reboot we're done. Check <U>/var/log/dmesg</U> and see if kernel said something about your card, i am sure it did.<br />
<br />
The first problem i encountered is the device node wasn't being created using udev at boot time. Most modern linux distros use udev, so let's check if we have /dev/dvb/adapter0/ populated.<br />
If not, we need to create the device manually. I found this [http://www.avermedia.com/docs/pdffiles/linux.txt script] in the official avermedia page (now is included in dvb-apps tarball), in the previous model (avermedia dvb-t 771) section. After running it, devices ware successfully created and we can continue scanning our channels.<br />
<br />
If you don't have /dev/dvb/adapter0/frontend0 and friends, you need to run this script. Copy and paste it<br />
<br />
#!/bin/sh<br />
# Create device nodes for the Linux DVB API with DVB_API_VERSION 2.<br />
# The devices created are suitable for most current PC DVB cards,<br />
# i.e. cards having one frontend, one demux and optionally one MPEG decoder.<br />
# The script creates devices for four cards by default.<br />
#<br />
if [ -e /dev/.devfsd ]; then<br />
echo "It seems you are using devfs. Good!"<br />
exit 0<br />
fi<br />
#<br />
# get rid of old DVB API devices; do it twice for good measure...<br />
rm -rf /dev/ost<br />
rm -rf /dev/ost<br />
rm -rf /dev/dvb<br />
rm -rf /dev/dvb<br />
#<br />
mkdir /dev/dvb<br />
chmod 755 /dev/dvb<br />
for i in `seq 0 3`; do<br />
echo "Creating DVB devices in /dev/dvb/adapter$i"<br />
mkdir /dev/dvb/adapter$i<br />
chmod 755 /dev/dvb/adapter$i<br />
mknod -m 0660 /dev/dvb/adapter$i/video0 c 212 `expr 64 \* $i + 0`<br />
mknod -m 0660 /dev/dvb/adapter$i/audio0 c 212 `expr 64 \* $i + 1`<br />
mknod -m 0660 /dev/dvb/adapter$i/frontend0 c 212 `expr 64 \* $i + 3`<br />
mknod -m 0660 /dev/dvb/adapter$i/demux0 c 212 `expr 64 \* $i + 4`<br />
mknod -m 0660 /dev/dvb/adapter$i/dvr0 c 212 `expr 64 \* $i + 5`<br />
mknod -m 0660 /dev/dvb/adapter$i/ca0 c 212 `expr 64 \* $i + 6`<br />
mknod -m 0660 /dev/dvb/adapter$i/net0 c 212 `expr 64 \* $i + 7`<br />
mknod -m 0660 /dev/dvb/adapter$i/osd0 c 212 `expr 64 \* $i + 8`<br />
chown root.video /dev/dvb/adapter$i/*<br />
done<br />
<br />
<br />
'''Scanning channels'''<br />
<br />
We need the dvb-apps from [http://linuxtv.org/hg/dvb-apps http://linuxtv.org/hg/dvb-apps] click tree and then bz2 for download the latest. Bunzip and untar the package.<br />
<br />
% bunzip2 hg-dvb-apps.tar.bz2<br />
% tar -xvf hg-dvb-apps.tar<br />
% cd hg-dvb-apps/util/scan<br />
% make<br />
<br />
Good! now we compiled the scan tool, now we'll see how easy it works.<br><br />
In the scan/dvb-t directory we have some files with presets for certain locations around the world, for example let's imagine we are in uk-Oxford<br />
so, we type:<br />
<br />
% ./scan dvb-t/uk-Oxford | tee channels.conf<br />
<br />
Wait until it ends scanning, you will have a working '''channels.conf'''. This file is very important!<br><br />
<br />
<br />
<br />
''' WHAT IF THERE ISN'T A PRESET FILE FOR MY LOCATION?'''<br />
<br />
On the other hand, what if there isn't a preset file for your location? that's a problem, because you won't be able to scan channels with the scan tool.<br />
I wrote my own preset file, it's not hard but you will need some data, like frequency or bandwidth. You can get all the information from the official AverTV software for WindowsXP, take pencil and paper and write frequencies and bandwidths used by your scanned channels, Then edit any preset file and see how it is. It's not hard. <br />
<br />
Example of a dvb-t preset file for the dvb-scan tool: (es-Lugo in the following example)<br />
<br />
# DVB-T Lugo (Centro emisor Paramo) - Rev. 1.2 - 11.12.05<br />
# T freq bw fec_hi fec_lo mod transmission-mode guard-interval hierarchy<br />
#<br />
T 778000000 8MHz 2/3 NONE QAM64 8k 1/4 NONE # TVE 1, TVE 2, 24H TVE, CLAN/50 TVE, RNE1, RNE CLASICA, RNE3<br />
T 858000000 8MHz 2/3 NONE QAM64 8k 1/4 NONE # ANTENA 3, ANTENA.NEOX, ANTENA.NOVA, LA SEXTA 2<br />
<br />
<br />
You see? the first it's the letter T (from dvb-t) then goes the frequency in Hz (not in MHz!) and then the bandwidh (seen also in the AverTV software in windows XP) probably you won't need to edit the other parameters. I recommend to pick the "nearest" preset file for editing. Hope it helps.<br />
<br />
== VIEWING TV ==<br />
<br />
Using XINE [http://www.xinehq.de http://www.xinehq.de]<BR><br />
Now copy the channels.conf file into your /home/user/.xine/ directory and launch xine. Click on DVB and after buffering you will be watching TV. With the mouse wheel you wrap around the channels list, then click for change channel.<br />
<br />
Using Kaffeine [http://kaffeine.sourceforge.net http://kaffeine.sourceforge.net/]<BR><br />
Kaffeine implements it´s own scan tool and has a great qt interface, so you can skip the previous scan part. Remember that Kaffeine has it´s own pack of preset files for frequencies, like the scan tool. So, if needed, put your own preset file in the same directory as the other presets that Kaffeine installs in the hard disk. This directory varies between distributions. After that, your preset file will be avaliable in Kaffeine´s DVB scan interface. Then click SCAN.<BR><br />
<br />
I'm almost sure that VLC also plays dvb-t well using your 'channels.conf' but I haven't tested them.<br />
<br />
MPlayer works fine with the channels.conf.<br />
<br />
MythTV 0.20 works fine, using it to scan channels itself, and EPG data works fine<br />
<br />
VDR with xineliboutput plugin works with channels.conf in VDR format.<br />
<br />
== REMOTE CONTROL ==<br />
<br />
'''This is just a draft'''. I'll try complete it as soon as I can. Contributions are welcome. It worked in my case Ubuntu 6.10 + MythTv 0.20, it should be fine for other distros.<br />
<br />
First of all install '''mercurial''' package.<br />
<br />
Copy the following to your text editor and save it as aver777remote.diff<br />
<br />
diff -r 38162695285b linux/drivers/media/video/saa7134/saa7134-cards.c<br />
--- a/linux/drivers/media/video/saa7134/saa7134-cards.c Tue May 09 10:15:42 2006 -0300<br />
+++ b/linux/drivers/media/video/saa7134/saa7134-cards.c Thu May 11 12:33:43 2006 +0200<br />
@@ -3554,6 +3554,7 @@ int saa7134_board_init1(struct saa7134_d<br />
case SAA7134_BOARD_AVERMEDIA_STUDIO_307:<br />
case SAA7134_BOARD_AVERMEDIA_307:<br />
case SAA7134_BOARD_AVERMEDIA_GO_007_FM:<br />
+ case SAA7134_BOARD_AVERMEDIA_777:<br />
/* case SAA7134_BOARD_SABRENT_SBTTVFM: */ /* not finished yet */<br />
case SAA7134_BOARD_VIDEOMATE_TV_PVR:<br />
case SAA7134_BOARD_VIDEOMATE_GOLD_PLUS:<br />
diff -r 38162695285b linux/drivers/media/video/saa7134/saa7134-input.c<br />
--- a/linux/drivers/media/video/saa7134/saa7134-input.c Tue May 09 10:15:42 2006 -0300<br />
+++ b/linux/drivers/media/video/saa7134/saa7134-input.c Thu May 11 12:33:43 2006 +0200<br />
@@ -56,9 +56,9 @@ static int build_key(struct saa7134_dev <br />
<br />
gpio = saa_readl(SAA7134_GPIO_GPSTATUS0 >> 2);<br />
if (ir->polling) {<br />
- if (ir->last_gpio == gpio)<br />
+ if (ir->last_gpio == (gpio & (ir->mask_keycode | ir->mask_keydown | ir->mask_keyup)))<br />
return 0;<br />
- ir->last_gpio = gpio;<br />
+ ir->last_gpio = gpio & (ir->mask_keycode | ir->mask_keydown | ir->mask_keyup);<br />
}<br />
<br />
data = ir_extract_bits(gpio, ir->mask_keycode);<br />
@@ -189,6 +189,14 @@ int saa7134_input_init1(struct saa7134_d<br />
/* Set GPIO pin2 to high to enable the IR controller */<br />
saa_setb(SAA7134_GPIO_GPMODE0, 0x4);<br />
saa_setb(SAA7134_GPIO_GPSTATUS0, 0x4);<br />
+ break;<br />
+ case SAA7134_BOARD_AVERMEDIA_777:<br />
+ ir_codes = ir_codes_avermedia;<br />
+ mask_keycode = 0x02F200;<br />
+ mask_keydown = 0x000400;<br />
+ polling = 50; // ms<br />
+ saa_setl(SAA7134_GPIO_GPMODE0 >> 2, 0x100);<br />
+ saa_setl(SAA7134_GPIO_GPSTATUS0 >> 2, 0x100);<br />
break;<br />
case SAA7134_BOARD_KWORLD_TERMINATOR:<br />
ir_codes = ir_codes_pixelview;<br />
<br />
then do the following:<br />
<br />
hg clone http://linuxtv.org/hg/v4l-dvb<br />
cd v4l-dvb<br />
<br />
Patch it using file create previously (pointing wherever you have saved it)<br />
patch -p1 </root/aver777remote.diff<br />
<br />
make<br />
make install<br />
reboot<br />
<br />
after that, open a terminal window and press some keys on the RC, you should see them on the console, if not, sth went wrong :(<br />
<br />
next steps should be configuring lircd.conf, hardware.conf and lircrc<br />
<br />
I followed this howto for mythtv: http://parker1.co.uk/mythtv_ubuntu.php<br />
<br />
== Notes ==<br />
<br />
* Kernel support of Avermedia 777 began in the version 2.6.17rc2. Probably the card won't work with older kernels unless you apply patches.<br><br />
* Saa7134 can be compiled in-kernel or as module. Both must have the parameter '''card=85''' <br><br />
* If the dvb-scan fails because it can't open /dev/dvb/adapter0/frontend0 or similar, recheck the step 3: did the script did his job? are you root?<br><br />
* If the dvb-scan still fails try '''modprobe saa7134-dvb''' <br /><br />
* The dvb-scan app doesn't do frequency scans, so you need a correct dvb-t preset file. You can expect very weird results scanning with a wrong preset file.<br><br />
* This [http://www.linuxtv.org/wiki/index.php/Image:Kernel-aver777.png screenshot] shows how options should be selected in kernel for the avermedia777<br><br />
* This wiki have not been corrected for proper grammar and/or spelling. After it's reviewed please delete this advice. (Klez)<br><br />
* '''Remote Control HowTo''' is in an early stage, I'll upload configuration files as examples. Thanks to Jose Alberto who provided the patch (http://www.mail-archive.com/linux-dvb@linuxtv.org/msg18947.html) and put me on the right track.</div>Mcuerdohttps://www.linuxtv.org/wiki/index.php?title=AVerMedia_AVerTV_DVB-T_777_(A16AR)&diff=8069AVerMedia AVerTV DVB-T 777 (A16AR)2006-11-21T16:15:27Z<p>Mcuerdo: </p>
<hr />
<div>== PREFACE ==<br />
The Avermedia 777 is a quite good budget pci DVB-T Card. You can get one for about 65 euros.<BR><br />
You must know that Avermedia777 features a '''Philips saa7134''' and '''Zarlink MT352''' demodulator. Acording to the documentation, the avermedia 777 is the <U>'''card=85'''</U> for the saa7134<br />
<br />
For make this card work, you need at last a vanilla kernel 2.6.17rc2. First we will see how to configure our kernel for the avermedia 777:<BR><br />
<BR><br />
<br />
== KERNEL CONFIGURATION ==<br />
DEVICE DRIVERS -> '''I2C''' -> <br />
<br />
select:<br />
[*] I2C Support<br />
[*] I2C Device Interface<br />
<br />
<br />
DEVICE DRIVERS -> I2C -> '''I2C Algorithms'''<br />
[*] I2C bit-banging interfaces<br />
<br />
<br />
<br />
----<br />
----<br />
<br />
<br />
<br />
DEVICE DRIVERS -> '''MULTIMEDIA DEVICES''' -><br />
<br />
select: <br />
[*] Video For Linux<br />
<br />
<br />
DEVICE DRIVERS -> MULTIMEDIA DEVICES -> '''VIDEO FOR LINUX''' -><br />
<br />
select ONLY these that are marked with the asterisk:<br />
<br />
[*] Philips SAA7134 support<br />
[*] Philips SAA7134 DMA audio support<br />
[*] DVB/ATSC Support for saa7134 based TV cards<br />
[ ] Build all supported frontends for saa7134 based TV cards<br />
[*] Zarlink MT352 DVB-T Support<br />
[ ] Philips TDA10045H/TDA10046H DVB-T Support<br />
[ ] NXT2002/NXT2004 ATSC Support<br />
<br />
<br />
----<br />
----<br />
<br />
<br />
<br />
DEVICE DRIVERS -> MULTIMEDIA DEVICES -> '''DIGITAL VIDEO BROADCASTING DEVICES''' -><br />
<br />
select:<br />
<br />
[*] DVB for linux<br />
[*] DVB Core support<br />
<br />
<br />
You must select these components in the kernel configuration if you want your avermedia777 to work. You can compile-in kernel (marked as asterisk) or as Modules (typing M). Some people may think that if they compile in-kernel these components, in particular the saa7134, they won't be able to specify parameters. That's wrong.<br><br />
And we are done with kernel configuration. Now compile and install.<br><br />
<br />
'''Note A:''' If you compiled these options into the kernel (marked with asterisk) you must use some kernel parameters for choosing the correct Dvb-t card:<br />
''(taken from grub.conf)''<br />
kernel /boot/mykernel ro i2c-scan=1 saa7134.card=85<br />
<br />
'''Note B:''' If you compiled these options as modules (marked with capital M) don't forget the '''make modules''' and '''make modules_install'''. Then, you must load the module like this:<br />
<br />
modprobe saa7134 card=85<br />
lsmod<br />
<br />
== SYSTEM ==<br />
After reboot we're done. Check <U>/var/log/dmesg</U> and see if kernel said something about your card, i am sure it did.<br />
<br />
The first problem i encountered is the device node wasn't being created using udev at boot time. Most modern linux distros use udev, so let's check if we have /dev/dvb/adapter0/ populated.<br />
If not, we need to create the device manually. I found this [http://www.avermedia.com/docs/pdffiles/linux.txt script] in the official avermedia page (now is included in dvb-apps tarball), in the previous model (avermedia dvb-t 771) section. After running it, devices ware successfully created and we can continue scanning our channels.<br />
<br />
If you don't have /dev/dvb/adapter0/frontend0 and friends, you need to run this script. Copy and paste it<br />
<br />
#!/bin/sh<br />
# Create device nodes for the Linux DVB API with DVB_API_VERSION 2.<br />
# The devices created are suitable for most current PC DVB cards,<br />
# i.e. cards having one frontend, one demux and optionally one MPEG decoder.<br />
# The script creates devices for four cards by default.<br />
#<br />
if [ -e /dev/.devfsd ]; then<br />
echo "It seems you are using devfs. Good!"<br />
exit 0<br />
fi<br />
#<br />
# get rid of old DVB API devices; do it twice for good measure...<br />
rm -rf /dev/ost<br />
rm -rf /dev/ost<br />
rm -rf /dev/dvb<br />
rm -rf /dev/dvb<br />
#<br />
mkdir /dev/dvb<br />
chmod 755 /dev/dvb<br />
for i in `seq 0 3`; do<br />
echo "Creating DVB devices in /dev/dvb/adapter$i"<br />
mkdir /dev/dvb/adapter$i<br />
chmod 755 /dev/dvb/adapter$i<br />
mknod -m 0660 /dev/dvb/adapter$i/video0 c 212 `expr 64 \* $i + 0`<br />
mknod -m 0660 /dev/dvb/adapter$i/audio0 c 212 `expr 64 \* $i + 1`<br />
mknod -m 0660 /dev/dvb/adapter$i/frontend0 c 212 `expr 64 \* $i + 3`<br />
mknod -m 0660 /dev/dvb/adapter$i/demux0 c 212 `expr 64 \* $i + 4`<br />
mknod -m 0660 /dev/dvb/adapter$i/dvr0 c 212 `expr 64 \* $i + 5`<br />
mknod -m 0660 /dev/dvb/adapter$i/ca0 c 212 `expr 64 \* $i + 6`<br />
mknod -m 0660 /dev/dvb/adapter$i/net0 c 212 `expr 64 \* $i + 7`<br />
mknod -m 0660 /dev/dvb/adapter$i/osd0 c 212 `expr 64 \* $i + 8`<br />
chown root.video /dev/dvb/adapter$i/*<br />
done<br />
<br />
<br />
'''Scanning channels'''<br />
<br />
We need the dvb-apps from [http://linuxtv.org/hg/dvb-apps http://linuxtv.org/hg/dvb-apps] click tree and then bz2 for download the latest. Bunzip and untar the package.<br />
<br />
% bunzip2 hg-dvb-apps.tar.bz2<br />
% tar -xvf hg-dvb-apps.tar<br />
% cd hg-dvb-apps/util/scan<br />
% make<br />
<br />
Good! now we compiled the scan tool, now we'll see how easy it works.<br><br />
In the scan/dvb-t directory we have some files with presets for certain locations around the world, for example let's imagine we are in uk-Oxford<br />
so, we type:<br />
<br />
% ./scan dvb-t/uk-Oxford | tee channels.conf<br />
<br />
Wait until it ends scanning, you will have a working '''channels.conf'''. This file is very important!<br><br />
<br />
<br />
<br />
''' WHAT IF THERE ISN'T A PRESET FILE FOR MY LOCATION?'''<br />
<br />
On the other hand, what if there isn't a preset file for your location? that's a problem, because you won't be able to scan channels with the scan tool.<br />
I wrote my own preset file, it's not hard but you will need some data, like frequency or bandwidth. You can get all the information from the official AverTV software for WindowsXP, take pencil and paper and write frequencies and bandwidths used by your scanned channels, Then edit any preset file and see how it is. It's not hard. <br />
<br />
Example of a dvb-t preset file for the dvb-scan tool: (es-Lugo in the following example)<br />
<br />
# DVB-T Lugo (Centro emisor Paramo) - Rev. 1.2 - 11.12.05<br />
# T freq bw fec_hi fec_lo mod transmission-mode guard-interval hierarchy<br />
#<br />
T 778000000 8MHz 2/3 NONE QAM64 8k 1/4 NONE # TVE 1, TVE 2, 24H TVE, CLAN/50 TVE, RNE1, RNE CLASICA, RNE3<br />
T 858000000 8MHz 2/3 NONE QAM64 8k 1/4 NONE # ANTENA 3, ANTENA.NEOX, ANTENA.NOVA, LA SEXTA 2<br />
<br />
<br />
You see? the first it's the letter T (from dvb-t) then goes the frequency in Hz (not in MHz!) and then the bandwidh (seen also in the AverTV software in windows XP) probably you won't need to edit the other parameters. I recommend to pick the "nearest" preset file for editing. Hope it helps.<br />
<br />
== VIEWING TV ==<br />
<br />
Using XINE [http://www.xinehq.de http://www.xinehq.de]<BR><br />
Now copy the channels.conf file into your /home/user/.xine/ directory and launch xine. Click on DVB and after buffering you will be watching TV. With the mouse wheel you wrap around the channels list, then click for change channel.<br />
<br />
Using Kaffeine [http://kaffeine.sourceforge.net http://kaffeine.sourceforge.net/]<BR><br />
Kaffeine implements it´s own scan tool and has a great qt interface, so you can skip the previous scan part. Remember that Kaffeine has it´s own pack of preset files for frequencies, like the scan tool. So, if needed, put your own preset file in the same directory as the other presets that Kaffeine installs in the hard disk. This directory varies between distributions. After that, your preset file will be avaliable in Kaffeine´s DVB scan interface. Then click SCAN.<BR><br />
<br />
I'm almost sure that VLC also plays dvb-t well using your 'channels.conf' but I haven't tested them.<br />
<br />
MPlayer works fine with the channels.conf.<br />
<br />
MythTV 0.20 works fine, using it to scan channels itself, and EPG data works fine<br />
<br />
VDR with xineliboutput plugin works with channels.conf in VDR format.<br />
<br />
== REMOTE CONTROL ==<br />
<br />
'''This is just a draft'''. I'll try complete it as soon as I can. Contributions are welcome. It worked in my case Ubuntu 6.10 + MythTv 0.20, it should be fine for other distros.<br />
<br />
First of all install '''mercurial''' package.<br />
<br />
Copy the following to your text editor and save it as aver777remote.diff<br />
<br />
diff -r 38162695285b linux/drivers/media/video/saa7134/saa7134-cards.c<br />
--- a/linux/drivers/media/video/saa7134/saa7134-cards.c Tue May 09 10:15:42 2006 -0300<br />
+++ b/linux/drivers/media/video/saa7134/saa7134-cards.c Thu May 11 12:33:43 2006 +0200<br />
@@ -3554,6 +3554,7 @@ int saa7134_board_init1(struct saa7134_d<br />
case SAA7134_BOARD_AVERMEDIA_STUDIO_307:<br />
case SAA7134_BOARD_AVERMEDIA_307:<br />
case SAA7134_BOARD_AVERMEDIA_GO_007_FM:<br />
+ case SAA7134_BOARD_AVERMEDIA_777:<br />
/* case SAA7134_BOARD_SABRENT_SBTTVFM: */ /* not finished yet */<br />
case SAA7134_BOARD_VIDEOMATE_TV_PVR:<br />
case SAA7134_BOARD_VIDEOMATE_GOLD_PLUS:<br />
diff -r 38162695285b linux/drivers/media/video/saa7134/saa7134-input.c<br />
--- a/linux/drivers/media/video/saa7134/saa7134-input.c Tue May 09 10:15:42 2006 -0300<br />
+++ b/linux/drivers/media/video/saa7134/saa7134-input.c Thu May 11 12:33:43 2006 +0200<br />
@@ -56,9 +56,9 @@ static int build_key(struct saa7134_dev <br />
<br />
gpio = saa_readl(SAA7134_GPIO_GPSTATUS0 >> 2);<br />
if (ir->polling) {<br />
- if (ir->last_gpio == gpio)<br />
+ if (ir->last_gpio == (gpio & (ir->mask_keycode | ir->mask_keydown | ir->mask_keyup)))<br />
return 0;<br />
- ir->last_gpio = gpio;<br />
+ ir->last_gpio = gpio & (ir->mask_keycode | ir->mask_keydown | ir->mask_keyup);<br />
}<br />
<br />
data = ir_extract_bits(gpio, ir->mask_keycode);<br />
@@ -189,6 +189,14 @@ int saa7134_input_init1(struct saa7134_d<br />
/* Set GPIO pin2 to high to enable the IR controller */<br />
saa_setb(SAA7134_GPIO_GPMODE0, 0x4);<br />
saa_setb(SAA7134_GPIO_GPSTATUS0, 0x4);<br />
+ break;<br />
+ case SAA7134_BOARD_AVERMEDIA_777:<br />
+ ir_codes = ir_codes_avermedia;<br />
+ mask_keycode = 0x02F200;<br />
+ mask_keydown = 0x000400;<br />
+ polling = 50; // ms<br />
+ saa_setl(SAA7134_GPIO_GPMODE0 >> 2, 0x100);<br />
+ saa_setl(SAA7134_GPIO_GPSTATUS0 >> 2, 0x100);<br />
break;<br />
case SAA7134_BOARD_KWORLD_TERMINATOR:<br />
ir_codes = ir_codes_pixelview;<br />
<br />
then do the following:<br />
<br />
hg clone http://linuxtv.org/hg/v4l-dvb<br />
cd v4l-dvb<br />
patch -p1 </root/aver777remote.diff<br />
make<br />
make install<br />
reboot<br />
<br />
after that, open a terminal window and press some keys on the RC, you should see them on the console, if not, sth went wrong :(<br />
<br />
next steps should be configuring lircd.conf, hardware.conf and lircrc<br />
<br />
I followed this tutorial for mythtv: http://parker1.co.uk/mythtv_ubuntu.php<br />
<br />
== Notes ==<br />
<br />
· Kernel support of Avermedia 777 began in the version 2.6.17rc2. Probably the card won't work with older kernels unless you apply patches.<br><br />
· Saa7134 can be compiled in-kernel or as module. Both must have the parameter '''card=85''' <br><br />
· If the dvb-scan fails because it can't open /dev/dvb/adapter0/frontend0 or similar, recheck the step 3: did the script did his job? are you root?<br><br />
· If the dvb-scan still fails try '''modprobe saa7134-dvb''' <br /><br />
· The dvb-scan app doesn't do frequency scans, so you need a correct dvb-t preset file. You can expect very weird results scanning with a wrong preset file.<br><br />
· This [http://www.linuxtv.org/wiki/index.php/Image:Kernel-aver777.png screenshot] shows how options should be selected in kernel for the avermedia777<br><br />
· In this wiki it's missing the how-to LIRC for making the remote work. <br><br />
· This wiki have not been corrected for proper grammar and/or spelling. After it's reviewed please delete this advice. (Klez)<br></div>Mcuerdo