Hi, <br> Bad news: I've been unsuccesfully trying to apply the new patches (as mentioned in the wiki), with the following results:<br><br>1.- analog part applies just fine:<br><span style="font-family: courier new,monospace;"><br>
mediacenter v4l-dvb # patch -p1 < ../1_avertv_A700_analog_part.d</span><span style="font-family: courier new,monospace;">iff</span><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;">patching file linux/drivers/media/video/saa7</span><span style="font-family: courier new,monospace;">134/saa7134-cards.c</span><br style="font-family: courier new,monospace;">
<span style="font-family: courier new,monospace;">patching file linux/drivers/media/video/saa7</span><span style="font-family: courier new,monospace;">134/saa7134.h</span><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;">patching file linux/Documentation/video4linu</span><span style="font-family: courier new,monospace;">x/CARDLIST.saa7134</span><br style="font-family: courier new,monospace;">
<br><br>2.- Your patch (ZZam's) gives some warnings:<br><br><span style="font-family: courier new,monospace;">mediacenter v4l-dvb # patch -p1 < ../2_avertv_A700_zzam.diff</span><br style="font-family: courier new,monospace;">
<span style="font-family: courier new,monospace;">patching file linux/drivers/media/video/saa7134/saa7134-cards.c</span><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;">Hunk #1 succeeded at 4011 with fuzz 2 (offset 19 lines).</span><br style="font-family: courier new,monospace;">
<span style="font-family: courier new,monospace;">Hunk #2 succeeded at 4268 with fuzz 1 (offset 25 lines).</span><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;">Hunk #3 succeeded at 5266 with fuzz 2 (offset 33 lines).</span><br style="font-family: courier new,monospace;">
<span style="font-family: courier new,monospace;">patching file linux/drivers/media/video/saa7134/saa7134.h</span><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;">Reversed (or previously applied) patch detected! Assume -R? [n]</span><br style="font-family: courier new,monospace;">
<span style="font-family: courier new,monospace;">Apply anyway? [n]</span><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;">Skipping patch.</span><br style="font-family: courier new,monospace;">
<span style="font-family: courier new,monospace;">1 out of 1 hunk ignored -- saving rejects to file linux/drivers/media/video/saa7134/saa7134.h.rej</span><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;">patching file linux/Documentation/video4linux/CARDLIST.saa7134</span><br style="font-family: courier new,monospace;">
<span style="font-family: courier new,monospace;">Reversed (or previously applied) patch detected! Assume -R? [n]</span><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;">Apply anyway? [n]</span><br style="font-family: courier new,monospace;">
<span style="font-family: courier new,monospace;">Skipping patch.</span><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;">1 out of 1 hunk ignored -- saving rejects to file linux/Documentation/video4linux/CARDLIST.saa7134.rej</span><br style="font-family: courier new,monospace;">
<span style="font-family: courier new,monospace;">patching file linux/drivers/media/dvb/frontends/Kconfig</span><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;">patching file linux/drivers/media/dvb/frontends/Makefile</span><br style="font-family: courier new,monospace;">
<span style="font-family: courier new,monospace;">patching file linux/drivers/media/dvb/frontends/zl1003x.c</span><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;">patching file linux/drivers/media/dvb/frontends/zl1003x.h</span><br style="font-family: courier new,monospace;">
<span style="font-family: courier new,monospace;">patching file linux/drivers/media/dvb/frontends/mt312.c</span><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;">patching file linux/drivers/media/dvb/frontends/mt312_priv.h</span><br style="font-family: courier new,monospace;">
<span style="font-family: courier new,monospace;">patching file linux/drivers/media/dvb/frontends/mt312.h</span><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;">patching file linux/drivers/media/video/saa7134/Kconfig</span><br style="font-family: courier new,monospace;">
<span style="font-family: courier new,monospace;">patching file linux/drivers/media/video/saa7134/saa7134-dvb.c</span><br style="font-family: courier new,monospace;"><br style="font-family: courier new,monospace;"><br>At this point the patched code doens't even compile:<br>
<span style="font-family: courier new,monospace;"> ...</span><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;"> CC [M] /home/root/src/dvb/v4l-dvb/v4l/pwc-misc.o</span><br style="font-family: courier new,monospace;">
<span style="font-family: courier new,monospace;"> CC [M] /home/root/src/dvb/v4l-dvb/v4l/pwc-ctrl.o</span><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;"> CC [M] /home/root/src/dvb/v4l-dvb/v4l/pwc-v4l.o</span><br style="font-family: courier new,monospace;">
<span style="font-family: courier new,monospace;"> CC [M] /home/root/src/dvb/v4l-dvb/v4l/pwc-uncompress.o</span><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;"> CC [M] /home/root/src/dvb/v4l-dvb/v4l/pwc-dec1.o</span><br style="font-family: courier new,monospace;">
<span style="font-family: courier new,monospace;"> CC [M] /home/root/src/dvb/v4l-dvb/v4l/pwc-dec23.o</span><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;"> CC [M] /home/root/src/dvb/v4l-dvb/v4l/pwc-kiara.o</span><br style="font-family: courier new,monospace;">
<span style="font-family: courier new,monospace;"> CC [M] /home/root/src/dvb/v4l-dvb/v4l/pwc-timon.o</span><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;"> CC [M] /home/root/src/dvb/v4l-dvb/v4l/saa7134-cards.o</span><br style="font-family: courier new,monospace;">
<span style="font-family: courier new,monospace;">/home/root/src/dvb/v4l-dvb/v4l/saa7134-cards.c: In function 'saa7134_board_init1':</span><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;">/home/root/src/dvb/v4l-dvb/v4l/saa7134-cards.c:5269: error: duplicate case value</span><br style="font-family: courier new,monospace;">
<span style="font-family: courier new,monospace;">/home/root/src/dvb/v4l-dvb/v4l/saa7134-cards.c:5261: error: previously used here</span><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;">make[3]: *** [/home/root/src/dvb/v4l-dvb/v4l/saa7134-cards.o] Error 1</span><br style="font-family: courier new,monospace;">
<span style="font-family: courier new,monospace;">make[2]: *** [_module_/home/root/src/dvb/v4l-dvb/v4l] Error 2</span><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;">make[2]: Leaving directory `/usr/src/linux-2.6.23-tuxonice-r8'</span><br style="font-family: courier new,monospace;">
<span style="font-family: courier new,monospace;">make[1]: *** [default] Error 2</span><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;">make[1]: Leaving directory `/home/root/src/dvb/v4l-dvb/v4l'</span><br style="font-family: courier new,monospace;">
<span style="font-family: courier new,monospace;">make: *** [all] Error 2</span><br style="font-family: courier new,monospace;"><br>This is the offending code in v4l/saa7134-cards.c:<br><br><span style="font-family: courier new,monospace;"> case SAA7134_BOARD_AVERMEDIA_A700:</span><br style="font-family: courier new,monospace;">
<span style="font-family: courier new,monospace;"> /* write windows gpio values */</span><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;"> saa_andorl(SAA7134_GPIO_GPMODE0 >> 2, 0x80040100, 0x80040100);</span><br style="font-family: courier new,monospace;">
<span style="font-family: courier new,monospace;"> saa_andorl(SAA7134_GPIO_GPSTATUS0 >> 2, 0x80040100, 0x00040100);</span><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;"> printk("%s: %s: hybrid analog/dvb card\n"</span><br style="font-family: courier new,monospace;">
<span style="font-family: courier new,monospace;"> "%s: Sorry, only the analog inputs are supported for now.\n",</span><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;"> dev->name,card(dev).name, dev->name);</span><br style="font-family: courier new,monospace;">
<span style="font-family: courier new,monospace;"> break;</span><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;"> case SAA7134_BOARD_AVERMEDIA_A700:</span><br style="font-family: courier new,monospace;">
<span style="font-family: courier new,monospace;"> /* write windows gpio values */</span><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;"> saa_andorl(SAA7134_GPIO_GPMODE0 >> 2, 0x80040100, 0x80040100);</span><br style="font-family: courier new,monospace;">
<span style="font-family: courier new,monospace;"> saa_andorl(SAA7134_GPIO_GPSTATUS0 >> 2, 0x80040100, 0x00040100);</span><br style="font-family: courier new,monospace;"><br style="font-family: courier new,monospace;">
<span style="font-family: courier new,monospace;"> /* reset demod */</span><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;"> saa7134_set_gpio(dev, 23, 1);</span><br style="font-family: courier new,monospace;">
<span style="font-family: courier new,monospace;"> msleep(100);</span><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;"> saa7134_set_gpio(dev, 23, 3); // back to tristate = input mode</span><br style="font-family: courier new,monospace;">
<br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;"> break;</span><br style="font-family: courier new,monospace;"><br style="font-family: courier new,monospace;">
<br>Apparently the A700 section is duplicated. I assume that the second section is the good one, as the first gives only option for analog input. This is probably related to the patch no aplying cleanly. I've removed the 1st section and now it seems to compile fine.<br>
<br><br>3.- Tino's patch gets worse. It even doesn't apply:<br><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;">mediacenter v4l-dvb # patch -p1 < ../3_avertv_A700_tino.diff</span><br style="font-family: courier new,monospace;">
<span style="font-family: courier new,monospace;">patching file linux/drivers/media/common/ir-keymaps.c</span><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;">Hunk #1 FAILED at 1898.</span><br style="font-family: courier new,monospace;">
<span style="font-family: courier new,monospace;">1 out of 1 hunk FAILED -- saving rejects to file linux/drivers/media/common/ir-keymaps.c.rej</span><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;">patching file linux/drivers/media/dvb/frontends/Kconfig</span><br style="font-family: courier new,monospace;">
<span style="font-family: courier new,monospace;">Hunk #2 succeeded at 374 (offset 7 lines).</span><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;">patching file linux/drivers/media/dvb/frontends/Makefile</span><br style="font-family: courier new,monospace;">
<span style="font-family: courier new,monospace;">Hunk #1 succeeded at 51 (offset 1 line).</span><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;">patching file linux/drivers/media/dvb/frontends/zl10039.c</span><br style="font-family: courier new,monospace;">
<span style="font-family: courier new,monospace;">patching file linux/drivers/media/dvb/frontends/zl10039.h</span><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;">patching file linux/drivers/media/dvb/frontends/zl10039_priv.h</span><br style="font-family: courier new,monospace;">
<span style="font-family: courier new,monospace;">The next patch would create the file linux/drivers/media/dvb/frontends/zl1003x.c,</span><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;">which already exists! Assume -R? [n]</span><br style="font-family: courier new,monospace;">
<span style="font-family: courier new,monospace;">Apply anyway? [n] y</span><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;">patching file linux/drivers/media/dvb/frontends/zl1003x.c</span><br style="font-family: courier new,monospace;">
<span style="font-family: courier new,monospace;">Patch attempted to create file linux/drivers/media/dvb/frontends/zl1003x.c, which already exists.</span><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;">Hunk #1 FAILED at 1.</span><br style="font-family: courier new,monospace;">
<span style="font-family: courier new,monospace;">1 out of 1 hunk FAILED -- saving rejects to file linux/drivers/media/dvb/frontends/zl1003x.c.rej</span><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;">The next patch would create the file linux/drivers/media/dvb/frontends/zl1003x.h,</span><br style="font-family: courier new,monospace;">
<span style="font-family: courier new,monospace;">which already exists! Assume -R? [n]</span><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;">Apply anyway? [n] y</span><br style="font-family: courier new,monospace;">
<span style="font-family: courier new,monospace;">patching file linux/drivers/media/dvb/frontends/zl1003x.h</span><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;">Patch attempted to create file linux/drivers/media/dvb/frontends/zl1003x.h, which already exists.</span><br style="font-family: courier new,monospace;">
<span style="font-family: courier new,monospace;">Hunk #1 FAILED at 1.</span><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;">1 out of 1 hunk FAILED -- saving rejects to file linux/drivers/media/dvb/frontends/zl1003x.h.rej</span><br style="font-family: courier new,monospace;">
<span style="font-family: courier new,monospace;">patching file linux/drivers/media/dvb/frontends/zl10313.c</span><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;">patching file linux/drivers/media/dvb/frontends/zl10313.h</span><br style="font-family: courier new,monospace;">
<span style="font-family: courier new,monospace;">patching file linux/drivers/media/dvb/frontends/zl10313_priv.h</span><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;">patching file linux/drivers/media/video/saa7134/Kconfig</span><br style="font-family: courier new,monospace;">
<span style="font-family: courier new,monospace;">Hunk #1 FAILED at 37.</span><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;">1 out of 1 hunk FAILED -- saving rejects to file linux/drivers/media/video/saa7134/Kconfig.rej</span><br style="font-family: courier new,monospace;">
<span style="font-family: courier new,monospace;">patching file linux/drivers/media/video/saa7134/saa7134-cards.c</span><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;">Hunk #1 succeeded at 3280 (offset 11 lines).</span><br style="font-family: courier new,monospace;">
<span style="font-family: courier new,monospace;">Hunk #2 succeeded at 4029 with fuzz 1 (offset 429 lines).</span><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;">Hunk #3 succeeded at 4096 (offset 429 lines).</span><br style="font-family: courier new,monospace;">
<span style="font-family: courier new,monospace;">Hunk #4 succeeded at 5051 with fuzz 2 (offset 621 lines).</span><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;">Hunk #5 FAILED at 5305.</span><br style="font-family: courier new,monospace;">
<span style="font-family: courier new,monospace;">1 out of 5 hunks FAILED -- saving rejects to file linux/drivers/media/video/saa7134/saa7134-cards.c.rej</span><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;">patching file linux/drivers/media/video/saa7134/saa7134-dvb.c</span><br style="font-family: courier new,monospace;">
<span style="font-family: courier new,monospace;">Hunk #2 succeeded at 668 (offset 3 lines).</span><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;">Hunk #3 succeeded at 873 (offset 30 lines).</span><br style="font-family: courier new,monospace;">
<span style="font-family: courier new,monospace;">Hunk #4 succeeded at 1112 with fuzz 2 (offset 45 lines).</span><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;">patching file linux/drivers/media/video/saa7134/saa7134.h</span><br style="font-family: courier new,monospace;">
<span style="font-family: courier new,monospace;">Hunk #1 FAILED at 247.</span><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;">1 out of 1 hunk FAILED -- saving rejects to file linux/drivers/media/video/saa7134/saa7134.h.rej</span><br style="font-family: courier new,monospace;">
<span style="font-family: courier new,monospace;">patching file linux/drivers/media/video/saa7134/saa7134-input.c</span><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;">Hunk #1 succeeded at 304 (offset 44 lines).</span><br style="font-family: courier new,monospace;">
<span style="font-family: courier new,monospace;">Hunk #2 succeeded at 405 (offset 54 lines).</span><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;">patching file linux/include/media/ir-common.h</span><br style="font-family: courier new,monospace;">
<span style="font-family: courier new,monospace;">Hunk #1 FAILED at 140.</span><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;">1 out of 1 hunk FAILED -- saving rejects to file linux/include/media/ir-common.h.rej</span><br style="font-family: courier new,monospace;">
<br><br>This is using a fresh copy of HG tree.<br><br>Regards,<br> Eduard<br><br><br><br>2008/2/4, Matthias Schwarzott <<a href="mailto:zzam@gentoo.org">zzam@gentoo.org</a>>:<br>> On Dienstag, 29. Januar 2008, Eduard Huguet wrote:<br>
> > 2008/1/29, Matthias Schwarzott <<a href="mailto:zzam@gentoo.org">zzam@gentoo.org</a>>:<br>> > ><br>> > > Sure the patch is too old. There was added a new card to saa7134 driver.<br>> > > So I<br>
> > > needed to update the patch.<br>> > > You can now get the patch from my last mail (it was attached).<br>> > > <a href="http://thread.gmane.org/gmane.linux.drivers.dvb/38943/focus=38952">http://thread.gmane.org/gmane.linux.drivers.dvb/38943/focus=38952</a><br>
> > ><br>> > > Or you re-download the file linked from the wiki. I uploaded the new<br>> > > version.<br>> > ><br>> > > Greetings<br>> > > Matthias<br>> > ><br>
> > > --<br>> > > Matthias Schwarzott (zzam)<br>> ><br>> > Ok, thanks. I'll try it later.<br>> ><br>> > Best regards,<br>> > Eduard Huguet<br>> <br>> Hi Eduard!<br>
> The full patch can be found here: <a href="http://dev.gentoo.org/~zzam/dvb/">http://dev.gentoo.org/~zzam/dvb/</a><br>> <br>> It is now also linked from here:<br>> <a href="http://www.linuxtv.org/wiki/index.php/AVerMedia_AVerTV_DVB-S_Pro_(A700)">http://www.linuxtv.org/wiki/index.php/AVerMedia_AVerTV_DVB-S_Pro_(A700)</a><br>
> <br>> Regards<br>> Matthias<br>> <br>> --<br>> Matthias Schwarzott (zzam)<br>> <br>