Ah, interesting, for now I'm just using the separate one, but looks like
that's the best way to go eventually, just no write one to go with that
read and make things consistent (also to plug into the ioctl for the
external access it's more compatible to the saa7115 this way, sort of,
now to specify from userspace which subregisters is another problem).
Thanks,
Chris
On Tue, Apr 05, 2005 at 12:13:57PM -0400, Tyler Trafford wrote:
> You could probably use read_reg_byte instead of having a separate read
> function for all those... it takes the full u16 address.
>
>
> On Apr 5, 2005 11:49 AM, Chris Kennedy <[EMAIL PROTECTED]> wrote:
> > Here's my replacement to turn it on/off (going to release a ver here soon
> > with these functions included, but shows basically how to do this...
> >
> > if (state->enable != enable) {
> > state->enable = enable;
> >
> > if (state->enable) {
> > cx25840_write_01(client, 0x15,
> > cx25840_read_01(client, 0x15)|0x04);
> > cx25840_write_01(client, 0x16,
> > cx25840_read_01(client, 0x16)|0x04);
> > if (no_black_magic == 0) {
> > // 01063 time 3:37.684
> > WI2C(4, 0x43, 0x00, 0x16, 0x70,
> > 0x4a);
> > }
> > } else {
> > cx25840_write_01(client, 0x15,
> > cx25840_read_01(client, 0x15)&0xfb);
> > cx25840_write_01(client, 0x16,
> > cx25840_read_01(client, 0x16)&0xfb);
> > }
> > }
> > cx25840_write_04(client, 0xA5, 0x80); /*Assert Video Reset
> > */
> > cx25840_write_04(client, 0xA5, 0x00); /*DeAssert Video
> > Reset */
> >
> > Think that we are resetting the thing way to much it sounds like.
> >
> > Thanks,
> > Chris
> > On Tue, Apr 05, 2005 at 11:44:49AM -0400, Tyler Trafford wrote:
> > > Chris Kennedy <[EMAIL PROTECTED]> wrote:
> > > > I'm digging deeper, basically go into that function (which also has the
> > > > black magic parameter in it, not exactly the place to setup the
> > > > tuner??),
> > > > and comment it's actions out, then at least it won't reset your config
> > > > every capture.
> > >
> > > I'm not certain that 'black_magic' is even needed at all.
> > >
> > > You can send raw I2C easily using WI2C like there is in the
> > > cx25840_reset function.
> > > --
> > > 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
> >
> > --
> > ---
> > Chris Kennedy / [EMAIL PROTECTED]
> > Engineer KMOS-TV/KTBG-FM
> > Broadcasting Services Department
> > Central Missouri State University
> >
> > -------------------------------------------------------
> > 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
> >
>
>
> --
> 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
--
---
Chris Kennedy / [EMAIL PROTECTED]
Engineer KMOS-TV/KTBG-FM
Broadcasting Services Department
Central Missouri State University
-------------------------------------------------------
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