[oe] [PATCH 3/4] xserver-xorg-conf: add iphone3g support

Stefan Schmidt stefan at datenfreihafen.org
Thu Dec 9 14:35:01 UTC 2010


Hello.

On Tue, 2010-12-07 at 15:32, Denis 'GNUtoo' Carikli wrote:
> Signed-off-by: Chris 'Lopi' Spehn <chris.spehn at gmail.com>
> Signed-off-by: Denis 'GNUtoo' Carikli <GNUtoo at no-log.org>
> ---
>  .../xserver-xorg-conf/iphone3g/xorg.conf           |   31 ++++++++++++++++++++
>  recipes/xorg-xserver/xserver-xorg-conf_0.1.bb      |    2 +-
>  2 files changed, 32 insertions(+), 1 deletions(-)
>  create mode 100644 recipes/xorg-xserver/xserver-xorg-conf/iphone3g/xorg.conf
> 
> diff --git a/recipes/xorg-xserver/xserver-xorg-conf/iphone3g/xorg.conf b/recipes/xorg-xserver/xserver-xorg-conf/iphone3g/xorg.conf
> new file mode 100644
> index 0000000..19f02e9
> --- /dev/null
> +++ b/recipes/xorg-xserver/xserver-xorg-conf/iphone3g/xorg.conf
> @@ -0,0 +1,31 @@
> +Section "Device"
> +	Identifier "Builtin Default fbdev Device 0"
> +	Driver  "fbdev"
> +	Option "ShadowFB" "on"
> +	#Option "Rotate" "CW" # comment for disabling rotation
> +EndSection
> +
> +Section "Screen"
> +	Identifier "Builtin Default fbdev Screen 0"
> +	Device "Builtin Default fbdev Device 0"
> +EndSection
> +
> +
> +Section "InputDevice"
> +	Identifier "touchscreen"
> +	Driver "evdev"
> +	Option "Device" "/dev/input/event2"

Are you sure that it always is event2? The nodes are assigned dynamically
normally and we have /dev/touchscreen to work around this

> +	Option "Calibration" "0 4602 0 7306"

Why here? We happen to use the pointercal file for this.

regards
Stefan Schmidt




More information about the Openembedded-devel mailing list