I tried applying the patch, and it didn't make a difference.

I tried "ivtvctl -d /dev/video0 -q 1" as Erik suggested, but that
resulted in "ioctl VIDIOC_S_AUDIO failed: Invalid argument".

Any ideas anyone?

Thanks

On 7/25/05, Miwer <[EMAIL PROTECTED]> wrote:
> Erik Toubro Nielsen wrote:
> 
> >I've had the problem with no sound on tuner #0, and (occasionally noisy
> >and scratchy) sound on tuner #1 and none of the suggested patches
> >working.
> >
> >But I have it fixed now by doing
> >
> >   ivtvctl -d /dev/video0 -q 1
> >   ivtvctl -d /dev/video1 -q 1
> >
> >I found this option last night by accident.
> >
> >(Scott Harris wrote in
> ><URL:http://sourceforge.net/mailarchive/message.php?msg_id=12459192>
> >that he found the same solution for his 350.)
> >
> >I've tabulated my results below.
> >
> >mplayer /dev/video0:
> >     ivctl -q 0  => silence
> >           -q 1  => perfect sound
> >           -q 2  => silence
> >           -q 3  => weaker sound from tv channel on tuner #1
> >                    (changes with "ptune.pl -d /dev/video1 -c <channel>")
> >           -q 4  => silence
> >
> >mplayer /dev/video1:
> >      ivtvctl -d /dev/video1 -q 0 => sound,
> >                                     scratchy with "options tda9887 qss=0",
> >                                     not scratchy with "options tda9887 
> > qss=1"
> >                             -q 1 => perfect sound
> >                             -q 2 => silence
> >                             -q 3 => sometimes sound from tv channel on 
> > tuner #0,
> >                                     reproducible by doing:
> >                                     ivtvctl -d /dev/video0 -q 4
> >                                     ivtvctl -d /dev/video1 -q 3
> >                                     ivtvctl -d /dev/video0 -q 0
> >                             -q 4 => silence
> >
> >
> >
> 
> That's a very interesting discovery you've made... and this little debug
> output also confirms this, when I tried it on my card:
> 
> ivtvctl -d /dev/video0 -q 0  (as default after loading the modules)
> 
> Jul 25 21:02:22 myth cx25840: set audio input (0)
> Jul 25 21:02:22 myth cx25840: Status: 0x03 (REV_ID, Revision ID.)
> Jul 25 21:02:22 myth cx25840: Status: 'Stereo' (Detected audio mode)
> Jul 25 21:02:22 myth cx25840: Status: 'No detected audio standard'
> (Detected audio standard)
> Jul 25 21:02:22 myth cx25840: Status: Video signal present
> Jul 25 21:02:22 myth cx25840: Status: 0x04 (MICROCNTL_VIDEO_FORMAT,
> Detected video format)
> Jul 25 21:02:22 myth cx25840: Status: Ready Filter auto tuning status
> Jul 25 21:02:22 myth cx25840: Status: 0x17 (TUNE_OUT, The tuning code
> selected by the auto-tune algorithm.)
> Jul 25 21:02:22 myth cx25840: Status: 0x00 (MV_CDAT, Macrovision Copy
> Control Bits as described in the MacroVision)
> Jul 25 21:02:22 myth cx25840: Status: 0x00 (MV_PSP, Macrovision Pseudo
> Sync Pulses detected)
> Jul 25 21:02:22 myth cx25840: Status: 0x00 (MV_CS, Macrovision Color
> Striping Detected)
> Jul 25 21:02:22 myth cx25840: Status: 0x00 (MV_T3CS, A 1 indicates the
> presence of type 3 of the color stripe process. A)
> Jul 25 21:02:22 myth cx25840: Status: 0x00 (MV_TYPE2_PAIR, Macrovision
> Type 2 pair detected)
> Jul 25 21:02:22 myth cx25840: Status: 0x04 (AFD_FMT_STAT, Currently
> detected Format)
> Jul 25 21:02:22 myth cx25840: Status: 0x01 (FIELD, Field status (even/odd))
> Jul 25 21:02:22 myth cx25840: Status: 0x00 (SRC_FIFO_OFLOW, Sample Rate
> Converter FIFO Overflow)
> Jul 25 21:02:22 myth cx25840: Status: 0x00 (SRC_FIFO_UFLOW, Sample Rate
> Converter FIFO Underflow)
> Jul 25 21:02:22 myth cx25840: Status: 0x01 (VSYNC, Vertical sync)
> Jul 25 21:02:22 myth cx25840: Status: 0x01 (HLOCK, Horizontal lock status)
> Jul 25 21:02:22 myth cx25840: Status: 0x00 (SRC_LOCK, Sample Rate
> Converter lock Status)
> Jul 25 21:02:22 myth cx25840: Status: 0x01 (VLOCK, Vertical lock status)
> Jul 25 21:02:22 myth cx25840: Status: 0x01 (CSC_LOCK, Color Subcarrier
> lock status)
> Jul 25 21:02:22 myth cx25840: Status: 0x01 (AGC_LOCK, VGA lock status)
> Jul 25 21:02:22 myth cx25840: Status: 0x01 (VPRES, Active-high video
> present. Indication of the presence of a)
> Jul 25 21:02:22 myth cx25840: Status: 0x01 (SPECIAL_PLAY_N, Active-low
> special play mode (fast forward, rewind, pulse, or slow)
> 
> ivtvctl -d /dev/video0 -q 1
> 
> Jul 25 21:03:08 myth cx25840: set audio input (1)
> Jul 25 21:03:08 myth cx25840: Status: 0x03 (REV_ID, Revision ID.)
> Jul 25 21:03:08 myth cx25840: Status: 'Stereo' (Detected audio mode)
> Jul 25 21:03:08 myth cx25840: Status: 'NICAM-BG' (Detected audio standard)
> Jul 25 21:03:08 myth cx25840: Status: Video signal present
> Jul 25 21:03:08 myth cx25840: Status: 0x04 (MICROCNTL_VIDEO_FORMAT,
> Detected video format)
> Jul 25 21:03:08 myth cx25840: Status: Ready Filter auto tuning status
> Jul 25 21:03:08 myth cx25840: Status: 0x17 (TUNE_OUT, The tuning code
> selected by the auto-tune algorithm.)
> Jul 25 21:03:08 myth cx25840: Status: 0x00 (MV_CDAT, Macrovision Copy
> Control Bits as described in the MacroVision)
> Jul 25 21:03:08 myth cx25840: Status: 0x00 (MV_PSP, Macrovision Pseudo
> Sync Pulses detected)
> Jul 25 21:03:08 myth cx25840: Status: 0x00 (MV_CS, Macrovision Color
> Striping Detected)
> Jul 25 21:03:08 myth cx25840: Status: 0x00 (MV_T3CS, A 1 indicates the
> presence of type 3 of the color stripe process. A)
> Jul 25 21:03:08 myth cx25840: Status: 0x00 (MV_TYPE2_PAIR, Macrovision
> Type 2 pair detected)
> Jul 25 21:03:08 myth cx25840: Status: 0x04 (AFD_FMT_STAT, Currently
> detected Format)
> Jul 25 21:03:08 myth cx25840: Status: 0x01 (FIELD, Field status (even/odd))
> Jul 25 21:03:08 myth cx25840: Status: 0x00 (SRC_FIFO_OFLOW, Sample Rate
> Converter FIFO Overflow)
> Jul 25 21:03:08 myth cx25840: Status: 0x00 (SRC_FIFO_UFLOW, Sample Rate
> Converter FIFO Underflow)
> Jul 25 21:03:08 myth cx25840: Status: 0x01 (VSYNC, Vertical sync)
> Jul 25 21:03:08 myth cx25840: Status: 0x01 (HLOCK, Horizontal lock status)
> Jul 25 21:03:08 myth cx25840: Status: 0x00 (SRC_LOCK, Sample Rate
> Converter lock Status)
> Jul 25 21:03:08 myth cx25840: Status: 0x01 (VLOCK, Vertical lock status)
> Jul 25 21:03:08 myth cx25840: Status: 0x01 (CSC_LOCK, Color Subcarrier
> lock status)
> Jul 25 21:03:08 myth cx25840: Status: 0x01 (AGC_LOCK, VGA lock status)
> Jul 25 21:03:08 myth cx25840: Status: 0x01 (VPRES, Active-high video
> present. Indication of the presence of a)
> Jul 25 21:03:08 myth cx25840: Status: 0x01 (SPECIAL_PLAY_N, Active-low
> special play mode (fast forward, rewind, pulse, or slow)
> 
> Allthough I still have sound from input 0, I get better sound from input
> 1 - well, not that strange when you notice the "detected audio standard"
> is NICAM on input 1.
> When I had the problem before with no audio on tuner 0, it would say
> "mono" as audio mode and not detect the standard. Still don't know why
> it suddenly worked, with input 0.
> 
> Thanks Erik :)
> 
> 
> 
> -------------------------------------------------------
> 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
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/ivtv-devel
>


-------------------------------------------------------
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_idt77&alloc_id492&op=click
_______________________________________________
ivtv-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/ivtv-devel

Reply via email to