Re: [RFC] HID:hid-lg4ff: Delay to allow wheels to center after plug-in

2016-10-27 Thread Simon Wood
On Wed, October 26, 2016 11:00 am, Dmitry Torokhov wrote: > > Yeah, if device happens to be plugged at boot time it will wait that > long before even getting to mount rootfs if driver is built into the > kernel. Not a case I had considered... that would probably be bad. I'll look at coding up a

Re: [RFC] HID:hid-lg4ff: Delay to allow wheels to center after plug-in

2016-10-27 Thread Simon Wood
On Wed, October 26, 2016 11:00 am, Dmitry Torokhov wrote: > > Yeah, if device happens to be plugged at boot time it will wait that > long before even getting to mount rootfs if driver is built into the > kernel. Not a case I had considered... that would probably be bad. I'll look at coding up a

[RFC] HID:hid-lg4ff: Delay to allow wheels to center after plug-in

2016-10-25 Thread Simon Wood
A number of wheels (G27/etc) do a little full right/full left 'dance' when first plugged in. This patch inserts a delay so that this 'dance' is completed before we disable (set to zero) the autocenter spring. A side benefit is that the DFGT was confused without the delay, and is now correctly

[RFC] HID:hid-lg4ff: Delay to allow wheels to center after plug-in

2016-10-25 Thread Simon Wood
A number of wheels (G27/etc) do a little full right/full left 'dance' when first plugged in. This patch inserts a delay so that this 'dance' is completed before we disable (set to zero) the autocenter spring. A side benefit is that the DFGT was confused without the delay, and is now correctly

[Patch-V2 5/6] HID:hid-logitech: Improve Wingman Formula Force GP support

2016-09-18 Thread Simon Wood
Move ForceFeedback support for the Formula Force GP into hid-lgff4 and re-write HID descriptor, thus allowing combined pedals or not as user desires. Signed-off-by: Simon Wood <si...@mungewell.org> --- drivers/hid/hid-lg.c| 59 - drive

[Patch-V2 6/6] HID:hid-logitech: Documentation updates/corrections

2016-09-18 Thread Simon Wood
Signed-off-by: Simon Wood <si...@mungewell.org> --- .../ABI/testing/sysfs-driver-hid-logitech-lg4ff| 6 ++ drivers/hid/Kconfig| 23 +- 2 files changed, 20 insertions(+), 9 deletions(-) diff --git a/Documentation/ABI/testing

[Patch-V2 5/6] HID:hid-logitech: Improve Wingman Formula Force GP support

2016-09-18 Thread Simon Wood
Move ForceFeedback support for the Formula Force GP into hid-lgff4 and re-write HID descriptor, thus allowing combined pedals or not as user desires. Signed-off-by: Simon Wood --- drivers/hid/hid-lg.c| 59 - drivers/hid/hid-lg4ff.c | 2 ++ 2

[Patch-V2 6/6] HID:hid-logitech: Documentation updates/corrections

2016-09-18 Thread Simon Wood
Signed-off-by: Simon Wood --- .../ABI/testing/sysfs-driver-hid-logitech-lg4ff| 6 ++ drivers/hid/Kconfig| 23 +- 2 files changed, 20 insertions(+), 9 deletions(-) diff --git a/Documentation/ABI/testing/sysfs-driver-hid-logitech-lg4ff

[Patch-V2 4/6] HID:hid-logitech: Rewrite of descriptor for all DF wheels

2016-09-18 Thread Simon Wood
off-by: Simon Wood <si...@mungewell.org> --- drivers/hid/hid-lg.c | 15 +-- 1 file changed, 1 insertion(+), 14 deletions(-) diff --git a/drivers/hid/hid-lg.c b/drivers/hid/hid-lg.c index 06f8a5e..ffcf4f1 100644 --- a/drivers/hid/hid-lg.c +++ b/drivers/hid/hid-lg.c @@ -343,8 +343,6 @@ st

[Patch-V2 4/6] HID:hid-logitech: Rewrite of descriptor for all DF wheels

2016-09-18 Thread Simon Wood
off-by: Simon Wood --- drivers/hid/hid-lg.c | 15 +-- 1 file changed, 1 insertion(+), 14 deletions(-) diff --git a/drivers/hid/hid-lg.c b/drivers/hid/hid-lg.c index 06f8a5e..ffcf4f1 100644 --- a/drivers/hid/hid-lg.c +++ b/drivers/hid/hid-lg.c @@ -343,8 +343,6 @@ static __u8 *lg_report_fi

[Patch-V2 2/6] HID:hid-logitech: Add combined pedal support Logitech wheels

2016-09-18 Thread Simon Wood
Add support for reporting a combined accelerator/brake axis for wheels which contain combined data in their HID stream. This includes DF, MOMO, MOMO2 and DFP. Signed-off-by: Simon Wood <si...@mungewell.org> --- drivers/hid/hid-lg.c| 12 drivers/hid/hid-lg4ff.

[Patch-V2 2/6] HID:hid-logitech: Add combined pedal support Logitech wheels

2016-09-18 Thread Simon Wood
Add support for reporting a combined accelerator/brake axis for wheels which contain combined data in their HID stream. This includes DF, MOMO, MOMO2 and DFP. Signed-off-by: Simon Wood --- drivers/hid/hid-lg.c| 12 drivers/hid/hid-lg4ff.c | 32

