public inbox for linux-media@vger.kernel.org
 help / color / mirror / Atom feed
From: Steve S <elcorto@gmx.net>
To: video4linux-list@redhat.com
Subject: Re: cx88: white noise with audio cable; no sound with cx88-alsa
Date: Tue, 27 May 2008 15:48:48 +0200	[thread overview]
Message-ID: <20080527134848.GA3048@ramrod.de> (raw)
In-Reply-To: <20080523111709.GA4796@ramrod.de>

On May 23 13:17, Steve S wrote:

[...]

> I have a WinTV PCI card with a cx88 chip.
> 
> --------------------------------------------
> 00:0f.0 Multimedia video controller: Conexant CX23880/1/2/3 PCI Video and Audio Decoder (rev 03)
> 00:0f.1 Multimedia controller: Conexant CX23880/1/2/3 PCI Video and Audio Decoder [Audio Port] (rev 03)
> 
> --------------------------------------------
> $ cat /proc/asound/cards
>  0 [V8235          ]: VIA8233 - VIA 8235
>                       VIA 8235 with ALC650E at 0xe000, irq 19
>  1 [CX8811         ]: CX88x - Conexant CX8811
>                       Conexant CX8811 at 0xd2000000
> 
> --------------------------------------------
> /etc/asound.names:
> 
> ctl {
> 	alsactl1 {
> 		name hw:0
> 		comment 'Physical Device - VIA 8235 with ALC650E at 0xe000, irq 19'
> 	}
> 	alsactl2 {
> 		name hw:1
> 		comment 'Physical Device - Conexant CX8811 at 0xd2000000'
> 	}
> }
> [...]
> 
> --------------------------------------------
> 
> I have 2 issues:
> 
> 1) Right now, I'm capturing the sound using the analog audio cable that's
> plugged into my onboard soundcard line-in (the VIA chip). At boot, I hear white
> (static) noise coming from the line out of the TV card. If I start my TV app
> (tvtime), the noise is replaced by the normal TV sound. When I close the TV
> app, the noise is gone.
>
> 2) After a lot of searching the net, I was not able to track this issue down.
> So I thought I try to capture the sound in another way.  According to [1,2], I
> should be also able to capture the sound via the cx88-alsa module. The only
> difference seems to be that I have rev 3, not rev 5.  I've read a lot about
> redirecting the sound from the TV card but I feel a bit lost here. I tried
> 
>     $ sox -c 2 -t alsa hw:1 -t alsa hw:0    
>     $ arecord -D hw:1 -c 2 -r 48000 -f S16_LE -t wav | aplay -
> 
> They all play nothing but silence. So, is this even possible with my card? 

update:

I was able to capture the TV sound with cx88-alsa using mplayer like so:

    $ mplayer tv:// -tv driver=v4l2:alsa:adevice=hw.1:amode=1:audiorate=48000:volume=100:immediatemode=0:norm=PAL-BG:mjpeg

So, my card can do that. I still haven't found out why the other two
possibilities above don't work, though. Also, I read that these solutions can
cause the video and audio streams to go out of sync. So, maybe this isn't a
promising route to go anyway.

Now, I've observed something else: If I keep the loopback cable plugged into
the onboard soudcard and close mplayer, the white noise/buzzing sound over the
loopback cable starts again until I start tvtime, which stops it. Can anybody
explain this? I'd really like to know why I hear white noise over the loopback
cable (or direct at the TV card's line-out).  If anybody can give me a hint,
that would be highly appreciated.

[...]

> [1] http://www.linuxtv.org/v4lwiki/index.php/Cx88_devices_(cx2388x)
> [2] http://www.mythtv.org/wiki/index.php/PCI_TV_audio
> 

steve

--
video4linux-list mailing list
Unsubscribe mailto:video4linux-list-request@redhat.com?subject=unsubscribe
https://www.redhat.com/mailman/listinfo/video4linux-list

  reply	other threads:[~2008-05-27 13:49 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-05-23 11:17 cx88: white noise with audio cable; no sound with cx88-alsa Steve S
2008-05-27 13:48 ` Steve S [this message]
2008-08-13 12:49 ` [SOLVED] " Steve S

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20080527134848.GA3048@ramrod.de \
    --to=elcorto@gmx.net \
    --cc=video4linux-list@redhat.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox