You may need the patch http://review.source.android.com/Gerrit#change,6623
patch set 2 to build the alsa-lib on x86 platform.

Thanks
Jackie

On Thu, Feb 12, 2009 at 2:21 PM, bo wang <wangbo...@gmail.com> wrote:

> 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
>
>
>
> <http://index.php/?title=ALSA_Support&action=edit&redlink=1>
>
> ALSA Support <http://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 <http://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 <wwh.andr...@gmail.com>
>
>> 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 <wangbo...@gmail.com> 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 <wangbo...@gmail.com>
>>>
>>> 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 <wwh.andr...@gmail.com>
>>>>
>>>>  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 <
>>>>> wangbo...@gmail.com> 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: android-porting+unsubscr...@googlegroups.com
website: http://groups.google.com/group/android-porting
-~----------~----~----~----~------~----~------~--~---

Reply via email to