<div dir="ltr"><br><br><div class="gmail_quote">On Fri, Oct 3, 2008 at 9:14 AM, hermann pitton <span dir="ltr"><<a href="mailto:hermann-pitton@arcor.de">hermann-pitton@arcor.de</a>></span> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Hi,<br>
<br>
Am Donnerstag, den 02.10.2008, 19:15 +0200 schrieb Matthias Schwarzott:<br>
<div><div></div><div class="Wj3C7c">> On Donnerstag, 2. Oktober 2008, Plantain wrote:<br>
> ><br>
> > Hey,<br>
> ><br>
> > I'm not actually able to code in C, but I've spent the last 24 hours<br>
> > puddling around trying to get somewhere. I believe I've added everything<br>
> > that is needed for the card to be detected, but it's not detecting it,<br>
> > even if I specify it with card=152 (the ID I've added). I have got the<br>
> > code to compile at least, which I'm pretty proud of :)<br>
> ><br>
> > I managed to get regspy to work (needed to revert 64bit vista to 32bit<br>
> > XP), but the viewing software that came with the card just crashes on<br>
> > 32bit XP. I've built a small wiki page (with highres images) detailing<br>
> > my progress, but I've really just hit a brick wall. Wikipage at<br>
> > <a href="http://www.linuxtv.org/wiki/index.php/WinFast_DTV_1000_S" target="_blank">http://www.linuxtv.org/wiki/index.php/WinFast_DTV_1000_S</a><br>
> ><br>
> > Short of learning C (which I am very slowly doing), I don't see anyway<br>
> > forwards under my direction, so I've attached my efforts in the hope<br>
> > someone else can take this forwards. From my limited understanding I've<br>
> > provided all the necessary information for someone to finish it, and if<br>
> > not I'll happily dig up anything else needed. I'm not familiar with any<br>
> > version control system/patching, so I've just hg diff > file.diff, I<br>
> > hope this is adequate.<br>
> ><br>
> > I'm on #linuxtv @ freenode IRC for a significant portion of the day if<br>
> > anyone has pointers for me/wants to ask questions about the card.<br>
> ><br>
><br>
> Looking at your regspy output<br>
> 109. SAA7134_GPIO_GPMODE: 82000000 (10000010 00000000<br>
> 00000000 00000000)<br>
> 110. SAA7134_GPIO_GPSTATUS: 02132054 (00000010 00010011<br>
> 00100000 01010100)<br>
><br>
> I suggest you change your gpio code like this:<br>
><br>
> saa_andorl(SAA7134_GPIO_GPMODE0 >> 2, 0x82000000,<br>
> 0x82000000);<br>
> saa_andorl(SAA7134_GPIO_GPSTATUS0 >> 2, 0x02000000,<br>
> 0x02000000);<br>
><br>
> So this at least sets the directions of gpios as used in windows, and outputs<br>
> the same values on the gpios configured as output. That should work better<br>
> than your copy-and-pasted numbers from another card.<br>
><br>
> But it still can be you need to pull some pins high or low for some time at<br>
> init to get parts reset.<br>
><br>
> You also could try adding a small wait time after writing gpio values.<br>
> e.g. msleep(500);<br>
><br>
> Good luck<br>
> Matthias<br>
<br>
</div></div>yes, that is likely the most solid start we can have from the analog<br>
side so far. The card should be auto detectable as well.<br>
<br>
Thanks,<br>
<font color="#888888">Hermann<br>
</font><div><div></div><div class="Wj3C7c"><br>
<br>
<br>
_______________________________________________<br>
linux-dvb mailing list<br>
<a href="mailto:linux-dvb@linuxtv.org">linux-dvb@linuxtv.org</a><br>
<a href="http://www.linuxtv.org/cgi-bin/mailman/listinfo/linux-dvb" target="_blank">http://www.linuxtv.org/cgi-bin/mailman/listinfo/linux-dvb</a><br>
</div></div></blockquote></div><br>Hi,<br>I have a 64 bit system and am farmiliar with C/C++/etc, but not so farmiliar with the specific code yet. I have one of these cards and am willing to put a bit of work into getting it going. How can I be of use?<br>
<br>Damien.<br></div>