[android-kernel] Re: Kernel module deployment

2010-03-31 Thread Rafał Grzybowski
Another problem. I'm getting permission denied when trying to open / dev/uinput. This is probably due to device permissions which are read write for owner 'system', read write for group 'bluetooth' and nothing for others (like me). How can I run my app as bluetooth group? On 31 Mar, 17:01, Pavan S

Re: [android-kernel] Re: Kernel module deployment

2010-03-31 Thread Pavan Savoy
Can't you point your lib/app to use external/bluetooth/bluez/common/uinput.h ? 2010/3/31 Rafał Grzybowski > During make APP=app_name uinput.h is searched in: > - /build/platforms//arch-arm/usr/include/ > linux > - local JNI library directory > - /build/prebuilt/linux-x86/arm-eabi-4.4.0/lib/gc

[android-kernel] Re: Kernel module deployment

2010-03-31 Thread Rafał Grzybowski
During make APP=app_name uinput.h is searched in: - /build/platforms//arch-arm/usr/include/ linux - local JNI library directory - /build/prebuilt/linux-x86/arm-eabi-4.4.0/lib/gcc/arm-eabi/ 4.4.0/include/linux/uinput.h - /build/prebuilt/linux-x86/arm-eabi-4.4.0/lib/gcc/arm-eabi/ 4.4.0/include-fi

[android-kernel] Re: Kernel module deployment

2010-03-30 Thread Rafał Grzybowski
I have recompiled Android glasfish kernel with uinput included but still the header is missing :( What next? On Mar 31, 1:01 am, Pavan Savoy wrote: > Yep, totally makes sense, > on make menuconfig, it should be found under device drivers-> input device > support -> Miscellaneous devices -> User l

Re: [android-kernel] Re: Kernel module deployment

2010-03-30 Thread Pavan Savoy
Yep, totally makes sense, on make menuconfig, it should be found under device drivers-> input device support -> Miscellaneous devices -> User level ... 2010/3/30 Rafał Grzybowski > One more thing. I'm trying to compile sample uinput library with > Android NDK but it cannot find linux/uinput.h >

[android-kernel] Re: Kernel module deployment

2010-03-30 Thread Rafał Grzybowski
One more thing. I'm trying to compile sample uinput library with Android NDK but it cannot find linux/uinput.h What should be done? Kernel recompile with CONFIG_INPUT_UINPUT? On Mar 30, 11:11 pm, Pavan Savoy wrote: > do like the avrcp does (and some HIDs), use UINPUT subsystem, then you would > o

[android-kernel] Re: Kernel module deployment

2010-03-30 Thread Rafał Grzybowski
Thank you for your help :) On Mar 30, 11:11 pm, Pavan Savoy wrote: > do like the avrcp does (and some HIDs), use UINPUT subsystem, then you would > only need to write an application, instead of the driver. > > 2010/3/30 Rafał Grzybowski > > > :( I need to write an application that reads some dat

Re: [android-kernel] Re: Kernel module deployment

2010-03-30 Thread Pavan Savoy
do like the avrcp does (and some HIDs), use UINPUT subsystem, then you would only need to write an application, instead of the driver. 2010/3/30 Rafał Grzybowski > :( I need to write an application that reads some data from Bluetooth > SPP connection and sends it as keystrokes to the Android. I

[android-kernel] Re: Kernel module deployment

2010-03-30 Thread Rafał Grzybowski
:( I need to write an application that reads some data from Bluetooth SPP connection and sends it as keystrokes to the Android. I thought writing kernel driver is a good idea. -- unsubscribe: android-kernel+unsubscr...@googlegroups.com website: http://groups.google.com/group/android-kernel To un