Skip to contentSkip to conversation

bug20/xorg.conf: update to use tslib driver for touchscreen input device.

PATCH In review Ken Gilmer 3 participants 6 messages May 6, 2010 – May 13, 2010

lore
Share & tools
lore

Ken Gilmer

author
#0 lore raw

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

recipes/xorg-xserver/xserver-xorg-conf/bug20/xorg.conf +8 -0
index 0b976fe..746874f 100644
@@ -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                                        
#1 lore raw

Hello.

Quoted 7 lines · Ken Gilmer
recipes/xorg-xserver/xserver-xorg-conf/bug20/xorg.conf +0 -0
index 0b976fe..746874f 100644
@@ -26,4 +26,12 @@ EndSection
 Section "ServerLayout"                                 
         Identifier      "Builtin Default Layout"                                     

recipes/xorg-xserver/xserver-xorg-conf/bug20/xorg.conf EndSection · line 37

Quoted 10 lines
recipes/xorg-xserver/xserver-xorg-conf/bug20/xorg.conf +8 -0
         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

#2 lore raw
In reply to Ken Gilmer

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

You forgot to bump PR in that patch

Quoted 7 lines · Ken Gilmer
recipes/xorg-xserver/xserver-xorg-conf/bug20/xorg.conf +0 -0
index 0b976fe..746874f 100644
@@ -26,4 +26,12 @@ EndSection
 Section "ServerLayout"                                 
         Identifier      "Builtin Default Layout"                                     

recipes/xorg-xserver/xserver-xorg-conf/bug20/xorg.conf EndSection · line 37

Quoted 10 lines
recipes/xorg-xserver/xserver-xorg-conf/bug20/xorg.conf +8 -0
         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                                        

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.5 (Darwin)

iD4DBQFL6oi6MkyGM64RGpERAiG0AJinrG6uBlJOydvk/o6igCcmqfghAJ0bWxfK Fe1TjxbxgsbYLNmp+yN5UA==
=xQHl
-----END PGP SIGNATURE-----

#3 lore raw

Hello.

Quoted 2 lines · Koen Kooi

You forgot to bump PR in that patch

Yeah, and I forgot to bump it when testing and pushing it. Done now, thanks.

regards
Stefan Schmidt

#4 lore raw

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Quoted 7 lines · Stefan Schmidt

Hello.

Quoted 2 lines · Koen Kooi

You forgot to bump PR in that patch

Yeah, and I forgot to bump it when testing and pushing it. Done now, thanks.

And you slipped in an imote2 change :)
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.5 (Darwin)

iD8DBQFL67EeMkyGM64RGpERAiD5AKCr1mspUIg3BcPRo4BVcHWVlwyCKACgpBM+ Nq8FovLy7/GkCoQHdvGWXQg=
=UnZ9
-----END PGP SIGNATURE-----

#5 lore raw

Hello.

Quoted 8 lines · Koen Kooi
Quoted 5 lines · Stefan Schmidt
Quoted 2 lines · Koen Kooi

You forgot to bump PR in that patch

Yeah, and I forgot to bump it when testing and pushing it. Done now, thanks.

And you slipped in an imote2 change :)

Doh, really not my day. Linux-zigbee needs some more work before it can go in the tree. Restored to the old kernel provider.

regards
Stefan Schmidt