[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#424743: X11 pen driver doesn't work on tabletPC Fujitsu Stylistic 2300 (fix included)



Package: xserver-xorg-input-fpit
Version: 1:1.1.0-1
Severity: important

On this old TabletPC (Fujitsu Stylistic 2300), the pointing
device is a pen with
     a button on the tip, and another button on the side.
This device is attached to a serial line : ttyS3.
(on a side note, the user needs to configure this line as irq
15 port 0xfce18 and baudbase 115200 with setserial, which is
no obvious)

problem:
neither button is recognized in X ("xev" catch no
buton-related events, a press on a button == strictly nothing
in xev output)
However, mouvements are correctly caught.
using community debugging programs (pentest.c), I checked that
the pen correctly
  sends the buttons events.

Fix:
in source package, file src/xf86Fpit.c , line 91, in "#define
PROXIMITY_BIT 0x20
   " ... replacing 0x20 with 0x40 fixed the problem.
Indeed, according to the comments in the file itself, it was
previously changed the other way round. So my guess is that
other Fujitsu Stylistic may use alternate technology. Some
kind of debconf choice may help.

Thanks for your work,

Jean marc Bourdaret

For the archive, here is my xorg.conf pointer Section:

Section "InputDevice"
        Identifier      "Stylet"
        Driver          "fpit"
        Option          "CorePointer"
        Option          "AlwaysCore"            "true"
        Option          "SendCoreEvents"        "true"
        Option          "Device"                "/dev/ttyS3"
        Option          "BaudRate"              "19200"
        #Option         "Protocol"              "Auto"
        Option          "Buttons"               "2"
        #Option         "Emulate3Buttons"       "true"
        Option          "InvertY"
        Option          "MaximumXPosition"      "6800"
        Option          "MaximumYPosition"      "5400"
        Option          "MinimumXPosition"      "0"
        Option          "MinimumYPosition"      "400"
        #Option         "ButtonMapping"         "1 3 2"
EndSection

-- System Information:
Debian Release: 4.0
  APT prefers stable
  APT policy: (500, 'stable')
Architecture: i386 (i586)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.18-4-486
Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968)

Versions of packages xserver-xorg-input-fpit depends on:
ii  libc6                       2.3.6.ds1-13 GNU C Library:
Shared libraries
ii  xserver-xorg-core           2:1.1.1-21   X.Org X server --
core server

xserver-xorg-input-fpit recommends no packages.

-- no debconf information


Créez votre adresse électronique prenom.nom@laposte.net
1 Go d'espace de stockage, anti-spam et anti-virus intégrés.




Reply to: