[android-porting] Froyo graphics hardware acceleration: libhgl or not?

2011-05-23 Thread extrapedestrian
How do you go about implementing graphics hardware acceleration on Froyo? I suppose libagl is implementing functions from some header file (which one?), and I need to make my libhgl.so which will implement these functions through hardware drivers. But I read here that libhgl is not used anymore:

[android-porting] any one porting android 2.3 success on samsung s5pc100?

2011-05-23 Thread rocking
is there any one porting android 2.3 success on samsung s5pc100? I'am porting linux2.6.35 but there are too many errors,i get the linux2.6.35 source from google. -- unsubscribe: android-porting+unsubscr...@googlegroups.com website: http://groups.google.com/group/android-porting

[android-porting] Resistive Touchscreen Calibration in Gingerbread [Patch]

2011-05-23 Thread Gaurav Singh
I have a resistive touchscreen with mechanical misalignments on my board. The 5 point calibration method solves errors caused by these misalignments and converts Touchscreen controller data to actual screen coordinates. A complete description of mechanical misalignments and 5 point calibration

[android-porting] How to get the LSB for the Accelerometer from the datasheet

2011-05-23 Thread Bee Hock Goh
Hi, I am trying to port mma7660 for gingerbread and there is this LSB that is required. What is LSB? Searching does not seem to turn out any definition and the datasheet didnt offer any glue. I am able to get the xyz raw value and is trying to figure out how to do the conversion to SI unit

[android-porting] android 2.1 screen resolution and orientation

2011-05-23 Thread Manoj Kumar
hi, i need to change the screen resolution to 240x320 and then correspondingly the screen orientation from landscape to portrait. can anyone please suggest which files have these settings in android eclair 2.1. i am using LTV350QV.c and default configuration in that is 320x240. thanks Manoj

[android-porting] Re: GPS Porting Problems On The Android 2.3

2011-05-23 Thread jack
Hi, Lionel Xu In my xxx_gps_init , i define like blow: nfs_gps_init(GpsCallbacks* callbacks) { GpsState* s = _gps_state; if (!s-init) gps_state_init(s); if (s-fd 0) return -1; MYD(Start init callbacks); s-callbacks = *callbacks; return 0; } and

Re: [android-porting] Resistive Touchscreen Calibration in Gingerbread [Patch]

2011-05-23 Thread Ashwin Bihari
Gaurav, This is great, did you look into integrating TSLIB directly into Android/Gingerbread instead of sucking in just the calibration values? -- Ashwin On Mon, May 23, 2011 at 1:34 AM, Gaurav Singh gausinghn...@gmail.com wrote: I have a resistive touchscreen with mechanical misalignments

Re: [android-porting] Resistive Touchscreen Calibration in Gingerbread [Patch]

2011-05-23 Thread Ashwin Bihari
Gaurav, I know I can do that, but with Eclair and FroYo, I've integrated TSLIB into Android since I want to be able to support multiple LCD's with a single image. But your patch definitely gives me a guide on what to modify in Gingerbread to get the calibration done. My patch from the previous

Re: [android-porting] android 2.1 screen resolution and orientation

2011-05-23 Thread Jacky.Seraph Mun
Hi, You need to modify the file of the framebuffer in the kernel. You have to find the related framebuffer driver that is for your device and then change the screen resolution accordingly. And you don't need to consider the orientation. Android system will determine if it is landscape or portrait

Re: [android-porting] Resistive Touchscreen Calibration in Gingerbread [Patch]

2011-05-23 Thread Gaurav Singh
Hi Ashwin, Instead of integrating TSLIB into Android you can use a simple Android application that works like ts_calibrate (TSLIB test app) to get calibration values. Regards On Mon, May 23, 2011 at 6:46 PM, Ashwin Bihari abih...@gmail.com wrote: Gaurav, This is great, did you look into

Re: [android-porting] ppp link is not up although pppd deamon is

