← Back to team overview

kernel-packages team mailing list archive

[Bug 300143] Re: tablet devices show up as non-functional joysticks

 

To clarify a bit, /proc/bus/input/devices shows:

I: Bus=0003 Vendor=056a Product=0303 Version=0110
N: Name="Wacom Intuos PT M Pad"
P: Phys=usb-0000:0f:00.0-2/input1
S: Sysfs=/devices/pci0000:00/0000:00:1c.1/0000:0f:00.0/usb1/1-2/1-2:1.1/0003:056A:0303.0002/input/input12
U: Uniq=
H: Handlers=mouse2 event8 js0 
B: PROP=0
B: EV=b
B: KEY=800 630000 0 0 0 0
B: ABS=3

-- 
You received this bug notification because you are a member of Kernel
Packages, which is subscribed to linux in Ubuntu.
https://bugs.launchpad.net/bugs/300143

Title:
  tablet devices show up as non-functional joysticks

Status in Linux:
  Fix Released
Status in linux package in Ubuntu:
  Fix Released
Status in linux source package in Intrepid:
  Won't Fix
Status in linux source package in Jaunty:
  Won't Fix

Bug description:
  SRU justification:

  Impact: The joydev driver blacklists some input devices based on a
  keymask. This does not work for the wacom driver as this does not set
  the checked key.

  Fix: Add another key to the blacklist to catch digitizers and tablets.
  Patch prepared to be submitted upstream.

  Testcase: Running X in Intrepid and onwards will result in a broken
  joystick device visible for the tabled. Which is not there after.

  [submitted upstream]

  ---

  joydev blacklists devices that claim BTN_TOUCH (which excludes
  touchscreens and so forth), but not BTN_DIGI (which would exclude
  tablets).  Without this blacklisting, a non-functional joystick device
  appears which interferes with the function of joystick-supporting
  applications.

  This went unnoticed in the past since until recently the wacom driver
  unconditionally claimed BTN_TOUCH whether or the device was a TabletPC
  touchscreen.

  Original report:

  ---

  In Intrepid, the Wacom driver seems to create a /dev/input/js node--
  When X is running, these devices are nonfunctional--they return -32768
  on all axes, according to jstest.

  Unfortunately, this plays havoc with games that use joysticks-- if the
  tablet happens to be joystick zero, the game tries to use it, and ends
  up with a joystick that's stuck at full up-left. Udev hackery might be
  able to solve this, but for the time being i've been relegated to
  manually deleting the tablet's joystick node before starting up any
  games.

To manage notifications about this bug go to:
https://bugs.launchpad.net/linux/+bug/300143/+subscriptions