[Patch-V2 3/6] HID:hid-logitech: Compute combined pedals value

2016-09-18 Thread Simon Wood
Add support for computing a combined accelerator/brake axis for wheels which don't contain combined data in their HID stream. This includes DFGT, G25, G27, G29 and Wii-Wheel. Signed-off-by: Simon Wood <si...@mungewell.org> --- drivers/hid/hid-lg4ff.c | 17 + 1 file chang

[Patch-V2 3/6] HID:hid-logitech: Compute combined pedals value

2016-09-18 Thread Simon Wood
Add support for computing a combined accelerator/brake axis for wheels which don't contain combined data in their HID stream. This includes DFGT, G25, G27, G29 and Wii-Wheel. Signed-off-by: Simon Wood --- drivers/hid/hid-lg4ff.c | 17 + 1 file changed, 17 insertions(+) diff

[Patch-V2 1/6] HID:hid-logitech: Introduce control for combined pedals feature

2016-09-18 Thread Simon Wood
Introduce a dev_attr which can be used to combine the accelerator and brake pedals into a single axis. This is useful for older games which can not handle seperate accelerator and brake. Signed-off-by: Simon Wood <si...@mungewell.org> --- .../ABI/testing/sysfs-driver-hid-logitech-lg4ff

[Patch-V2 1/6] HID:hid-logitech: Introduce control for combined pedals feature

2016-09-18 Thread Simon Wood
Introduce a dev_attr which can be used to combine the accelerator and brake pedals into a single axis. This is useful for older games which can not handle seperate accelerator and brake. Signed-off-by: Simon Wood --- .../ABI/testing/sysfs-driver-hid-logitech-lg4ff| 9 drivers/hid/hid

Re: [PATCH 4/5] HID:hid-logitech: Rewrite of descriptor for all DF wheels

2016-09-14 Thread Simon Wood
On Fri, September 9, 2016 7:34 pm, kbuild test robot wrote: > All warnings (new ones prefixed by >>): > > > drivers/hid/hid-lg.c: In function 'lg_report_fixup': > >>> drivers/hid/hid-lg.c:347:28: warning: unused variable 'rev_min' >>> [-Wunused-variable] >>> > __u16 bcdDevice, rev_maj, rev_min; >

Re: [PATCH 4/5] HID:hid-logitech: Rewrite of descriptor for all DF wheels

2016-09-14 Thread Simon Wood
On Fri, September 9, 2016 7:34 pm, kbuild test robot wrote: > All warnings (new ones prefixed by >>): > > > drivers/hid/hid-lg.c: In function 'lg_report_fixup': > >>> drivers/hid/hid-lg.c:347:28: warning: unused variable 'rev_min' >>> [-Wunused-variable] >>> > __u16 bcdDevice, rev_maj, rev_min; >

[PATCH 5/5] HID:hid-logitech: Documentation updates/corrections

2016-09-09 Thread Simon Wood
Signed-off-by: Simon Wood <si...@mungewell.org> --- Documentation/ABI/testing/sysfs-driver-hid-logitech-lg4ff | 6 ++ drivers/hid/Kconfig | 6 +++--- 2 files changed, 9 insertions(+), 3 deletions(-) diff --git a/Documentation/ABI/testing/sysfs-driv

[PATCH 4/5] HID:hid-logitech: Rewrite of descriptor for all DF wheels

2016-09-09 Thread Simon Wood
off-by: Simon Wood <si...@mungewell.org> --- drivers/hid/hid-lg.c | 13 + 1 file changed, 1 insertion(+), 12 deletions(-) diff --git a/drivers/hid/hid-lg.c b/drivers/hid/hid-lg.c index 06f8a5e..53429c6 100644 --- a/drivers/hid/hid-lg.c +++ b/drivers/hid/hid-lg.c @@ -365,18 +365,7 @@ st

[PATCH 5/5] HID:hid-logitech: Documentation updates/corrections

2016-09-09 Thread Simon Wood
Signed-off-by: Simon Wood --- Documentation/ABI/testing/sysfs-driver-hid-logitech-lg4ff | 6 ++ drivers/hid/Kconfig | 6 +++--- 2 files changed, 9 insertions(+), 3 deletions(-) diff --git a/Documentation/ABI/testing/sysfs-driver-hid-logitech-lg4ff b

[PATCH 4/5] HID:hid-logitech: Rewrite of descriptor for all DF wheels

2016-09-09 Thread Simon Wood
off-by: Simon Wood --- drivers/hid/hid-lg.c | 13 + 1 file changed, 1 insertion(+), 12 deletions(-) diff --git a/drivers/hid/hid-lg.c b/drivers/hid/hid-lg.c index 06f8a5e..53429c6 100644 --- a/drivers/hid/hid-lg.c +++ b/drivers/hid/hid-lg.c @@ -365,18 +365,7 @@ static __u8 *lg_report_fi

[PATCH 2/5] HID:hid-logitech: Add combined pedal support Logitech wheels

2016-09-09 Thread Simon Wood
Add support for reporting a combined accelerator/brake axis for wheels which contain combined data in their HID stream. This includes DF, MOMO, MOMO2 and DFP. Signed-off-by: Simon Wood <si...@mungewell.org> --- drivers/hid/hid-lg.c| 12 drivers/hid/hid-lg4ff.

[PATCH 2/5] HID:hid-logitech: Add combined pedal support Logitech wheels