2011-05-23 Thread Hamilton Vera
Hi Jeffrey, make sure that your kernel supports PPP and try to increase debug at pppd. After this please send the logs. []'s Hamilton Vera On Fri, May 20, 2011 at 6:32 PM, Jeffrey jffrych...@gmail.com wrote: I encountered PPP problem while trying to make a USB 3G modem working. My Linux

Re: [android-porting] Android init.rc

2011-05-23 Thread Tim Bird
On 05/22/2011 10:46 PM, Deva R wrote: [+list - many eyes are better to get quick help] you can increase loglevel in init.rc to get all traces of init., You can use ERROR(..,fmt) macro or log_write() calls to get traces out. check in init.c, utils.c for exisiting traces reference.. Just

[android-porting] Re: Difficult porting Android on Gumstix Overo

2011-05-23 Thread Mark
This isn't really a porting problem because you are using prebuilt images. Which Android COM and expansion board are you using? Also what method did you use to create your bootable SD card? -- unsubscribe: android-porting+unsubscr...@googlegroups.com website:

[android-porting] Re: Android init.rc

2011-05-23 Thread tforce
I think you want to look into your BoardConfig.mk file. Usually this file is located in /vendor/product_name/board_name/ folder. You can add some parameters as following: Ifeq($(x),1) BOARD_BOOTMEDIA:=harddisk # This refers booting from hard drive Else Ifeq($(x),2)

Re: [android-porting] Re: Android init.rc

2011-05-23 Thread saminath sanjai
Hi Thanks for response loglevl and ERROR() helps a lot to debug the init process. In the import_kernel_nv(char *name, int in_qemu) function else if (!strcmp(name,root)) {

Re: [android-porting] How to get the LSB for the Accelerometer from the datasheet

2011-05-23 Thread Deva R
from our accelerometer driver, we publish ABS_x,y,z coordinates, via input_report_abs() call., probably its handled on userside in EventHub?? Link:

[android-porting] Re: any one porting android 2.3 success on samsung s5pc100?

2011-05-23 Thread A Curtis
is there any one porting android 2.3 success on samsung s5pc100? I'am porting linux2.6.35 but there are too many errors,i get the linux2.6.35 source  from google. You might want to checkout kernel/common/android-2.6.38 I am porting to the Samsung S3C6410 and this was the best starting point.

Re: [android-porting] How to get the LSB for the Accelerometer from the datasheet

2011-05-23 Thread Bee Hock Goh
Hi Deva, Thanks for the reply. The data can be passed on to application but its not rotating the home screen. I use the following code to initialise and convert the raw data but I think its wrong. SENSOR_TYPE_ACCELEROMETER, RANGE_A, CONVERT_A, 0.30f, 20, { } } #define LSG

[android-porting] Re: android 2.1 screen resolution and orientation

2011-05-23 Thread Manoj Kumar
Thanks Jack, I have seen the file where resolution is set and i have changed it according to my screen (240x320), but the problem is that the touch is still working assuming screen is 320x240 (i.e. the touch is 90 deg shifted) can u please help me with this, what else i should change so that

Re: [android-porting] Re: any one porting android 2.3 success on samsung s5pc100?

2011-05-23 Thread Nate H
Samsung has release some kernel code. You can find it here http://git.kernel.org/?p=linux/kernel/git/kki_ap/linux-2.6-samsung.git;a=summary On Tue, May 24, 2011 at 2:16 AM, A Curtis ajcurti...@gmail.com wrote: is there any one porting android 2.3 success on samsung s5pc100? I'am porting

Re: [android-porting] Re: android 2.1 screen resolution and orientation

2011-05-23 Thread Jacky.Seraph Mun
Hi Manoj, If you made it by changing in framebuffer device, you may also have to change the touch pad abs size accordingly. So you have to take a look at the driver of touchscreen, which is usually located in drivers/input/touchscreen/xxx-ts.c where it defined the touch pad abs size in the