check from where are these logs coming "unable to attach".
I think your kernel has not created properly your device files for
mixers.
In case it has not then you need to first fix that or you can get help
from alsa mailing list(Very good group and they reply most of the time
if your question is fine).

On Sep 9, 7:47 pm, yogi <[email protected]> wrote:
> Hi All
>
> I am porting Android on ARM11 MPCore.
> Android is coming fine.
> Some issues are there in Audio playback.
>
> When I play wav file using alsa_aplay, sound is coming. But when I
> play from Android audio player there is no sound.
>
> Following is the logs -
> I can see the "Unable to attach mixer to device AndroidOut: No such
> file or directory
> " how to solve this??
>
> # logcat
> --------- beginning of /dev/log/main
> I/DEBUG   (  905): debuggerd: Sep  6 2010 18:29:30
> I/Netd    (  904): Netd 1.0 starting
> --------- beginning of /dev/log/system
> I/Vold    (  903): Vold 2.1 (the revenge) firing up
> D/Vold    (  903): Volume sdcard state changing -1 (Initializing) -> 0
> (No-Media)
> W/Vold    (  903): No UMS switch available
> D/AndroidRuntime(  907):
> D/AndroidRuntime(  907): >>>>>>>>>>>>>> AndroidRuntime START
> <<<<<<<<<<<<<<
> D/AndroidRuntime(  907): CheckJNI is ON
> I/        (  908): ServiceManager: 0xacd0
> E/ALSALib (  908): external/alsa-lib/src/control/control.c:902:
> (snd_ctl_open_noupdate) Invalid CTL AndroidOut
> W/AudioHardwareALSA(  908): Unable to attach mixer to device
> AndroidOut: No such file or directory
> E/ALSALib (  908): external/alsa-lib/src/control/control.c:902:
> (snd_ctl_open_noupdate) Invalid CTL AndroidIn
> W/AudioHardwareALSA(  908): Unable to attach mixer to device
> AndroidIn: No such file or directory
> I/CameraService(  908): CameraService started: pid=908
> D/AudioHardwareALSA(  908): openOutputStream called for devices:
> 0x00000002
> D/ALSAModule(  908): open called for devices 00000002 in mode 0...
> E/ALSALib (  908): external/alsa-lib/src/pcm/pcm.c:2210:
> (snd_pcm_open_noupdate) Unknown PCM AndroidPlayback_Speaker_normal
> E/ALSALib (  908): external/alsa-lib/src/pcm/pcm.c:2210:
> (snd_pcm_open_noupdate) Unknown PCM AndroidPlayback_Speaker
> E/ALSALib (  908): external/alsa-lib/src/pcm/pcm.c:2210:
> (snd_pcm_open_noupdate) Unknown PCM AndroidPlayback
> I/ALSAModule(  908): Initialized ALSA PLAYBACK device default
> I/AudioFlinger(  908): AudioFlinger's thread 0x15178 ready to run
> D/ALSAModule(  908): route called for devices 00000002 in mode 0...
> D/AndroidRuntime(  907): --- registering native functions ---
> I/SamplingProfilerIntegration(  907): Profiler is disabled.
> I/Zygote  (  907): Preloading classes...
> D/dalvikvm(  907): GC_EXPLICIT freed 816 objects / 47208 bytes in 6ms
> D/dalvikvm(  907): GC_EXPLICIT freed 219 objects / 13560 bytes in 7ms
> D/dalvikvm(  907): GC_EXPLICIT freed 253 objects / 14336 bytes in 8ms
> D/dalvikvm(  907): GC_EXPLICIT freed 466 objects / 28872 bytes in 9ms
> D/dalvikvm(  907): GC_EXPLICIT freed 2090 objects / 108312 bytes in
> 12ms
> W/MediaProfiles(  907): could not find media config xml file
> D/dalvikvm(  907): GC_EXPLICIT freed 279 objects / 15968 bytes in 12ms
> D/dalvikvm(  907): GC_FOR_MALLOC freed 5026 objects / 223872 bytes in
> 23ms
> D/dalvikvm(  907): GC_FOR_MALLOC freed 11324 objects / 384904 bytes in
> 30ms
>
> Thanks & regards
> Yogesh

-- 
unsubscribe: [email protected]
website: http://groups.google.com/group/android-porting

Reply via email to