Hi Matthias,
here is the entry which i added in the kconfig :
config TOUCHSCREEN_ZXY100_USB
tristate "Zytronic usb touchscreen driver"
depends on ZXY100 && ZXY100_MESSAGES && ZXY100_SYSFS
help
Say Y here if you have a Zytronic touchscreen that uses
the Object Based Protocol based firmware.
If unsure, say N.
To compile this driver as a module, choose M here: the
module will be called zxy100_usb.
know that the zxy100_usb modules depends on the three files (zxy100,
messages and sysfs), howeever when i run the menuconfig i have :
Symbol: TOUCHSCREEN_ZXY100_USB
[=n]
│
│ Type :
tristate
│
│ Prompt: Zytronic usb touchscreen
driver
│
│ Defined at
drivers/input/touchscreen/Kconfig:26
│
│ Depends on: !S390 && INPUT [=y] && INPUT_TOUCHSCREEN [=y] && ZXY100
&& ZXY100_MESSAGES &&
ZXY100_SYSFS
│
│
Location:
│
│ -> Device
Drivers
│
│ -> Input device
support
│
│ -> Generic input layer (needed for keyboard, mouse, ...) (INPUT
[=y])
│
│ -> Touchscreens (INPUT_TOUCHSCREEN [=y])
and the module is not set to "y" to be build.
any suggest?
Best Regards.
Le mercredi 27 juin 2012 16:07:21 UTC+2, Matthias Brugger a écrit :
>
> On 06/26/2012 11:42 AM, Luccio wrote:
> > Hi,
> >
> > how to integrate a new touchscreen driver in android kernel sources?
>
> Have a look in the Kconfig files:
> http://lxr.free-electrons.com/source/drivers/input/touchscreen/Kconfig
>
> you have to add your driver there and in the makefile.
> http://lxr.free-electrons.com/source/drivers/input/touchscreen/Makefile
>
> Just copy an entry and change it.
> Dependencies are declared in Kconfig with the line "depends on
> XYZ_DRIVER" for your Kconfig entry.
>
> Afterwards do a "make menuconfig" and select you new driver (as module
> or built in).
>
> It's really easy.
>
> > if is there a dependencies between modules, how make it in Makefile?
> > how to create a new Kconfig for this module?
> > how to allow the building for this module ?
> >
> > Thanks for help,
> > Best Regards.
> >
> > --
> > unsubscribe: [email protected]
> > website: http://groups.google.com/group/android-porting
>
>
>
--
unsubscribe: [email protected]
website: http://groups.google.com/group/android-porting