[android-porting] Issue in Connecting USB Hub to Hawkboard

2010-09-06 Thread PREMRAJ SV
Hello all, Earlier i was working in porting Android to Hawkboard. With no issues i can boot android from USB drive. Now i am on connecting an external GSM modem. For that i used a 4 port USB hub externally powered. With my usb drive alone connected to hub, i could able to see

[android-porting] Understanding goldfish frame buffer driver in Android Goldfish kernel

2010-09-06 Thread tungsys
Hi all, I dun understand how the interrupt is registered in goldfishfb ? I see the request_irq in the goldfishfb driver but i dun know how the interrupt is declared in the hardware architecture ? I try to look in the arch/goldfish but can not find any define for goldfish irq there ? Pls help me

RE: [android-porting] Android building for ARMV6

2010-09-06 Thread Uhrenfeldt Henrik
Hi, An ARMv6 device should be able to execute ARMv5 code, so unless your goal is to actually leverage the added benefits of the ARMv6 architecture, you could just stick with the ARMv5 build... --- Henrik Uhrenfeldt Chief Software Engineer Ixonos Denmark ApS Niels Jernes Vej 10, DK-9220 Aalborg

[android-porting] WiFi always scanning after porting to Froyo

2010-09-06 Thread Edward Pang
Hi Everyone, Following the information from the link below, I can access webpage by browser through Wifi (Beagleboard + USB dongle RT73). http://blog.linuxconsulting.ro/2010/04/porting-wifi-drivers-to-android.html When i try to migrate the fix into froyo, Wifi is always loop in Scanning -

[android-porting] Android Socket and Unix Socket question

2010-09-06 Thread Edward Pang
HI everyone, I have question about Android and Unix socket difference. Is the socket choice set in wpa_supplicant.conf only? Android : ctrl_interface=wlan0 Unix : ctrl_interface=DIR=/data/system/wpa_supplicant GROUP=wifi When I try to choose Android socket in Froyo, I got similar result as

Re: [android-porting] WiFi always scanning after porting to Froyo

2010-09-06 Thread Irfan Sheriff
All the UI is doing is calling load driver a start supplicant followed by running dhcp on receiving a connect from supplicant. If it is only showing Disconnect-Scanning, it means the association never went through. You should verify if all the modules are loaded after doing a turn on. Also, use

[android-porting] adb over wifi

2010-09-06 Thread guru
HI all I am trying to run adb over wifi. from source what I got is, I need to follow below setps netcfg get the ip address of phone say it is 192.168.100.4 on PC export ADBHOST=192.168.100.4 Dont connect USB cable. adb push any file /sdcard/ this will transfer over wifi I followed these

[android-porting] Re: gralloc: Out of Memory using VFB

2010-09-06 Thread onaips
Hi Tung, thanks for your answer, You were right, i was using the msm7k gralloc and it was allocation the memory on GPU, i simply changed the name of /system/libs/hw/ gralloc.msm7k.so lib to force HAL to search for the gralloc.default.so, and now i can use any resolution. Now i have another

[android-porting] Getting problem in keypad

2010-09-06 Thread amar nath
Hi, I am using eclair on samsung s3c6410 platform. keypad driver got loaded while running kernel android init mice: PS/2 mouse device common for all mice input: keypad as /class/input/input0 keypad keypad: Keypad Interface driver loaded When i am using

Re: [android-porting] Re: Compile USB Serial Converter driver for PL2303

2010-09-06 Thread Xu Wang
Thanks Chris. The PL2303 driver source run perfect in Linux desktop, and in Ubuntu Arm too. In Android system, after many fails and tries, I've manage to make the driver shows a ttyUSB0 in /dev, and are going to test the functionality. Regarding piracy and pirated software you mentioned, I'm not

[android-porting] About Auto Brightness Control (seems something wrong)

