Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753502AbZLIJnf (ORCPT ); Wed, 9 Dec 2009 04:43:35 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1753130AbZLIJnd (ORCPT ); Wed, 9 Dec 2009 04:43:33 -0500 Received: from mail-ew0-f209.google.com ([209.85.219.209]:54025 "EHLO mail-ew0-f209.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753229AbZLIJnC (ORCPT ); Wed, 9 Dec 2009 04:43:02 -0500 DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=sender:from:to:cc:subject:references:date:in-reply-to:message-id :user-agent:mime-version:content-type; b=Tb9THDsA6pRDQHwpIYvXwKtm49OJqp+7rQpRklEi17+a/gBhwoBstj+WjjgG/NYFgs JTi1/3iw7Oh5SRzXxSRmh7DSr2bLgLrZInu+3hfix8PWBmPYu47yVa8KfcM59CuqQZAR 1ZxLSy60dDuRwtWFY0LoITWllv5yA+5UGDuCU= From: Peter Korsgaard To: Peter Hutterer Cc: Jiri Kosina , linux-input@vger.kernel.org, linux-usb@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH] HID: add multi-input quirk for NextWindow Touchscreen. References: <20091203050810.GA26595@barra.bne.redhat.com> <87zl60s17o.fsf@macbook.be.48ers.dk> <4B1836A6.405@redhat.com> <871vjasxnm.fsf@macbook.be.48ers.dk> <4B190D88.4090102@redhat.com> <87ws12rh5j.fsf@macbook.be.48ers.dk> <4B1C96C4.5080709@redhat.com> Date: Wed, 09 Dec 2009 10:42:45 +0100 In-Reply-To: <4B1C96C4.5080709@redhat.com> (Peter Hutterer's message of "Mon, 07 Dec 2009 15:46:44 +1000") Message-ID: <87hbs0mqju.fsf@macbook.be.48ers.dk> User-Agent: Gnus/5.110009 (No Gnus v0.9) Emacs/22.3 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 3199 Lines: 76 >>>>> "Peter" == Peter Hutterer writes: Hi, Peter> evtest output for the mouse device on kernel Peter> 2.6.31.6-150.fc12.x86_64, I'll spare you the keyboard device, Peter> it's not particularly interesting. Peter> Testing ... (interrupt to exit) Peter> Event: time 1260143900.146760, type 1 (Key), code 320 (ToolPen), value 1 Peter> Event: time 1260143900.146775, type 3 (Absolute), code 2 (Z), value 14953 Peter> Event: time 1260143900.146777, type 3 (Absolute), code 3 (Rx), value 19456 Peter> Event: time 1260143900.146780, -------------- Report Sync ------------ Sorry, it seems like the nw controller I used the other day had old firmware (product 0x1, firmware 2.91). With 2.92 I see the same list of supported events, but I get X/Y events on motion instead of Z / Rx: Event: time 1260344704.138808, type 3 (Absolute), code 0 (X), value 19097 Event: time 1260344704.138814, type 3 (Absolute), code 1 (Y), value 16704 Event: time 1260344704.138819, -------------- Report Sync ------------ Event: time 1260344704.158801, type 3 (Absolute), code 0 (X), value 19033 Event: time 1260344704.158808, type 3 (Absolute), code 1 (Y), value 16700 Event: time 1260344704.158814, -------------- Report Sync ------------ Event: time 1260344704.174803, type 4 (Misc), code 4 (ScanCode), value 90001 Event: time 1260344704.174807, type 1 (Key), code 272 (LeftBtn), value 0 Event: time 1260344704.174825, -------------- Report Sync ------------ Peter> [root@touchie sbin]# ./nwtool -u -i Peter> Version: 2.99 Peter> Serial: 617241 Peter> Model: 1901 Peter> HW capabilities: 0x40 Peter> Rightclick delay: 1000 ms Peter> Doubleclick time: 200 ms Peter> Report mode: 4 Peter> Drag threshold: 500 Peter> Buzzer time: 40 ms Peter> Buzzer tone: 40 Peter> Calibration key: 4 Peter> Calibration presses: 3 Hmm, what is report mode 4? Some kind of multi touch mode? What do you see if you install the Nextwindow USB config tool under Windows (unfortunately doesn't work under Wine) and look in the mouse tab? I guess you have a 4th option here. I see this: http://peter.korsgaard.com/nw.png You can get usb config here: http://www.nextwindow.com/nextwindow_support/software.html >> It's probably offtopic here, but we can move the discussion to the X >> list if you prefer - Last time I asked there I didn't get any reply >> though: >> >> http://article.gmane.org/gmane.comp.freedesktop.xorg/40071/ Peter> Ask louder :) I think I remember your email but it got flooded out of Peter> my inbox. In general there should be some method to do that though I Peter> need to check the implementation. OK, great - Let me know what you find. I did hack something up with evtouch, but would like to move to evdev instead. I'm willing to work on getting evdev to handle multi screen touchscreen setups better if needed, I just need a bit of guidance on how it should be handled. -- Bye, Peter Korsgaard -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/