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

2011-06-19 Thread fan zhang
If use proc, how to ensure that only privilege user (i.e. root or net_admin) could communicate with kernel. As I know, any user app could read/write via proc. Thanks Fan On Fri, Jun 17, 2011 at 7:51 PM, Peter Teoh wrote: > checkout sysctl: > > http://www.google.com/search?q=sysctl+android

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

2011-06-19 Thread Adam Wolf
Yes. I have a Google ADK board, and an original Motorola Droid. I was able to patch userland to claim it supported the board, and install the demo apk, and then I was also able to bring in a lot of the new drivers/usb/gadget code to the omap kernel, including f_accessory.c, and successfully compi

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

2011-06-19 Thread John Vidler
Jagan, I believe that Adam is referring to this: http://developer.android.com/guide/topics/usb/adk.html Also, to anyone interested in mucking about with this, it might be worth checking out this and the links to resources on the page: http://www.sparkfun.com/products/10748 - John On 19 Jun 2011

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

2011-06-19 Thread jagan
Hi Adam, Can you clear me what is USB Accessory support (ADK stuff)? Is this newly added feature in 2.3.4? Regards, Jagan On Sat, Jun 18, 2011 at 4:11 AM, adamwolf wrote: > 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