Can't you point your lib/app to use external/bluetooth/bluez/common/uinput.h
?

2010/3/31 Rafał Grzybowski <aguyngue...@gmail.com>

> 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 <aguyngue...@gmail.com> 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 <pavan.sa...@gmail.com> 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 <aguyngue...@gmail.com>
> >
> > > > 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 <pavan.sa...@gmail.com> 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 <aguyngue...@gmail.com>
> >
> > > > > > :( 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<android-kernel%2bunsubscr...@googlegroups.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: 
> > > > android-kernel+unsubscr...@googlegroups.com<android-kernel%2bunsubscr...@googlegroups.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: 
> android-kernel+unsubscr...@googlegroups.com<android-kernel%2bunsubscr...@googlegroups.com>
> website: http://groups.google.com/group/android-kernel
>



-- 
--Pavan Savoy

-- 
unsubscribe: android-kernel+unsubscr...@googlegroups.com
website: http://groups.google.com/group/android-kernel

Reply via email to