Something is wrong with my asound.conf I guess.
If I just put this in my asound.conf:
ctl.AndroidPlayback {
type hw
card 0
}
ctl.AndroidRecord {
type hw
card 0
}
I'm now getting:
E/AudioHardwareALSA( 2162): Unable to attach mixer to device
AndroidPlayback: Permission denied
E/AudioHardwareALSA( 2162): Unable to attach mixer to device default:
No such file or directory
E/AudioHardwareALSA( 2162): Unable to attach mixer to device
AndroidRecord: Permission denied
E/AudioHardwareALSA( 2162): Unable to attach mixer to device default:
No such file or directory
Then when setting the correct file permissions it goes further. Still
not booting through though.
On 1 apr, 16:07, Michael Trimarchi <[email protected]> wrote:
> Hi,
>
>
>
> Androidphan wrote:
> > Android is not booting at the moment. I tried building it with ALSA
> > support.
> > When booting it gets a segfault on mediaserver and tries to restart it
> > over and over.
>
> > The logcat errors are:
>
> > I/ ( 2182): ServiceManager: 0x804abe0
> > E/ALSALib ( 2182): external/alsa-lib/src/control/control.c:909:
> > (snd_ctl_open_noupdate) Invalid CTL AndroidPlayback
> > E/AudioHardwareALSA( 2182): Unable to attach mixer to device
> > AndroidPlayback: No such file or directory
> > E/AudioHardwareALSA( 2182): Unable to attach mixer to device default:
> > No such file or directory
> > E/ALSALib ( 2182): external/alsa-lib/src/control/control.c:909:
> > (snd_ctl_open_noupdate) Invalid CTL AndroidRecord
> > E/AudioHardwareALSA( 2182): Unable to attach mixer to device
> > AndroidRecord: No such file or directory
> > E/AudioHardwareALSA( 2182): Unable to attach mixer to device default:
> > No such file or directory
>
> > I've got /dev/snd filled and /proc/asound/ filled.
> > When the kernel boots it reports one audio card: HDA Intel
>
> > I copied the HDA-intel.conf to /system/etc/asound.conf
>
> > I changed the directories in alsa-lib/include/config.h to /dev/snd
>
> > What's wrong here?
>
> Do you have the stack frame?
>
>
--~--~---------~--~----~------------~-------~--~----~
unsubscribe: [email protected]
website: http://groups.google.com/group/android-porting
-~----------~----~----~----~------~----~------~--~---