From: "Pierre-Loup A. Griffais" <pgriffais@valvesoftware.com>
To: Rodrigo Rivas Costa <rodrigorivascosta@gmail.com>,
Jiri Kosina <jikos@kernel.org>,
Benjamin Tissoires <benjamin.tissoires@redhat.com>,
<linux-kernel@vger.kernel.org>, <linux-input@vger.kernel.org>
Subject: Re: [PATCH v2 0/3] new driver for Valve Steam Controller
Date: Tue, 20 Feb 2018 14:29:48 -0800 [thread overview]
Message-ID: <673a2510-7d82-1b24-1085-9f5aa2bb9998@valvesoftware.com> (raw)
In-Reply-To: <20180220193306.28748-1-rodrigorivascosta@gmail.com>
Hi Rodrigo,
Thanks for working on that! I have a few questions and remarks.
For the reverse-engineering part, there's a lot of existing reference in
existing (user-space) drivers for the controllers like sc-controller,
but feel free to reach out if you have any questions. It's overall
pretty simple and there's nothing secret about how it functions; there
are some quirks, however. Nothing secret about it, but also no
documentation, so might as well be... Have you tried deflecting the
analog stick while touching the left trackpad? You'll most likely need
special handling there. How are you planning to expose
enabling/disabling auxiliary data like gyro over wireless?
Will this driver being loaded affect functionality of existing
applications that talk to it through HID directly, like Steam or
sc-controller? Will they be able to keep getting the same HID data they
do today? If so, the extent of the work needed to support it in Steam
might just be to ignore the controller device it's exposing, since Steam
will expose that itself through its own means.
Thanks,
- Pierre-Loup
On 02/20/2018 11:33 AM, Rodrigo Rivas Costa wrote:
> This patchset implements a driver for Valve Steam Controller, based on a
> reverse analysis by myself.
>
> Notable changes from patchset v1:
> * Remove references to USB. Now the interesting interfaces are selected by
> looking for the ones with feature reports.
> * Feature reports buffers are allocated with hid_alloc_report_buf().
> * Feature report length is checked, to avoid overflows in case of
> corrupt/malicius USB devices.
> * Resolution added to the ABS axes.
> * A lot of minor cleanups.
>
> Rodrigo Rivas Costa (3):
> HID: add driver for Valve Steam Controller
> HID: steam: add serial number information.
> HID: steam: add battery device.
>
> drivers/hid/Kconfig | 8 +
> drivers/hid/Makefile | 1 +
> drivers/hid/hid-ids.h | 4 +
> drivers/hid/hid-quirks.c | 4 +
> drivers/hid/hid-steam.c | 703 +++++++++++++++++++++++++++++++++++++++++++++++
> 5 files changed, 720 insertions(+)
> create mode 100644 drivers/hid/hid-steam.c
>
next prev parent reply other threads:[~2018-02-20 22:36 UTC|newest]
Thread overview: 20+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-02-20 19:33 Rodrigo Rivas Costa
2018-02-20 19:33 ` [PATCH v2 1/3] HID: add " Rodrigo Rivas Costa
2018-02-21 5:32 ` Cameron Gutman
2018-02-22 22:54 ` Rodrigo Rivas Costa
2018-02-21 14:13 ` Benjamin Tissoires
2018-02-20 19:33 ` [PATCH v2 2/3] HID: steam: add serial number information Rodrigo Rivas Costa
2018-02-20 19:33 ` [PATCH v2 3/3] HID: steam: add battery device Rodrigo Rivas Costa
2018-02-20 22:29 ` Pierre-Loup A. Griffais [this message]
2018-02-20 23:20 ` [PATCH v2 0/3] new driver for Valve Steam Controller Rodrigo Rivas Costa
2018-02-21 0:09 ` Pierre-Loup A. Griffais
2018-02-21 20:21 ` Rodrigo Rivas Costa
2018-02-22 0:13 ` Pierre-Loup A. Griffais
2018-02-22 9:05 ` Clément VUCHENER
2018-02-22 9:10 ` Benjamin Tissoires
2018-02-22 16:31 ` Rodrigo Rivas Costa
2018-02-22 17:06 ` Benjamin Tissoires
2018-02-22 17:48 ` Rodrigo Rivas Costa
2018-02-23 8:20 ` Benjamin Tissoires
2018-02-21 10:39 ` Clément VUCHENER
2018-02-21 10:57 ` Rodrigo Rivas Costa
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=673a2510-7d82-1b24-1085-9f5aa2bb9998@valvesoftware.com \
--to=pgriffais@valvesoftware.com \
--cc=benjamin.tissoires@redhat.com \
--cc=jikos@kernel.org \
--cc=linux-input@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=rodrigorivascosta@gmail.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®