Your error (process com.android.music) could not be related to ALSA
but to the application asset (it requires a touch/tablet device).

Today I recompiled the installer image for my EeePc, cause of there
were some code changes on alsa-lib. Alsa-lib has been compiled without
troubles.
I didn't patch to make it compile under x86.
Devices are added to devfs, sysfs and displayed in procfs.

But no sound. I noticed that there's no asound.conf. I need a "eeepc
compliant" asound.conf and I must put it under /system/etc, isn't it?


Another issue can be due to permissions.
In init.rc I'm adding all the devices to system audio group

on early-init
    device /dev/pcmC0D0p 0666 system audio
    device /dev/pcmC0D0c 0666 system audio
    device /dev/controlC0 0666 system audio
    device /dev/mixer 0666 system audio

But I think that adding dev/snd line in devices.c it shouldn't be
necessary.

On 3 Apr, 11:54, Skuld <[email protected]> wrote:
> Hi :
>
> I try to port audio driver on x86((ICH7 Family) and my driver is Audio
> device: Intel Corporation 82801G (ICH7 Family) High Definition Audio
> Controller.
>
> But I can't run Music Application on Android System.It happen some
> error.
> (The appliction Music (process com.android.music)has stopped
> unexpectedly.Please try again)
>
> Could you have any suggestion?
> Thank you~~
>
> This my porting step:
>
> 1.Get Android Source from android.git.kernel.org server.
>
> 2.Get ALSA_LIB and ALSA_SOUND from android.git.kernel.org server.
>
> 3.Patchhttp://review.source.android.com/Gerrit#change,6623set 2
> patch.
>
> 4.Build Android Source Code
>
> 5.Target Platform run comand : #alsactl -f asound.conf stone
>   And Copy it to system/etc/ .
--~--~---------~--~----~------------~-------~--~----~
unsubscribe: [email protected]
website: http://groups.google.com/group/android-porting
-~----------~----~----~----~------~----~------~--~---

Reply via email to