Thanks to Benjamin Tissoir from lii-enac.fr, there is now an updated hid-multitouch kernel module for ubuntu 12.10. Thank you a lot Benjamin!
To install it follow the next steps from a terminal: 1. Follow the steps described in http://dinomite.net/blog/2007/setting-up-ubuntu-for-building-kernel-modules/ for setting up your machine for building kernel modules. 2. Install linux-headers package: sudo apt-get install linux-headers-`uname -r` 3. Move to your home: cd ~ 4. git clone git://git.lii-enac.fr/linux-input/ubuntu-multitouch 5. cd ubuntu-multitouch 6. git checkout hid-multitouch-ubuntu-12.10 7. make 8. sudo make install 9. Reboot I installed it and tested it on my Duo 11 with 12.10 Unity desktop: * At kern.log I get the following mesages related to multitouch: Feb 23 22:16:30 duo kernel: [ 4.903751] xhci_hcd 0000:00:14.0: WARN Event TRB for slot 2 ep 0 with no TDs queued? Feb 23 22:16:37 duo kernel: [ 12.597436] hid-multitouch 0003:1B96:0F00.0004: usb_submit_urb(ctrl) failed: -1 Feb 23 22:16:37 duo kernel: [ 12.597457] hid-multitouch 0003:1B96:0F00.0004: timeout initializing reports Feb 23 22:16:37 duo kernel: [ 12.597781] input: N-trig DuoSense as /devices/pci0000:00/0000:00:1a.0/usb1/1-1/1-1.1/1-1.1:1.0/input/input11 Feb 23 22:16:37 duo kernel: [ 12.598243] hid-multitouch * One finger touches seem to work: Clicks on windows give focus, I can move windows with holding the title bar, I can put the cursor at a the touched point in a text area, I can scroll nautilus window with one finger. * I have not managed to produce a double-touch for opening a folder in nautilus. After using touch with nautilus I can no longer double-click with the mouse, and right-click on a folder removes focus from it. * When I put a second finger on the screen, at Xorg.0.log I no longer get any "(EE) [dix] N-trig DuoSense: unable to find touch point X" errors, but I get the same bug trace I provide at bug description "(EE) BUG: triggered 'if (!(event->device_event.flags & (1 << 5)))'".... , and no multi-finger guestures seem to be recognized. The behaviour is the sama as if I had only one finger on the screen (the first that touched the screen). * Subsequent single finger touches continue to work and multifinger touches are recognized as single finger touches and continue to produce the "(EE) BUG: triggered 'if (!(event->device_event.flags & (1 << 5)))'" bug trace. * The good thing is that with Benjamin's module there is no erroneous behavior of mouse, alt-tab etc after touching the screen with multiple fingers (except nautilus problems), so the user can use one finger touches with no problem. I also tried with the X version from x.org-edgers ubuntu ppa. x.org- edgers ppa also installed the 3.7.0 Kernel, but I booted with 3.5.0-25 kernel in order to use Benjamin's module. The result was exactly the same as I described above. I attach Xorg.0.log and kern.log with the new kernel module. I would like to thank one more time Benjamin for his help on this. ** Attachment added: "Xorg.0.log with git://git.lii-enac.fr/linux-input/ubuntu-multitouch hid-multitouch module" https://bugs.launchpad.net/ubuntu/+source/xserver-xorg-input-evdev/+bug/1121379/+attachment/3543730/+files/Xorg.0.log -- You received this bug notification because you are a member of Desktop Packages, which is subscribed to xserver-xorg-input-evdev in Ubuntu. https://bugs.launchpad.net/bugs/1121379 Title: Multiple finger touch fails on Sony Vaio Duo 11 running Ubuntu 12.10 (N-Trig DuoSense MultiTouch) Status in “linux-image-3.5.0-030500-generic” package in Ubuntu: New Status in “xserver-xorg-input-evdev” package in Ubuntu: Confirmed Bug description: N-trig DuoSense multitouch screen on Sony Vaio Duo 11 (model SVD1121P2EB) ultrabook/tablet hybrid does not function as expected with ubuntu 12.10. How to reproduce the bug: 1. Boot up Sony Vaio Duo 11 to Ubuntu 12.10 and login to untiy 2. Use mouse/trackpad to Open a nautiuls window 3. Use a mouse/trackpad to Open a terminal window and run "tail -f /var/log/Xorg.0.log" 4. With the focus to the terminal window touch inside nautilus window with one finger. Nautilus window takes focus, as expected. Nothing is appended to Xorg.0.log. 5. Touch with one finger inside terminal window. The terminal window takes the focus, as expected. Nothing is appended to Xorg.0.log. 6. Touch with one finger inside nautilus window and do a drag gesture. A rectangle select area follows hand's move. Nothing is appended to Xorg.0.log. 7. Touch again with one finger inside nautilus window and and do a drag gesture. Nautilus window is scrolling up and down, as expected. 8. Touch with 2 fingers into nautilus window. The following Error line is appended to Xorg.0.log: (EE) [dix] N-trig DuoSense: unable to find touch point 1 9. Do any gesture with the two fingers (eg. spread). The following error lines are repeated during the gesture: [ 2530.712] (EE) BUG: triggered 'if (!(event->device_event.flags & (1 << 5)))' [ 2530.712] (EE) BUG: ../../dix/touch.c:628 in TouchConvertToPointerEvent() [ 2530.712] (EE) Non-emulating touch event [ 2530.712] (EE) [ 2530.713] (EE) Backtrace: [ 2530.713] (EE) 0: /usr/bin/X (xorg_backtrace+0x36) [0x7f261cfadb76] [ 2530.713] (EE) 1: /usr/bin/X (0x7f261ce05000+0x7dbdf) [0x7f261ce82bdf] [ 2530.713] (EE) 2: /usr/bin/X (0x7f261ce05000+0x1380b9) [0x7f261cf3d0b9] [ 2530.713] (EE) 3: /usr/bin/X (0x7f261ce05000+0x137c65) [0x7f261cf3cc65] [ 2530.714] (EE) 4: /usr/bin/X (0x7f261ce05000+0x13a5d3) [0x7f261cf3f5d3] [ 2530.714] (EE) 5: /usr/bin/X (0x7f261ce05000+0x15bc8f) [0x7f261cf60c8f] [ 2530.714] (EE) 6: /usr/bin/X (mieqProcessDeviceEvent+0x1b5) [0x7f261cf8f385] [ 2530.714] (EE) 7: /usr/bin/X (mieqProcessInputEvents+0xf8) [0x7f261cf8f4a8] [ 2530.714] (EE) 8: /usr/bin/X (ProcessInputEvents+0x9) [0x7f261ce98789] [ 2530.714] (EE) 9: /usr/bin/X (0x7f261ce05000+0x557d2) [0x7f261ce5a7d2] [ 2530.715] (EE) 10: /usr/bin/X (0x7f261ce05000+0x4456a) [0x7f261ce4956a] [ 2530.715] (EE) 11: /lib/x86_64-linux-gnu/libc.so.6 (__libc_start_main+0xed) [0x7f261adb076d] [ 2530.715] (EE) 12: /usr/bin/X (0x7f261ce05000+0x448ad) [0x7f261ce498ad] [ 2530.715] (EE) 10. Touch with one finger an other window. Focus is not transfered to the touched window. Expected behavior: The focus should be transfered to the touched window. 11. Touch with one finger inside nautilus window and do a drag gesture. Window is scrolling up and down and the above error lines are repeated at Xorg.0.log. Expected behavior: No error messages should be generated. 12. Remove the finger from the screen and move the mouse around the screen. Nautilus window is scrolling according to mouse movement. Expected behavior: no scrolling should happen at nautilus window. 13. Click with the mouse inside nautilus window. The rectangle selector appears and follows mouse movement. Expected behavior: A single click should not trigger the rectangle selector. After these steps mouse and touch have a strange and unstable behavior: Mouse movement erroneously selects text without holding down the mouse button, clicks and touches at windows do not give focus, clicks and touches to buttons to not cause a press event, alt+tab is not functioning. Touching with more fingers (3 or 4) produces a similar error with point number varying from 0 to 3 (e.g. (EE) [dix] N-trig DuoSense: unable to find touch point 2), and after that any gesture fails producing the above error messages. I attach: * geistest output * lsb_release -a output * lshw output * lsinput output * lspci -vnvn output * mtdev-test output * ntrig-calibrator output * uname -a output * cat /proc/version_signature output * Xorg.0.log I can perform any testing and reporting on Sony VAIO Duo 11 device. I have quite advanced technical skills on ubuntu, compiling, config files e.t.c. I would appreciate any guidance in order to investigate and finally solve this bug. To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/linux-image-3.5.0-030500-generic/+bug/1121379/+subscriptions -- Mailing list: https://launchpad.net/~desktop-packages Post to : [email protected] Unsubscribe : https://launchpad.net/~desktop-packages More help : https://help.launchpad.net/ListHelp

