[android-kernel] service configuration

2012-07-30 Thread Ventanas
hi all, I am wondering what is the best way to manage the configuration of an android service that I have written to extend the system server services package I am thinking to use a shared preferences approach, so I could easily manage the user interface of the configuration by implementing an

[android-kernel] android service/deamon general question

2012-06-27 Thread Ventanas
Hi all, I would like to develop a service in Android that will interact with a kernel device driver implemented by me so as this is my first time I am wondering how to implement these two things: a. I need to callback from the driver a user-space function in the deamon user-space thread o

[android-kernel] Re: copybit from donut to gingerbread

2012-06-22 Thread Ventanas
giugno 2012 00:01:25 UTC+2, Ventanas ha scritto: > > I am porting my platform dependent code from donut to gingerbread and I am > facing this problem: copybit doesn't work and I have to use it as my CPU > doesn't have GPU. > > My copybit open_device function is called

[android-kernel] does ICS need GPU?

2012-06-11 Thread Ventanas
Hi All, I have intention to port ICS to an ARMv5 processor based platform where Android 2.3.7 (gingerbread) is running quite well. So I am wondering if the porting of Android 4.x to this platform is an impossible mission because my hardware does not include a graphical processor unit or any sp

[android-kernel] ice cream sandwitch - hardware requirements

2012-05-19 Thread Ventanas
Hi all! I have plan to port ICS, android 4, to a PXA310 target board. I have already ported gingerbread to this HW. I wonder if ICS has more hardware requirements than GINGERBREAD does anyone know? Marco -- unsubscribe: android-kernel+unsubscr...@googlegroups.com website: http://groups.googl

[android-kernel] sound device driver for ZARLINK ZL38004 chip

2012-05-13 Thread Ventanas
Hi all, I am looking for an audio/sound device driver for the Zarlink codec to integrate in the GINGERBREAD operating system does anyone know where I can find it? Marco -- unsubscribe: android-kernel+unsubscr...@googlegroups.com website: http://groups.google.com/group/android-kernel

[android-kernel] Re: android goes back to suspend

2012-05-13 Thread Ventanas
I have found solution to my problem, yes I have changed my power button device driver in order to report an input event, like other kerboard keys and touch screen pen , all they have to report an input event in order to trigger the power manager system On 2 Mag, 08:21, marcero wrote: > Hello, >

[android-kernel] linux kernel versions and ANDROID versions

2012-04-18 Thread Ventanas
Hi all, I have been using a linux 2.6.29 kernel with ANDROID 1.6 and I am planning to migrate to ANDROID 2.3. As that kernel has a lot of changes by the silicon vendor that I have been using and a number of modifications by me I would like to avoid to apply the several patches to a newer kernel i

[android-kernel] Re: wi-fi driver for Broadcom BCM4312 chipset

2012-04-17 Thread Ventanas
   pdev->device != 0x4324)) { >                 /* No multiband support. */ > > On Sat, Apr 14, 2012 at 9:59 PM, Ventanas wrote: > > I am looking for the for the BCM4312 chipset (Wi-Fi 802.11 a/g with > > SDIO interface) driver for the ANDROID platform. > > Anyone m

[android-kernel] Re: wi-fi driver for Broadcom BCM4312 chipset

2012-04-15 Thread Ventanas
so do you think I can't find the driver for BCM4312? do you know if exist a GIT repositary for Broadcomm drivers? Marco On 15 Apr, 07:10, Franky wrote: > I think bcm4329 is the oldest Broadcom chip supported on Android. > > -Franky > > On Apr 14, 6:59 am, Ventanas wrote: &g

[android-kernel] Re: android goes back to suspend

2012-04-12 Thread Ventanas
is the "on/off" hardware button, so what kind of notification should I send to Android PowerManagerService in order to make it write 'on' to the /sys/power/state file? Marco On Apr 11, 6:35 pm, Ventanas wrote: > I have found a way to trace from libhardware_legacy/power.

[android-kernel] Re: android goes back to suspend

2012-04-11 Thread Ventanas
; to "state". M On Apr 11, 5:56 pm, Ventanas wrote: > I've checked one more time the power.c code, and the fact that /sys/ > android_power doesn't exist should not be a problem as it is the old > device driver for android power management in the linux kernel, while

[android-kernel] Re: android goes back to suspend

2012-04-11 Thread Ventanas
ot able to open/write to /dev/kmsg, maybe it is also not able to open/write to /sys/power/ state, maybe is this the root cause? On Apr 11, 5:28 pm, Ventanas wrote: > another problem: power.c wants to write to this file: /sys/ > android_power/auto_off_timeout > > I don't see the

[android-kernel] Re: android goes back to suspend

2012-04-11 Thread Ventanas
> > > > > > On Wed, Apr 11, 2012 at 8:17 PM, Ventanas wrote: > > found that errno is always 13, that is EACCES, so access no Permission > > denied, so what can I do? > > M > > > On Apr 11, 4:36 pm, Ventanas wrote: > > > ok, I am trying to debug

[android-kernel] Re: android goes back to suspend

2012-04-11 Thread Ventanas
found that errno is always 13, that is EACCES, so access no Permission denied, so what can I do? M On Apr 11, 4:36 pm, Ventanas wrote: > ok, I am trying to debug the libhardware_legacy.so library that > contains the power.c 'C'-code module that interacts with the linux- > k

[android-kernel] Re: android goes back to suspend

2012-04-11 Thread Ventanas
ok, I am trying to debug the libhardware_legacy.so library that contains the power.c 'C'-code module that interacts with the linux- kernel power manager, but I have this problem: I want to open the /dev/kmsg file and write to it, but I get always -1, do you know why I cannot open("/dev/kmsg", O_WR

[android-kernel] Re: android goes back to suspend

2012-04-07 Thread Ventanas
he past) > > User mode should be grabbing a wake lock under this implementation to > hold off subsequent sleeps. > > --mark > > > > > > On Wed, Mar 28, 2012 at 2:40 PM, Ventanas wrote: > > I have been working with a linux kernel 2.6.29 and I now have > >

[android-kernel] android goes back to suspend

2012-03-30 Thread Ventanas
I have been working with a linux kernel 2.6.29 and I now have implemented the suspend/resume for my machine based on PXA310. So I can put Android into suspend by typing 'echo mem > /sys/power/ state', so I can wakeup the machine from suspend by a trigger (i.e. hardware on-off button) and Android w