[android-kernel] Re: Kernel module development

2010-03-26 Thread RafaƂ Grzybowski
Hello again, Another problem to solve. How to deploy such kernel module into regular (not rooted) Android. Is it possible at all? I've written simple Bluetooth Java client application that reads some ASCII data from another Bluetooth enabled device. And I'd like to "virtualize" this data as keystr

Re: [android-kernel] Does Intent use Binder driver to implement?

2010-03-26 Thread Dianne Hackborn
Well the kernel is involved in most anything, of course, and certainly once you have more than one process involved. In this case, follow the trail -- Context.sendBroadcast(). This results in a call on IActivityManager, which is implemented by ActivityManagerService, and that is where the main im

Re: [android-kernel] [PATCH] msm72k_udc: msm72k_dequeue() fix

2010-03-26 Thread Mike Lockwood
Hi Toshi, Actually we just fixed that a couple days ago, along with another bug: http://r.android.com/14055 thanks, Mike On Thu, Mar 25, 2010 at 7:54 PM, Toshi Kikuchi wrote: > Sorry if this is already reported. > > msm72k_dequeue() is not resetting ep->last when ep->req = 0. > All transfers a

Re: [android-kernel] Does Intent use Binder driver to implement?

2010-03-26 Thread nfsnfs chen
Thanks for help. I know it would be a stupid question. But I still can not figure out how ActivityManager dispatch Intent to the BroadcastReceiver. Using Android Framework only or kernel may help...? If this question is not suitable in android-kernel group, plz tell me. Thanks a lot! On Sat, Ma

[android-kernel] [PATCH] msm72k_udc: msm72k_dequeue() fix

2010-03-26 Thread Toshi Kikuchi
Sorry if this is already reported. msm72k_dequeue() is not resetting ep->last when ep->req = 0. All transfers after that will fail because usb_ept_queue_xfer() can't set ep->req correctly. This patch fixes it. Toshi diff --git a/drivers/usb/gadget/msm72k_udc.c b/drivers/usb/gadget/msm72k_udc.c i

Re: [android-kernel] Re: Load Kernel Module

2010-03-26 Thread Robert Beckett
If you look at how the wifi drivers get loaded, you can see that they load them via hardware/libhardware_legacy/wifi/wifi.c which is called from a jni that the framework uses. You can follow a similar route. A simpler alternative that I use is to write a script to load the module and set a pr

Re: [android-kernel] Does Intent use Binder driver to implement?

2010-03-26 Thread Dianne Hackborn
Intent is a data container. It makes no sense in this question. Now if you are are asking if some APIs using intent do these things... well, yeah. You can call an API with an Intent that will cause a sweeping set of stuff to happen -- for example with startActivity, which can result in lots of

[android-kernel] Does Intent use Binder driver to implement?

2010-03-26 Thread nfsnfs
Hi, Intent and Binder are both IPC mechanisms in Android. I would like to know: Does Intent uses Binder driver to implement? May Intent use other part of kernel? Or Intent has no relationship with kernel? Thanks anyway. -- unsubscribe: android-kernel+unsubscr...@googlegroups.com website: ht

Re: [android-kernel] Re: Android Kernel Command

2010-03-26 Thread karthik poduval
I think you should first type su(it may ask for password) in the console, then you get the # prompt instead of the $ prompt Then type your command *modprobe USB\ Network\ Controller* Regards, Karthik Poduval On Fri, Mar 26, 2010 at 2:04 AM, Gidiyo wrote: > I am trying to Enable a USB network a

[android-kernel] Re: Android Kernel Command

2010-03-26 Thread Gidiyo
I am trying to Enable a USB network adapter. When I plugged in, it shows: <6>usb 2-1.4: new full speed USB device using musb_hdrc and address 4 <3>usb 2-1.4: device v0fe6 p8101 is not supported <6>usb 2-1.4: New USB device found, idVendor=0fe6, idProduct=8101 <6>usb 2-1.4: New USB device strings: