Dear all, I find some info , i will do it .
Android Porting Guide to Beagle Board http://labs.embinux.org/index.php/Android_Porting_Guide_to_Beagle_Board </index.php?title=ALSA_Support&action=edit&redlink=1> ALSA Support </index.php?title=ALSA_Support&action=edit&redlink=1> 1- $cd ~ 2- Clone alsa-lib from $git clone git://android.git.kernel.org/platform/external/alsa-lib.git 3- Clone ALSA based libaudio $git clone git://android.git.kernel.org/platform/hardware/alsa_sound.git 4- Apply following patches to build Alsa_sound patch $cd ~/alsa_sound $patch -p1 < ~/Alsa_sound.patch Media:Alsa_sound.patch </images/2/25/Alsa_sound.patch> 5-Change directory to the root "android_build" $ cd ~/android_build 6- Add ALSA audio support to the board config file and comment out generic audio support. $vim ~/android_build/build/target/board/generic/BoardConfig.mk add BOARD_USES_ALSA_AUDIO := true #BOARD_USES_GENERIC_AUDIO := true 7- Copy ALSA support supporting code from steps 3 and 4 above $cd ~/android_build $cp -a ~/alsa-lib external $cp -a ~/alsa_sound hardware 8-Compile build $cd ~/android_build $make and i want to know , how to compile modules, step by step. what is different from other build modules ? i use ubuntu 8.10 gcc 4.3.2ubuntu11. Best Regards, Sam 2009/2/11 Jackie Wu <[email protected]> > uvcvideo is also a kernel driver only. You also need a userspace layer as > well as the audio. libcamera.so. I plan to share my code to the community > soon. > > Thanks > Jackie > > On Wed, Feb 11, 2009 at 3:42 PM, bo wang <[email protected]> wrote: > >> hi , >> >> this is my load drivers , >> >> lsmod >> fbcon >> i95 >> drm >> cfbcopyarea >> cfbillrect >> cfbimgblt >> font >> bitblit >> softcurosor >> atl2 >> >> maybe i need uvcvedio... >> >> >> Thanks , >> Sam >> >> >> 2009/2/11 bo wang <[email protected]> >> >> Dear jackis , >>> >>> I think i have use the sound driver. >>> cat /proc/asound/version >>> Advanced Linux Sound Architectrue Driver Version 1.0.16rc2 >>> i find the 701Sd use realtek ALC269 and the 701 use realtek ALC662. >>> why it not work ?i need recompile ? >>> >>> >>> Thanks >>> Sam >>> >>> >>> >>> >>> >>> >>> 2009/2/11 Jackie Wu <[email protected]> >>> >>> The ALSA audio support has been added into Android projects. (Check >>>> http://android.git.kernel.org/, alsa_sound and alsa-lib). You can get >>>> it and make your audio work. The kernel already include ALSA driver. >>>> >>>> For the camera, you may need the uvcvideo kernel driver first. Then you >>>> need to write a CameraHardwareInterface (generate libcamera.so) to make >>>> camera work. You need to refer to the CameraHardwareStub.cpp >>>> >>>> Thanks >>>> Jackie(Weihua) Wu >>>> >>>> >>>> On Tue, Feb 10, 2009 at 11:34 AM, android-porting-epc < >>>> [email protected]> wrote: >>>> >>>>> >>>>> hi all, >>>>> >>>>> i porting android to epc 701sd , but sound cannot work , >>>>> 701sd audio is different from 701 ,so can anybody tell me ? >>>>> where can i get the driver ? >>>>> >>>>> i fount somebody porting android to 901 , i want know >>>>> where can you get tht driver ?and you change the /modules and the >>>>> init.rc ??? >>>>> >>>>> the camera cannot work.... >>>>> >>>>> Thanks, >>>>> Sam >>>>> >>>> >>> >> >> >> >> >> >> --~--~---------~--~----~------------~-------~--~----~ unsubscribe: [email protected] website: http://groups.google.com/group/android-porting -~----------~----~----~----~------~----~------~--~---
