[android-porting] access to wpa_supplicant

2008-12-08 Thread Mike Rapoport
Hi, I'm trying to enable WiFi on my device. I've managed to load driver and wpa_supplicant starts and associates with the network, but in the "wireless settings" screen I see "Unable to scan" message and logcat says: "D/WifiHW ( 2785): Unable to open connection to supplicant on "eth1": No such f

[android-porting] Re: openGL can't support YUV422?

2008-12-08 Thread [EMAIL PROTECTED]
hi,Mathias Agopian thank you very much~ what's your opinion about display YUV422P data? On 12月6日, 上午3时15分, Mathias Agopian <[EMAIL PROTECTED]> wrote: > On Fri, Dec 5, 2008 at 4:19 AM, Anson <[EMAIL PROTECTED]> wrote: > > Hello all: > > > I Noticed that in fakeCamera.cpp, the fakeCamera generat

[android-porting] Re: Android 1.0 Release Ported to Nokia N810

2008-12-08 Thread solca
(oops I reply just to the author the first time) On 6 dic, 10:22, Peter McDermott <[EMAIL PROTECTED]> wrote: > Solca, > > This is great!  Kudos to you for making WiFi work -- and on a newer   > kernel!   Very very cool. Thx! > Maybe we can integrate your patches into our kernel and work on some

[android-porting] Re: Android 1.0 Release Ported to Nokia N810

2008-12-08 Thread solca
On 7 dic, 20:30, "edwardlee.2002" <[EMAIL PROTECTED]> wrote: > Hi,solca, > > Great efforts! > > I have get great infos fromhttp://guug.org/nit/. > > Here I have two question need your help: > 1. I can't find the definition of fix->xpanstep in your kernel patch. > I have download the full kernel co

[android-porting] Re: Building OpenCore

2008-12-08 Thread getandroid
I do make ARCH=arm CROSS_COMPILE=arm-eabi- then the whole android get compiled but none of the external packages get built!!! is there any way to compile whole android code at once??? secondly, i compiled opencore and got the executable 'pvplayer_engine_test' was trying to run this in emulator

[android-porting] Re: Building OpenCore

2008-12-08 Thread getandroid
hi, finally, it get execute permissions, but i get following error when trying to run it.(May be it needs to be cross compiled for ARM) ./pvplayer_engine_test ./pvplayer_engine_test: 1: Syntax error: "(" unexpected On Dec 8, 2:32 pm, getandroid <[EMAIL PROTECTED]> wrote: > I do > > make ARCH=ar

[android-porting] Problem about android SDK 1.0 porting on IMX31 board (No pending application record for pid 0)

