The master branch follows the latest release, which is currently Donut. There are some interface differences. That is why it isn't building. We didn't get a branch setup in time to take a snapshot of the code for cupcake and decided it wasn't worth supporting.
Claw wrote: > Hi All, > > As far as I understand the cupcake "http://source.android.com/roadmap/ > cupcake" is merged into main branch. So one should be able to work > with 1.5 release for ALSA as well. > Isn't that the case? > > If not, is there a way to enable ALSA on the Android 1.5? > > Thanks. > > > > On Aug 18, 11:36 pm, "Demetris" <fgcity4...@cytanet.com.cy> wrote: > >> Tnx. Really appreciate the help. >> >> -----Original Message----- >> From: android-porting@googlegroups.com >> >> [mailto:android-port...@googlegroups.com] On Behalf Of Sean McNeil >> Sent: Tuesday, August 18, 2009 9:04 PM >> To: android-porting@googlegroups.com >> Subject: [android-porting] Re: a problem about ALSA - Not building >> >> The ALSA interface conforms to the master branch. You appear to be >> building against cupcake. There isn't a cupcake branch of the ALSA >> interface at this time. >> >> Demetris wrote: >> >> >>> Hi Guys, couldn't not notice that you are trying to make Alsa work. >>> >>> I have done: >>> >>> 1. >>> >>> git clone git://android.git.kernel.org/platform/hardware/alsa_sound.git >>> >>> git clone git://android.git.kernel.org/platform/external/alsa-lib.git >>> >>> git clone git://android.git.kernel.org/platform/external/alsa-utils.git >>> >>> 2. >>> >>> change the BoardConfig.mk >>> >>> #HAVE_HTC_AUDIO_DRIVER := true --> or without the comment and FALSE >>> >>> #BOARD_USES_GENERIC_AUDIO := true >>> >>> BOARD_USES_ALSA_AUDIO := true >>> >>> BUILD_WITH_ALSA_UTILS := true >>> >>> When I try to build Android it gives errors and doesn't continue. The >>> error I get is: >>> >>> http://pastebin.com/m7eded520 >>> >>> Any help on this subject would be appreciated. >>> >>> ------------------------------------------------------------------------ >>> >>> *From:* android-porting@googlegroups.com >>> [mailto:android-port...@googlegroups.com] *On Behalf Of *pavan savoy >>> *Sent:* Tuesday, August 18, 2009 7:18 AM >>> *To:* android-porting@googlegroups.com >>> *Subject:* [android-porting] Re: a problem about ALSA,Permission denied >>> >>> the permission denied is on the /dev/snd/pcmC0D0p kind of a device - >>> for which you need to give the 777 or change owner to media after boot. >>> >>> On Tue, Aug 18, 2009 at 9:09 AM, xie zzl <xie...@hotmail.com >>> <mailto:xie...@hotmail.com>> wrote: >>> >>> The ALSA problem troubled me for a few days, I found some infos from >>> here,and I modified BoardConfig.mk exactly as all guys said below >>> >> http://groups.google.com/group/android-porting/browse_thread/thread/e... >> ecb8aa3f/61334919dcaaeba5?lnk=gst&q=ALSA#61334919dcaaeba5 >> >> <http://groups.google.com/group/android-porting/browse_thread/thread/e... >> becb8aa3f/61334919dcaaeba5?lnk=gst&q=ALSA#61334919dcaaeba5> >> >> >>> but ,the alsa still can't work . the alsa_amixer commed can be >>> executed well, I can saw the all mixer controls. the error occurred >>> while logcat be executing , the error log is below. I have no idea >>> which file is "Permission denied". I have changed authority to 777 of >>> all rootfs file befor copy to sd card. >>> The /proc/asound/cards info is as follow: >>> cat cards >>> 0 [Interface ]: aaci-pl041 - ARM AC'97 Interface >>> ARM AC'97 Interface at 0x000000002002b000, irq 7 >>> >>> My sound card is WM9713 >>> >>> can any guys give me a hand? thanks... >>> ---------------------------------------------------------------- >>> I/ ( 1841): ServiceManager: 0xac38 >>> W/AudioFlinger( 1841): AudioFlinger::AudioFlinger() >>> I/AudioHardwareInterface( 1841): Creating Vendor Specific >>> AudioHardware >>> I/AudioHardwareALSA( 1841): ALSAMixer::ALSAMixer >>> E/AudioHardwareALSA( 1841): Unable to attach mixer to device >>> AndroidPlayback: Permission denied >>> E/AudioHardwareALSA( 1841): Unable to attach mixer to device default: >>> No such file or directory >>> E/AudioHardwareALSA( 1841): Unable to attach mixer to device >>> AndroidRecord: Permission denied >>> E/AudioHardwareALSA( 1841): Unable to attach mixer to device default: >>> No such file or directory >>> I/DEBUG ( 1755): *** *** *** *** *** *** *** *** *** *** *** *** *** >>> *** *** *** >>> I/DEBUG ( 1755): Build fingerprint: 'generic/generic/generic/:1.5/ >>> CUPCAKE/eng.root.20090713.200357:eng/test-keys' >>> I/DEBUG ( 1755): pid: 1841, tid: 1841 >>> /system/bin/mediaserver >>> <<< >>> I/DEBUG ( 1755): signal 11 (SIGSEGV), fault addr 00000010 >>> I/DEBUG ( 1755): r0 00000000 r1 ab78897c r2 00000000 r3 00000000 >>> I/DEBUG ( 1755): r4 0000ad98 r5 0000ad68 r6 be880a28 r7 ab01bea8 >>> I/DEBUG ( 1755): r8 0000af08 r9 00000000 10 ab798c70 fp be880acc >>> I/DEBUG ( 1755): ip 00000018 sp be880a20 lr ab71d8dc pc >>> ab745470 cpsr 00000010 >>> I/DEBUG ( 1755): #00 pc 00045470 /system/lib/libaudio.so >>> I/DEBUG ( 1755): #01 pc 0001d8d8 /system/lib/libaudio.so >>> I/DEBUG ( 1755): #02 pc 0001dce0 /system/lib/libaudio.so >>> I/DEBUG ( 1755): #03 pc 0001dd7c /system/lib/libaudio.so >>> I/DEBUG ( 1755): #04 pc 00086bb8 /system/lib/libaudio.so >>> I/DEBUG ( 1755): #05 pc 00017174 /system/lib/ >>> libaudioflinger.so >>> I/DEBUG ( 1755): #06 pc 00017318 /system/lib/ >>> libaudioflinger.so >>> I/DEBUG ( 1755): #07 pc 00008768 /system/bin/mediaserver >>> I/DEBUG ( 1755): #08 pc 0001fd22 /system/lib/libc.so >>> I/DEBUG ( 1755): #09 pc 0000bcb2 /system/lib/libc.so >>> I/DEBUG ( 1755): #10 pc b000157e /system/bin/linker >>> I/DEBUG ( 1755): stack: >>> I/DEBUG ( 1755): be8809e0 00000001 >>> I/DEBUG ( 1755): be8809e4 afe22641 /system/lib/libc.so >>> I/DEBUG ( 1755): be8809e8 ab788978 /system/lib/libaudio.so >>> I/DEBUG ( 1755): be8809ec 0000af19 [heap] >>> I/DEBUG ( 1755): be8809f0 ab01bea8 >>> I/DEBUG ( 1755): be8809f4 0000af08 [heap] >>> I/DEBUG ( 1755): be8809f8 00000000 >>> I/DEBUG ( 1755): be8809fc ab798c70 >>> I/DEBUG ( 1755): be880a00 be880acc [stack] >>> I/DEBUG ( 1755): be880a04 0000af19 [heap] >>> I/DEBUG ( 1755): be880a08 00000003 >>> I/DEBUG ( 1755): be880a0c afb05bcf /system/lib/libcutils.so >>> I/DEBUG ( 1755): be880a10 00000064 >>> I/DEBUG ( 1755): be880a14 0000ad68 [heap] >>> I/DEBUG ( 1755): be880a18 df002777 >>> I/DEBUG ( 1755): be880a1c e3a070ad >>> I/DEBUG ( 1755): #01 be880a20 00000034 >>> I/DEBUG ( 1755): be880a24 0000ada8 [heap] >>> I/DEBUG ( 1755): be880a28 00000000 >>> I/DEBUG ( 1755): be880a2c 00000000 >>> I/DEBUG ( 1755): be880a30 00000000 >>> I/DEBUG ( 1755): be880a34 00000000 >>> I/DEBUG ( 1755): be880a38 00000000 >>> I/DEBUG ( 1755): be880a3c 00000000 >>> I/DEBUG ( 1755): be880a40 00000000 >>> I/DEBUG ( 1755): be880a44 00000000 >>> I/DEBUG ( 1755): be880a48 00000000 >>> I/DEBUG ( 1755): be880a4c 00000000 >>> I/DEBUG ( 1755): be880a50 00000000 >>> I/DEBUG ( 1755): be880a54 00000000 >>> I/DEBUG ( 1755): be880a58 00000000 >>> I/DEBUG ( 1755): be880a5c 00000000 >>> I/DEBUG ( 1755): be880a60 00000000 >>> I/DEBUG ( 1755): be880a64 00000000 >>> I/DEBUG ( 1755): be880a68 00000100 >>> I/DEBUG ( 1755): be880a6c afe0e940 /system/lib/libc.so >>> I/DEBUG ( 1755): be880a70 0000ab30 [heap] >>> I/DEBUG ( 1755): be880a74 fffefa78 >>> I/DEBUG ( 1755): be880a78 fffef2e0 >>> I/DEBUG ( 1755): be880a7c 000002ec >>> I/DEBUG ( 1755): be880a80 0000023c >>> I/DEBUG ( 1755): be880a84 0000ad98 [heap] >>> I/DEBUG ( 1755): be880a88 0000af19 [heap] >>> I/DEBUG ( 1755): be880a8c 00000000 >>> I/DEBUG ( 1755): be880a90 ab79901c >>> I/DEBUG ( 1755): be880a94 0000ad98 [heap] >>> I/DEBUG ( 1755): be880a98 000000dc >>> I/DEBUG ( 1755): be880a9c 58f1f77c >>> I/DEBUG ( 1755): be880aa0 00000000 >>> I/DEBUG ( 1755): be880aa4 0000ad98 [heap] >>> I/DEBUG ( 1755): be880aa8 0000ad68 [heap] >>> I/DEBUG ( 1755): be880aac ab798c70 >>> I/DEBUG ( 1755): be880ab0 ab01bea8 >>> I/DEBUG ( 1755): be880ab4 00000000 >>> I/DEBUG ( 1755): be880ab8 00000000 >>> I/DEBUG ( 1755): be880abc 00000000 >>> I/DEBUG ( 1755): be880ac0 00000000 >>> I/DEBUG ( 1755): be880ac4 be880ad0 [stack] >>> I/DEBUG ( 1755): be880ac8 ab71dce4 /system/lib/libaudio.so >>> I/DEBUG ( 1755): be880acc ab71d7b8 /system/lib/libaudio.so >>> I/ServiceManager( 1784): Waiting for sevice media.audio_flinger... >>> W/AudioSystem( 1784): AudioFlinger not published, waiting... >>> I/ServiceManager( 1784): Waiting for sevice media.audio_flinger... >>> I/ServiceManager( 1784): Waiting for sevice media.audio_flinger... >>> I/ServiceManager( 1784): Waiting for sevice media.audio_flinger... >>> >>> -- >>> --Pavan Savoy >>> > > > --~--~---------~--~----~------------~-------~--~----~ unsubscribe: android-porting+unsubscr...@googlegroups.com website: http://groups.google.com/group/android-porting -~----------~----~----~----~------~----~------~--~---