For simple, I merge the changes with two drivers. you can use two drivers as 
example.

It also can apply on 2.6.17.6 and 2.6.17.8 at least. 

Signed-off-by: Liyu <[EMAIL PROTECTED]>

diff -Naurp linux-2.6.17.7/drivers/usb/input.orig/Kconfig 
linux-2.6.17.7/drivers/usb/input/Kconfig
--- linux-2.6.17.7/drivers/usb/input.orig/Kconfig       2006-07-25 
11:36:01.000000000 +0800
+++ linux-2.6.17.7/drivers/usb/input/Kconfig    2006-08-08 08:48:58.000000000 
+0800
@@ -326,3 +326,31 @@ config USB_APPLETOUCH
 
          To compile this driver as a module, choose M here: the
          module will be called appletouch.
+
+config HID_SIMPLE
+       bool "HID simple driver interface"
+       depends on USB_HIDINPUT
+       help
+         This simple interface let the writing HID driver more easier. 
Moreover,
+         this allow you write force-feedback driver without touch HID input 
+         implementation code. Also, it can be used as input filter.
+
+config HID_SIMPLE_MSNEK4K
+       tristate "Microsoft Natural Ergonomic Keyboard 4000 Driver"
+       depends on HID_SIMPLE
+       help
+         Microsoft Natural Ergonomic Keyboard 4000 extend keys support. These
+         may not work without change user space configration, e.g, XKB conf-
+         iguration in X.
+
+config HID_SIMPLE_FF
+       bool "HID simple driver interface force feedback support"
+       depends on HID_SIMPLE && !HID_FF
+       help
+         This feature can not be compatible with "Force feedback support" 
(HID_FF).
+
+config HID_SIMPLE_FF_BTP2118
+       tristate "Betop 2118 joystick force feedback support"
+       depends on HID_SIMPLE_FF
+       help
+         This can enable Betop 2118 joystick force feedback feature.
diff -Naurp linux-2.6.17.7/drivers/usb/input.orig/Makefile 
linux-2.6.17.7/drivers/usb/input/Makefile
--- linux-2.6.17.7/drivers/usb/input.orig/Makefile      2006-07-25 
11:36:01.000000000 +0800
+++ linux-2.6.17.7/drivers/usb/input/Makefile   2006-08-17 11:20:00.000000000 
+0800
@@ -25,6 +25,9 @@ endif
 ifeq ($(CONFIG_HID_FF),y)
        usbhid-objs     += hid-ff.o
 endif
+ifeq ($(CONFIG_HID_SIMPLE),y)
+       usbhid-objs     += hid-simple.o
+endif
 
 obj-$(CONFIG_USB_AIPTEK)       += aiptek.o
 obj-$(CONFIG_USB_ATI_REMOTE)   += ati_remote.o
@@ -44,6 +47,8 @@ obj-$(CONFIG_USB_ACECAD)      += acecad.o
 obj-$(CONFIG_USB_YEALINK)      += yealink.o
 obj-$(CONFIG_USB_XPAD)         += xpad.o
 obj-$(CONFIG_USB_APPLETOUCH)   += appletouch.o
+obj-$(CONFIG_HID_SIMPLE_MSNEK4K)       += usbnek4k.o
+obj-$(CONFIG_HID_SIMPLE_FF_BTP2118)    += btp2118.o
 
 ifeq ($(CONFIG_USB_DEBUG),y)
 EXTRA_CFLAGS += -DDEBUG




-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
linux-usb-devel@lists.sourceforge.net
To unsubscribe, use the last form field at:
https://lists.sourceforge.net/lists/listinfo/linux-usb-devel

Reply via email to