gnash-dev
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Gnash-dev] fb-gnash with TSLIB ERROR: write ABS_X


From: Siebren
Subject: [Gnash-dev] fb-gnash with TSLIB ERROR: write ABS_X
Date: Tue, 23 Apr 2013 11:16:41 +0200

Hi all,

I'm using the current git HEAD (almost: 265125f4) of Gnash on an ARM omap3 device, directly on the framebuffer with TSLIB touchscreen support and I don't get it to work properly.

The touchscreen is working correct (tested with ts_test).

When I touch the screen I get the following output from gnash:

1587:1] 16836 DEBUG: Touched x: 724, y: 545
1587:1] 16837 ERROR: write ABS_X
1587:1] 16938 DEBUG: Touched x: 724, y: 545
1587:1] 16940 ERROR: write ABS_X
1587:1] 17040 DEBUG: Touched x: 724, y: 545
1587:1] 17042 ERROR: write ABS_X
1587:1] 17142 DEBUG: Touched x: 724, y: 545
1587:1] 17144 ERROR: write ABS_X
1587:1] 17244 DEBUG: Touched x: 724, y: 544
1587:1] 17245 ERROR: write ABS_X
1587:1] 17345 DEBUG: lifted x: 723 y: 541
1587:1] 17347 ERROR: write ABS_X


The coordinates seem normal, but it trows an error after that, which seems to come from UinputDevice.cpp:
202  if (::write(_fd, &ev, sizeof(struct input_event)) < 0) {
203         log_error("write ABS_X");
204         return false;
205     }

Am I correct that this error suggests that he input_event here does not contain valid information here ( < 0 ), that seems strange as the Debug message shows a normal X value.

What can I do to find out what's going wrong?


If more information is needed, please say so, as I'm not (yet) very experienced with debugging.

Thanks in advance for your reaction,
Siebren

reply via email to

[Prev in Thread] Current Thread [Next in Thread]