Touch Screen development

From: Bob Knier (bubbler_at_execpc.com)
Date: 10/25/04


Date: 25 Oct 2004 10:26:01 -0700

I'm developing a touch driver for the 3M SC801 USB 8-wire touch
controller. I have written 2 drivers. The first calibrates the
controller (the results are saved in flash on the controller). The
second driver is a USB input driver.
   I'm having limited sucess. It appears as thought the driver is not
linearized with the screen. Typically the controller responds with a
position between 0 and 1023 for both X and Y. I have been able to
scale this to the screen resolution within the driver (in my case 800
x 600).
   The driver initializes the input device (while probing the device):

touch->input.evbit[0] = BIT(EV_KEY) | BIT(EV_ABS);
touch->input.absbit[0] = BIT(ABS_X) | BIT(ABS_Y);
touch->input.keybit[LONG(BTN_TOUCH)] = BIT(BTN_TOUCH);

touch->input.absmin[ABS_X] = 0;
touch->input.absmax[ABS_X] = 800;
touch->input.absfuzz[ABS_X] = 0;
touch->input.absflat[ABS_X] = 0
touch->input.absmin[ABS_Y] = 0;
touch->input.absmax[ABS_Y] = 600;
touch->input.absfuzz[ABS_Y] = 0;
touch->input.absflat[ABS_Y] = 0

  Is there any additional information on these paramters (absmin,
absmax, absfuzz, etc)? Is there anything else necessary to linearlize
the touch display?

Thanks in advance!

Bob



Relevant Pages

  • SunBlade150 (Sparc64) random system freeze
    ... 00:08.0 Multimedia audio controller: ALi Corporation M5451 PCI AC-Link ... 00:0c.3 USB Controller: Sun Microsystems Computer Corp. RIO USB ... usbcore: registered new driver usbfs ...
    (Debian-User)
  • limited bandwidth with SiS900 onboard NIC
    ... 00:02.7 Multimedia audio controller: Silicon Integrated Systems ... 00:03.0 USB Controller: Silicon Integrated Systems USB 1.0 ... Real Time Clock Driver v1.12 ... hub 1-0:1.0: USB hub found ...
    (Linux-Kernel)
  • Nforce2 sporadic hangs/freezes
    ... USB logitech quickcam express ... 00:02.0 USB Controller: nVidia Corporation nForce2 USB Controller (rev ... Serial driver version 5.05c with MANY_PORTS SHARE_IRQ ...
    (comp.os.linux.hardware)
  • Re: USBIP protocol
    ... 'Client' and 'Server' are totally not clear. ... machine in the closet without USB devices, or is the machine with the ... The controller machine now gets a device 9-2 which accesses the target ... client and hci-hcd is a host controller driver on the server. ...
    (Linux-Kernel)
  • Re: USB Mass Storage Device
    ... chanses are your usb function ... controller driver isn't working properly (If my memory serves me right ... The card has to be inserted before. ...
    (microsoft.public.windowsce.platbuilder)