2008-12-08 Thread deepak singal
Hello all, I am trying to port android SDK 1.0 to IMX31. I have kernel linux2.6.22.6 which was released from freescale with linux-2.6.25-android-1.0_r1.tar.gz. and the rootfs was pulled from android-sdk-windows-1.0_r1. When i try to run android 1.0 on IMX31 board through SD card (

[android-porting] Re: Debug android source code

2008-12-08 Thread Yogi
After enabling the log i am getting following error message: target thumb C++: libpvlogger <= external/opencore//oscl/pvlogger/src/ pvlogger.cpp In file included from bionic/libc/include/stdint.h:31, from bionic/libc/include/dirent.h:31, from external/opencore/os

[android-porting] Re: Debug android source code

2008-12-08 Thread Yogi
After enabling the log i am getting following error message: target thumb C++: libpvlogger <= external/opencore//oscl/pvlogger/src/ pvlogger.cpp In file included from bionic/libc/include/stdint.h:31, from bionic/libc/include/dirent.h:31, from external/opencore/os

[android-porting] Re: android porting

2008-12-08 Thread Pierre Bonnefoy
Hello, Well, Android has been ported to nokia N810 (and I have one on my desk). And as far as I know, there are : - no GSM, - no Bluetooth There is GPS in the N810, but I doubt any support for it is currently in the image I am using (thx by the way for the very intelligent guys that have done the

[android-porting] Re: Fake Character Device Driver

2008-12-08 Thread Luca Belluccini
On Dec 7, 8:36 pm, "Dianne Hackborn" <[EMAIL PROTECTED]> wrote: > For application style permissions, what you generally do is define a new gid > that your device is published under (so it is not world readable/writeable), How to define a group statically? (Maybe editing kernel files? Is there a

[android-porting] Re: Android 1.0 Release Ported to Nokia N810

2008-12-08 Thread Peter McDermott
Solca, We downloaded and tried your new kernel today on one of our N810s. We had some trouble -- seems the screen is often black. Yongjun checked and he thinks this may be related to the double framebuffer in your kernel driver. Also, we downloaded your patch and applied it to the latest

[android-porting] Re: Building OpenCore

2008-12-08 Thread Girish
Place a file with name test.mp4 in the same directory as the defualt file name it expects is test.mp4 Checkout this option.. May be helpful Regards Girish On Dec 8, 6:07 am, getandroid <[EMAIL PROTECTED]> wrote: > hi, > > finally, it get execute permissions, but i get following error when > tr

[android-porting] Re: Android 1.0 Release Ported to Nokia N810

2008-12-08 Thread Meizirkki
i believe that it is not possible to make the open wifi driver work with 2.6.25 kernel :( There is a presentation about it: http://stlc45xx.garage.maemo.org/stlc45xx-maemo-summit-2008.pdf On 8 joulu, 12:47, Peter McDermott <[EMAIL PROTECTED]> wrote: > Solca, > > We downloaded and tried your new

[android-porting] Re: android porting

2008-12-08 Thread borhe
Hello! I fixed the error in AudioManager but unable to see the android's desktop. Just the screen that says "No service", shows date and battery I have a basic system without GSM,GPRS,Bluetooth and even WiFi is not integrated yet. I will repeat my question: Is it possible to run the Desktop with

[android-porting] Re: Fake Character Device Driver

2008-12-08 Thread Luca Belluccini
Thank you for the tip. I'll check it out. On Dec 7, 8:36 pm, "Dianne Hackborn" <[EMAIL PROTECTED]> wrote: > For application style permissions, what you generally do is define a new gid > that your device is published under (so it is not world readable/writeable), > add an entry to etc/permissions

[android-porting] Re: Android 1.0 Release Ported to Nokia N810

2008-12-08 Thread Meizirkki
@ Solca: I downloaded your latest kernel and rootfs, wifi goes on, and getcfg shows wlan0: UP, but when it starts to search for networks, the whole userpsace crashes, and the robot splash comes up. On 8 joulu, 15:45, Meizirkki <[EMAIL PROTECTED]> wrote: > i believe that it is not possible to mak

[android-porting] Web-Cam with Android

2008-12-08 Thread Shivdas Gujare
Hi All, Is connecting USB web camera is supported with Android? Currently I am running Android on Omap3 BeagleBoard, and I want to launch Camera application on Android, connect USB Web Camera with Board and see live streaming on Android? As per information from http://code.google.com/android/ref

[android-porting] Telephony flow

2008-12-08 Thread Praveen
Hi Is there a document which explains the internals of android like service layer, RIL layer Telephony Managar etc. More precisely i would like to know if any document which explains the flow of request and response for example an MO Call setup request from a voice call appln to the Telephony and

[android-porting] Re: Building OpenCore

2008-12-08 Thread Joe Onorato
Hi. Which directory are you in when you type that command? The easiest way to make sure that everything builds is to run these commands from the directory that you ran repo init from. source build/envsetup.sh lunch (pick generic, not sim) make If your machine has multiple CPUs or a multicore CP

[android-porting] Re: android porting

2008-12-08 Thread borhe
Thank you all for your replies, I managed to run the GUI finally, there are still some applications that fail, but i see the desktop Regards, Boris On Dec 8, 3:23 pm, "Pierre Bonnefoy" <[EMAIL PROTECTED]> wrote: > Hello, > Well, Android has been ported to nokia N810 (and I have one on my desk).

[android-porting] Re: Fake Character Device Driver

2008-12-08 Thread Dianne Hackborn
On Mon, Dec 8, 2008 at 4:50 AM, Luca Belluccini <[EMAIL PROTECTED]>wrote: > How to define a group statically? (Maybe editing kernel files? Is > there any file containing group ids?) The meaning of groups is purely defined by user space. There is a system/init header that defines the standard gr

[android-porting] Re: Problem about android SDK 1.0 porting on IMX31 board (No pending application record for pid 0)

2008-12-08 Thread Dianne Hackborn
Well it's the activity manager saying that some process came back to connect to it, which it wasn't expecting. It looks like for some reason the API to get the calling PID from the Binder is not working, and returning 0 instead of the caller's actual PID. You might want to look in the kernel log

[android-porting] Re: Unable to get the Android source code.

2008-12-08 Thread Maxime Petazzoni
That looks like a typo in the manifest file. I think it should read android.git.kernel.org My 2 ¢, - Maxime On Dec 7, 9:23 am, rams <[EMAIL PROTECTED]> wrote: > Hi All, > > I followed the steps for getting the Android kernel, > but I am facing the following issue: > >  $repo init -u git://git.ko

[android-porting] Re: Android 1.0 Release Ported to Nokia N810

2008-12-08 Thread Mohan Parthasarathy
I tried your suggestions. But did not help. It got stuck at the "Nokia" Screen. Did you see any error messages logged ? -thanks mohan On Sat, Dec 6, 2008 at 2:21 AM, Meizirkki <[EMAIL PROTECTED]> wrote: > > Mohan, i had same issue with Nth:s android. > > - Remove external card, if inserted. > -

[android-porting] Re: GPRS in my Android doesn't work .....

2008-12-08 Thread Ulrik Bech Hald
Okay, tried the solution suggested by Misael. Changed the ../external/ ppp/pppd/Android.mk to include the following: # To force sizeof(enum) = 4 ifneq ($(TARGET_SIMULATOR),true) LOCAL_CFLAGS += -mabi=aapcs-linux endif This will prevent the Android compiler from using short enums when compiling p

[android-porting] Re: Android 1.0 Release Ported to Nokia N810

2008-12-08 Thread solca
On 8 dic, 04:47, Peter McDermott <[EMAIL PROTECTED]> wrote: > Solca, > > We downloaded and tried your new kernel today on one of our N810s.  We   > had some trouble -- seems the screen is often black.  Yongjun checked   > and he thinks this may be related to the double framebuffer in your   > kern

[android-porting] Re: Android 1.0 Release Ported to Nokia N810

2008-12-08 Thread solca
Shame on me! I always broke something when I fix something, will take a look, hopefully is something simple as I'm pretty sure all my prior wifi installation breakage is resolved. On 8 dic, 08:02, Meizirkki <[EMAIL PROTECTED]> wrote: > @ Solca: > > I downloaded your latest kernel and rootfs, wifi

[android-porting] Re: Android 1.0 Release Ported to Nokia N810

2008-12-08 Thread solca
You are a candidate to run the debugging kernel and see what is going on, please report back. On 8 dic, 12:20, "Mohan Parthasarathy" <[EMAIL PROTECTED]> wrote: > I tried your suggestions. But did not help. It got stuck at the "Nokia" > Screen. Did you see any error messages logged ? > > -thanks >

[android-porting] Re: port c++ layout engine

2008-12-08 Thread mellery451
sounds almost like STA ActiveXObjects. I'm just sayin'... On Dec 5, 6:32 am, Jean-Baptiste Queru <[EMAIL PROTECTED]> wrote: > WebKit is probably the only really example for you to follow, so it's > the "best" example for lack of alternatives. > > That doesn't mean that the WebKit approach will

[android-porting] Re: Web-Cam with Android

2008-12-08 Thread Dave Sparks
You need to implement CameraHardwareInterface.h for your hardware. On Dec 8, 6:15 am, "Shivdas Gujare" <[EMAIL PROTECTED]> wrote: > Hi All, > > Is connecting USB web camera is supported with Android? > Currently I am running Android on Omap3 BeagleBoard, and I want to > launch Camera application

[android-porting] android_get_control_socket fails....

2008-12-08 Thread pavan savoy
Hi, I started the bluez hcid as root, after disabling the kernel feature that blocks creation of sockets [CONFIG_ANDROID_PARANOID_NETWORK] in the kernel, Now If I start off hcid, I realise that the SDP server, isn't being initialised properly. I get the error... # hcid -f /etc/hcid.conf -d -n

[android-porting] Re: android_get_control_socket fails....

2008-12-08 Thread Nick Pelly
This is some Android specific magic. When two linux processes wish to communicate via a unix domain socket on a traditional linux distribution they often use /tmp. However on Android we got rid of /tmp for security and storage accountability reasons. Instead a mechanism was introduced for daemons

[android-porting] Re: android_get_control_socket fails....

2008-12-08 Thread pavan savoy
Yes, If I did a start hcid, it also created the required sockets, but on running from command line, it did not .. /dev/socket/ didn't have a bluetooth entry. Anyway, My problem is something like this, I have an Obex Push server which is trying to register itself with SDP and cannot do so, because

[android-porting] Re: Android 1.0 Release Ported to Nokia N810

2008-12-08 Thread Mohan Parthasarathy
Sure, I am using the kernel from nthcode. Is that a debug kernel ? I don't see /var/log/messages. How do i get the debug messages ? thanks mohan On Mon, Dec 8, 2008 at 11:35 AM, solca <[EMAIL PROTECTED]> wrote: > > You are a candidate to run the debugging kernel and see what > is going on, plea

[android-porting] Re: Debug android source code

2008-12-08 Thread freepine
What's your build command? On Mon, Dec 8, 2008 at 9:21 PM, Yogi <[EMAIL PROTECTED]> wrote: > > After enabling the log i am getting following error message: > > target thumb C++: libpvlogger <= external/opencore//oscl/pvlogger/src/ > pvlogger.cpp > In file included from bionic/libc/include/stdint.

[android-porting] Re: GPRS in my Android doesn't work .....

2008-12-08 Thread john wang
The real way is: LOCAL_CFLAGS += -fno-short-enums Android compiler default setting is 1 byte for enum type. 2008/12/9 Ulrik Bech Hald <[EMAIL PROTECTED]> > > Okay, tried the solution suggested by Misael. Changed the ../external/ > ppp/pppd/Android.mk to include the following: > > # To force sizeof

[android-porting] Android on neo1973

2008-12-08 Thread frma
I've now got android up and running on a neo1973, first booting an fso- minimal image then chroot:ing and starting android from my sdcard (ext2). I just "repo upload":ed my changes to bionic when I discovered that Jean-Baptiste Queru:s changes was merged, so I guess I have to revisit my patches n

[android-porting] Re: Help to port android on openmoko

2008-12-08 Thread Jean-Baptiste Queru
I've submitted a pair of changes http://review.source.android.com/5269 and http://review.source.android.com/5270 to the open-source repository to be sure that they would be available asap to help with the FreeRunner port. I'm not the original author of those changes, and I'm not an ARM specialist

[android-porting] Re: Audio support

2008-12-08 Thread Misael Lopez
I did a 'repo init ...' and 'repo sync' but neither alsa-lib nor libaudio-alsa code is downloaded but they are showed in gitweb interface of android code. Why arent they downloaded with default manifest? Did you add entries for those projects in manifest file? -Misa 2008/12/5 mvniekerk <[EMAIL PRO

Re: Fwd: [android-porting] Re: Android porting problem - LCD BPP

2008-12-08 Thread FlyCry
When I try to add a new pixel format for my board, I found a macro GGL_PIXEL_FORMAT_RGB_888 = 3, // 3x8-bit RGB I can use this format. Because the LCDC can use this 3x8-bit framebuffer to BGR666 output. And also I modified the EGLDisplaySurface.cpp to GGL_PIXEL_FORMAT_RGB_888. At that m

Re: Fwd: [android-porting] Re: Android porting problem - LCD BPP

2008-12-08 Thread Mathias Agopian
Hi, On Mon, Dec 8, 2008 at 6:19 PM, FlyCry <[EMAIL PROTECTED]> wrote: > > When I try to add a new pixel format for my board, I found a macro >GGL_PIXEL_FORMAT_RGB_888 = 3, // 3x8-bit RGB > I can use this format. Because the LCDC can use this 3x8-bit > framebuffer to BGR666 output. > An

Re: Fwd: [android-porting] Re: Android porting problem - LCD BPP

2008-12-08 Thread FlyCry
Thanks a lot! I'll try it. On 12月9日, 上午11时00分, Mathias Agopian <[EMAIL PROTECTED]> wrote: > Hi, > > On Mon, Dec 8, 2008 at 6:19 PM, FlyCry <[EMAIL PROTECTED]> wrote: > > > When I try to add a new pixel format for my board, I found a macro > >    GGL_PIXEL_FORMAT_RGB_888     =   3,  // 3x8-bit R

[android-porting] Re: Audio support

2008-12-08 Thread Brian Code
You will need to either download them separately using a git-clone operation, or by editing the platform/manifest.git default.xml file. We have added the ALSA stuff to the Openmoko Freerunner port at http://git.koolu.org. The example manifest git can be found there. Regards, Brian Code On Mon, De

[android-porting] To test the integrated codec

2008-12-08 Thread Yogi
Hi All, I have integrated WMA codec onto android i.e compiled successfully but i want to test that integrated codec without parser. Can I test the integrated codec without building the complete audio graph or by creating some dummy graph? If I hard code elementry stream(output of parser) in cod

[android-porting] Re: Porting to DaVinci EVM

2008-12-08 Thread FrancoisM
So I patched the Montavista Davinci 2.6.25 kernel with the diff between the Android and DaVinci kernel .. I also retrieved the filesystem and userdata directories, as well as the ramdisk directory when i build the source code .. then when I am trying to boot the board i get this message : Root-NF

[android-porting] Re: Enabling Qwerty keyboard with Android

2008-12-08 Thread Jinjun
Hi Shivdas, I am using PXA270 as my development board. The touch screen is not working therefore I have to use keyboard and mouse. I have some problem to use keyboard and mouse to select the icons. I try to used arrow keys or mouse to highlight the icon or menu but it is very difficult. For examp