Comment 69 for bug 791833

Revision history for this message
In , Chris (chris-redhat-bugs) wrote :

(In reply to comment #6)
> Hi Chris
>
> all this patch does is initialize the device, and report back the cursor. All
> touch on such a device is supposed to be registered as click. I am not sure, if
> this is the right way to do this, or do we use hoverclick.

Perhaps all touch should be a click but with this patch, there's no click, key or other event.

If I switch to the standard x_86_64 kernel:
-----------
2.6.40.3-0.fc15.x86_64 #1 SMP Tue Aug 16 04:10:59 UTC 2011 x86_64 x86_64 x86_64 GNU/Linux
-----------

and run evtest again it still shows up as an LG Display LGD-Multitouch. evtest spits out a lot of stuff, with just one touch. Here it all is
-----------
...
[root@zbox1 ctopher]# evtest
No device specified, trying to scan all of /dev/input/event*
Available devices:
/dev/input/event0: Power Button
/dev/input/event1: Power Button
/dev/input/event2: PIXART USB OPTICAL MOUSE
/dev/input/event3: Alps Electric M2452
/dev/input/event4: LG Display LGD-MultiTouch
Select the device event number [0-4]: 4
Input driver version is 1.0.1
Input device ID: bus 0x3 vendor 0x1fd2 product 0x64 version 0x100
Input device name: "LG Display LGD-MultiTouch"
Supported events:
  Event type 0 (Sync)
  Event type 1 (Key)
    Event code 272 (LeftBtn)
    Event code 273 (RightBtn)
    Event code 320 (ToolPen)
    Event code 321 (ToolRubber)
    Event code 330 (Touch)
  Event type 3 (Absolute)
    Event code 0 (X)
      Value 0
      Min 0
      Max 1920
    Event code 1 (Y)
      Value 0
      Min 0
      Max 1080
    Event code 2 (Z)
      Value 0
      Min 0
      Max 1920
    Event code 3 (Rx)
      Value 0
      Min 0
      Max 1080
    Event code 4 (Ry)
      Value 0
      Min 0
      Max 32767
    Event code 5 (Rz)
      Value 0
      Min 0
      Max 32767
    Event code 40 (Misc)
      Value 0
      Min 0
      Max 1
    Event code 41 (?)
      Value 0
      Min 0
      Max 1
    Event code 42 (?)
      Value 0
      Min 0
      Max 1080
  Event type 4 (Misc)
    Event code 4 (ScanCode)
Testing ... (interrupt to exit)
Event: time 1315082268.710873, type 4 (Misc), code 4 (ScanCode), value d0042
Event: time 1315082268.710876, type 1 (Key), code 330 (Touch), value 1
Event: time 1315082268.710883, type 1 (Key), code 320 (ToolPen), value 1
Event: time 1315082268.710889, type 3 (Absolute), code 40 (Misc), value 2
Event: time 1315082268.710895, type 3 (Absolute), code 0 (X), value 553
Event: time 1315082268.710901, type 3 (Absolute), code 1 (Y), value 333
Event: time 1315082268.710907, type 4 (Misc), code 4 (ScanCode), value d0042
Event: time 1315082268.710910, type 1 (Key), code 330 (Touch), value 0
Event: time 1315082268.710920, type 3 (Absolute), code 41 (?), value 3
Event: time 1315082268.710926, type 3 (Absolute), code 2 (Z), value 65535
Event: time 1315082268.710931, type 3 (Absolute), code 3 (Rx), value 65535
Event: time 1315082268.710938, type 3 (Absolute), code 42 (?), value 2
Event: time 1315082268.710941, -------------- Report Sync ------------
Event: time 1315082268.718873, type 4 (Misc), code 4 (ScanCode), value d0042
Event: time 1315082268.718876, type 1 (Key), code 330 (Touch), value 1
Event: time 1315082268.718900, type 4 (Misc), code 4 (ScanCode), value d0042
Event: time 1315082268.718903, type 1 (Key), code 330 (Touch), value 0
Event: time 1315082268.718926, -------------- Report Sync ------------
Event: time 1315082268.726872, type 4 (Misc), code 4 (ScanCode), value d0042
Event: time 1315082268.726875, type 1 (Key), code 330 (Touch), value 1
Event: time 1315082268.726899, type 4 (Misc), code 4 (ScanCode), value d0042
Event: time 1315082268.726901, type 1 (Key), code 330 (Touch), value 0
Event: time 1315082268.726925, -------------- Report Sync ------------
Event: time 1315082268.734871, type 4 (Misc), code 4 (ScanCode), value d0042
Event: time 1315082268.734874, type 1 (Key), code 330 (Touch), value 1
Event: time 1315082268.734898, type 4 (Misc), code 4 (ScanCode), value d0042
Event: time 1315082268.734901, type 1 (Key), code 330 (Touch), value 0
Event: time 1315082268.734924, -------------- Report Sync ------------
Event: time 1315082268.742868, type 4 (Misc), code 4 (ScanCode), value d0042
Event: time 1315082268.742872, type 1 (Key), code 330 (Touch), value 1
Event: time 1315082268.742896, type 4 (Misc), code 4 (ScanCode), value d0042
Event: time 1315082268.742898, type 1 (Key), code 330 (Touch), value 0
Event: time 1315082268.742922, -------------- Report Sync ------------
Event: time 1315082268.750884, type 4 (Misc), code 4 (ScanCode), value d0042
Event: time 1315082268.750888, type 1 (Key), code 330 (Touch), value 1
Event: time 1315082268.750912, type 4 (Misc), code 4 (ScanCode), value d0042
Event: time 1315082268.750915, type 1 (Key), code 330 (Touch), value 0
Event: time 1315082268.750939, -------------- Report Sync ------------
Event: time 1315082268.758869, type 4 (Misc), code 4 (ScanCode), value d0042
Event: time 1315082268.758872, type 1 (Key), code 330 (Touch), value 1
Event: time 1315082268.758896, type 4 (Misc), code 4 (ScanCode), value d0042
Event: time 1315082268.758899, type 1 (Key), code 330 (Touch), value 0
Event: time 1315082268.758923, -------------- Report Sync ------------
Event: time 1315082268.770866, type 4 (Misc), code 4 (ScanCode), value d0042
Event: time 1315082268.770870, type 1 (Key), code 330 (Touch), value 1
Event: time 1315082268.770893, type 4 (Misc), code 4 (ScanCode), value d0042
Event: time 1315082268.770896, type 1 (Key), code 330 (Touch), value 0
Event: time 1315082268.770920, -------------- Report Sync ------------
Event: time 1315082268.778870, type 4 (Misc), code 4 (ScanCode), value d0042
Event: time 1315082268.778875, type 1 (Key), code 330 (Touch), value 1
Event: time 1315082268.778901, type 4 (Misc), code 4 (ScanCode), value d0042
Event: time 1315082268.778904, type 1 (Key), code 330 (Touch), value 0
Event: time 1315082268.778928, -------------- Report Sync ------------
Event: time 1315082268.786863, type 1 (Key), code 320 (ToolPen), value 0
Event: time 1315082268.786909, -------------- Report Sync ------------
^C
[root@zbox1 ctopher]#
-----------

I don't know if we need all those events, but at least in this mode, if I touch a new window, it becomes active. Forget doing anything useful however. If you touch an icon in Nautilus it will attempt to open the file a zillion times. (meaning a lot!).

So, the patch helps calm down the events but it doesn't make the touch screen really work. I'm in way over my head here, so any suggestions would be wonderful.

As an aside, building a new kernel every time a one-line change is made is killing me. I know this is not a forum for this kind of help, but a link to some info that might make debugging this a little easier would be greatly appreciated.

That said, I have the hardware so if anyone has something they'd like me to try, I'm here to help promote the Dell ST2220T to a full fledged Fedora citizen.