WM9712 Not Giving output
Hello!
I am using a WM9712 codec chip with the AC97 controller on AMD AU1250. Linux kernel version 2.6.24.2.
I have used the WM9712 codec driver from sound/soc/codecs. This I got after applying some patch available at wolfson website.
The driver comes up, Identifies the codec chip etc. While I do a playback using aplay I cannot hear anything. I probed the pin 39 of the codec chip , but nothing is coming there, how ever on the SDATAOUT of the code chip I can see the signals while I do a playback.
On AC97 controller's side, I can see the DMA happening on the host processor, interrupts also coming.
On the mixer front, I did unmute and set the vol to max for PCM and Headphone. I did not find any Master control with this chip. Isn't there any master control with this chip? Can some one please throw more light on the Mixer part, specific to this chip.
What Mixer controls do I need to set with what values for playback and capture respectively with this chip?
Thanks in advance regards
-Nitin Mahajan
Send instant messages to your online friends http://uk.messenger.yahoo.com
Quoted 5 lines · Nitin Mahajan
I am using a WM9712 codec chip with the AC97 controller on AMD AU1250. Linux kernel version 2.6.24.2.
On AC97 controller's side, I can see the DMA happening on the host processor, interrupts also coming.
This suggests a mixer configuration problem.
Quoted 3 lines
On the mixer front, I did unmute and set the vol to max for PCM and Headphone. I did not find any Master control with this chip. Isn't there any master control with this chip?
No.
Quoted 5 lines
Can some one please throw more light on the Mixer part, specific to this chip.
What Mixer controls do I need to set with what values for playback and capture respectively with this chip?
Check the configuration of the Left HP Mixer and Right HP Mixer PCM Playback switches. These should be enabled in order to play back via the headphone output.
If you still can't get audio output with that please send a copy of your mixer configuration - run the command
alsactl store -f mixer-config
to write a file 'mixer-config' with this information in it. Please also check your kernel log from when the driver is loaded and when you configure the mixer.
There is documentation of the audio paths supported by the chip in the datasheet, available from:
http://www.wolfsonmicro.com/products/WM9712/
and you may find the audio route mappings in the WM9712 driver useful to refer to - the 'audio_map' table in the driver which shows how the parts of the device are connected. The format is { destination, control, source }.
HI!
Quoted 18 lines · Mark Brown
From: Mark Brown <[email protected]>
Subject: Re: [alsa-devel] WM9712 Not Giving output
To: "Nitin Mahajan" <[email protected]>
Cc: [email protected], "Manuel" <[email protected]>
Date: Friday, 1 August, 2008, 9:32 PMQuoted 1 line · Nitin Mahajan
I am using a WM9712 codec chip with the AC97
controller on AMD AU1250.
Quoted 3 lines
Linux kernel version 2.6.24.2.
On AC97 controller's side, I can see the DMA
happening on the host
Quoted 1 line
processor, interrupts also coming.
This suggests a mixer configuration problem.
Quoted 7 lines
Quoted 1 line
On the mixer front, I did unmute and set the vol to
max for PCM and
Quoted 1 line
Headphone. I did not find any Master control with this
chip. Isn't
Quoted 1 line
there any master control with this chip?
No.
If Master is not there, logically are the enough for playback?
amixer set 'PCM' 255 unmute
amixer set 'Headphone' 255 unmute
Quoted 6 lines
Quoted 2 lines
Can some one please throw more light on the Mixer
part, specific to
Quoted 3 lines
this chip.
What Mixer controls do I need to set with what values
Quoted 9 lines
for playback and
Quoted 1 line
capture respectively with this chip?
Check the configuration of the Left HP Mixer and Right HP Mixer PCM
Playback switches. These should be enabled in order to play back via
the headphone output.
While writing the reply , the hardware is not with me. But I wil check these tommorow.
Quoted 6 lines
If you still can't get audio output with that please send a copy of your
mixer configuration - run the commandalsactl store -f mixer-config
Quoted 8 lines
to write a file 'mixer-config' with this information in it. Please
also check your kernel log from when the driver is loaded and when you
configure the mixer.There is documentation of the audio paths supported by the chip in the
I saw the figure in the datasheet, its quite explainatory, as to which registers are involved in which path.
Quoted 5 lines
datasheet, available from:
http://www.wolfsonmicro.com/products/WM9712/
Quoted 7 lines
and you may find the audio route mappings in the WM9712 driver useful to
refer to - the 'audio_map' table in the driver which shows how the parts
of the device are connected. The format is { destination, control,
source }.
Thanks and regards
-Nitin
Send instant messages to your online friends http://uk.messenger.yahoo.com
Dne Friday 01 of August 2008 19:27:24 Nitin Mahajan napsal(a):
Quoted 96 lines
HI!
Quoted 26 lines · Mark Brown
From: Mark Brown <[email protected]>
Subject: Re: [alsa-devel] WM9712 Not Giving output
To: "Nitin Mahajan" <[email protected]>
Cc: [email protected], "Manuel" <[email protected]>
Date: Friday, 1 August, 2008, 9:32 PM
On Fri, Aug 01, 2008 at 08:31:03AM -0700, Nitin MahajanQuoted 1 line · wrote:
I am using a WM9712 codec chip with the AC97
controller on AMD AU1250.
Quoted 3 lines
Linux kernel version 2.6.24.2.
On AC97 controller's side, I can see the DMA
happening on the host
Quoted 1 line
processor, interrupts also coming.
This suggests a mixer configuration problem.
Quoted 1 line
On the mixer front, I did unmute and set the vol to
max for PCM and
Quoted 7 lines
Quoted 1 line
Headphone. I did not find any Master control with this
chip. Isn't
Quoted 1 line
there any master control with this chip?
No.
If Master is not there, logically are the enough for playback?
amixer set 'PCM' 255 unmute
amixer set 'Headphone' 255 unmuteQuoted 10 lines
Quoted 1 line
Can some one please throw more light on the Mixer
part, specific to
Quoted 3 lines
this chip.
What Mixer controls do I need to set with what values
for playback and
Quoted 7 lines
Quoted 1 line
capture respectively with this chip?
Check the configuration of the Left HP Mixer and Right HP Mixer PCM
Playback switches. These should be enabled in order to play back via
the headphone output.While writing the reply , the hardware is not with me. But I wil check these tommorow.
Quoted 6 lines
If you still can't get audio output with that please send a copy of your
mixer configuration - run the commandalsactl store -f mixer-config
Quoted 8 lines
to write a file 'mixer-config' with this information in it. Please
also check your kernel log from when the driver is loaded and when you
configure the mixer.There is documentation of the audio paths supported by the chip in the
I saw the figure in the datasheet, its quite explainatory, as to which registers are involved in which path.
Quoted 5 lines
datasheet, available from:
http://www.wolfsonmicro.com/products/WM9712/Quoted 7 lines
and you may find the audio route mappings in the WM9712 driver useful to
refer to - the 'audio_map' table in the driver which shows how the parts
of the device are connected. The format is { destination, control,
source }.Thanks and regards
Quoted 7 lines
-Nitin
Send instant messages to your online friends http://uk.messenger.yahoo.com
_______________________________________________
Alsa-devel mailing list
[email protected]
http://mailman.alsa-project.org/mailman/listinfo/alsa-devel
Hi,
try searching the mailing list for "[PATCH] wm9712 mono mixer". That may help you.
Quoted 4 lines · Nitin Mahajan
If Master is not there, logically are the enough for playback?
amixer set 'PCM' 255 unmute
amixer set 'Headphone' 255 unmute
No, you also need to ensure that the signal is routed from the DAC to the headphone output.
Quoted 9 lines · Mark Brown
From: Mark Brown <[email protected]>
Subject: Re: [alsa-devel] WM9712 Not Giving output
To: "Nitin Mahajan" <[email protected]>
Cc: [email protected]
Date: Friday, 1 August, 2008, 11:31 PMQuoted 1 line · Nitin Mahajan
If Master is not there, logically are the enough for
Quoted 8 lines
playback?
Quoted 2 lines
amixer set 'PCM' 255 unmute
amixer set 'Headphone' 255 unmuteNo, you also need to ensure that the signal is routed from the DAC to
the headphone output.
Ya Sure, I meant from Mixer settings point of view, are these settings enough?
Quoted 4 lines
_______________________________________________
Alsa-devel mailing list
[email protected]
http://mailman.alsa-project.org/mailman/listinfo/alsa-devel
Send instant messages to your online friends http://uk.messenger.yahoo.com