Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1320682 > unrolled thread

Re: [PATCH-V2 1/1] HID: Force feedback support for the Logitech G920

Started byJiri Kosina <jikos@kernel.org>
First post2016-01-28 14:40 +0100
Last post2016-01-28 14:40 +0100
Articles 1 — 1 participant

Back to article view | Back to linux.kernel

This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by below is the oldest one visible, not the original post.


Contents

  Re: [PATCH-V2 1/1] HID: Force feedback support for the Logitech  G920 Jiri Kosina <jikos@kernel.org> - 2016-01-28 14:40 +0100

#1320682 — Re: [PATCH-V2 1/1] HID: Force feedback support for the Logitech G920

FromJiri Kosina <jikos@kernel.org>
Date2016-01-28 14:40 +0100
SubjectRe: [PATCH-V2 1/1] HID: Force feedback support for the Logitech G920
Message-ID<qVUXM-43r-35@gated-at.bofh.it>
On Tue, 26 Jan 2016, Simon Wood wrote:

> On Sun, January 10, 2016 4:25 pm, Edwin Velds wrote:
> > This patch implements force feedback support for the Logitech
> > G920 Driving Force Racing Wheel. It is a generic implementation
> > of feature 0x8123 of the Logitech HID++ protocol and should be usable for
> > any future devices that implement this feature.
> 
> Apologies for being slow on this (something to do with changing jobs and
> accomodation ;-).
> 
> Doesn't patch cleanly on Linus' HEAD due to:
> --
> commit d8ce9bf5551bfea431893bdd0a943f24a5170828
> Author: Geliang Tang <geliangtang@163.com>
> Date:   Sun Dec 27 17:25:20 2015 +0800
> 
>     HID: move to_hid_device() to hid.h

I've fixed the conflict.

> --
> 
> A couple of white space issues:
> --
> ERROR: trailing whitespace
> #114: FILE: drivers/hid/hid-logitech-hidpp.c:867:
> +static const u8 HIDPP_FF_CONDITION_CMDS[] = { $
> 
> ERROR: trailing whitespace
> #121: FILE: drivers/hid/hid-logitech-hidpp.c:874:
> +static const char *HIDPP_FF_CONDITION_NAMES[] = { $

Fixed as well.

> --
> 
> Note: The wheel _DOES_NOT_ auto switch to Logitech/HID mode (it is stuck
> in XBox since the xpad changes where not included). Michal has an
> alternative approach documented here:

I've ammended the changelog with this information.

> Apart from these few minor points, but seems to work OK - tested against
> G920 with older firmware.
> 
> Tested-by: Simon Wood <simon@mungewell.org>

Applied to for-4.6/logitech, thanks.

(also, I've made hidpp_ff_init() and hidpp_ff_deinit() static, as they 
don't have to be exported outside of the unit).

-- 
Jiri Kosina
SUSE Labs

[toc] | [standalone]


Back to top | Article view | linux.kernel


csiph-web