2016-09-09 Thread Simon Wood
Add support for reporting a combined accelerator/brake axis for wheels which contain combined data in their HID stream. This includes DF, MOMO, MOMO2 and DFP. Signed-off-by: Simon Wood --- drivers/hid/hid-lg.c| 12 drivers/hid/hid-lg4ff.c | 32

[PATCH 3/5] HID:hid-logitech: Compute combined pedals if not supplied

2016-09-09 Thread Simon Wood
Add support for computing a combined accelerator/brake axis for wheels which don't contain combined data in their HID stream. This includes DFGT, G25, G27, G29 and Wii-Wheel. Signed-off-by: Simon Wood <si...@mungewell.org> --- drivers/hid/hid-lg4ff.c | 17 + 1 file chang

[PATCH 1/5] HID:hid-logitech: Introduce dev_attr for combined pedals feature

2016-09-09 Thread Simon Wood
Introduce a dev_attr which can be used to combine the accelerator and brake pedals into a single axis. This is useful for older games which can not handle separate accelerator and brake. Signed-off-by: Simon Wood <si...@mungewell.org> --- .../ABI/testing/sysfs-driver-hid-logitech-lg4ff

[PATCH 1/5] HID:hid-logitech: Introduce dev_attr for combined pedals feature

2016-09-09 Thread Simon Wood
Introduce a dev_attr which can be used to combine the accelerator and brake pedals into a single axis. This is useful for older games which can not handle separate accelerator and brake. Signed-off-by: Simon Wood --- .../ABI/testing/sysfs-driver-hid-logitech-lg4ff| 9 drivers/hid/hid

[PATCH 3/5] HID:hid-logitech: Compute combined pedals if not supplied

2016-09-09 Thread Simon Wood
Add support for computing a combined accelerator/brake axis for wheels which don't contain combined data in their HID stream. This includes DFGT, G25, G27, G29 and Wii-Wheel. Signed-off-by: Simon Wood --- drivers/hid/hid-lg4ff.c | 17 + 1 file changed, 17 insertions(+) diff

Re: RFC: Backport HID-logitech to 3.10?

2016-09-02 Thread Simon Wood
On Fri, September 2, 2016 3:32 am, Benjamin Tissoires wrote: > On Thu, Sep 1, 2016 at 2:56 AM, Simon Wood <si...@mungewell.org> wrote: >> After copying the HEAD 'hid-lg.[ch]' and 'hid-lg4ff.[ch]' from 4.7, >> there is a minimal patch (example attached) required to get

Re: RFC: Backport HID-logitech to 3.10?

2016-09-02 Thread Simon Wood
On Fri, September 2, 2016 3:32 am, Benjamin Tissoires wrote: > On Thu, Sep 1, 2016 at 2:56 AM, Simon Wood wrote: >> After copying the HEAD 'hid-lg.[ch]' and 'hid-lg4ff.[ch]' from 4.7, >> there is a minimal patch (example attached) required to get the build >> working. &

RFC: Backport HID-logitech to 3.10?

2016-08-31 Thread Simon Wood
Hi all, I received a question regarding back-porting the support for the G29 racing wheel to 3.10 (Android in particular), and after some collaborative work we determined that changes between 3.10 and 4.7 are actually pretty minimal and self contained. After copying the HEAD 'hid-lg.[ch]' and

RFC: Backport HID-logitech to 3.10?

2016-08-31 Thread Simon Wood
Hi all, I received a question regarding back-porting the support for the G29 racing wheel to 3.10 (Android in particular), and after some collaborative work we determined that changes between 3.10 and 4.7 are actually pretty minimal and self contained. After copying the HEAD 'hid-lg.[ch]' and

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

2016-01-26 Thread Simon Wood
r points, but seems to work OK - tested against G920 with older firmware. Tested-by: Simon Wood

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

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

Re: [Patch-V2 1/6] INPUT: xpad: Add minimal support for Logitech G920 Wheel

2016-01-06 Thread Simon Wood
On Wed, January 6, 2016 6:47 pm, Dmitry Torokhov wrote: > It is wrong. Aside form the fact that IMO xpad.c is the wrong place for > this code to be in, why are we waiting for the input device to be opened by > userspace before we do the switch instead of doing it immediately? The 'send magic'

Re: [Patch-V2 1/6] INPUT: xpad: Add minimal support for Logitech G920 Wheel

2016-01-06 Thread Simon Wood
On Wed, January 6, 2016 6:47 pm, Dmitry Torokhov wrote: > It is wrong. Aside form the fact that IMO xpad.c is the wrong place for > this code to be in, why are we waiting for the input device to be opened by > userspace before we do the switch instead of doing it immediately? The 'send magic'

[Patch-V3 1/6] INPUT: xpad: switch Logitech G920 Wheel into HID mode

2015-11-19 Thread Simon Wood
When plugged in the Logitech G920 wheel starts with USBID 046d:c261 and behaviors as a vendor specific class. If a 'magic' byte sequence is sent the wheel will detach and reconnect as a HID device with the USBID 046d:c262. Signed-off-by: Simon Wood --- drivers/input/joystick/xpad.c | 16

[Patch-V3 3/6] HID: hid-logitech-hidpp: Add basic support for Logitech G920

2015-11-19 Thread Simon Wood
HID functions work to give input functionality using joystick/event interface. Note: in 'hidpp_probe()' we have to start the hardware to get packets flowing, the same might apply in future for other devices which don't use the unifying protocol. Signed-off-by: Simon Wood --- drivers/hid/hid

