[lkml]   [2009]   [Dec]   [9]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectRe: [PATCH] HID: add multi-input quirk for NextWindow Touchscreen.
>>>>> "Peter" == Peter Hutterer <> writes:


Peter> evtest output for the mouse device on kernel
Peter>, 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:

You can get usb config here:

>> 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:

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

 \ /
  Last update: 2009-12-09 10:47    [W:0.122 / U:41.296 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site