Yes. Can you post your conf? Did you placed asound.conf into /system/ etc/ ?
On 4 Giu, 15:23, Nimit Manglick <[email protected]> wrote: > Its trying to look for soem configuration settings it seems teh code snippet > is as below :- > > err = snd_config_search_definition(root, "ctl", name, &ctl_conf); > if (err < 0) { > SNDERR("Invalid CTL %s", name); > return err; > } > > plus the error its throwing from some config.c fiel also. > > Is it a problem of soem configuration file ?? > > Regards > Nimit > > On Thu, Jun 4, 2009 at 6:35 PM, Luca Belluccini > <[email protected]>wrote: > > > > > > > control.c @ line 909 what is trying to do? > > > On 4 Giu, 07:50, Nimit Manglick <[email protected]> wrote: > > > I followed the steps... I checked out alsa-lib , alsa-utils and > > alsa_sound > > > from android git repository. > > > > But The system is getting crashed on start up. > > > > the logs are :- > > > > E/ALSALib ( 691): > > > external/alsa-lib/src/control/control.c:909:(snd_ctl_open_noupdate) > > Invalid > > > CTL AndroidPlayback > > > E/AudioHardwareALSA( 691): Unable to attach mixer to device > > > AndroidPlayback: No such file or directory > > > E/ALSALib ( 691): external/alsa-lib/src/conf.c:3964:(snd_config_expand) > > > Load defaults error: File exists > > > E/ALSALib ( 691): > > > external/alsa-lib/src/control/control.c:909:(snd_ctl_open_noupdate) > > Invalid > > > CTL hw:00 > > > E/AudioHardwareALSA( 691): Unable to attach mixer to device default: > > File > > > exists > > > E/ALSALib ( 691): > > > external/alsa-lib/src/control/control.c:909:(snd_ctl_open_noupdate) > > Invalid > > > CTL AndroidRecord > > > E/AudioHardwareALSA( 691): Unable to attach mixer to device > > AndroidRecord: > > > No such file or directory > > > E/ALSALib ( 691): external/alsa-lib/src/conf.c:3964:(snd_config_expand) > > > Load defaults error: File exists > > > E/ALSALib ( 691): > > > external/alsa-lib/src/control/control.c:909:(snd_ctl_open_noupdate) > > Invalid > > > CTL hw:00 > > > E/AudioHardwareALSA( 691): Unable to attach mixer to device default: > > File > > > exists > > > > Please help me what i am misisng. ? > > > > Thanks > > > Nimit > > > > On Thu, Jun 4, 2009 at 11:14 AM, crazygenie <[email protected]> wrote: > > > > > Those error messages in system startup will vanish as soon as you put > > > > a proper asound.conf file covering all the audio controls into /system/ > > > > etc directory. One way to write a asound.conf is to look at the output > > > > of "alsa_mixer contents" command and writing the asound.conf > > > > accordingly. > > > > > On Jun 3, 4:40 pm, Luca Belluccini <[email protected]> wrote: > > > > > asound.conf must be fixed: > > > > > +device 0 > > > > > -device 16 > > > > > > On 3 Giu, 13:36, Luca Belluccini <[email protected]> wrote: > > > > > > > Solved. > > > > > > > Use these info as guide for ALSA on x86. > > > > > > Remember to make clean!- Nascondi testo citato > > - Mostra testo citato - --~--~---------~--~----~------------~-------~--~----~ unsubscribe: [email protected] website: http://groups.google.com/group/android-porting -~----------~----~----~----~------~----~------~--~---
