From mboxrd@z Thu Jan 1 00:00:00 1970 From: Thomas Petazzoni Date: Fri, 30 Mar 2012 17:05:25 +0200 Subject: [Buildroot] x11 and touch screen calibration In-Reply-To: References: Message-ID: <20120330170525.242c92e0@skate> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: buildroot@busybox.net Le Fri, 30 Mar 2012 16:21:15 +0200, Yegor Yefremov a ?crit : > I have a 8" resistive touch screen. The whole stuff is working but > rather inaccurate. ts_calibrate and ts_test give good results and > after patching Android to use pointercal file I have no problems > either. > > How do I get X11 to use the values from /etc/pointercal? For now I'm > using fluxbox, but I'm also open to other managers. Which X.org input driver are you using? If you want to use the values from /etc/pointercal, then you have to go through the tslib X.org input driver. See http://www.pengutronix.de/software/xf86-input-tslib/index_en.html. We have a package for it in Buildroot. Thomas -- Thomas Petazzoni, Free Electrons Kernel, drivers, real-time and embedded Linux development, consulting, training and support. http://free-electrons.com