ecore: remove fix-ecore-fb-initialization.patch
PATCH 1/1 ecore: remove fix-ecore-fb-initialization.patch
Removing the fix-ecore-fb-initialization patch as it let ecore open the supplied touchscreen device twice which results in an error on platforms where the touchscreen device node can be opened only once. Furthermore I doubt that it is necessary to open the touchscreen device node more than one time.
--- recipes/efl1/ecore.inc | 2 - .../efl1/ecore/fix-ecore-fb-initialization.patch | 29 -------------------- 2 files changed, 0 insertions(+), 31 deletions(-) delete mode 100644 recipes/efl1/ecore/fix-ecore-fb-initialization.patch
recipes/efl1/ecore.inc +0 -2
@@ -12,8 +12,6 @@ inherit efl BBCLASSEXTEND = "native" -SRC_URI += "file://fix-ecore-fb-initialization.patch" - do_configure_prepend() { touch ${S}/po/Makefile.in.in || true sed -i -e 's: po::g' ${S}/Makefile.am
recipes/efl1/ecore/fix-ecore-fb-initialization.patch deleted +0 -29
@@ -1,29 +0,0 @@ -# -# The whole ecore-fb init logic is somewhat flawed; with this patch we -# get at least a working touchscreen w/ tslib again. -# -# Signed-off-by: Michael 'Mickey' Lauer <[email protected]> -# - -Index: ecore/src/lib/ecore_fb/ecore_fb.c -=================================================================== ---- ecore.orig/src/lib/ecore_fb/ecore_fb.c -+++ ecore/src/lib/ecore_fb/ecore_fb.c -@@ -46,6 +46,9 @@ - - if (!ecore_fb_vt_init()) - return --_ecore_fb_init_count; -+ -+ if (!ecore_fb_ts_init()) -+ return --_ecore_fb_init_count; - - ECORE_FB_EVENT_KEY_DOWN = ecore_event_type_new(); - ECORE_FB_EVENT_KEY_UP = ecore_event_type_new(); -@@ -70,6 +73,7 @@ - if (--_ecore_fb_init_count != 0) - return _ecore_fb_init_count; - -+ ecore_fb_ts_shutdown(); - ecore_fb_vt_shutdown(); - - return _ecore_fb_init_count;
Signature · 1 line
1.7.0.4
Hello.
Quoted 4 lines · Simon Busch
Removing the fix-ecore-fb-initialization patch as it let ecore open the supplied touchscreen device twice which results in an error on platforms where the touchscreen device node can be opened only once. Furthermore I doubt that it is necessary to open the touchscreen device node more than one time.
Sounds good, but I want to hear Mickey on this before pushing it as it is his patch.
regards
Stefan Schmidt
Martin Jansa
Acked-byQuoted 10 lines · Stefan Schmidt
Hello.
Quoted 4 lines · Simon Busch
Removing the fix-ecore-fb-initialization patch as it let ecore open the supplied touchscreen device twice which results in an error on platforms where the touchscreen device node can be opened only once. Furthermore I doubt that it is necessary to open the touchscreen device node more than one time.
Sounds good, but I want to hear Mickey on this before pushing it as it is his patch.
Tested on EFL bump I have in my queue and doesn't break anything on om-gta02, so look OK.
Signature · 1 line
Martin 'JaMa' Jansa jabber: [email protected]
Am Freitag, den 13.08.2010, 23:52 +0200 schrieb Stefan Schmidt:
Quoted 10 lines
Hello.
Quoted 4 lines · Simon Busch
Removing the fix-ecore-fb-initialization patch as it let ecore open the supplied touchscreen device twice which results in an error on platforms where the touchscreen device node can be opened only once. Furthermore I doubt that it is necessary to open the touchscreen device node more than one time.
Sounds good, but I want to hear Mickey on this before pushing it as it is his patch.
NACK. Last time I checked, this patch was still necessary to fix touchscreen access using Ecore on pure framebuffer. There may be better approaches to it, but removing it now will break ecore on fb.
Regards,
Signature · 1 line
:M:
Am 14.08.2010 21:26, schrieb Michael 'Mickey' Lauer:
Quoted 9 lines
Am Freitag, den 13.08.2010, 23:52 +0200 schrieb Stefan Schmidt:
Quoted 8 lines
Hello.
Quoted 4 lines · Simon Busch
Removing the fix-ecore-fb-initialization patch as it let ecore open the supplied touchscreen device twice which results in an error on platforms where the touchscreen device node can be opened only once. Furthermore I doubt that it is necessary to open the touchscreen device node more than one time.
Quoted 6 lines
Quoted 2 lines
Sounds good, but I want to hear Mickey on this before pushing it as it is his patch.
NACK. Last time I checked, this patch was still necessary to fix touchscreen access using Ecore on pure framebuffer. There may be better approaches to it, but removing it now will break ecore on fb.
For me ecore worked on plain fb without this patch. Touchscreen access was possible and elementary-test worked fine. If it's not the case on other devies than the palm pre we have to find a way around this as it will break usage of ecore_fb for the palm pre!
Will take a look into the code of ecore_fb if there is another way.
regards,
morphis
Am 14.08.2010 21:26, schrieb Michael 'Mickey' Lauer:
Quoted 9 lines
Am Freitag, den 13.08.2010, 23:52 +0200 schrieb Stefan Schmidt:
Quoted 8 lines
Hello.
Quoted 4 lines · Simon Busch
Removing the fix-ecore-fb-initialization patch as it let ecore open the supplied touchscreen device twice which results in an error on platforms where the touchscreen device node can be opened only once. Furthermore I doubt that it is necessary to open the touchscreen device node more than one time.
Quoted 8 lines
Quoted 2 lines
Sounds good, but I want to hear Mickey on this before pushing it as it is his patch.
NACK. Last time I checked, this patch was still necessary to fix touchscreen access using Ecore on pure framebuffer. There may be better approaches to it, but removing it now will break ecore on fb.
Regards,
I think the best solution to work around this is using tsmd: our touchscreen daemon which opens the touchscreen device node and forwards it to a uninput device which can be opened more than on time.
Will write a recipe for it and send it in for integration.
regards,
morphis