[Patch-V3 5/6] HID: Add vendor specific usage pages for Logitech G920

2015-11-19 Thread Simon Wood
The Logitech G920 uses a couple of vendor specific usage pages, which results in incorrect number of axis/buttons being detected. This patch adds these pages to the 'ignore' list. Reported-by: Elias Vanderstuyft Signed-off-by: Simon Wood --- drivers/hid/hid-input.c | 4 include/linux

[Patch-V3 6/6] HID: hid-logitech-hidpp: G920 remove deadzones

2015-11-19 Thread Simon Wood
Ensure that the G920 is not given the default deadzones. Signed-off-by: Simon Wood --- drivers/hid/hid-logitech-hidpp.c | 20 1 file changed, 20 insertions(+) diff --git a/drivers/hid/hid-logitech-hidpp.c b/drivers/hid/hid-logitech-hidpp.c index fc553e3..f2a4811 100644

[Patch-V3 4/6] HID: hid-logitech-hidpp: Add range sysfs for Logitech G920

2015-11-19 Thread Simon Wood
The G920 can adjust the amount of 'turn' it permits, this patch adds a sysfs file 'range' to control this. Signed-off-by: Simon Wood --- drivers/hid/hid-logitech-hidpp.c | 140 ++- 1 file changed, 139 insertions(+), 1 deletion(-) diff --git a/drivers/hid/hid

[Patch-V3 2/6] HID: hid-logitech-hidpp: Add support for very long packets

2015-11-19 Thread Simon Wood
Patch add support for the 'very long' HID++ packets, which are 64 bytes in length. Signed-off-by: Simon Wood --- drivers/hid/hid-logitech-hidpp.c | 59 1 file changed, 48 insertions(+), 11 deletions(-) diff --git a/drivers/hid/hid-logitech-hidpp.c b

[Patch-V3 0/6] HID: Support for the Logitech G920 Wheel

2015-11-19 Thread Simon Wood
are considerably more 'capable' we are working on implementing Force Feedback using the forth-coming KLGD system. Simon Wood (6): INPUT: xpad: switch Logitech G920 Wheel into HID mode HID: hid-logitech-hidpp: Add support for very long packets HID: hid-logitech-hidpp: Add basic support for Logitech G920

Re: [Patch-V2 1/6] INPUT: xpad: Add minimal support for Logitech G920 Wheel

2015-11-19 Thread Simon Wood
On Thu, November 19, 2015 11:31 am, Dmitry Torokhov wrote: > On Thu, Nov 19, 2015 at 02:50:51PM +0100, Jiri Kosina wrote: > >> On Thu, 12 Nov 2015, Simon Wood wrote: >> >> >>> When plugged in the Logitech G920 wheel starts with USBID 046d:c261 >>>

Re: [Patch-V2 1/6] INPUT: xpad: Add minimal support for Logitech G920 Wheel

2015-11-19 Thread Simon Wood
On Thu, November 19, 2015 11:31 am, Dmitry Torokhov wrote: > On Thu, Nov 19, 2015 at 02:50:51PM +0100, Jiri Kosina wrote: > >> On Thu, 12 Nov 2015, Simon Wood wrote: >> >> >>> When plugged in the Logitech G920 wheel starts with USBID 046d:c261 >>>

[Patch-V3 3/6] HID: hid-logitech-hidpp: Add basic support for Logitech G920

2015-11-19 Thread Simon Wood
HID functions work to give input functionality using joystick/event interface. Note: in 'hidpp_probe()' we have to start the hardware to get packets flowing, the same might apply in future for other devices which don't use the unifying protocol. Signed-off-by: Simon Wood <si...@mungewell.

[Patch-V3 5/6] HID: Add vendor specific usage pages for Logitech G920

2015-11-19 Thread Simon Wood
The Logitech G920 uses a couple of vendor specific usage pages, which results in incorrect number of axis/buttons being detected. This patch adds these pages to the 'ignore' list. Reported-by: Elias Vanderstuyft <elias@gmail.com> Signed-off-by: Simon Wood <si...@mungewell.org>

[Patch-V3 4/6] HID: hid-logitech-hidpp: Add range sysfs for Logitech G920

2015-11-19 Thread Simon Wood
The G920 can adjust the amount of 'turn' it permits, this patch adds a sysfs file 'range' to control this. Signed-off-by: Simon Wood <si...@mungewell.org> --- drivers/hid/hid-logitech-hidpp.c | 140 ++- 1 file changed, 139 insertions(+), 1 deletion(-)

[Patch-V3 6/6] HID: hid-logitech-hidpp: G920 remove deadzones

2015-11-19 Thread Simon Wood
Ensure that the G920 is not given the default deadzones. Signed-off-by: Simon Wood <si...@mungewell.org> --- drivers/hid/hid-logitech-hidpp.c | 20 1 file changed, 20 insertions(+) diff --git a/drivers/hid/hid-logitech-hidpp.c b/drivers/hid/hid-logitech-hidpp.c

[Patch-V3 1/6] INPUT: xpad: switch Logitech G920 Wheel into HID mode

2015-11-19 Thread Simon Wood
When plugged in the Logitech G920 wheel starts with USBID 046d:c261 and behaviors as a vendor specific class. If a 'magic' byte sequence is sent the wheel will detach and reconnect as a HID device with the USBID 046d:c262. Signed-off-by: Simon Wood <si...@mungewell.org> --- drivers

