Hi, Jasper van der Neut - Stulen wrote: No - it's the one re-introducing black magic...:-) See attachement.On Tue, Jul 05, 2005 at 03:04:07PM +0200, Morten R?nseth wrote:HiI had the same issue - it turned out that preinstalled Mandrake 10.1 modules were getting in the way (tda9887 specifically), along with some quirks in the cx25840 module (fixed thanks to Bryan Mayland). I now patch cx25840-driver.c using a patch I got from Bryan, and then do: /sbin/modprobe tda9887 port1=0 port2=0 /sbin/modprobe ivtv tda9887=0I will try it when I get home, the patch you're using is the 'tda9887-merge-modparms3.diff' ? I believe 'tda9887-merge-modparms3.diff' patches old style parameters in tda9887. Hope it works out for you. Cheers, -Morten Jasper ------------------------------------------------------- SF.Net email is sponsored by: Discover Easy Linux Migration Strategies from IBM. Find simple to follow Roadmaps, straightforward articles, informative Webcasts and more! Get everything you need to get up to speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click _______________________________________________ ivtv-devel mailing list ivtv-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/ivtv-devel -- ------------------------------------------------------------------- WEB-fx http://www.webfx.no Morten Lerskau Rønseth mailto:[EMAIL PROTECTED] Odinsvei 15c +47 6680 9191 1413 Tårnåsen +47 9343 4357 Norway |
Index: cx25840-driver.c =================================================================== --- cx25840-driver.c (revision 323) +++ cx25840-driver.c (working copy) @@ -427,6 +427,16 @@ CX25840_SET_PWR_DN_TUNING(pwr_dn); } #endif +static int execute_wi2c(struct i2c_client *client, int addr, u8 * b, + int len) +{ + int save_addr = client->addr; + int retval; + client->addr = addr; + retval = i2c_master_send(client, b, len); + client->addr = save_addr; + return retval; +} static int cx25840_command(struct i2c_client *client, unsigned int cmd, void *arg) { @@ -717,6 +727,10 @@ CX25840_SET_VID_OUT_EN(enable); CX25840_SET_PLL_CLK_OUT_EN(enable); + { + u8 bytes[] = { 0x00, 0x16, 0x70, 0x4a }; + execute_wi2c(client, 0x43, bytes, 4); + } state->enable = enable; break;