Am Freitag, 15. April 2005 15.45 schrieb Tyler Trafford: > Marcel Meier wrote: > > > My problem is not, that the card is detected as something other, my problem > > is, that after > > release r the sound is gone and the parameter audiofmt is somwhere > > overwritten every > > time it is set by some initialisation from cx25840-driver.c. > > So every time the audio standard is reset to NTSC - good for others bad for > > me. > > How do you know it is being overwritten?
I come to this conclusion, because I set the audiofmt to 4 an with 3.2 r this is the output with debug=2 for cx25840: ivtv: Initialized WinTV PVR 150, card #1 module ivtv_fb unsupported by SUSE/Novell, tainting kernel. ivtv-osd: Framebuffer module loaded (attached to ivtv card id 0) ivtv-osd: screen coords: [0 0] -> [720 576] ivtv-osd: original global alpha = 208 ivtv-osd: current OSD state = 39 ivtv-osd: new global alpha = 208 (1 255 0) ivtv-osd: framebuffer at 0xd9510000, mapped to 0xe2210000, size 1620k ivtv-osd: mode is 720x576x32, linelength=2880 ivtv-osd: fb1: iTVC15 TV out frame buffer device ivtv: Allocate DMA stream 9 using 32 65536 byte buffers 2097152 kbytes total saa7115: decoder set size cx25840: Status: 0x03 (REV_ID, Revision ID.) cx25840: Status: 'Forced Mode' (Detected audio mode) cx25840: Status: 'Forced audio standard' (Detected audio standard) cx25840: Status: Video signal present cx25840: Status: 0x04 (MICROCNTL_VIDEO_FORMAT, Detected video format) cx25840: Status: Ready Filter auto tuning status cx25840: Status: 0x17 (TUNE_OUT, The tuning code selected by the auto-tune algorithm.) cx25840: Status: 0x00 (MV_CDAT, Macrovision Copy Control Bits as described in the MacroVision) cx25840: Status: 0x00 (MV_PSP, Macrovision Pseudo Sync Pulses detected) cx25840: Status: 0x00 (MV_CS, Macrovision Color Striping Detected) cx25840: Status: 0x00 (MV_T3CS, A 1 indicates the presence of type 3 of the color stripe process. A) cx25840: Status: 0x00 (MV_TYPE2_PAIR, Macrovision Type 2 pair detected) cx25840: Status: 0x04 (AFD_FMT_STAT, Currently detected Format) cx25840: Status: 0x01 (FIELD, Field status (even/odd)) cx25840: Status: 0x00 (SRC_FIFO_OFLOW, Sample Rate Converter FIFO Overflow) cx25840: Status: 0x00 (SRC_FIFO_UFLOW, Sample Rate Converter FIFO Underflow) cx25840: Status: 0x01 (VSYNC, Vertical sync) cx25840: Status: 0x01 (HLOCK, Horizontal lock status) cx25840: Status: 0x00 (SRC_LOCK, Sample Rate Converter lock Status) cx25840: Status: 0x01 (VLOCK, Vertical lock status) cx25840: Status: 0x01 (CSC_LOCK, Color Subcarrier lock status) cx25840: Status: 0x01 (AGC_LOCK, VGA lock status) cx25840: Status: 0x01 (VPRES, Active-high video present. Indication of the presence of a) cx25840: Status: 0x01 (SPECIAL_PLAY_N, Active-low special play mode (fast forward, rewind, pulse, or slow) cx25840: Decoder set size 720x576 (from 720x576) -> scale 0x65536, filter 0 cx25840: Scale As you can see it is forced to use the right audio mode. cx25840: Status: 'Forced Mode' (Detected audio mode) cx25840: Status: 'Forced audio standard' (Detected audio standard) ============================================================= And here with 3.2 w ( x gives the same output) ivtv: Initialized WinTV PVR 150, card #1 module ivtv_fb unsupported by SUSE/Novell, tainting kernel. ivtv-osd: Framebuffer module loaded (attached to ivtv card id 0) Device not ready. Make sure there is a disc in the drive. ivtv-osd: screen coords: [0 0] -> [720 576] ivtv-osd: original global alpha = 208 ivtv-osd: current OSD state = 39 ivtv-osd: new global alpha = 208 (1 255 0) ivtv-osd: framebuffer at 0xd9510000, mapped to 0xe2210000, size 1620k ivtv-osd: mode is 720x576x32, linelength=2880 ivtv-osd: fb1: iTVC15 TV out frame buffer device ivtv: Allocate DMA stream 9 using 32 65536 byte buffers 2097152 kbytes total saa7115: decoder set size cx25840: Status: 0x03 (REV_ID, Revision ID.) cx25840: Status: 'Mono' (Detected audio mode) cx25840: Status: 'Not defined' (Detected audio standard) cx25840: Status: Video signal not present cx25840: Status: 0x01 (MICROCNTL_VIDEO_FORMAT, Detected video format) cx25840: Status: Ready Filter auto tuning status cx25840: Status: 0x16 (TUNE_OUT, The tuning code selected by the auto-tune algorithm.) cx25840: Status: 0x00 (MV_CDAT, Macrovision Copy Control Bits as described in the MacroVision) cx25840: Status: 0x00 (MV_PSP, Macrovision Pseudo Sync Pulses detected) cx25840: Status: 0x00 (MV_CS, Macrovision Color Striping Detected) cx25840: Status: 0x00 (MV_T3CS, A 1 indicates the presence of type 3 of the color stripe process. A) cx25840: Status: 0x00 (MV_TYPE2_PAIR, Macrovision Type 2 pair detected) cx25840: Status: 0x01 (AFD_FMT_STAT, Currently detected Format) cx25840: Status: 0x00 (FIELD, Field status (even/odd)) cx25840: Status: 0x00 (SRC_FIFO_OFLOW, Sample Rate Converter FIFO Overflow) cx25840: Status: 0x00 (SRC_FIFO_UFLOW, Sample Rate Converter FIFO Underflow) cx25840: Status: 0x01 (VSYNC, Vertical sync) cx25840: Status: 0x01 (HLOCK, Horizontal lock status) cx25840: Status: 0x00 (SRC_LOCK, Sample Rate Converter lock Status) cx25840: Status: 0x00 (VLOCK, Vertical lock status) cx25840: Status: 0x00 (CSC_LOCK, Color Subcarrier lock status) cx25840: Status: 0x01 (AGC_LOCK, VGA lock status) cx25840: Status: 0x00 (VPRES, Active-high video present. Indication of the presence of a) cx25840: Status: 0x00 (SPECIAL_PLAY_N, Active-low special play mode (fast forward, rewind, pulse, or slow) cx25840: decoder set size: ignoring bad config request Hsrc=720 Vsrc=487 width=720 height=576 Now it does not value my option audiofmt=4 and tries to autodetect it which fails. cx25840: Status: 'Mono' (Detected audio mode) cx25840: Status: 'Not defined' (Detected audio standard) =========================================================== So it seemed to plausible, that the value is overwritten somewhere. If I'm wrong sorry. I should have written more clearly that I _think_ it is overwritten. Thanks for any help someone could provide. Regards Marcel ------------------------------------------------------- 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