[Patch-V3 2/6] HID: hid-logitech-hidpp: Add support for very long packets

2015-11-19 Thread Simon Wood
Patch add support for the 'very long' HID++ packets, which are 64 bytes in length. Signed-off-by: Simon Wood <si...@mungewell.org> --- drivers/hid/hid-logitech-hidpp.c | 59 1 file changed, 48 insertions(+), 11 deletions(-) diff --git a/drivers/h

[Patch-V3 0/6] HID: Support for the Logitech G920 Wheel

2015-11-19 Thread Simon Wood
are considerably more 'capable' we are working on implementing Force Feedback using the forth-coming KLGD system. Simon Wood (6): INPUT: xpad: switch Logitech G920 Wheel into HID mode HID: hid-logitech-hidpp: Add support for very long packets HID: hid-logitech-hidpp: Add basic support for Logitech G920

Depmod issues with libcfs on 4.4 HEAD

2015-11-13 Thread Simon Wood
Hi James, I am still seeing problems with libcfs whilst building a Ubuntu kernel from 4.4 HEAD (0e976064256523ca604bd82048ae0e3402ce2467, as per pull last night 12th Nov). -- INSTALL /home/simon/linux-git/debian/linux-image-4.3.0-g920+/lib/firmware/4.3.0-g920+/cpia2/stv0672_vp4.bin INSTALL

Depmod issues with libcfs on 4.4 HEAD

2015-11-13 Thread Simon Wood
Hi James, I am still seeing problems with libcfs whilst building a Ubuntu kernel from 4.4 HEAD (0e976064256523ca604bd82048ae0e3402ce2467, as per pull last night 12th Nov). -- INSTALL /home/simon/linux-git/debian/linux-image-4.3.0-g920+/lib/firmware/4.3.0-g920+/cpia2/stv0672_vp4.bin INSTALL

[Patch-V2 2/6] HID: hid-logitech-hidpp: Add support for very long packets

2015-11-12 Thread Simon Wood
Patch add support for the 'very long' HID++ packets, which are 64 bytes in length. Signed-off-by: Simon Wood --- drivers/hid/hid-logitech-hidpp.c | 59 1 file changed, 48 insertions(+), 11 deletions(-) diff --git a/drivers/hid/hid-logitech-hidpp.c b

Re: [Patch-V2 0/6] HID: Support for the Logitech G920 Wheel

2015-11-12 Thread Simon Wood
> Note: These patches are applied to Jiri's 'for-next' tree to work with > the other HID++ changes already queued for 4.4. Whoops, left this note in by mistake. These patches are against 4.4 HEAD. Simon. -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a

[Patch-V2 6/6] HID: hid-logitech-hidpp: G920 remove deadzones

2015-11-12 Thread Simon Wood
Ensure that the G920 is not given the default deadzones. Signed-off-by: Simon Wood --- drivers/hid/hid-logitech-hidpp.c | 20 1 file changed, 20 insertions(+) diff --git a/drivers/hid/hid-logitech-hidpp.c b/drivers/hid/hid-logitech-hidpp.c index 80ebd1c..e235f3d 100644

[Patch-V2 4/6] HID: hid-logitech-hidpp: Add range sysfs for Logitech G920

2015-11-12 Thread Simon Wood
The G920 can adjust the amount of 'turn' it permits, this patch adds a sysfs file 'range' to control this. Signed-off-by: Simon Wood --- drivers/hid/hid-logitech-hidpp.c | 140 ++- 1 file changed, 139 insertions(+), 1 deletion(-) diff --git a/drivers/hid/hid

[Patch-V2 5/6] HID: Add vendor specific usage pages for Logitech G920

2015-11-12 Thread Simon Wood
The Logitech G920 uses a couple of vendor specific usage pages, which results in incorrect number of axis/buttons being detected. This patch adds these pages to the 'ignore' list. Reported-by: Elias Vanderstuyft Signed-off-by: Simon Wood --- drivers/hid/hid-input.c | 4 include/linux

[Patch-V2 3/6] HID: hid-logitech-hidpp: Add basic support for Logitech G920

2015-11-12 Thread Simon Wood
HID functions work to give input functionality using joystick/event interface. Note: in 'hidpp_probe()' we have to start the hardware to get packets flowing, the same might apply in future for other devices which don't use the unifying protocol. Signed-off-by: Simon Wood --- drivers/hid/hid

[Patch-V2 1/6] INPUT: xpad: Add minimal support for Logitech G920 Wheel

2015-11-12 Thread Simon Wood
When plugged in the Logitech G920 wheel starts with USBID 046d:c261 and behaviors as a vendor specific class. If a 'magic' byte sequence is sent the wheel will detach and reconnect as a HID device with the USBID 046d:c262. Signed-off-by: Simon Wood --- drivers/input/joystick/xpad.c | 16

[Patch-V2 0/6] HID: Support for the Logitech G920 Wheel

2015-11-12 Thread Simon Wood
Patch-V2 tweaked as per Benjamin's requests. This series of patches provide input support for the Logitech G920 gaming wheel. This wheel is internally different from the other Logitech wheels; when first connected it is in X-Box mode and can instructed to switch to HID with a 'magic command'