2010-09-06 Thread Patrick
I was confused by the code of auto brightness control. The following is the code in PowerManagerService.java, 2728 SensorEventListener mLightListener = new SensorEventListener() { 2729 public void onSensorChanged(SensorEvent event) { 2730 synchronized (mLocks) { 2731

Re: [android-porting] adb over wifi

2010-09-06 Thread Xu Wang
Hi Gururaja, I met similar issue before. Google says need to: setprop service.adb.tcp.port before running adbd, to make adbd running in network mode. It's running in usb mode by default. Practically, I found installing the app adbWireless from the market works. BR, Xu On 6 September

Re: [android-porting] adb over wifi

2010-09-06 Thread PREMRAJ SV
hello all, I am started with adding external gsm modem with hawkboard. can any one give me a guide how to work with gsm modem and adb, AT commands. thank you. -- unsubscribe: android-porting+unsubscr...@googlegroups.com website: http://groups.google.com/group/android-porting

[android-porting] Re: Zygot exits in a loop

2010-09-06 Thread Brad Davis
You also need to bind swap to disk partitions and/or files (I can't help you here as I don't do this on Linux kernels with fancy bootloaders...). Again, don't do this on flash unless you are ready to replace the flash often. Swap heavily writes (if you have the memory to cache the swap, then

[android-porting] Re: WiFi always scanning after porting to Froyo

2010-09-06 Thread Edward Pang
Hi Irfan, Thank for your information, I double check the log. In logcat, I found AP can be located, and ifcfg_ralink service has been completed State change to COMPLETED dhcpcd debug message can be found, but last message is D/dhcpcd ( 1309): executing `/system/etc/dhcpcd/dhcpcd-run-hooks',

[android-porting] Re: adb over wifi

2010-09-06 Thread Oliver
I think you should at first create a connection between your device your computer. On Sep 7, 1:24 am, PREMRAJ SV svpre...@gmail.com wrote: hello all,             I am started with adding external gsm modem with hawkboard. can any one give me a guide how to work with gsm modem and adb, AT

[android-porting] Re: WiFi always scanning after porting to Froyo

2010-09-06 Thread Oliver
I guess it's a linux permissions problem. Make sure all the configuration file have the proper permission. On Sep 6, 10:33 pm, Irfan Sheriff isher...@gmail.com wrote: All the UI is doing is calling load driver   a start supplicant followed by running dhcp on receiving a connect from supplicant.

[android-porting] Re: Getting problem in keypad

2010-09-06 Thread Oliver
it's a linux issue. Your keypad driver may not work properly in linux. I think you should check if the driver can work in linux. On Sep 6, 9:07 pm, amar nath amar...@gmail.com wrote: Hi, I am using eclair on samsung s3c6410 platform. keypad driver got loaded while running kernel          

Re: [android-porting] Re: Zygot exits in a loop

2010-09-06 Thread Dmitry Grinberg
I am well familiar with flash and kernel and swapping. I am unfamiliar with android kernel patches and userspace, hence the question. the device has a hard-disk, so wear is not an issue. I mount swap in android's init in the ramdisk and it indeed is enabled (as seen by runnig top on serial

Re: [android-porting] Re: Zygot exits in a loop

2010-09-06 Thread Dianne Hackborn
On Sun, Sep 5, 2010 at 10:12 PM, Dmitry Grinberg dmitr...@gmail.com wrote: My question was about that exactly: are there specific provisions in code to forcefully avoid usage of swap, or is it just that nobody tested it with swap? It was designed with the assumption there would be no swap.

[android-porting] Re: adb over wifi

2010-09-06 Thread guru
Xu Wang, I want to use adb only to access the phone, because using other app is making my phone slow. did you able to access phone after setting this property and using the procedure that I mentioned above?. Thanks Gururaja B O On Sep 6, 8:52 pm, Xu Wang xu4w...@gmail.com wrote: Hi Gururaja,

[android-porting] Error:cannot launch the init of ramdisk.img

2010-09-06 Thread tek-life
Hi,everyone. These days, I have been working on android porting. But cannot launch the file of /init in the ramdisk.img. I have found that the ramdisk.img has been unpacked and mounted to rootfs. In the kernel , I can list the entry of the initial ramdisk by printk function. But when run the

Re: [android-porting] Re: adb over wifi

2010-09-06 Thread Xu Wang
No. I didn't try it since the app works. I guess you can type below in terminal window and let us know the result: netstat su adbd stop setprop service.adb.tcp.port adbd start netstat check if some process starts listen on port after adbd restarts BR xu On 7 September 2010 12:12,