Kernel doesn't respond to stylus properly

Bug #1418130 reported by Andrew
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
linux (Ubuntu)
Expired
Medium
Unassigned

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)

Revision history for this message
Andrew (a-andrew-n) wrote :
Revision history for this message
Joseph Salisbury (jsalisbury) wrote :

Would it be possible for you to test the latest upstream kernel? Refer to https://wiki.ubuntu.com/KernelMainlineBuilds . Please test the latest v3.19 kernel[0].

If this bug is fixed in the mainline kernel, please add the following tag 'kernel-fixed-upstream'.

If the mainline kernel does not fix this bug, please add the tag: 'kernel-bug-exists-upstream'.

If you are unable to test the mainline kernel, for example it will not boot, please add the tag: 'kernel-unable-to-test-upstream'.
Once testing of the upstream kernel is complete, please mark this bug as "Confirmed".

Thanks in advance.

[0] http://kernel.ubuntu.com/~kernel-ppa/mainline/v3.19-rc7-vivid/

tags: added: kernel-da-key
Changed in linux-lts-utopic (Ubuntu):
importance: Undecided → Medium
affects: linux-lts-utopic (Ubuntu) → linux (Ubuntu)
Revision history for this message
Brad Figg (brad-figg) wrote : Missing required logs.

This bug is missing log files that will aid in diagnosing the problem. From a terminal window please run:

apport-collect 1418130

and then change the status of the bug to 'Confirmed'.

If, due to the nature of the issue you have encountered, you are unable to run this command, please add a comment stating that fact and change the bug status to 'Confirmed'.

This change has been made by an automated script, maintained by the Ubuntu Kernel Team.

Changed in linux (Ubuntu):
status: New → Incomplete
Andrew (a-andrew-n)
Changed in linux (Ubuntu):
status: Incomplete → Confirmed
penalvch (penalvch)
Changed in linux (Ubuntu):
status: Confirmed → Incomplete
Revision history for this message
Andrew (a-andrew-n) wrote :

Confirmed that tracking works with 3.19 rc7

tags: added: kernel-fixed-upstream
Changed in linux (Ubuntu):
status: Incomplete → Confirmed
Revision history for this message
penalvch (penalvch) wrote :

Andrew, please execute the following command, as it will automatically gather debugging information, in a terminal:
apport-collect 1418130

Changed in linux (Ubuntu):
status: Confirmed → Incomplete
Revision history for this message
Andrew (a-andrew-n) wrote :

Chris, I tried running apport-collect 1418130 but it crapped out, stating that dpkg-query says there are "no packages matching linux" installed.

Incidentally, my system now panics at random when I resume from suspend. File a new bug report, or...?

Revision history for this message
penalvch (penalvch) wrote :

Andrew, it would be best to run the command in the latest release of Ubuntu (live environment is fine) via http://cdimage.ubuntu.com/daily-live/current/ .

Revision history for this message
Launchpad Janitor (janitor) wrote :

[Expired for linux (Ubuntu) because there has been no activity for 60 days.]

Changed in linux (Ubuntu):
status: Incomplete → Expired
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.