[Patch-V2 3/6] HID: hid-logitech-hidpp: Add basic support for Logitech G920

2015-11-12 Thread Simon Wood
HID functions work to give input functionality using joystick/event interface. Note: in 'hidpp_probe()' we have to start the hardware to get packets flowing, the same might apply in future for other devices which don't use the unifying protocol. Signed-off-by: Simon Wood <si...@mungewell.

[Patch-V2 1/6] INPUT: xpad: Add minimal support for Logitech G920 Wheel

2015-11-12 Thread Simon Wood
When plugged in the Logitech G920 wheel starts with USBID 046d:c261 and behaviors as a vendor specific class. If a 'magic' byte sequence is sent the wheel will detach and reconnect as a HID device with the USBID 046d:c262. Signed-off-by: Simon Wood <si...@mungewell.org> --- drivers

[Patch-V2 2/6] HID: hid-logitech-hidpp: Add support for very long packets

2015-11-12 Thread Simon Wood
Patch add support for the 'very long' HID++ packets, which are 64 bytes in length. Signed-off-by: Simon Wood <si...@mungewell.org> --- drivers/hid/hid-logitech-hidpp.c | 59 1 file changed, 48 insertions(+), 11 deletions(-) diff --git a/drivers/h

[Patch-V2 6/6] HID: hid-logitech-hidpp: G920 remove deadzones

2015-11-12 Thread Simon Wood
Ensure that the G920 is not given the default deadzones. Signed-off-by: Simon Wood <si...@mungewell.org> --- drivers/hid/hid-logitech-hidpp.c | 20 1 file changed, 20 insertions(+) diff --git a/drivers/hid/hid-logitech-hidpp.c b/drivers/hid/hid-logitech-hidpp.c

[Patch-V2 5/6] HID: Add vendor specific usage pages for Logitech G920

2015-11-12 Thread Simon Wood
The Logitech G920 uses a couple of vendor specific usage pages, which results in incorrect number of axis/buttons being detected. This patch adds these pages to the 'ignore' list. Reported-by: Elias Vanderstuyft <elias@gmail.com> Signed-off-by: Simon Wood <si...@mungewell.org>

[Patch-V2 0/6] HID: Support for the Logitech G920 Wheel

2015-11-12 Thread Simon Wood
Patch-V2 tweaked as per Benjamin's requests. This series of patches provide input support for the Logitech G920 gaming wheel. This wheel is internally different from the other Logitech wheels; when first connected it is in X-Box mode and can instructed to switch to HID with a 'magic command'

Re: [Patch-V2 0/6] HID: Support for the Logitech G920 Wheel

2015-11-12 Thread Simon Wood
> Note: These patches are applied to Jiri's 'for-next' tree to work with > the other HID++ changes already queued for 4.4. Whoops, left this note in by mistake. These patches are against 4.4 HEAD. Simon. -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a

[Patch-V2 4/6] HID: hid-logitech-hidpp: Add range sysfs for Logitech G920

2015-11-12 Thread Simon Wood
The G920 can adjust the amount of 'turn' it permits, this patch adds a sysfs file 'range' to control this. Signed-off-by: Simon Wood <si...@mungewell.org> --- drivers/hid/hid-logitech-hidpp.c | 140 ++- 1 file changed, 139 insertions(+), 1 deletion(-)

Re: [PATCH 6/6] HID: hid-logitech-hidpp: G920 remove deadzones

2015-11-10 Thread Simon Wood
> With this change, and the nitpicks in the other patches, the series is: > Reviewed-by: Benjamin Tissoires Have Patch-V2 in progress. Other build problems stopped in last night but trying again with new pull - hopefully they are fixed. Simon -- To unsubscribe from this list: send the line

Re: [PATCH 6/6] HID: hid-logitech-hidpp: G920 remove deadzones

2015-11-10 Thread Simon Wood
> With this change, and the nitpicks in the other patches, the series is: > Reviewed-by: Benjamin Tissoires Have Patch-V2 in progress. Other build problems stopped in last night but trying again with new pull - hopefully they are fixed. Simon -- To unsubscribe

[PATCH 4/6] HID: hid-logitech-hidpp: Add range sysfs for Logitech G920

2015-11-07 Thread Simon Wood
The G920 can adjust the amount of 'turn' it permits, this patch adds a sysfs file 'range' to control this. Signed-off-by: Simon Wood --- drivers/hid/hid-logitech-hidpp.c | 140 ++- 1 file changed, 139 insertions(+), 1 deletion(-) diff --git a/drivers/hid/hid

[PATCH 3/6] HID: hid-logitech-hidpp: Add basic support for Logitech G920

2015-11-07 Thread Simon Wood
HID functions work to give input functionality using joystick/event interface. Signed-off-by: Simon Wood --- drivers/hid/hid-core.c | 1 + drivers/hid/hid-ids.h| 1 + drivers/hid/hid-logitech-hidpp.c | 69 +++- 3 files changed, 56

[PATCH 5/6] HID: Add vendor specific usage pages for Logitech G920

2015-11-07 Thread Simon Wood
The Logitech G920 uses a couple of vendor specific usage pages, which results in incorrect number of axis/buttons being detected. This patch adds these pages to the 'ignore' list. Reported-by: Elias Vanderstuyft Signed-off-by: Simon Wood --- drivers/hid/hid-input.c | 2 +- include/linux/hid.h

[PATCH 1/6] INPUT: xpad: Add minimal support for Logitech G920 Wheel

