Re: [RFC][PATCH] USB touch screen driver, all-in-one

From: Todd E. Johnson
Date: Tue Mar 21 2006 - 17:45:19 EST


Howdy,

This has always been a bit of a fuzzy area to me since the 3M / Microtouch controllers support calibration within the device. (i.e.: send raw output, or the devices internally calculated - calibrated - output.). After asking this question long ago, I decided to document it and move on... Is there a userland calibration mechanism for anything in the userspace besides something like QT Embedded?


Regards,

Todd E. Johnson


----- Original Message ----
From: Daniel Ritz <daniel.ritz-ml@xxxxxxxxxxxxxx>
To: Lanslott Gish <lanslott.gish@xxxxxxxxx>
Cc: Greg KH <greg@xxxxxxxxx>; Dmitry Torokhov <dmitry.torokhov@xxxxxxxxx>; linux-kernel <linux-kernel@xxxxxxxxxxxxxxx>; linux-usb <linux-usb-devel@xxxxxxxxxxxxxxxxxxxxx>; tejohnson@xxxxxxxxx; hc@xxxxxxx; vojtech@xxxxxxx
Sent: Tuesday, March 21, 2006 3:22:02 PM
Subject: Re: [RFC][PATCH] USB touch screen driver, all-in-one


On Tuesday 21 March 2006 05.23, Lanslott Gish wrote:
> On 3/18/06, Daniel Ritz <daniel.ritz-ml@xxxxxxxxxxxxxx> wrote:
> > On Friday 17 March 2006 03.46, Lanslott Gish wrote:
> > >
> > > BTW, may i also suggest add more module_param to max_x, max_y, min_x, min_y ?
> > > i think these options is useful, too.
> >
> > no chance. (and if i remember correctly it's possible via evdev ioctl)
> >
>
>
> i could use my device in X without evtouch.o or any X-module or any
> xorg.conf modified, but wrong positions to cursor.
>
> and consider using touchscreens in console(framebuffer) mode, or
> without evtouch in X, or devices do not provide several functions.
>
> suppose we can something in /etc/rc.d/rc.local or some files:
>
> /sbin/modprobe usbtouchscreen swap_xy=1,min_x=123,max_y=456,....
>
> we don't need any calibrate tool or guest several functions from
> devices, and complete this module.
>
>
>
> Anyway, just some suggestions. thx :)

well, all nice and good, but...it doesn't belong into the driver.
it would belong into the input subsystem or evdev. there are other
absolute devices not handled by this driver that need the same
calibration...
but i still think it should be in userspace...

still, it might be worth discussing it with the input hackers.

>
> regards,
>
> Lanslott Gish
>

rgds
-daniel
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/