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

2016-01-06 Thread Simon Wood
have the time to implement/test at the moment. If some else does that would be good, can we make sure that the kconfig/makefile stuff uses same/sensible HID_CONFIGs? Simon -- To unsubscribe from this list: send the line "unsubscribe linux-input" in the body of a message to majord..

[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/x

[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

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

2015-11-19 Thread Simon Wood
The normal 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 W

[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 inc

[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 --g

[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 0/6] HID: Support for the Logitech G920 Wheel

2015-11-19 Thread Simon Wood
. The future... as the internals of the wheel 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

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 >>> and

Valve's "Steam Controller" behaves strangely

2015-11-12 Thread Simon Wood
fa 9f 13 54 80 0a f6 df e5 3f 01 00 01 3c 23 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 47 a7 c2 bc fa 9f 13 54 80 0a f6 df e5 3f -- Attached are some quick notes from 15mins playing with the device. Cheer

[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 --g

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 lin

[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 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 inc

[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/x

[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

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

2015-11-12 Thread Simon Wood
The normal 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 W

[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' (1

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 th

[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 --g

[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/x

[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

[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

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

2015-11-07 Thread Simon Wood
The normal 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 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 mo

[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/l

[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-co

[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

[RFC 1/5] INPUT: xpad: Add minimal support for Logitech G920 Wheel

2015-10-23 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. --- drivers/input/joystick/xpad.c | 16 1 file changed, 16

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

2015-10-23 Thread Simon Wood
This patch adds basic support for the Logitech G920 wheel when in HID mode. This wheel 'speaks' the HID++ protocol, and therefor is driven with hid-logitech-hidpp. At this stage the driver only shows that it can communicate with the wheel by outputting the name discovered over HID++. The normal H

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

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

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

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

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

2015-10-23 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 --- drivers/hid/hid-input.c | 2 +- include/linux/hid.h | 2 ++ 2 files changed

Re: [PATCH] HID: hid-lg: Add USBID for Logitech G29 Wheel

2015-09-28 Thread Simon Wood
ernel: [11080.134339] logitech: probe of 0003:046D:C24F.0003 failed with error -1 -- Any suggestions as to how we can 'ignore' or unbind the 2nd interface in order to only work with the 1st? Simon G29 connected, appears as DFEX then we send command to get it to reconnect -- Sep 28 12:30:

Re: [PATCH 0/2] HID: logitech-hidpp: allow to disable tap to click on the K400

2015-09-03 Thread simon
> The first patch might conflict with Simon's current work in progress, so > that's why Simon is CC-ed to it. Thanks for the 'heads-up', I think that the HID++ stuff I have in progress won't be ready until the 4.4 cycle, Cheers, Simon -- To unsubscribe from this l

Re: [PATCH] HID: hid-lg: Add USBID for Logitech G29 Wheel

2015-09-02 Thread simon
as G29 (900' turn). The mode should be selectable something like -- root@retrobox:/home/simon# cd /sys/bus/hid/devices/0003\:046D\:C29B.0002 root@retrobox:/sys/bus/hid/devices/0003:046D:C29B.0002# ls alternate_modes country driver hidraw input leds modalias power range real_id report

Re: [PATCH v2] ARM: shmobile: kzm9g dts: Use adxl345-specific compatible property

2015-08-13 Thread Simon Horman
On Fri, Aug 14, 2015 at 12:31:09AM +0300, Laurent Pinchart wrote: > On Thursday 13 August 2015 11:26:32 Geert Uytterhoeven wrote: > > On Thu, Aug 13, 2015 at 2:05 AM, Simon Horman wrote: > > > On Wed, Jul 08, 2015 at 09:51:49AM +0900, Simon Horman wrote: > > >> On T

Re: [PATCH v2] ARM: shmobile: kzm9g dts: Use adxl345-specific compatible property

2015-08-12 Thread Simon Horman
On Wed, Jul 08, 2015 at 09:51:49AM +0900, Simon Horman wrote: > On Tue, Jul 07, 2015 at 09:56:29AM +0300, Laurent Pinchart wrote: > > Hi Simon, > > > > On Tuesday 07 July 2015 09:26:21 Simon Horman wrote: > > > On Mon, Jul 06, 2015 at 04:29:33PM +0300, Laurent Pincha

[PATCH] HID: hid-lg: Add USBID for Logitech G29 Wheel

2015-07-23 Thread Simon Wood
for adjust HID descriptor and handle switching between emulation and native modes. Signed-off-by: Simon Wood --- drivers/hid/hid-ids.h | 1 + drivers/hid/hid-lg.c | 2 ++ 2 files changed, 3 insertions(+) diff --git a/drivers/hid/hid-ids.h b/drivers/hid/hid-ids.h index b04b082..653bfd4 100644

Re: [PATCH] hid: sony: Drop invalid Sixaxis input reports

2015-07-23 Thread simon
were reported (*) over the on Bluetooth list, and appear in both the HID and the HCI streams (suggesting that they are really sent from device). They are not seen on the USB connection. Dropping them in 'raw_event()' seems a sensible approach, Simon. * http://www.spinics.net/lis

[PATCH] HID: hid-sony: Navigator Axis for L1 button

2015-07-09 Thread Simon Wood
Patch HID report descriptor to add joystick axis for the L1 button (previously missing). Signed-off-by: Simon Wood --- drivers/hid/hid-sony.c | 9 - 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/drivers/hid/hid-sony.c b/drivers/hid/hid-sony.c index ed2f008..69586b3

Re: [PATCH v2] ARM: shmobile: kzm9g dts: Use adxl345-specific compatible property

2015-07-07 Thread Simon Horman
On Tue, Jul 07, 2015 at 09:56:29AM +0300, Laurent Pinchart wrote: > Hi Simon, > > On Tuesday 07 July 2015 09:26:21 Simon Horman wrote: > > On Mon, Jul 06, 2015 at 04:29:33PM +0300, Laurent Pinchart wrote: > > > On Monday 06 July 2015 12:55:32 Geert Uytterhoeven wr

Re: [PATCH v2] ARM: shmobile: kzm9g dts: Use adxl345-specific compatible property

2015-07-06 Thread Simon Horman
On Mon, Jul 06, 2015 at 04:29:33PM +0300, Laurent Pinchart wrote: > Hi Geert, > > Thank you for the patch. > > On Monday 06 July 2015 12:55:32 Geert Uytterhoeven wrote: > > Replace the deprecated generic "adi,adxl34x" compatible value by the > > adxl345-specific "adi,adxl345" value, cfr. commit e

Re: [RFC_v2 1/4] HID: hid-sony: Add basic IIO support for SixAxis Controller

2015-06-24 Thread simon
x27;, but is the 117 taken from the accelerometer > datasheet? What is it? And BTW I get 9.80665/117 = 0.083817521 The '117' was taken from experimentation, average value accessed across all accelerometer axis on a stationary device. It does appear however that I can not use a calculator ;

Re: [RFC_v2 0/4] HID: hid-sony: Add IIO Suport for Motion Controllers

2015-06-24 Thread simon
> the SixAxis also have a gyroscope, I don't know how useful/reliable it > is, but it's there. I had a recollection that there was a gyro, but didn't see it when looking at the 'hidraw' stream. It might be affected by the 'multi-touch axes' bug. Simon -

[RFC_v2 3/4] HID: hid-sony: Add IIO trigger support for SixAxis Controller

2015-06-23 Thread Simon Wood
--- drivers/hid/hid-sony.c | 71 -- 1 file changed, 69 insertions(+), 2 deletions(-) diff --git a/drivers/hid/hid-sony.c b/drivers/hid/hid-sony.c index b7a7f0d..ce0526d 100644 --- a/drivers/hid/hid-sony.c +++ b/drivers/hid/hid-sony.c @@ -39,9 +39,11

[RFC_v2 2/4] HID: hid-sony: Add IIO buffer support for SixAxis Controller

2015-06-23 Thread Simon Wood
--- drivers/hid/hid-sony.c | 50 +++--- 1 file changed, 47 insertions(+), 3 deletions(-) diff --git a/drivers/hid/hid-sony.c b/drivers/hid/hid-sony.c index c4686e3..b7a7f0d 100644 --- a/drivers/hid/hid-sony.c +++ b/drivers/hid/hid-sony.c @@ -37,6 +37,11

[RFC_v2 0/4] HID: hid-sony: Add IIO Suport for Motion Controllers

2015-06-23 Thread Simon Wood
This series of patches is a RFC for the idea of connecting motion capability controllers to the IIO subsystem, initially targeting the Sony SixAxis controller. In the future I hope that this can be used for sensor packs used in VR headset/devices. The advantage of the IIO subsystem is that the da

[RFC_v2 4/4] HID: hid-sony: Add IIO support for DualShock4 Controller

2015-06-23 Thread Simon Wood
--- drivers/hid/hid-sony.c | 87 +- 1 file changed, 79 insertions(+), 8 deletions(-) diff --git a/drivers/hid/hid-sony.c b/drivers/hid/hid-sony.c index ce0526d..f1c1a16 100644 --- a/drivers/hid/hid-sony.c +++ b/drivers/hid/hid-sony.c @@ -62,7 +62,7

[RFC_v2 1/4] HID: hid-sony: Add basic IIO support for SixAxis Controller

2015-06-23 Thread Simon Wood
--- drivers/hid/hid-sony.c | 153 - 1 file changed, 152 insertions(+), 1 deletion(-) diff --git a/drivers/hid/hid-sony.c b/drivers/hid/hid-sony.c index 6ca96ce..c4686e3 100644 --- a/drivers/hid/hid-sony.c +++ b/drivers/hid/hid-sony.c @@ -36,6 +36,7

Re: [RFC] HID: hid-sony: Add basic iio-subsystem reading of SixAxis Accelerometers

2015-06-17 Thread simon
, is this normal for IIO? Next is a little code clean-up and I'll post what I have for some more comments, Simon. -- To unsubscribe from this list: send the line "unsubscribe linux-input" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html

[PATCH 3/3] HID: hid-sony: Fix report descriptor for Navigation Controller

2015-06-16 Thread Simon Wood
1 02 c0 c0 00|.| 0095 Signed-off-by: Simon Wood --- drivers/hid/hid-sony.c | 91 +- 1 file changed, 90 insertions(+), 1 deletion(-) diff --git a/drivers/hid/hid-sony.c b/drivers/hid/hid-sony.c index af02139..ed2f008 100644 --- a/drivers/hid/hid

[PATCH 2/3] HID: hid-sony: Navigation controller only has 1 LED and no rumble

2015-06-16 Thread Simon Wood
Signed-off-by: Simon Wood --- drivers/hid/hid-sony.c | 41 + 1 file changed, 33 insertions(+), 8 deletions(-) diff --git a/drivers/hid/hid-sony.c b/drivers/hid/hid-sony.c index 3fba2dca..af02139 100644 --- a/drivers/hid/hid-sony.c +++ b/drivers/hid/hid

[PATCH 1/3] HID: hid-sony: Add BT support for Navigation Controller

2015-06-16 Thread Simon Wood
Signed-off-by: Simon Wood --- drivers/hid/hid-core.c | 1 + drivers/hid/hid-sony.c | 2 ++ 2 files changed, 3 insertions(+) diff --git a/drivers/hid/hid-core.c b/drivers/hid/hid-core.c index 044e96a..a64f862 100644 --- a/drivers/hid/hid-core.c +++ b/drivers/hid/hid-core.c @@ -1962,6 +1962,7

Re: [RFC] HID: hid-sony: Add basic iio-subsystem reading of SixAxis Accelerometers

2015-06-14 Thread simon
ing at iio_dummy_event and iios_sysfs for inspiration On the assumption that there will be multiple devices (either same type or with different HID drivers) all trying to issue triggers, we'd need to be a little careful. Is there a 'short-cut' we can use if a HID device is only r

[RFC] HID: hid-sony: Add basic iio-subsystem reading of SixAxis Accelerometers

2015-06-11 Thread Simon Wood
[resent as I screwed up addressing... sorry] This patch is a RFC/POC for the idea of using the iio-subsystem as the 'proper' way to communicate the state of motion enabled controllers to the Linux internals. I have started with the hid-sony driver, with support for the SixAxis's 3 Accelerometers.

[PATCH 4/4] HID: hid-sony: PS Move fix report descriptor

2015-06-09 Thread Simon Wood
'fixing' their byte order would break user-space drivers such as PSMoveAPI. It is hoped to resolve this at a future time. Signed-off-by: Simon Wood --- drivers/hid/hid-sony.c | 69 -- 1 file changed, 44 insertions(+), 25 deletions(-) di

[PATCH 2/4] HID_ hid-sony_ Add support PS3 Move Battery via BT

2015-06-09 Thread Simon Wood
Add support for the battery charge level and state to be read via BT. This is not support via USB as there is no know way to get the device sending 'input' reports over USB. Signed-off-by: Simon Wood --- drivers/hid/hid-sony.c | 15 +++ 1 file changed, 11 insertions(+), 4

[PATCH 3/4] HID: hid-sony: PS3 Move enable LEDs and Rumble via BT

2015-06-09 Thread Simon Wood
The LED and Rumble control only function via BT if the full output report is sent. The large report still functions via USB. Signed-off-by: Simon Wood --- drivers/hid/hid-sony.c | 11 +-- 1 file changed, 5 insertions(+), 6 deletions(-) diff --git a/drivers/hid/hid-sony.c b/drivers/hid

[PATCH 1/4] HID: hid-sony: Add quirk for MOTION_CONTROLLER_BT

2015-06-09 Thread Simon Wood
Split quirk for PS Move Controller as it has to be treated differently when connected via BT. Signed-off-by: Simon Wood --- drivers/hid/hid-sony.c | 8 +--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/drivers/hid/hid-sony.c b/drivers/hid/hid-sony.c index 6fcc2b4..28dba6c

Re: Handling Controllers with Acc/Gyro/Mag via HID system

2015-06-09 Thread simon
I wrote this for accelerometers that are in tablets/convertibles: > https://github.com/hadess/iio-sensor-proxy/ Thanks I'll check it out. Thinking more of a AHRS rather than 'just' rotating the screen. ;-) Simon -- To unsubscribe from this list: send the line "unsubscribe

Re: Handling Controllers with Acc/Gyro/Mag via HID system

2015-06-08 Thread simon
tion to IIO system and pushing the Accel/Gyro/Mag values there (rather than exposing them on the joystick interface) make sense? Are there any examples of other devices doing this, so I can re-use the code? Simon. -- To unsubscribe from this list: send the line "unsubscribe linux-input" i

Handling Controllers with Acc/Gyro/Mag via HID system

2015-06-08 Thread simon
owever I have noticed that this affects/reshuffles the output of '/dev/hidraw0', which would 'corrupt' the data going into the existing user-mode drivers (such as psmoveapi). Is there a 'better' place/way to reshuffle this data, or is this just how it needs to be? Giv

Re: [PATCH v2 3/6] hid: sony: Add support for the Sony Motion Controller

2015-06-03 Thread simon
the 'original' reports (ie. with hid-sony changing them) for reference. Note the BT one has a trailing zero (like the DS4 has) which prevents decoding... I just cropped it off to decode. Simon. psmove_bt_report_orig.bin Description: Binary data psmove_bt_report_orig.code Description

[PATCH] HID: hid-sony: Support PS3 Move Controller when connected via Bluetooth

2015-06-03 Thread Simon Wood
Signed-off-by: Simon Wood --- drivers/hid/hid-core.c | 1 + drivers/hid/hid-sony.c | 2 ++ 2 files changed, 3 insertions(+) diff --git a/drivers/hid/hid-core.c b/drivers/hid/hid-core.c index aefb248..044e96a 100644 --- a/drivers/hid/hid-core.c +++ b/drivers/hid/hid-core.c @@ -1960,6 +1960,7

Re: [PATCH v2 0/5] Support for the Sony Motion Controller and other cleanups

2015-05-27 Thread simon
ich will enable full USB operation? Simon. PS. I did not try BT connection as that apparently requires Bluez > 5.0, which is a pain on _that_ machine. -- To unsubscribe from this list: send the line "unsubscribe linux-input" in the body of a message to majord...@vger.kernel.org

Re: [PATCH v2 2/2] input: adxl34x: Add OF match support

2015-05-21 Thread Simon Horman
ewed-by: Wolfram Sang > Signed-off-by: Geert Uytterhoeven > --- > v2: > - Add Reviewed-by. Reviewed-by: Simon Horman -- To unsubscribe from this list: send the line "unsubscribe linux-input" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html

Re: [PATCH v2 1/2] DT: i2c: Deprecate adi,adxl34x compatible string

2015-05-21 Thread Simon Horman
adi,adxl346 and adi,adxl345, > in that order. > > Signed-off-by: Laurent Pinchart > Acked-by: Wolfram Sang > Signed-off-by: Geert Uytterhoeven > --- > v2: > - Add Acked-by. Reviewed-by: Simon Horman -- To unsubscribe from this list: send the line "unsubscribe lin

Re: [PATCH] HID: Add driver for acer keybard with broken rdesc

2015-03-24 Thread Simon Wörner
sina wrote: On Thu, 29 Jan 2015,li...@simon-woerner.de wrote: From: Simon Wörner HID: Add driver for acer keybard with broken rdesc Hi Simon, to make sure proper device <-> driver binding is performed, you also have to add device ID to the hid_have_special_driver[] array. To the co

Re: HID: usbhid: Check HID report descriptor contents after device reset

2015-02-27 Thread Simon Haggett
. Yes, it does look like hid_post_reset() should be returning proper error codes on failure, to allow correct behaviour here. usb_reset_device() should still interpret such error code returns as a need to attempt a rebind. 1595 } 1596 return status; 1597 } regards,

Re: [PATCH RESEND] HID: Stop hiding options with !EXPERT

2015-02-20 Thread simon
d not force 'FF_MEMLESS=Y' (just leave that as module too). There is also the 'LEDS CLASS' which is required for G27 support. IIRC there was some 'magic' done with hid-steelseries to tweak problems with LEDs. I'd be open to helping this happen, given some guidance.

Re: [PATCH] HID: hid-lg4ff: Fix "undefined reference" build issue with CONFIG_USB disabled.

2015-02-18 Thread simon
logitech' which use any other transport (HID over Bluetooth or the like)? Simon. -- To unsubscribe from this list: send the line "unsubscribe linux-input" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html

Re: [PATCH] HID: hid-sony: Prevent LED overrun

2015-02-18 Thread simon
with the new build, so it looks like my patch is not required after all (and fixing in LED subsystem makes far more sense). I am, however, confused about what I pulled and built. It definately had the patch (I looked in drivers/leds/leds.h before building) but built as 3.19 guess I'll

Re: [PATCH] HID: hid-sony: Prevent LED overrun

2015-02-17 Thread simon
n't > replicate your bug. I guess it's possible, I am running 3.19.0rc5. I'll build 3.19 and see if it's showing the bug. Simon -- To unsubscribe from this list: send the line "unsubscribe linux-input" in the body of a message to majord...@vger.kernel.org More maj

[PATCH] HID: hid-sony: Prevent LED overrun

2015-02-17 Thread Simon Wood
27;s own interface. Patch limits the LEDs 'value' to the 'max brightness', thus preventing bug. Tested with SixAxis DS3, DS4 and Intec (3rd party) controllers, via USB connection. Signed-off-by: Simon Wood --- drivers/hid/hid-sony.c | 3 +++ 1 file changed, 3 insertions(+) diff --

Re: [PATCH v2 0/4] HID: hid-lg4ff: Improve handling of Logitech multimode gaming wheels

2015-02-17 Thread simon
nst latest linux-next > - Document the newly introduced sysfs interfaces in appropriate > commits > - Assume that we are targeting kernel version 4.1 > - Fix a misleading error message regarding unsupported wheel mode This version looks good to me; tested with WiiW

Re: [PATCH 0/4] HID: Improve handling of multimode Logitech handling wheels

2015-02-13 Thread Simon Wood
lier. I'd be happy to apply and fix later, but I suspect Jiri will say fix it first. Simon PS. Resent via Gmail as my hosting is having issues. On Fri, 6 Feb 2015 10:27:21 -0700, si...@mungewell.org wrote: > > This patch series improves handling of various Logitech gaming wheels and >

Re: [PATCH 0/4] HID: Improve handling of multimode Logitech handling wheels

2015-02-06 Thread simon
eel so far). This newer code should automatically cope with new wheels in the future. Thanks to Michal for undertaking this work. I have been testing the code over the past weeks and believe it to be working, I will confirm mid-next week when I can gain access to my wheels. Simon -- To unsubscr

EPERM instead of EINVAL?

2015-02-05 Thread simon
gain. -- Would it make more sense to use EPERM, or is there another error code we can throw to be more informative. Thanks, Simon. -- To unsubscribe from this list: send the line "unsubscribe linux-input" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html

Re: [PATCH] HID: Add driver for synaptics keybard with broken rdesc

2015-01-27 Thread Simon Wörner
The new version is nearly finished, I will send it later today. See below for additional changes not in the other mails. Am 28.01.15 um 00:46 schrieb Andrew Duggan: > On Tue, Jan 27, 2015 at 8:13 AM, Benjamin Tissoires > wrote: >> On Tue, Jan 27, 2015 at 10:10 AM, Simon Wörne

Re: [PATCH] HID: Add driver for synaptics keybard with broken rdesc

2015-01-27 Thread Simon Wörner
2:03 PM, Simon Wörner wrote: >> From: Simon Wörner >> >> Signed-off-by: Simon Wörner >> --- >> drivers/hid/Kconfig | 6 ++ >> drivers/hid/Makefile| 1 + >> drivers/hid/hid-ids.h | 1 + >> drivers/hid/hid-synaptics.c | 19

HID: Add driver for synaptics keybard with broken rdesc

2015-01-23 Thread Simon Wörner
Synaptics keyboards (USB ID 06cb:2968) e.g. in Acer SW5-012 have the following issue: - The report descriptor specifies an excessively large number of consumer usages (2^15), which is more than HID_MAX_USAGES. This prevents proper parsing of the report descriptor. -- To unsubscribe from this

[PATCH] HID: Add driver for synaptics keybard with broken rdesc

2015-01-23 Thread Simon Wörner
From: Simon Wörner Signed-off-by: Simon Wörner --- drivers/hid/Kconfig | 6 ++ drivers/hid/Makefile| 1 + drivers/hid/hid-ids.h | 1 + drivers/hid/hid-synaptics.c | 190 4 files changed, 198 insertions(+) create mode

Re: [PATCH] HID: add new gamepad LED constants

2014-09-15 Thread simon
> Even if I did add the plumbing for HID over into the LED subsystem, is > there an > easy way to correlate input devices and their LEDs from userspace? You can follow the symlinks through the '/sys' filesystem. For example the following all point to the same LED. -- simo

Re: hid-thingm: kernel panic on remove

2014-09-03 Thread Dylan Alex Simon
>From Jiri Kosina , Wed, Sep 03, 2014 at 04:37:05PM +0200: > On Wed, 3 Sep 2014, Dylan Alex Simon wrote: > > > I think that did the trick. I've run through the whole cycle about 20 times > > in various conditions, and it seems solid so far. Thanks! > > Thanks. I

Re: hid-thingm: kernel panic on remove

2014-09-03 Thread Dylan Alex Simon
> Hrm, what we really want is to first destroy the LED interface, otherwise > someone might have re-queued the workqueue through thingm_led_set() after > it has been flushed / cancelled already. > > Could you please give it one more shot with the patch below? Thanks for > your prompt testing. >

Re: hid-thingm: kernel panic on remove

2014-09-03 Thread Dylan Alex Simon
> I sent you wrong version of the patch, sorry for that. Could you please > try the one below instead? > > > diff --git a/drivers/hid/hid-thingm.c b/drivers/hid/hid-thingm.c > index 134be89..dffc50d 100644 > --- a/drivers/hid/hid-thingm.c > +++ b/drivers/hid/hid-thingm.c > @@ -208,7 +208,7 @@ un

Re: hid-thingm: kernel panic on remove

2014-09-03 Thread Dylan Alex Simon
>From Jiri Kosina , Wed, Sep 03, 2014 at 09:29:07AM +0200: > On Tue, 2 Sep 2014, Dylan Alex Simon wrote: > > > Some combination of kernel debugging options and killing processes let it > > survive long enough to write the backtrace to disk. A simple modprobe/rmmod > >

Re: hid-thingm: kernel panic on remove

2014-09-02 Thread Dylan Alex Simon
>From Jiri Kosina , Tue, Sep 02, 2014 at 11:32:30PM +0200: > On Tue, 2 Sep 2014, Benjamin Tissoires wrote: > > > > Whenever either disconnecting the USB device or simply rmmod'ing the > > > module > > > (even when not in use), I get a kernel panic. I haven't managed to > > > capture a > > > bac

Re: hid-thingm: kernel panic on remove

2014-09-02 Thread Dylan Alex Simon
>From Benjamin Tissoires , Tue, Sep 02, 2014 at >03:58:08PM -0400: > Hi, > > On 09/02/2014 01:46 PM, Dylan Alex Simon wrote: > > Whenever either disconnecting the USB device or simply rmmod'ing the module > > (even when not in use), I get a kernel panic. I h

hid-thingm: kernel panic on remove

2014-09-02 Thread Dylan Alex Simon
Whenever either disconnecting the USB device or simply rmmod'ing the module (even when not in use), I get a kernel panic. I haven't managed to capture a backtrace, but at least the first two lines were saved after an rmmod: 18:53:17 kernel: thingm 0003:27B8:01ED.0004: hidraw3: USB HID v1.01 Devic

[RFC 4/4] HID:hid-logitech: Add mode control via /sys interface

2014-08-20 Thread Simon Wood
--- drivers/hid/hid-lg4ff.c | 81 +++-- 1 file changed, 78 insertions(+), 3 deletions(-) diff --git a/drivers/hid/hid-lg4ff.c b/drivers/hid/hid-lg4ff.c index 0ba0838..1be561e 100644 --- a/drivers/hid/hid-lg4ff.c +++ b/drivers/hid/hid-lg4ff.c @@ -41,11 +

[RFC 1/4] HID:hid-logitech: Add modparam to allow/disable switch to native mode

2014-08-20 Thread Simon Wood
--- drivers/hid/hid-lg.c| 17 - drivers/hid/hid-lg.h| 7 +-- drivers/hid/hid-lg4ff.c | 4 ++-- 3 files changed, 23 insertions(+), 5 deletions(-) diff --git a/drivers/hid/hid-lg.c b/drivers/hid/hid-lg.c index a976f48..81ba24d 100644 --- a/drivers/hid/hid-lg.c +++ b/dr

[RFC 2/4] HID:hid-logitech: New detection of native capable devices

2014-08-20 Thread Simon Wood
es[i].product_id); - break; - } - } - - if (i == ARRAY_SIZE(lg4ff_devices)) { - hid_err(hid, "Device is not supported by lg4ff driver. If you think it should be, consider reporting a bug to" - "LKML,

[RFC 3/4] HID:hid-logitech: Use new native switch method

2014-08-20 Thread Simon Wood
--- drivers/hid/hid-lg4ff.c | 126 +--- 1 file changed, 55 insertions(+), 71 deletions(-) diff --git a/drivers/hid/hid-lg4ff.c b/drivers/hid/hid-lg4ff.c index eda07a2..0ba0838 100644 --- a/drivers/hid/hid-lg4ff.c +++ b/drivers/hid/hid-lg4ff.c @@ -32,21

Re: PATCH hid: Implement mode switching on Logitech gaming wheels accordingly to the documentation

2014-08-20 Thread simon
;m tied up with work stuff for the next week or so (and won't have access to the hardware). If people can test/comment that would be great, Simon -- To unsubscribe from this list: send the line "unsubscribe linux-input" in the body of a message to majord...@vger.kernel.org Mo

[PATCHv2] HID:hid-logitech: Prevent possibility of infinite loop when using /sys interface

2014-08-14 Thread Simon Wood
If the device data is not accessible for some reason, returning 0 will cause the call to be continuously called again as none of the string has been 'consumed'. Signed-off-by: Simon Wood --- drivers/hid/hid-lg4ff.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git

Re: PATCH hid: Implement mode switching on Logitech gaming wheels accordingly to the documentation

2014-08-14 Thread simon
> Simon mailed me his revised patchset which has the changes broken out into > four separate patches and allows to switch "extended compatibility" modes > on > the fly through sysfs. I looked them over and I they seem fine to me. I > suppose he'll submit them for r

[PATCH] HID:hid-logitech: Prevent possibility of infinite loop when using /sys interface

2014-08-06 Thread Simon Wood
If the device data is not accessible for some reason, returning 0 will cause the call to be continuously called again as none of the string has been 'consumed'. --- drivers/hid/hid-lg4ff.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/hid/hid-lg4ff.c b/drivers/hi

Re: PATCH hid: Implement mode switching on Logitech gaming wheels accordingly to the documentation

2014-07-31 Thread simon
all options for control. Cheers, Simon. -- To unsubscribe from this list: send the line "unsubscribe linux-input" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html

  1   2   3   >