Re: [android-kernel] IPC between User space and kernel

2011-06-17 Thread Peter Teoh
One more example: http://groups.google.com/group/android-ndk/browse_thread/thread/8a916e5ec751d3fd On Sat, Jun 18, 2011 at 8:58 AM, Peter Teoh wrote: > See these for netlink usage (from userspace) to facilitate communication > with kernel: > > > http://www.netmite.com/android/mydroid/external/b

Re: [android-kernel] IPC between User space and kernel

2011-06-17 Thread Peter Teoh
See these for netlink usage (from userspace) to facilitate communication with kernel: http://www.netmite.com/android/mydroid/external/bluez/utils/plugins/netlink.c http://blog.csdn.net/m346759541/archive/2011/01/12/6131220.aspx And this is the kernel component: http://www.netmite.com/android/myd

Re: [android-kernel] IPC between User space and kernel

2011-06-17 Thread Peter Teoh
checkout sysctl: http://www.google.com/search?q=sysctl+android For example, inside /etc/sysctl.conf, enter arp_filter entry: net.ipv4.conf.all.arp_filter=1 Or you can configure it via command line with: echo 1 > /proc/sys/net/ipv4/conf/all

[android-kernel] Re: USB Accessory support in omap kernel

2011-06-17 Thread adamwolf
I was able to get a running kernel with the f_accessory.c/h files, along with some of the new gadget stuff, on my phone today. adb over usb still works, which is a good sign! Using dmesg, it appears that the phone sees the gadget ADK board when it's plugged in. The DemoKit application doesn't se

Re: [android-kernel] IPC between User space and kernel

2011-06-17 Thread fan zhang
Is it possible to use proc that not requires user app having root/net admin. Could you compare proc, netlink and new virtual fs? Thanks Fan On Fri, Jun 17, 2011 at 12:27 PM, Pavan Savoy wrote: > On Fri, Jun 17, 2011 at 9:13 AM, fan zhang wrote: > > We developed an Android service and a

Re: [android-kernel] IPC between User space and kernel

2011-06-17 Thread Pavan Savoy
On Fri, Jun 17, 2011 at 9:13 AM, fan zhang wrote: > We developed an Android service and a kernel module.  Android service > and the Kernel module need to exchange data with each other. > > > Following are the requirements for the IPC between user space and > Kernel. > > 1. The communication should

[android-kernel] IPC between User space and kernel

2011-06-17 Thread fan zhang
We developed an Android service and a kernel module. Android service and the Kernel module need to exchange data with each other. Following are the requirements for the IPC between user space and Kernel. 1. The communication should be secure. No authorized apps could not talk to that Kernel mod

[android-kernel] USB Accessory support in omap kernel

2011-06-17 Thread adamwolf
Is there any hope of getting USB Accessory support (ADK stuff) in the omap kernel? I tried to port over the changes last night but I got a little lost and over my head. I added the f_accessory.c/h files, and the appropriate Makefile and Kconfig stuff to pull them in, and that worked, but of cours

[android-kernel] Where can I find some documentation about the pmem driver?

2011-06-17 Thread Alex Golec
I'm reading through the pmem source, and I was wondering if there is documentation describing the role and interface of driver. -- unsubscribe: android-kernel+unsubscr...@googlegroups.com website: http://groups.google.com/group/android-kernel

Re: [android-kernel] battery voltage reading not correct

2011-06-17 Thread Glauco Junquera
Some devices are calibrated on factory, maybe when you upgrade the device you lost the factory calibration values. If it really happens i think you don´t have access to correct tools and information to fix this problem. On Wed, Jun 15, 2011 at 3:40 AM, JH wrote: > Hi,my HTC Legend have not correc

[android-kernel] USB Union Functional Descriptor Query

2011-06-17 Thread Praveena Nadahally
Hi All, I am facing one problem while disabling USB gadget function run time. The procedure is: 1) Mobile connected to PC and enumerated with following classes Mass Storage CDC Ethernet CDC Modem ADB 2) Disable the Mass Storage from Sys entry. 3) Mobile re-enumerates. 4) But the CDC