← Back to team overview

kernel-packages team mailing list archive

[Bug 1418130] Re: Kernel doesn't respond to stylus properly

 

** Changed in: linux (Ubuntu)
       Status: Confirmed => Incomplete

-- 
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/1418130

Title:
  Kernel doesn't respond to stylus properly

Status in linux package in Ubuntu:
  Incomplete

Bug description:
  Expected behavior: Mouse follows stylus.
  What actually happens: Mouse moves with X=Y no matter where the stylus is.

  Detail:
  I have an HP Revolve 810 G2 Tablet PC, it uses an Atmel MaxTouch digitizer for both finger and stylus-based input.
  I'm running Xubuntu 14.04 x64. Finger touch works fine, once calibrated. However, the stylus moves diagonally from upper left to lower right no matter where on the screen I put the tip of the stylus.

  Fix:
  I was able to fix this problem by building a raw linux kernel after editing "drivers/hid/hid-input.c", applying a patch like:

  static void hidinput_configure_usage(struct hid_input *hidinput, struct hid_fiel if (field->flags & HID_MAIN_ITEM_RELATIVE)
   map_rel(usage->hid & 0xf);
                           else
   -                               map_abs(usage->hid & 0xf);
   +                              map_abs_clear(usage->hid & 0xf);
                           break;
   
                   case HID_GD_HATSWITCH: 

  Obviously, this kernel causes a lot of issues without Ubuntu's patches
  for X and whatnot, so this is not really useable other than for
  testing that the pen works fine with this kernel. Built on kernel
  3.18.4, but it should work for any kernel in the 3.x branch.

  ProblemType: Bug
  DistroRelease: Ubuntu 14.04
  Package: linux-image-3.16.0-30-generic 3.16.0-30.40~14.04.1
  ProcVersionSignature: Ubuntu 3.16.0-30.40~14.04.1-generic 3.16.7-ckt3
  Uname: Linux 3.16.0-30-generic x86_64
  ApportVersion: 2.14.1-0ubuntu3.6
  Architecture: amd64
  Date: Wed Feb  4 12:03:06 2015
  InstallationDate: Installed on 2014-10-05 (121 days ago)
  InstallationMedia: Xubuntu 14.04 LTS "Trusty Tahr" - Release amd64 (20140416.2)
  ProcEnviron:
   LANGUAGE=en_US
   TERM=screen
   PATH=(custom, no user)
   LANG=en_US.UTF-8
   SHELL=/bin/bash
  SourcePackage: linux-lts-utopic
  UpgradeStatus: No upgrade log present (probably fresh install)

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


References