[oe] [PATCH] bug20/xorg.conf: update to use tslib driver for touchscreen input device.

Stefan Schmidt stefan at datenfreihafen.org
Fri May 7 10:05:45 UTC 2010


Hello.

On Thu, 2010-05-06 at 17:55, Ken Gilmer wrote:
> diff --git a/recipes/xorg-xserver/xserver-xorg-conf/bug20/xorg.conf b/recipes/xorg-xserver/xserver-xorg-conf/bug20/xorg.conf
> index 0b976fe..746874f 100644
> --- a/recipes/xorg-xserver/xserver-xorg-conf/bug20/xorg.conf
> +++ b/recipes/xorg-xserver/xserver-xorg-conf/bug20/xorg.conf
> @@ -26,4 +26,12 @@ EndSection
>  Section "ServerLayout"                                 
>          Identifier      "Builtin Default Layout"                                     
>          Screen  "Builtin Default fbdev Screen 0"        
> +		InputDevice "bmi-lcd-ts" "CorePointer"
>  EndSection                                              
> +
> +Section "InputDevice" 
> +		Identifier "bmi-lcd-ts" 
> +		Driver "tslib"
> +		Option "SwapAxes" "1" 
> +    	Option "Device" "/dev/input/touchscreen0" 
> +EndSection                                       

The addition is only to make X aware of the swaped axes, right? Looks fine to me
given that you have tested it.

I would need a git format-patch style patch to apply and push it here though ad
evolution seem to have mangled your patch patch and it did not appear in
patchwork yet.

regards
Stefan Schmidt




More information about the Openembedded-devel mailing list