Bugzilla – Bug 548463
N-trig driver is obsolete
Last modified: 2009-11-04 14:46:42 UTC
User-Agent: Mozilla/5.0 (X11; U; Linux x86_64; fr; rv:1.9.0.14) Gecko/2009090900 SUSE/3.0.14-0.1.2 Firefox/3.0.14 N-trig driver is obsolete in kernels < git-2.6.32 This applies to all current OpenSuSE kernels. Reproducible: Always Steps to Reproduce: 1. Install OpenSuSE on a laptop with n-trig touchscreen, like HP tx2-xxxx 2. Test touchscreen with wacdump (either from linuxwacom or from packman) (Note : linuxwacom must be patched to recognize 1b96 vendor's devices) Actual Results: N-trig touchscreens do not work. Expected Results: Touchscreen should work "out-of-the-box" when installing OpenSuSE on computers with this device. Rafi Rubin suggested to replace hid-ntrig.c by the last version from git to solve this issue. http://git.kernel.org/?p=linux/kernel/git/torvalds/linux-2.6.git;a=blob_plain;f=drivers/hid/hid-ntrig.c;hb=HEAD That works. So please include the last version of hid-ntrig.c in any new OpenSuSE kernel release.
So these are the commits, which are still missing in our kernel: commit a24f423bdf253ccee369adc6c5451b40a0716fbb Author: Peter Huewe <peterhuewe@gmx.de> Date: Thu Jul 2 19:08:38 2009 +0200 HID: adding __init/__exit macros to module init/exit functions Trivial patch which adds the __init and __exit macros to the module_init / module_exit functions of several HID drivers from drivers/hid/ Signed-off-by: Peter Huewe <peterhuewe@gmx.de> Signed-off-by: Jiri Kosina <jkosina@suse.cz> commit 837b47533a6476ab3fb96b1f52edd3ce9f3162b8 Author: Rafi Rubin <rafi@seas.upenn.edu> Date: Tue Jun 23 14:09:26 2009 -0400 HID: ntrig tool separation and pen usages When both touch and pen are active send a tool announcement before sending any status changes so that event users may differentiate which tool is changing. Restored three usage codes used by the pen. Signed-off-by: Rafi Rubin <rafi@seas.upenn.edu> Acked-by: Stephane Chatty <chatty@enac.fr> Signed-off-by: Jiri Kosina <jkosina@suse.cz>
Created attachment 324021 [details] patch The patch.
OpenSUSE 11.1 is based on 2.6.27 kernel, which is lacking the infrastructure (HID bus) that is necessary for the n-trig driver as-is in newer kernels; therefore simple update is not easily possible, it will require drastic changes in core of the HID code, which are not possible at this stage. openSUSE 11.2 will have the up-to-date n-trig driver included automatically.