continue to read the list and look for ravikh for answer or here http://code.google.com/p/patch-hosting-for-android-x86-support/wiki/noruletomaketarget where I copied his e-mail
On Thu, 2009-04-30 at 04:44 -0700, Gani Bhagavathula wrote: > Bump... I am stuck at the same error (about android.maps.xml) when I > did a repo sync after completely unrelated changes. Is anyone able to > help? > > Gani > > > On Apr 26, 4:32 pm, dmoti <moti.dan...@gmail.com> wrote: > > Thanks Androidphan, > > > > I think that the problem is that I didn't have hardware/alsa_sound > > package so I added it to > > the local_manifest.xml now the problem is: > > > > make: *** No rule to make target `vendor/google/frameworks/maps/ > > com.google.android.maps.xml', needed by `out/target/product/eee_701/ > > system/etc/permissions/com.google.android.maps.xml'. Stop. > > > > It's not related to the alsa_sound addition I made since it fails like > > this even without it. > > can someone provide a little bit more details regarding the build > > setup: > > the contents of localmanifest platform compiler and library used in > > case that the problem is with my setup > > (I tryied ubuntu 8.10, 9.04 with gcc-4.2) > > > > -md > > > > On Apr 22, 7:49 pm, Androidphan <niels.kee...@tass.nl> wrote: > > > > > You should clean your project and build all over again. > > > > > On Apr 22, 1:58 pm, dmoti <moti.dan...@gmail.com> wrote: > > > > > > Thanks! > > > > I did it with this local_manifest.xml: > > > > > > <?xml version="1.0" encoding="UTF-8"?> > > > > <manifest> > > > > <project name="platform/vendor/asus/eee_701" path="vendor/asus/ > > > > eee_701"/> > > > > <project name="platform/external/alsa-lib" path="external/alsa-lib"/> > > > > <project name="platform/external/alsa-utils" path="external/alsa- > > > > utils"/> > > > > </manifest> > > > > > > it took me a while to figure it out so I'm puting it here for future > > > > generations :-) > > > > > > it synced OK but when I build it I got this: > > > > > > make: *** No rule to make target `out/target/product/eee_701/obj/lib/ > > > > libaudio.so', needed by `out/target/product/eee_701/obj/EXECUTABLES/ > > > > alsa_amixer_intermediates/LINKED/alsa_amixer'. Stop. > > > > > > any ideas? > > > > > > On Apr 22, 10:28 am, Androidphan <niels.kee...@tass.nl> wrote: > > > > > > > I just downloaded thealsa-lib andalsa-utils with repo, you need to > > > > > download it with a local_manifest file. > > > > > Then turn on BOARD_USES_ALSA_AUDIO := true and > > > > > BUILD_WITH_ALSA_UTILS := true at asus/eee_701/BoardConfig.mk. > > > > > > > Then it builds Android with thealsalibrary and thealsautils. Then > > > > > you need a proper asound.conf to get your sound working. > > > > > > > On Apr 21, 4:52 pm, dmoti <moti.dan...@gmail.com> wrote: > > > > > > > > Hi people, > > > > > > I followed this discussion and I'm trying to do what you did and > > > > > > I just need the configure line you used for bothalsa-lib andalsa- > > > > > > utils > > > > > > > > thanks, > > > > > > -md > > > > > > > > On Apr 17, 9:28 pm, Luca Belluccini <lucabellucc...@gmail.com> > > > > > > wrote: > > > > > > > > > Ok i see them ... Sorry :D > > > > > > > > > On 17 Apr, 18:57, Androidphan <niels.kee...@tass.nl> wrote: > > > > > > > > > > It probably is possible to addalsa-utils to your local_manifest > > > > > > > > and > > > > > > > > put BUILD_WITH_ALSA_UTILS := true inside your BoardConfig.mk > > > > > > > > and then > > > > > > > > run alsa_ctl. > > > > > > > > > > On Apr 17, 5:27 pm, Luca Belluccini <lucabellucc...@gmail.com> > > > > > > > > wrote: > > > > > > > > > > > Thanks! I'm preparing a ubuntu live for getting > > > > > > > > > allalsacontrols. > > > > > > > > > > > On 17 Apr, 16:44, Androidphan <niels.kee...@tass.nl> wrote: > > > > > > > > > > > > My asound.conf can be found > > > > > > > > > > here:http://pastebin.com/f41e6b204 > > > > > > > > > > > > I also added the following to init.rc : > > > > > > > > > > setpropalsa.mixer.playback.master Front > > > > > > > > > > setpropalsa.mixer.capture.master Capture > > > > > > > > > > setpropalsa.mixer.playback.earpiece Master > > > > > > > > > > setpropalsa.mixer.capture.earpiece Capture > > > > > > > > > > setpropalsa.mixer.playback.headset Master > > > > > > > > > > setpropalsa.mixer.playback.speaker Master > > > > > > > > > > > > I don't know how to play video files yet, haven't tried > > > > > > > > > > actually. > > > > > > > > > > But I ran Mediascanner from Dev tools, then it found my mp3 > > > > > > > > > > inside > > > > > > > > > > 'Music' and that played well. > > > > > > > > > > > > On 17 apr, 14:56, Luca Belluccini > > > > > > > > > > <lucabellucc...@gmail.com> wrote: > > > > > > > > > > > > > Congratulations! > > > > > > > > > > > > > Could you post your asound.conf, just to see it and > > > > > > > > > > > understand > > > > > > > > > > > correctly its structure? > > > > > > > > > > > Mediaplayer is working? > > > > > > > > > > > > > On 17 Apr, 14:26, Androidphan <niels.kee...@tass.nl> > > > > > > > > > > > wrote: > > > > > > > > > > > > > > I finally got my sound working. I tested it outside > > > > > > > > > > > > Android with > > > > > > > > > > > > aplay.Alsa-utils can be downloaden now from the Android > > > > > > > > > > > > repository. I > > > > > > > > > > > > used alsactl store in Ubuntu to get an asound.state. > > > > > > > > > > > > With the values > > > > > > > > > > > > from that file I created my own asound.conf. It looks a > > > > > > > > > > > > lot like the > > > > > > > > > > > > one in myalsathread. > > > > > > > > > > > > > > On 17 apr, 13:57, Luca Belluccini > > > > > > > > > > > > <lucabellucc...@gmail.com> wrote: > > > > > > > > > > > > > > > Can you post your asound.conf ? I am using this one. > > > > > > > > > > > > > I don't know it it works... I am working on a eeepc > > > > > > > > > > > > > 701. > > > > > > > > > > > > > Btw... You just modified the USES_ALSA_AUDIO... in mk > > > > > > > > > > > > > file and added > > > > > > > > > > > > > the lines in init.rc (and moved asound.conf in the > > > > > > > > > > > > > right place), isn't > > > > > > > > > > > > > it? > > > > > > > > > > > > > Tonight I'll try to copy a song in sd partition. > > > > > > > > > > > > > > > asound.conf > > > > > > > > > > > > > =================================================== > > > > > > > > > > > > > > > # AndroidALSAconfiguration file for OMAP2430SDP using > > > > > > > > > > > > > the MXC audio. > > > > > > > > > > > > > ## > > > > > > > > > > > > > ## Mixer Devices > > > > > > > > > > > > > ## > > > > > > > > > > > > > ctl.AndroidPlayback { > > > > > > > > > > > > > type hw > > > > > > > > > > > > > card 0} > > > > > > > > > > > > > > > ctl.AndroidRecord { > > > > > > > > > > > > > type hw > > > > > > > > > > > > > card 0} > > > > > > > > > > > > > > > ## > > > > > > > > > > > > > ## Playback Devices > > > > > > > > > > > > > ## > > > > > > > > > > > > > pcm.AndroidPlayback_Speaker { > > > > > > > > > > > > > type hooks > > > > > > > > > > > > > slave.pcm { > > > > > > > > > > > > > type hw > > > > > > > > > > > > > card 0 > > > > > > > > > > > > > device 0 # Must be of type > > > > > > > > > > > > > "digital audio > > > > > > > > > > > > > playback" > > > > > > > > > > > > > } > > > > > > > > > > > > > hooks.0 { > > > > > > > > > > > > > type ctl_elems > > > > > > > > > > > > > hook_args [ > > > > > > > > > > > > > # Enable audio output from > > > > > > > > > > > > > the DSP > > > > > > > > > > > > > { > > > > > > > > > > > > > name "Master codec > > > > > > > > > > > > > configure Switch" > > > > > > > > > > > > > lock false > > > > > > > > > > > > > preserve true > > > > > > > > > > > > > optional false > > > > > > > > > > > > > value true > > > > > > > > > > > > > } > > > > > > > > > > > > > { > > > > > > > > > > > > > name "Master codec > > > > > > > > > > > > > Sample Rate" > > > > > > > > > > > > > lock false > > > > > > > > > > > > > preserve true > > > > > > > > > > > > > optional true > > > > > > > > > > > > > value 48000 > > > > > > > > > > > > > } > > > > > > > > > > > > > { > > > > > > > > > > > > > name "Playback Source" > > > > > > > > > > > > > lock false > > > > > > > > > > > > > preserve true > > > > > > > > > > > > > optional false > > > > > > > > > > > > > # Values are: > > > > > > > > > > > > > # 0 - 'Stereo > > > > > > > > > > > > > Headset' > > > > > > > > > > > > > # 1 - 'Hands-free > > > > > > > > > > > > > (Speakers)' > > > > > > > > > > > > > # 2 - 'Mono Handset' > > > > > > > > > > > > > # 3 'USB CarKit' > > > > > > > > > > > > > value 'Hands-free > > > > > > > > > > > > > (Speakers)' > > > > > > > > > > > > > } > > > > > > > > > > > > > ] > > > > > > > > > > > > > }} > > > > > > > > > > > > > > > pcm.AndroidPlayback_Headset { > > > > > > > > > > > > > type hooks > > > > > > > > > > > > > slave.pcm { > > > > > > > > > > > > > type hw > > > > > > > > > > > > > card 0 > > > > > > > > > > > > > device 0 # Must be of type > > > > > > > > > > > > > "digital audio > > > > > > > > > > > > > playback" > > > > > > > > > > > > > } > > > > > > > > > > > > > hooks.0 { > > > > > > > > > > > > > type ctl_elems > > > > > > > > > > > > > hook_args [ > > > > > > > > > > > > > # Enable audio output from > > > > > > > > > > > > > the DSP > > > > > > > > > > > > > { > > > > > > > > > > > > > name "Master codec > > > > > > > > > > > > > configure Switch" > > > > > > > > > > > > > value true > > > > > > > > > > > > > } > > > > > > > > > > > > > { > > > > > > > > > > > > > name "Master codec > > > > > > > > > > > > > Sample Rate" > > > > > > > > > > > > > value 48000 > > > > > > > > > > > > > } > > > > > > > > > > > > > > > > > ... > > > > read more ยป > > --~--~---------~--~----~------------~-------~--~----~ unsubscribe: android-porting+unsubscr...@googlegroups.com website: http://groups.google.com/group/android-porting -~----------~----~----~----~------~----~------~--~---