[oe] Initial Support for the Samsung Omnia (SGH-i900)

Koen Kooi k.kooi at student.utwente.nl
Fri Nov 20 09:23:46 UTC 2009


On 15-11-09 14:34, Alex Ferguson wrote:
> I've been working on some initial support for the Samsung Omnia (SGH-i900)
> in the form of a machine configuration file and kernel. I also posted this
> as a bug here:
>
> http://bugs.openembedded.org/show_bug.cgi?id=5335

Oops, I missed a serious bug in your patches:

+++ b/recipes/tslib/tslib/sgh-i900/tslib.sh
@@ -0,0 +1,5 @@
+#!/bin/sh
+
+TSLIB_TSDEVICE=/dev/input/event1
+
+export TSLIB_TSDEVICE

That is so wrong it isn't funny anymore. The eventX numbers are pretty 
much randomly assigned, so you can't depend on them. In OE we have a 
udev script that finds all touchscreens and creates 
/dev/input/touchscreenX symlinks. The default tslib.sh uses those.

Could you please explain why the default tslib.sh isn't working for you?

regards,

Koen





More information about the Openembedded-devel mailing list