2015-11-07 Thread Simon Wood
When plugged in the Logitech G920 wheel starts with USBID 046d:c261 and behaviors as a vendor specific class. If a 'magic' byte sequence is sent the wheel will detach and reconnect as a HID device with the USBID 046d:c262. Signed-off-by: Simon Wood --- drivers/input/joystick/xpad.c | 16

[PATCH 2/6] HID: hid-logitech-hidpp: Add support for very long packets

2015-11-07 Thread Simon Wood
Patch add support for the 'very long' HID++ packets, which are 64 bytes in length. Signed-off-by: Simon Wood --- drivers/hid/hid-logitech-hidpp.c | 59 1 file changed, 48 insertions(+), 11 deletions(-) diff --git a/drivers/hid/hid-logitech-hidpp.c b

[PATCH 6/6] HID: hid-logitech-hidpp: G920 remove deadzones

2015-11-07 Thread Simon Wood
Ensure that the G920 is not given the default deadzones. Signed-off-by: Simon Wood --- drivers/hid/hid-logitech-hidpp.c | 22 ++ 1 file changed, 22 insertions(+) diff --git a/drivers/hid/hid-logitech-hidpp.c b/drivers/hid/hid-logitech-hidpp.c index 03e01be..853b9c2 100644

HID: Support for the Logitech G920 wheel

2015-11-07 Thread Simon Wood
This series of patches provide input support for the Logitech G920 gaming wheel. This wheel is internally different from the other Logitech wheels; when first connected it is in X-Box mode and can instructed to switch to HID with a 'magic command' (1st patch). Once the wheel reconnects in HID

[PATCH 6/6] HID: hid-logitech-hidpp: G920 remove deadzones

2015-11-07 Thread Simon Wood
Ensure that the G920 is not given the default deadzones. Signed-off-by: Simon Wood <si...@mungewell.org> --- drivers/hid/hid-logitech-hidpp.c | 22 ++ 1 file changed, 22 insertions(+) diff --git a/drivers/hid/hid-logitech-hidpp.c b/drivers/hid/hid-logitech-hidpp.c

HID: Support for the Logitech G920 wheel

2015-11-07 Thread Simon Wood
This series of patches provide input support for the Logitech G920 gaming wheel. This wheel is internally different from the other Logitech wheels; when first connected it is in X-Box mode and can instructed to switch to HID with a 'magic command' (1st patch). Once the wheel reconnects in HID

[PATCH 1/6] INPUT: xpad: Add minimal support for Logitech G920 Wheel

2015-11-07 Thread Simon Wood
When plugged in the Logitech G920 wheel starts with USBID 046d:c261 and behaviors as a vendor specific class. If a 'magic' byte sequence is sent the wheel will detach and reconnect as a HID device with the USBID 046d:c262. Signed-off-by: Simon Wood <si...@mungewell.org> --- drivers

[PATCH 2/6] HID: hid-logitech-hidpp: Add support for very long packets

2015-11-07 Thread Simon Wood
Patch add support for the 'very long' HID++ packets, which are 64 bytes in length. Signed-off-by: Simon Wood <si...@mungewell.org> --- drivers/hid/hid-logitech-hidpp.c | 59 1 file changed, 48 insertions(+), 11 deletions(-) diff --git a/drivers/h

[PATCH 4/6] HID: hid-logitech-hidpp: Add range sysfs for Logitech G920

2015-11-07 Thread Simon Wood
The G920 can adjust the amount of 'turn' it permits, this patch adds a sysfs file 'range' to control this. Signed-off-by: Simon Wood <si...@mungewell.org> --- drivers/hid/hid-logitech-hidpp.c | 140 ++- 1 file changed, 139 insertions(+), 1 deletion(-)

[PATCH 5/6] HID: Add vendor specific usage pages for Logitech G920

2015-11-07 Thread Simon Wood
The Logitech G920 uses a couple of vendor specific usage pages, which results in incorrect number of axis/buttons being detected. This patch adds these pages to the 'ignore' list. Reported-by: Elias Vanderstuyft <elias@gmail.com> Signed-off-by: Simon Wood <si...@mungewell.org>

[PATCH 3/6] HID: hid-logitech-hidpp: Add basic support for Logitech G920

2015-11-07 Thread Simon Wood
HID functions work to give input functionality using joystick/event interface. Signed-off-by: Simon Wood <si...@mungewell.org> --- drivers/hid/hid-core.c | 1 + drivers/hid/hid-ids.h| 1 + drivers/hid/hid-logitech-hidpp.c | 69 +++--

[PATCH 1/2] HID: hid-logitech: Simplify wheel detection scheme

2015-11-02 Thread Simon Wood
Simplfy how hid-logitech driver detects the native mode of the wheel, done by looking at the USB-ID revision and comparing bit mask. Signed-off-by: Simon Wood --- drivers/hid/hid-lg4ff.c | 70 - 1 file changed, 28 insertions(+), 42 deletions

[PATCH 2/2] HID: hid-logitech: Add support for G29

2015-11-02 Thread Simon Wood
At present the G29 is mis-identified as a DFGT, this patch ensures that the wheel is correctly detected and allows setting the LEDs and turning range via the '/sys' interface. This wheel can also emulate other types of Logitech wheels. Signed-off-by: Simon Wood --- drivers/hid/hid-core.c | 1

