Re: saa7134 Still No Sound - Bug?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



Geoff Hibble wrote:
>  David and List,
>  
>  It turns out my saa7134 fixes and unfixes itself with no ryhm or reason.

:-/  hard to debug one I guess ...

>  2.  xmms (audio/mp3 player) does not work unless es1371 is installed before
>  saa7134.  But when I have had saa7134 + flyvideo 3000 card working xmms also
>  worked fine.  Ie.  Mixer was mixing sound.

saa7134 registers oss devices (mixer + dsp), you can record sound
diectly from the TV card using the dsp device.  Because of that the load
order matters, who is loaded first becomes the /dev/dsp device, the
other driver /dev/dsp1.

You can fix that by adding dsp_nr=1 to the options for saa7134, that
will make the module ask for /dev/dsp1 (instead of using the first free
device which is the default behavior).

>  4. I am still VERY curious why starting the radio triggers the sound
>  to work for the TV??  Is there source code that can be moved from the
>  saa7134-radio to the saa-7134 video that might be able to be executed
>  upon video start up and channel changing?  Just curious if it might
>  work like that?

There are two possible sources for sound.  One is the tuner chip which
provides mono sound, the other one is the saa7134's internal TV sound
decoder.  The saa7134 can be switched to three different audio inputs:

TV -	that is the internal TV sound decoder.  Can handle FM-stereo +
	NICAM, i.e. it gives you stereo sound (if it is working).
LINE1 -	external input #1, usually connected to the external line-in
	jack of the TV card.
LINE2 - external input #2, usually connected to the tuner's sound
	output.

TV input uses "TV", radio uses "LINE2".  The tuner also gives a mono
sound signal for TV stations.  Starting the radio app makes the driver
switch to LINE2, thats why you get (mono) sound then even for TV
stations.

Adding a section like this one ...

		/* workaround for problems with normal TV sound */
		name: "TV (mono only)",
		vmux: 1,
		amux: LINE2,
		tv:   1,

... to your card in saa7134-cards.c can be used to get the same effect
without fiddeling with the radio application.

  Gerd

-- 
You can't please everybody.  And usually if you _try_ to please
everybody, the end result is one big mess.
				-- Linus Torvalds, 2002-04-20





[Index of Archives]     [Linux DVB]     [Video Disk Recorder]     [Asterisk]     [Photo]     [DCCP]     [Netdev]     [Xorg]     [Util Linux NG]     [Xfree86]     [Free Photo Albums]     [Fedora Users]     [Fedora Women]     [ALSA Users]     [ALSA Devel]     [Linux USB]

Powered by Linux