From: "João Paulo Rechi Vita" <jprvita@gmail.com>
To: Hans de Goede <hdegoede@redhat.com>,
Jiri Kosina <jikos@kernel.org>,
Benjamin Tissoires <benjamin.tissoires@redhat.com>
Cc: linux@endlessm.com,
"João Paulo Rechi Vita" <jprvita@endlessm.com>,
linux-input@vger.kernel.org, linux-kernel@vger.kernel.org
Subject: [PATCH 0/2] HID: multitouch: Support Asus T304UA media keys
Date: Mon, 24 Jul 2017 14:22:23 -0700 [thread overview]
Message-ID: <20170724212225.3426-1-jprvita@endlessm.com> (raw)
The Asus T304UA convertible sports a magnetic detachable keyboard with
touchpad, which is connected over USB. Most of the keyboard hotkeys are exposed
through the same USB interface as the touchpad.
The mapping defined here is the same present in hid-asus, but when using
hid-asus to drive this touchpad, we lose the multitouch funcionality. In my
experiments, when trying to add mark this USB id with QUIRK_IS_MULTITOUCH in
hid-asus, both the keyboard and touchpad stop responding.
I would be happy to re-work this series if some guidance is provided on how
these kind of mappings should be implemented (is it ok to have vendor-specific
mappings in hid-multitouch? how can we keep the mt funcionality if using
hid-asus? how can we bing hid-asus only to the to USB interface?).
Bellow is the output from usb-devices, where If#=0 exports the keyboard and
If#=1 exports the touchpad and media keys.
T: Bus=01 Lev=01 Prnt=01 Port=07 Cnt=03 Dev#= 4 Spd=12 MxCh= 0
D: Ver= 2.00 Cls=00(>ifc ) Sub=00 Prot=00 MxPS=64 #Cfgs= 1
P: Vendor=0b05 ProdID=184a Rev=11.02
S: Product=ASUS Touchpad and G-sensor Keyboard
C: #Ifs= 2 Cfg#= 1 Atr=a0 MxPwr=100mA
I: If#= 0 Alt= 0 #EPs= 1 Cls=03(HID ) Sub=01 Prot=01 Driver=usbhid
I: If#= 1 Alt= 0 #EPs= 1 Cls=03(HID ) Sub=01 Prot=02 Driver=usbhid
João Paulo Rechi Vita (2):
HID: multitouch: Support HID_GD_WIRELESS_RADIO_CTLS
HID: multitouch: Support Asus T304UA media keys
drivers/hid/hid-ids.h | 1 +
drivers/hid/hid-multitouch.c | 48 +++++++++++++++++++++++++++++++++++++++++++-
include/linux/hid.h | 2 ++
3 files changed, 50 insertions(+), 1 deletion(-)
--
2.13.2
next reply other threads:[~2017-07-24 21:22 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-07-24 21:22 João Paulo Rechi Vita [this message]
2017-07-24 21:22 ` [PATCH 1/2] HID: multitouch: Support HID_GD_WIRELESS_RADIO_CTLS João Paulo Rechi Vita
2017-07-24 21:22 ` [PATCH 2/2] HID: multitouch: Support Asus T304UA media keys João Paulo Rechi Vita
2017-08-02 9:28 ` Jiri Kosina
2017-08-02 12:16 ` Benjamin Tissoires
2017-08-03 9:24 ` Jiri Kosina
2017-08-03 15:21 ` João Paulo Rechi Vita
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=20170724212225.3426-1-jprvita@endlessm.com \
--to=jprvita@gmail.com \
--cc=benjamin.tissoires@redhat.com \
--cc=hdegoede@redhat.com \
--cc=jikos@kernel.org \
--cc=jprvita@endlessm.com \
--cc=linux-input@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux@endlessm.com \
/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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®