[PATCH 1/2] HID: hid-logitech: Simplify wheel detection scheme

2015-11-02 Thread Simon Wood
Simplfy how hid-logitech driver detects the native mode of the wheel, done by looking at the USB-ID revision and comparing bit mask. Signed-off-by: Simon Wood <si...@mungewell.org> --- drivers/hid/hid-lg4ff.c | 70 - 1 file changed, 28 inse

[PATCH 2/2] HID: hid-logitech: Add support for G29

2015-11-02 Thread Simon Wood
At present the G29 is mis-identified as a DFGT, this patch ensures that the wheel is correctly detected and allows setting the LEDs and turning range via the '/sys' interface. This wheel can also emulate other types of Logitech wheels. Signed-off-by: Simon Wood <si...@mungewell.org> --- d

Re: Re: [Regression] 4.3.0rc4 through rc7: No LCD backlight on Thinkpad T60P

2015-10-30 Thread Simon Wood
On Thu, October 29, 2015 8:39 pm, Simon Wood wrote: > On Thu, October 29, 2015 6:50 pm, Michel Dänzer wrote: > > >>>> So problem (no LCD backlight) must have been introduced between >>>> those. >>> >>> Well this looks like it might have someth

Re: Re: [Regression] 4.3.0rc4 through rc7: No LCD backlight on Thinkpad T60P

2015-10-30 Thread Simon Wood
On Thu, October 29, 2015 8:39 pm, Simon Wood wrote: > On Thu, October 29, 2015 6:50 pm, Michel Dänzer wrote: > > >>>> So problem (no LCD backlight) must have been introduced between >>>> those. >>> >>> Well this looks like it might have someth

Re: Re: [Regression] 4.3.0rc4 through rc7: No LCD backlight on Thinkpad T60P

2015-10-29 Thread Simon Wood
On Thu, October 29, 2015 6:50 pm, Michel Dänzer wrote: >>> So problem (no LCD backlight) must have been introduced between >>> those. >> >> Well this looks like it might have something to do with it will >> attempt a build just before it. -- >> commit 4281f46ef839050d2ef60348f661eb463c21cc2e

Re: [Regression] 4.3.0rc4 through rc7: No LCD backlight on Thinkpad T60P

2015-10-29 Thread Simon Wood
On Thu, October 29, 2015 8:26 am, Simon Wood wrote: >> 4.3.0rc6 - bad >> 4.3.0rc7 - bad >> 4.3.0rc2 - good >> 4.3.0rc4 - bad (049e6dde7e57f0054fdc49102e7ef4830c698b46) >> 4.3.0rc3 - good (9ffecb10283508260936b96022d4ee43a7798b4c) > -- > commit 4281f46ef83

Re: [Regression] 4.3.0rc4 through rc7: No LCD backlight on Thinkpad T60P

2015-10-29 Thread Simon Wood
On Thu, October 29, 2015 8:07 am, Simon Wood wrote: > >> Well, I can confirm that the patch stopped the Oops - but unfortunatly >> the screen is still dark. >> >> Also, Oops _does_ happen with rc2 but the screens is OK with that... >> Back >> to looki

[Regression] 4.3.0rc4 through rc7: No LCD backlight on Thinkpad T60P

2015-10-29 Thread Simon Wood
> Well, I can confirm that the patch stopped the Oops - but unfortunatly > the screen is still dark. > > Also, Oops _does_ happen with rc2 but the screens is OK with that... Back > to looking through the logs. I couldn't see anything of note in the syslog, so attempted to bisect the problem some

[Regression] 4.3.0rc4 through rc7: No LCD backlight on Thinkpad T60P

2015-10-29 Thread Simon Wood
> Well, I can confirm that the patch stopped the Oops - but unfortunatly > the screen is still dark. > > Also, Oops _does_ happen with rc2 but the screens is OK with that... Back > to looking through the logs. I couldn't see anything of note in the syslog, so attempted to bisect the problem some

Re: [Regression] 4.3.0rc4 through rc7: No LCD backlight on Thinkpad T60P

2015-10-29 Thread Simon Wood
On Thu, October 29, 2015 8:07 am, Simon Wood wrote: > >> Well, I can confirm that the patch stopped the Oops - but unfortunatly >> the screen is still dark. >> >> Also, Oops _does_ happen with rc2 but the screens is OK with that... >> Back >> to looki

Re: [Regression] 4.3.0rc4 through rc7: No LCD backlight on Thinkpad T60P

2015-10-29 Thread Simon Wood
On Thu, October 29, 2015 8:26 am, Simon Wood wrote: >> 4.3.0rc6 - bad >> 4.3.0rc7 - bad >> 4.3.0rc2 - good >> 4.3.0rc4 - bad (049e6dde7e57f0054fdc49102e7ef4830c698b46) >> 4.3.0rc3 - good (9ffecb10283508260936b96022d4ee43a7798b4c) > -- > commit 4281f46ef83

Re: Re: [Regression] 4.3.0rc4 through rc7: No LCD backlight on Thinkpad T60P

2015-10-29 Thread Simon Wood
On Thu, October 29, 2015 6:50 pm, Michel Dänzer wrote: >>> So problem (no LCD backlight) must have been introduced between >>> those. >> >> Well this looks like it might have something to do with it will >> attempt a build just before it. -- >> commit 4281f46ef839050d2ef60348f661eb463c21cc2e

  1   2   3   >