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 Savoy <[email protected]> wrote:
> Can't you point your lib/app to use external/bluetooth/bluez/common/uinput.h
> ?
>
> 2010/3/31 Rafał Grzybowski <[email protected]>
>
>
>
>
>
> > During make APP=app_name uinput.h is searched in:
> >  - <NDK_HOME>/build/platforms/<platform_version>/arch-arm/usr/include/
> > linux
> >  - local JNI library directory
> >  - <NDK_HOME>/build/prebuilt/linux-x86/arm-eabi-4.4.0/lib/gcc/arm-eabi/
> > 4.4.0/include/linux/uinput.h
> >  - <NDK_HOME>/build/prebuilt/linux-x86/arm-eabi-4.4.0/lib/gcc/arm-eabi/
> > 4.4.0/include-fixed/linux/uinput.h
>
> > So there is nothing related to android kernel or platform. I simple
> > copied uinput from Android glassfish kernel sources into the first
> > directory and now it's compiling. But I'm not sure it's a good
> > solution to copy the file by myself.
>
> > On Mar 31, 8:44 am, Rafał Grzybowski <[email protected]> wrote:
> > > 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 <[email protected]> wrote:
>
> > > > 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 <[email protected]>
>
> > > > > 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 <[email protected]> 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 <[email protected]>
>
> > > > > > > :( 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: 
> > > > > > > [email protected]<android-kernel%2bunsubscr...@go­oglegroups.com>
> > <android-kernel%2bunsubscr...@go oglegroups.com>
> > > > > <android-kernel%2bunsubscr...@go oglegroups.com>
> > > > > > > website:http://groups.google.com/group/android-kernel
>
> > > > > > > To unsubscribe from this group, send email to android-kernel+
> > > > > > > unsubscribegooglegroups.com or reply to this email with the
> > words
> > > > > "REMOVE
> > > > > > > ME" as the subject.
>
> > > > > > --
> > > > > > --Pavan Savoy
>
> > > > > --
> > > > > unsubscribe: 
> > > > > [email protected]<android-kernel%2bunsubscr...@go­oglegroups.com>
> > <android-kernel%2bunsubscr...@go oglegroups.com>
> > > > > website:http://groups.google.com/group/android-kernel
>
> > > > > To unsubscribe, reply using "remove me" as the subject.
>
> > > > --
> > > > --Pavan Savoy
>
> > --
> > unsubscribe: 
> > [email protected]<android-kernel%2bunsubscr...@go­oglegroups.com>
> > website:http://groups.google.com/group/android-kernel
>
> --
> --Pavan Savoy

-- 
unsubscribe: [email protected]
website: http://groups.google.com/group/android-kernel

Reply via email to