This is more a snapshot of what I have working at this time. (See link at the bottom)
The changes are on top of 0.3.2f and relate to the cx25840 driver: - Fixes to make the cx25840 load on FC3 with 4KSTACKS The large on-stack setting arrays are replaced by function calls. The settings are still buffered and set at once causing the same behaviour as the previous version. - IOCTL for cx25840. Using utils/cx25840ctl one can write the registers of the cx25840 directly using a name/value syntax. Either: CX25840_SET_CH_1__SOURCE(0x0006) or CH_1__SOURCE=6 This allows for quicker experimentation with the right settings. The cx25840ctl tool reads from stdin so a file with settings can be piped in. I did add return values to the i2c_commands in ivtv-i2c and ivtv-ioctl to produce errors when an ioctl fails. I was wondering why they weren't there, maybe something is horribly broken now. - Quick fail on mis-detected i2c chips On my system, the intel sound chip is detected as a cx25840. But all the i2c writes fail. So I added the following as a stopgap: - If an i2c command fails, we return an error and stop executing. - If initialization of a client fails, we don't activate the device. - Sound on PVR500MCE PAL Using state->norm again instead of 'live' detection of video standard. The live detection only works if the tuner is tuned to a channel so it rarely works after bootup. The fix is not perfect though! Sound sounds 'froggy' with this patch. By changing (in cx25840-driver.c) the line: pinc= 41942880; // should this be 41246400 for PAL? to pinc= 41246400; it sounds less froggy but now you get the whining sound. Something is still wrong here but I don't know enough about this to make it right. Sounds like some PLL is not locking correctly. Anyway, that's my snapshot. -Jelte The original: http://ivtv.no-ip.info/ivtv-0.3/ivtv-0.3.2f.tgz The patch: http://vanderhoek.org/jelte/ivtv-0.3.2f-4kstacks-ioctl-sound.patch.gz maybe ------------------------------------------------------- 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
