D. Hugh Redelmeier <[EMAIL PROTECTED]> wrote:

> I tried, but hit a couple of problems.
> 
> - the text of your message is somewhat curdled.  I'm not sure what
>   your code is supposed to be -- some newlines were lost?

Yeah he had a few newlines missing in there.

> - this code won't build (on my Fedora Core 3 i386 system;
>   kernel-2.6.10-1.770_FC3).  It gets a lot of messages line this:

Those are weird errors, nothing has changed in that file....

This is what he meant: in file cx25840-driver.c

        case DECODER_ENABLE_OUTPUT:
       {
               int *iarg = arg;
               int enable = (*iarg != 0);

               ERR("decoder %s output",
                       enable ? "enable" : "disable");

               if (state->enable != enable) {
                       state->enable = enable;

                       if (state->enable) {
                               cx25840_write(client, 0x115,
(cx25840_read(client, 0x115)|0x04));
                               cx25840_write(client, 0x116,
(cx25840_read(client, 0x116)|0x04));

                              if (no_black_magic == 0) {
                                       // 01063 time 3:37.684
                                      WI2C(4, 0x43, 0x00, 0x16, 0x70, 0x4a);
                               }
                      } else {
                               cx25840_write(client, 0x115,
(cx25840_read(client, 0x115)&0xfb));
                               cx25840_write(client, 0x116,
(cx25840_read(client, 0x116)&0xfb));
                       }
               }
               //cx25840_write(client, 0x4A5, 0x80); /*Assert Video Reset */
               //cx25840_write(client, 0x4A5, 0x00); /*DeAssert Video Reset */
               break;
       }


-- 
Tyler Trafford


-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click
_______________________________________________
ivtv-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/ivtv-devel

Reply via email to