All of lore.kernel.org
 help / color / mirror / Atom feed
From: "Éric Brunet" <Eric.Brunet@lps.ens.fr>
To: jkosina@suse.cz, linux-input@vger.kernel.org
Subject: Trouble with an HP stylus
Date: Thu, 24 Jul 2014 17:52:27 +0200	[thread overview]
Message-ID: <2325454.r4RE9vHMoF@romarin> (raw)

Hi,

I have a HP EliteBook Revolve 810 (which is a hybrid laptop/tablet) with
the HP active pen that goes with it. I have installed fedora 20 (kernel
3.15.6-200.fc20.x86_64) on this, and the pen does not work out of the box.
Playing with evtest, it appears that the kernel reports the X coordinate in
ABS_X and in ABS_Y, while the Y coordinate goes into ABS_Z and ABS_RX; here
are a few lines of output:

Event: time 1406153996.865044, -------------- SYN_REPORT ------------
Event: time 1406153996.873047, type 3 (EV_ABS), code 0 (ABS_X), value 1087
Event: time 1406153996.873047, type 3 (EV_ABS), code 1 (ABS_Y), value 1087
Event: time 1406153996.873047, type 3 (EV_ABS), code 2 (ABS_Z), value 1599
Event: time 1406153996.873047, type 3 (EV_ABS), code 3 (ABS_RX), value 1599

Of course, XOrg's evdev driver is confused and the pointer is stuck on the
diagonal X=Y.

I guess this hardware needs a new quirk to usbhid, unless there is already
a way to correct it ?

Here is the content of /sys/class/input/event8/device/uevent:

PRODUCT=3/3eb/840b/111
NAME="Atmel Atmel maXTouch Digitizer Pen"
PHYS="usb-0000:00:1a.0-1.1/input0"
UNIQ=""
PROP=0
EV=1b
KEY=c01 1 0 0 0 0
ABS=100000f
MSC=10
MODALIAS=input:b0003v03EBp840Be0111-
e0,1,3,4,k100,140,14A,14B,ra0,1,2,3,18,m4,lsfw

I hope I gave enough information on this. I don't read the mailing list,
please CC any answer.

Thanks,

	Éric Brunet

--
To unsubscribe from this list: send the line "unsubscribe linux-input" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

             reply	other threads:[~2014-07-24 16:23 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-07-24 15:52 Éric Brunet [this message]
2014-07-29  9:50 ` Trouble with an HP stylus Jiri Kosina
2014-07-29 14:41   ` Jiri Kosina
2014-07-29 14:45   ` Benjamin Tissoires
  -- strict thread matches above, loose matches on Subject: below --
2014-07-30 21:50 Éric Brunet

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=2325454.r4RE9vHMoF@romarin \
    --to=eric.brunet@lps.ens.fr \
    --cc=jkosina@suse.cz \
    --cc=linux-input@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.