Ac97 on Au1200- No Sound
HI!
I am working with a Au1200 based board and trying to make the audio(AC97 + STAC9752) work after applying the ASoC patch at
http://opensource.wolfsonmicro.com/~git/asoc/.
After writing the machine driver for my board based on the exmmb-ac97.c as a template, my codec is being detected, which is on PSC1.
But when I play some .wav file using aplay, I get to hear the sound with a very low volume, which is almost not recognizable.
I unmuted the codec with these two commands
#amixer set "Master" 255 unmute
#amixer set "PCM" 255 unmute
I also tried to watch /proc/interrupts but I am not able to see any interrupts coming on IRQ 11 that is for PSC1.
Could some one provide more insight into what might be going wrong?
Thanking in advance
regards
-Nitin
Send instant messages to your online friends http://uk.messenger.yahoo.com
Quoted 7 lines · Nitin Mahajan
HI!
I am working with a Au1200 based board and trying to make the audio(AC97 + STAC9752) work after applying the ASoC patch at
http://opensource.wolfsonmicro.com/~git/asoc/.
Quoted 7 lines
After writing the machine driver for my board based on the
exmmb-ac97.cas a template, my codec is being detected, which is on PSC1.But when I play some .wav file using aplay, I get to hear the sound with a very low volume, which is almost not recognizable.
It sounds like the AC97 link is up and running and your DMA is sending PCM data to the codec.
Quoted 6 lines
I unmuted the codec with these two commands
#amixer set "Master" 255 unmute
#amixer set "PCM" 255 unmute
Quoted 7 lines
I also tried to watch
/proc/interruptsbut I am not able to see any interrupts coming on IRQ 11 that is for PSC1.Could some one provide more insight into what might be going wrong?
Can you try using alsamixer. It's possible you are not unmuting the correct kcontrols.
Liam
HI!
--- Liam Girdwood <[email protected]>
Quoted 40 lines · wrote:
Quoted 3 lines · Nitin Mahajan
HI!
I am working with a Au1200 based board and trying
to
Quoted 1 line
make the audio(AC97 + STAC9752) work after
applying
Quoted 4 lines
the ASoC patch at
http://opensource.wolfsonmicro.com/~git/asoc/.After writing the machine driver for my board
based on
Quoted 4 lines
the
exmmb-ac97.cas a template, my codec is being
detected, which is on PSC1.But when I play some .wav file using aplay, I get
to
Quoted 1 line
hear the sound with a very low volume, which is
almost
Quoted 1 line
not recognizable.
It sounds like the AC97 link is up and running and your DMA is sending
PCM data to the codec.Quoted 7 lines
I unmuted the codec with these two commands
#amixer set "Master" 255 unmute
#amixer set "PCM" 255 unmuteI also tried to watch
/proc/interruptsbut I amnot
Quoted 1 line
able to see any interrupts coming on IRQ 11 that
is
Quoted 3 lines
for PSC1.
Could some one provide more insight into what
might be
Quoted 10 lines
Quoted 2 lines
going wrong?
Can you try using alsamixer. It's possible you are not unmuting the
correct kcontrols.Liam
Thanks for your inputs, I was not unmuting
"Headphone".
Now its working for me.
regards
-Nitin
Send instant messages to your online friends http://uk.messenger.yahoo.com
HI!
--- Liam Girdwood <[email protected]>
Quoted 47 lines · wrote:
Quoted 3 lines · Nitin Mahajan
HI!
I am working with a Au1200 based board and trying
to
Quoted 1 line
make the audio(AC97 + STAC9752) work after
applying
Quoted 4 lines
the ASoC patch at
http://opensource.wolfsonmicro.com/~git/asoc/.After writing the machine driver for my board
based on
Quoted 4 lines
the
exmmb-ac97.cas a template, my codec is being
detected, which is on PSC1.But when I play some .wav file using aplay, I get
to
Quoted 1 line
hear the sound with a very low volume, which is
almost
Quoted 1 line
not recognizable.
It sounds like the AC97 link is up and running and your DMA is sending
PCM data to the codec.Quoted 7 lines
I unmuted the codec with these two commands
#amixer set "Master" 255 unmute
#amixer set "PCM" 255 unmuteI also tried to watch
/proc/interruptsbut I amnot
Quoted 1 line
able to see any interrupts coming on IRQ 11 that
is
Quoted 3 lines
for PSC1.
Could some one provide more insight into what
might be
Quoted 2 lines
going wrong?
Can you try using alsamixer. It's possible you are not unmuting the
correct kcontrols.
Quoted 6 lines
Liam
_______________________________________________
Alsa-devel mailing list
[email protected]
http://mailman.alsa-project.org/mailman/listinfo/alsa-devel
Quoted 1 line
Using alsamixer, I unmuted every possible control there , but it did not work. Only when I used amixer to unmute the controls, they really got unmuted.
regards
-Nitin
Send instant messages to your online friends http://uk.messenger.yahoo.com