[android-kernel] Re: Identification of appli using binder_thread_read

2012-01-26 Thread rong
What you really need is to get the thread group leader pid by using task_tgid_vnr(current) and use that pid in whatever name lookup function you have. If you still can't get sensible thing, you probably want to have a look at proc_pid_cmdline() function in fs/proc/base.c to see how it copies the

[android-kernel] Identification of appli using binder_thread_read

2012-01-26 Thread andria
Hi, I added some "printk" in order to know what are the processes using binder_thread_read function. The output result contains a lot of processes named BinderThread. But what I really wanted to know is the process / appli inside of which the BinderThread is running. As far as I know a thread pool

[android-kernel] Getting USB Bluetooth dongle to work

2012-01-26 Thread symbolic
If this has already been covered, my apologies - I was not able to find the information anywhere. I am attempting to get a Atheros Bluetooth dongle to work as the Bluetooth device under Android. (This is connected to a USB hub which is connected to a USB Host port on the platform) I am using Andro

[android-kernel] Compiling kernel modules for android

2012-01-26 Thread Johnson Pinto
Hi, Am using rowboat version of android. I want to build kernel module 'hello.c' my android kernel is in the path ~/rowboat-android/kernel I had extracted arm compiler in the path ~/tools/arm/arm-2008q3 My module and makefile is in the path ~/Desktop/test_kernelmod/ My makefile is: obj-m :=