From mboxrd@z Thu Jan 1 00:00:00 1970 From: Richard Purdie Subject: Re: Getting touchscreen to work on Fujitsu B6210 Date: Tue, 10 Apr 2007 23:40:24 +0100 Message-ID: <1176244824.5809.108.camel@localhost.localdomain> References: <20070221221629.59088fed@localhost> <200704040116.58366.dtor@insightbb.com> <20070405133615.6536eea5@localhost> <200704052227.19831.dtor@insightbb.com> Mime-Version: 1.0 Content-Type: text/plain Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <200704052227.19831.dtor@insightbb.com> Sender: owner-linux-input@atrey.karlin.mff.cuni.cz List-Help: List-Owner: List-Post: List-Unsubscribe: To: Dmitry Torokhov Cc: Stephen Hemminger , linux-input@atrey.karlin.mff.cuni.cz List-Id: linux-input@vger.kernel.org On Thu, 2007-04-05 at 22:27 -0400, Dmitry Torokhov wrote: > > > On Thursday 22 February 2007 01:16, Stephen Hemminger wrote: > > > > I did a little investigation and the touchscreen on B6210 is > > > > attached via the 8250 serial port. I tried enabling it with > > > > inputattach but seem to get garbage. > > > > > > > > I can extract the initialization code from the evtouch driver > > > > to a usermode program and read information from /dev/ttyS0. > > > > > > > > The lifebook psmouse extension won't work because it tries > > > > to grab the 8042 (touchpad) rather than the touch screen. > > Could ypou please load evbug module or run evtest utility and > verify that the driver produces reasonable events? > > > Do I need an Xorg driver for it? > > Mousedev (i.e. /dev/input/{mouseX|mice} will provide crude > emulation of normal mouse; there is evtouch X driver that > should work better. You may also try evdev X driver from > recent releases of x.org; as far as I know they want it to > supesede evtouch eventually. > > There are also solutions based on tslib library that allows > touchscreen calibrating, etc. but I am not familiar with it > so I am CCing Richard Purdie. http://tslib.berlios.de/ It has some test routines (ts_print, ts_test) and a calibration routine (ts_calibrate) which should let you see what's going on. I've found them invaluable for testing kernel touchscreen drivers. Regards, Richard