Hi all,
maybe instead of stalling the entire init() function it'd be better to put a
request to disable autocentering on a workqueue and start a delayed work once
the init() function is done setting the wheel up? There'd be a bit more code
to write though...
Michal
On Tuesday, October 25, 201
On Mon, 2016-01-25 at 15:17 +0100, Jiri Kosina wrote:
> On Sat, 23 Jan 2016, Michal Malý wrote:
>
> > I briefly considered leaving the switch up to the userspace and
> handling the
> > device in the kernel only once it's been switched. I am however
> uncertain how
On sobota 23. ledna 2016 13:46:32 CET Bjørn Mork wrote:
> Michal Malý writes:
> > This mini series adds a simple skeleton module whose only purpose is to
> > bring devices that at first appear as a generic USB device into another
> > mode that can be handled by a mo
This gets rid of the need to handle such devices in more specific
drivers that will be loaded for no purpose other than to do some basic
initialization on the device.
Signed-off-by: Michal Malý
---
drivers/usb/Kconfig | 2 +
drivers/usb/common/Kconfig | 15
Tested-by: Elias Vanderstuyft
Signed-off-by: Michal Malý
---
drivers/usb/common/Kconfig | 2 ++
drivers/usb/common/usb-skelswitch.c | 60 +
2 files changed, 62 insertions(+)
diff --git a/drivers/usb/common/Kconfig b/drivers/usb/common/Kconfig
index
to switch a Logitech G920 wheel into HID mode is
excessive and does not make much sense.
The module can be extended to handle any other USB device that might require
such a switch.
Signed-off-by: Michal Malý
Michal Malý (2):
Add usb_skelswitch skeleton module to do basic initialization of
This code will never be used outside the kernel so the prefixes are
unnecessary.
Signed-off-by: Michal Malý
---
drivers/hid/hid-lg4ff.c | 52 -
drivers/hid/hid-lg4ff.h | 4 ++--
2 files changed, 28 insertions(+), 28 deletions(-)
diff --git a
All internal functions of hid-lg4ff should be prefixed with just
"lg4ff_"
Signed-off-by: Michal Malý
---
drivers/hid/hid-lg4ff.c | 28 ++--
1 file changed, 14 insertions(+), 14 deletions(-)
diff --git a/drivers/hid/hid-lg4ff.c b/drivers/hid/hid-lg4ff.c
ind
The original warning message was highly misleading. This warning can be
triggered only if a device is flagged to be handled by hid-lg4ff in
hid-lg but hid-lg4ff lacks support for such device.
Signed-off-by: Michal Malý
---
drivers/hid/hid-lg4ff.c | 3 +--
1 file changed, 1 insertion(+), 2
This eliminates the need to look the HID report struct up every time it is
needed.
Signed-off-by: Michal Malý
---
drivers/hid/hid-lg4ff.c | 67 +++--
1 file changed, 32 insertions(+), 35 deletions(-)
diff --git a/drivers/hid/hid-lg4ff.c b/drivers
hid-lg did not check return values from the lg[N]_init() functions,
possibly trying to work with a device whose initialization has failed.
Signed-off-by: Michal Malý
---
drivers/hid/hid-lg.c | 11 +++
1 file changed, 7 insertions(+), 4 deletions(-)
diff --git a/drivers/hid/hid-lg.c b
spinlock to
handle concurrent access to the HID report that is used by the driver to send
data to the wheel. I would appreciate some comments on this one, particularly
on the way it handles deinitialization.
Michal Malý (12):
HID: hid-lg4ff: (Cleanup) Remove double underscore prefix from numeric
Instead of aborting the initialization allow the driver to continue in
a degraded mode.
Signed-off-by: Michal Malý
---
drivers/hid/hid-lg4ff.c | 15 +--
1 file changed, 5 insertions(+), 10 deletions(-)
diff --git a/drivers/hid/hid-lg4ff.c b/drivers/hid/hid-lg4ff.c
index ad959e2
Prevent accidental modifications of read-only members of the lg4ff_device_entry
struct.
Signed-off-by: Michal Malý
---
drivers/hid/hid-lg4ff.c | 54 +++--
1 file changed, 39 insertions(+), 15 deletions(-)
diff --git a/drivers/hid/hid-lg4ff.c b
Since all functions that need to send some data to the device they
manage share the same HID report some synchronization is needed to
prevent sending bogus data to the device.
Signed-off-by: Michal Malý
---
drivers/hid/hid-lg.c| 4 +-
drivers/hid/hid-lg4ff.c | 293
All internal functions should be prefixed with just "lg4ff_". Usage of
DEVICE_ATTR_RW breaks this scheme because it expects the functions'
names to match the name of the respective sysfs entry.
This partially reverts "2f1cec3250e38609bf9252db52dbbe61603c04a7"
S
Reflect the mutual exclusivity of the LG_FF flags in the code.
Signed-off-by: Michal Malý
---
drivers/hid/hid-lg.c | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/drivers/hid/hid-lg.c b/drivers/hid/hid-lg.c
index c3981da..f1e92bf 100644
--- a/drivers/hid/hid-lg.c
+++ b
- Refer to the sysfs interface for "range" using "/sys/bus/..."
- Update contact email address
Signed-off-by: Michal Malý
---
Documentation/ABI/testing/sysfs-driver-hid-logitech-lg4ff | 8
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/Documentati
This is a leftover from times where hid_get|set_drvdata() was not
available to hid-lg4ff so it had to keep track of the devices it managed
by itself.
Signed-off-by: Michal Malý
---
drivers/hid/hid-lg4ff.c | 1 -
1 file changed, 1 deletion(-)
diff --git a/drivers/hid/hid-lg4ff.c b/drivers/hid
Fix "undefined reference" build issue with CONFIG_USB disabled.
Signed-off-by: Michal Malý
---
drivers/hid/hid-lg4ff.c | 17 +
1 file changed, 9 insertions(+), 8 deletions(-)
diff --git a/drivers/hid/hid-lg4ff.c b/drivers/hid/hid-lg4ff.c
index 854982b..1232210 10
Display the real wheel model and supported alternate modes through sysfs. This
applies only to multimode wheels.
Signed-off-by: Michal Malý
---
v2: Document the sysfs interface
.../ABI/testing/sysfs-driver-hid-logitech-lg4ff| 20 ++
drivers/hid/hid-lg4ff.c
Allow switching of Logitech gaming wheels between available compatibility modes
through sysfs. This only applies to multimode wheels.
Signed-off-by: Michal Malý
---
v2: Fix a misleading error message regarding unsupported wheel mode
.../ABI/testing/sysfs-driver-hid-logitech-lg4ff| 27
ng against known
values of bcdDevice. Handling of the mode switch upon initialization is
also adjusted so that the driver does not have to go through the entire
initialization routine because the wheels are set to perform a USB
detach before they reappear in "native" mode.
Signed-off-by:
This patch series improves handling of various Logitech gaming wheels and
allows switching between various compatibility modes which might be useful
to improve compatibility with very old games and testing purposes.
Signed-off-by: Michal Malý
v3: - Marked all internal functions static
Introduce a module parameter to disable automatic switch of Logitech gaming
wheels from compatibility to native mode. This only applies to multimode wheels.
Signed-off-by: Michal Malý
---
v3: - Share the module parameter through header file.
- Create a new "hid-lg4ff.h" h
Display the real wheel model and supported alternate modes through sysfs. This
applies only to multimode wheels.
Signed-off-by: Michal Malý
---
v2: Document the sysfs interface
.../ABI/testing/sysfs-driver-hid-logitech-lg4ff| 20 ++
drivers/hid/hid-lg4ff.c
djusted so that the driver does not have to go through the entire
initialization routine because the wheels are set to perform a USB
detach before they reappear in "native" mode.
Signed-off-by: Michal Malý
---
drivers/hid/hid-lg4ff.c | 266 ++--
This patch series improves handling of various Logitech gaming wheels and
allows switching between various compatibility modes which might be useful
to improve compatibility with very old games and testing purposes.
Signed-off-by: Michal Malý
v2: - Rebased against latest linux-next
Introduce a module parameter to disable automatic switch of Logitech gaming
wheels from compatibility to native mode. This only applies to multimode wheels.
Signed-off-by: Michal Malý
---
drivers/hid/hid-lg.c| 6 ++
drivers/hid/hid-lg4ff.c | 4 +++-
2 files changed, 9 insertions(+), 1
Allow switching of Logitech gaming wheels between available compatibility modes
through sysfs. This only applies to multimode wheels.
Signed-off-by: Michal Malý
---
v2: Fix a misleading error message regarding unsupported wheel mode
.../ABI/testing/sysfs-driver-hid-logitech-lg4ff| 27
Display the real wheel model and supported alternate modes through sysfs. This
applies only to multimode wheels.
Signed-off-by: Michal Malý
---
drivers/hid/hid-lg4ff.c | 209 ++--
1 file changed, 202 insertions(+), 7 deletions(-)
diff --git a
ng against known
values of bcdDevice. Handling of the mode switch upon initialization is
also adjusted so that the driver does not have to go through the entire
initialization routine because the wheels are set to perform a USB
detach before they reappear in "native" mode.
Signed
Introduce a module parameter to disable automatic switch of Logitech gaming
wheels from compatibility to native mode. This only applies to multimode wheels.
Signed-off-by: Michal Malý
---
drivers/hid/hid-lg.c| 6 ++
drivers/hid/hid-lg4ff.c | 4 +++-
2 files changed, 9 insertions(+), 1
This patch series improves handling of various Logitech gaming wheels and
allows switching between various compatibility modes which might be useful
to improve compatibility with very old games and testing purposes.
Signed-off-by: Michal Malý
Michal Malý (4):
Identify Logitech gaming wheels
Allow switching of Logitech gaming wheels between available compatibility modes
through sysfs. This only applies to multimode wheels.
Signed-off-by: Michal Malý
---
.../ABI/testing/sysfs-driver-hid-logitech-lg4ff| 45 +
drivers/hid/hid-lg4ff.c| 203
On Tuesday 12 of August 2014 15:10:12 Jiri Kosina wrote:
> On Thu, 31 Jul 2014, si...@mungewell.org wrote:
> > > +#define LG4FF_MSW_MIN 0
> > > +#define LG4FF_MSW_NATIVE 0 /* Switch device to its native mode (if
> > > applicable) */
> > > +#define LG4FF_MSW_DONTSWITCH 1 /* Leave device in i
Implement mode switching on Logitech gaming wheels accordingly to the
documentation
Signed-off-by: Michal Malý
---
Logitech has recently released technical documentation which describes the
protocol used by their force feedback gaming devices. The documentation
describes the method by which
On Monday 28 of July 2014 21:21:26 Murphy, Dan wrote:
> Dmitry
>
> On 07/28/2014 12:59 PM, si...@mungewell.org wrote:
> >>> The initial driver supports the devices
> >>> real time playback mode. But the device
> >>> has additional wave patterns in ROM.
> >>
> >> As it presented the device appear
On Tuesday 20 of May 2014 18:17:51 Roland Bosa wrote:
>
> The file format of an IFR is probably easily deducible. There's a lot of
> textual clues to parameters and the values are also written out in
> string form.
>
> I don't have a FEdit file at hand, but I suppose it will be similar.
I believ
On Tuesday 20 of May 2014 19:45:44 si...@mungewell.org wrote:
> >> Regarding the question of emulated vs. real effects, can we extend the
> >> API
> >> so that applications can know which effects are really supported, and
> >> enable/disable emulation somehow?
> >
> > I suppose that a few extra fl
On Tuesday 20 of May 2014 16:16:12 si...@mungewell.org wrote:
> > To bring this to a conclusion we could go from, would this be an
> > acceptable
> > solution?
> >
> > - Have the HW-specific driver talk directly to ff-core and reimplement
> > upload(),
> > play(), etc.
> > - Rewrite "ff-memless-ne
On Tuesday 20 of May 2014 11:32:14 Roland Bosa wrote:
> On 05/20/2014 02:27 AM, Michal Malý wrote:
> > On Wednesday 14 of May 2014 11:05:58 Dmitry Torokhov wrote:
> >> On Wed, May 14, 2014 at 10:35:25AM +0200, Michal Malý wrote:
> >>> Hi Dmitry,
> >&g
On Wednesday 14 of May 2014 11:05:58 Dmitry Torokhov wrote:
> On Wed, May 14, 2014 at 10:35:25AM +0200, Michal Malý wrote:
> > Hi Dmitry,
> >
> > thank you for reviewing this.
> >
> > On Tuesday 13 of May 2014 23:38:06 Dmitry Torokhov wrote:
> > > On Sat
On Wednesday 14 of May 2014 11:14:02 Dmitry Torokhov wrote:
> On Sat, Apr 26, 2014 at 05:02:00PM +0200, Michal Malý wrote:
> > +
> > +/** input_ff_create_mlnx() - Register a device within ff-memless-next and
> > + * the kernel force feedback system
On Wednesday 14 of May 2014 11:05:58 Dmitry Torokhov wrote:
> On Wed, May 14, 2014 at 10:35:25AM +0200, Michal Malý wrote:
> > Hi Dmitry,
> >
> > thank you for reviewing this.
> >
> > On Tuesday 13 of May 2014 23:38:06 Dmitry Torokhov wrote:
> > > On Sat
Hi Dmitry,
thank you for reviewing this.
On Tuesday 13 of May 2014 23:38:06 Dmitry Torokhov wrote:
> On Sat, Apr 26, 2014 at 05:02:00PM +0200, Michal Malý wrote:
> > +
> > +/** DEFINITION OF TERMS
> > + *
> > + * Combined effect - An effect whose force i
On Monday 12 of May 2014 11:14:42 Jiri Kosina wrote:
> On Sat, 26 Apr 2014, Michal Malý wrote:
> > ff-memless-next (MLNX) is a largely improved version of the current
> > ff-memless (FFML) driver. MLNX supports all force feedback effects
> > currently available in the
Add ff-memless-next module
Signed-off-by: Michal Malý
Tested-by: Elias Vanderstuyft
---
drivers/input/Kconfig | 11 +
drivers/input/Makefile|1 +
drivers/input/ff-memless-next.c | 1037 +
include/linux/input/ff-memless
- Port hid-lg2ff to ff-memless-next
- Clamp vibration magnitude to range <0x02; 0xfd> to prevent irregular
shaking of the vibration motors.
Signed-off-by: Elias Vanderstuyft
---
drivers/hid/Kconfig | 2 +-
drivers/hid/hid-lg2ff.c | 65 ++---
2 f
Port hid-lg4ff to ff-memless-next
Signed-off-by: Michal Malý
Tested-by: Tested-by: Elias Vanderstuyft
---
drivers/hid/Kconfig | 2 +-
drivers/hid/hid-lg4ff.c | 93 ++---
2 files changed, 59 insertions(+), 36 deletions(-)
diff --git a/drivers
Port arizona-haptics to ff-memless-next
Signed-off-by: Michal Malý
---
drivers/input/misc/Kconfig | 2 +-
drivers/input/misc/arizona-haptics.c | 39 +++-
2 files changed, 26 insertions(+), 15 deletions(-)
diff --git a/drivers/input/misc/Kconfig b
defined by Microsoft
DirectInput.
- Improved emulation of periodic and rumble effects in case either of
those is not supported by a device.
- New kernel API to interface with HW-specific drivers.
Signed-off-by: Michal Malý
---
drivers/input/Kconfig | 13 +-
drivers/input/Makefile
Port twl6040-vibra to ff-memless-next
Signed-off-by: Michal Malý
---
drivers/input/misc/Kconfig | 2 +-
drivers/input/misc/twl6040-vibra.c | 27 ++-
2 files changed, 23 insertions(+), 6 deletions(-)
diff --git a/drivers/input/misc/Kconfig b/drivers/input/misc
Port twl4030-vibra to ff-memless-next
Signed-off-by: Michal Malý
---
drivers/input/misc/Kconfig | 2 +-
drivers/input/misc/twl4030-vibra.c | 31 +--
2 files changed, 26 insertions(+), 7 deletions(-)
diff --git a/drivers/input/misc/Kconfig b/drivers/input
Port max8997_haptic to ff-memless-next
Signed-off-by: Michal Malý
---
drivers/input/misc/Kconfig | 2 +-
drivers/input/misc/max8997_haptic.c | 25 +++--
2 files changed, 20 insertions(+), 7 deletions(-)
diff --git a/drivers/input/misc/Kconfig b/drivers/input/misc
Port hid-axff to ff-memless-next
Signed-off-by: Michal Malý
---
drivers/hid/Kconfig| 2 +-
drivers/hid/hid-axff.c | 32 +++-
2 files changed, 24 insertions(+), 10 deletions(-)
diff --git a/drivers/hid/Kconfig b/drivers/hid/Kconfig
index 7af9d0b..e076627 100644
Port hid-emsff to ff-memless-next
Signed-off-by: Michal Malý
---
drivers/hid/Kconfig | 2 +-
drivers/hid/hid-emsff.c | 38 ++
2 files changed, 27 insertions(+), 13 deletions(-)
diff --git a/drivers/hid/Kconfig b/drivers/hid/Kconfig
index e076627
Port pm8xxx-vibrator to ff-memless-next
Signed-off-by: Michal Malý
---
drivers/input/misc/Kconfig | 2 +-
drivers/input/misc/pm8xxx-vibrator.c | 28 +++-
2 files changed, 20 insertions(+), 10 deletions(-)
diff --git a/drivers/input/misc/Kconfig b/drivers
Port hid-dr to ff-memless-next
Signed-off-by: Michal Malý
---
drivers/hid/Kconfig | 2 +-
drivers/hid/hid-dr.c | 59
2 files changed, 37 insertions(+), 24 deletions(-)
diff --git a/drivers/hid/Kconfig b/drivers/hid/Kconfig
index a78b5d8
Port hid-gaff to ff-memless-next
Signed-off-by: Michal Malý
---
drivers/hid/Kconfig| 2 +-
drivers/hid/hid-gaff.c | 32 +++-
2 files changed, 24 insertions(+), 10 deletions(-)
diff --git a/drivers/hid/Kconfig b/drivers/hid/Kconfig
index 1d4180c..4c59a88 100644
Port hid-holtekff to ff-memless-next
Signed-off-by: Michal Malý
---
drivers/hid/Kconfig| 2 +-
drivers/hid/hid-holtekff.c | 47 +-
2 files changed, 31 insertions(+), 18 deletions(-)
diff --git a/drivers/hid/Kconfig b/drivers/hid/Kconfig
Port hid-lgff to ff-memless-next
Signed-off-by: Michal Malý
---
drivers/hid/Kconfig| 2 +-
drivers/hid/hid-lgff.c | 70 +++---
2 files changed, 51 insertions(+), 21 deletions(-)
diff --git a/drivers/hid/Kconfig b/drivers/hid/Kconfig
index
Port hid-lg3ff to ff-memless-next
Signed-off-by: Michal Malý
---
drivers/hid/Kconfig | 2 +-
drivers/hid/hid-lg3ff.c | 60 +++--
2 files changed, 39 insertions(+), 23 deletions(-)
diff --git a/drivers/hid/Kconfig b/drivers/hid/Kconfig
index
Port hid-pl to ff-memless-next
Signed-off-by: Michal Malý
---
drivers/hid/Kconfig | 2 +-
drivers/hid/hid-pl.c | 38 ++
2 files changed, 27 insertions(+), 13 deletions(-)
diff --git a/drivers/hid/Kconfig b/drivers/hid/Kconfig
index eb0c7f1..42904e4 100644
Port hid-sony to ff-memless-next
Signed-off-by: Michal Malý
---
drivers/hid/Kconfig| 2 +-
drivers/hid/hid-sony.c | 23 +--
2 files changed, 18 insertions(+), 7 deletions(-)
diff --git a/drivers/hid/Kconfig b/drivers/hid/Kconfig
index 9260d14..e97c382 100644
--- a
Port hid-sjoy to ff-memless-next
Signed-off-by: Michal Malý
---
drivers/hid/Kconfig| 2 +-
drivers/hid/hid-sjoy.c | 35 +--
2 files changed, 26 insertions(+), 11 deletions(-)
diff --git a/drivers/hid/Kconfig b/drivers/hid/Kconfig
index 42904e4..9260d14
Port hid-tmff to ff-memless-next
Signed-off-by: Michal Malý
---
drivers/hid/Kconfig| 2 +-
drivers/hid/hid-tmff.c | 83 ++
2 files changed, 51 insertions(+), 34 deletions(-)
diff --git a/drivers/hid/Kconfig b/drivers/hid/Kconfig
index
Port hid-zpff to ff-memless-next
Signed-off-by: Michal Malý
---
drivers/hid/Kconfig| 2 +-
drivers/hid/hid-zpff.c | 30 ++
2 files changed, 23 insertions(+), 9 deletions(-)
diff --git a/drivers/hid/Kconfig b/drivers/hid/Kconfig
index 23d9776..97d2d8f 100644
Port hid-wiimote-modules to ff-memless-next
Signed-off-by: Michal Malý
---
drivers/hid/Kconfig | 2 +-
drivers/hid/hid-wiimote-modules.c | 74 ---
2 files changed, 46 insertions(+), 30 deletions(-)
diff --git a/drivers/hid/Kconfig b/drivers
On Saturday 26 of April 2014 15:09:44 Antonio Ospite wrote:
> On Sat, 26 Apr 2014 13:57:53 +0200
>
> Michal Malý wrote:
> > Port hid-sony to ff-memless-next
> >
> > Signed-off-by: Michal Malý
>
> Not a big deal, but note that the patch adds an unneeded
>
On Saturday 26 of April 2014 15:07:01 Antonio Ospite wrote:
> On Sat, 26 Apr 2014 13:57:38 +0200
>
> Michal Malý wrote:
> > Add ff-memless-next module
>
> Hi Michal, what about adding the notes from 0/24 to this commit
> message? This is the one which will actua
Port gamecon to ff-memless-next
Signed-off-by: Michal Malý
---
drivers/input/joystick/Kconfig | 2 +-
drivers/input/joystick/gamecon.c | 57 ++--
2 files changed, 33 insertions(+), 26 deletions(-)
diff --git a/drivers/input/joystick/Kconfig b/drivers
Port xpad to ff-memless-next
Signed-off-by: Michal Malý
---
drivers/input/joystick/Kconfig | 2 +-
drivers/input/joystick/xpad.c | 125 +++--
2 files changed, 71 insertions(+), 56 deletions(-)
diff --git a/drivers/input/joystick/Kconfig b/drivers/input
[1]
2) Ports all hardware-specific drivers to MLNX's API [2-23]
3) Removes FFML and replaces it with MLNX [24]
Signed-off-by: Michal Malý
v4:
- Add a summary of changes between MLNX and FFML to the last patch
- Remove a stale empty line in hid-sony.c
- Add "Tested-by: Elias Van
Port arizona-haptics to ff-memless-next
Signed-off-by: Michal Malý
---
drivers/input/misc/Kconfig | 2 +-
drivers/input/misc/arizona-haptics.c | 39 +++-
2 files changed, 26 insertions(+), 15 deletions(-)
diff --git a/drivers/input/misc/Kconfig b
Port twl4030-vibra to ff-memless-next
Signed-off-by: Michal Malý
---
drivers/input/misc/Kconfig | 2 +-
drivers/input/misc/twl4030-vibra.c | 31 +--
2 files changed, 26 insertions(+), 7 deletions(-)
diff --git a/drivers/input/misc/Kconfig b/drivers/input
Add ff-memless-next module
Signed-off-by: Michal Malý
Tested-by: Elias Vanderstuyft
---
drivers/input/Kconfig | 11 +
drivers/input/Makefile|1 +
drivers/input/ff-memless-next.c | 1037 +
include/linux/input/ff-memless
Port twl6040-vibra to ff-memless-next
Signed-off-by: Michal Malý
---
drivers/input/misc/Kconfig | 2 +-
drivers/input/misc/twl6040-vibra.c | 27 ++-
2 files changed, 23 insertions(+), 6 deletions(-)
diff --git a/drivers/input/misc/Kconfig b/drivers/input/misc
Port hid-axff to ff-memless-next
Signed-off-by: Michal Malý
---
drivers/hid/Kconfig| 2 +-
drivers/hid/hid-axff.c | 32 +++-
2 files changed, 24 insertions(+), 10 deletions(-)
diff --git a/drivers/hid/Kconfig b/drivers/hid/Kconfig
index 7af9d0b..e076627 100644
Port max8997_haptic to ff-memless-next
Signed-off-by: Michal Malý
---
drivers/input/misc/Kconfig | 2 +-
drivers/input/misc/max8997_haptic.c | 25 +++--
2 files changed, 20 insertions(+), 7 deletions(-)
diff --git a/drivers/input/misc/Kconfig b/drivers/input/misc
Port pm8xxx-vibrator to ff-memless-next
Signed-off-by: Michal Malý
---
drivers/input/misc/Kconfig | 2 +-
drivers/input/misc/pm8xxx-vibrator.c | 28 +++-
2 files changed, 20 insertions(+), 10 deletions(-)
diff --git a/drivers/input/misc/Kconfig b/drivers
Port hid-gaff to ff-memless-next
Signed-off-by: Michal Malý
---
drivers/hid/Kconfig| 2 +-
drivers/hid/hid-gaff.c | 32 +++-
2 files changed, 24 insertions(+), 10 deletions(-)
diff --git a/drivers/hid/Kconfig b/drivers/hid/Kconfig
index 1d4180c..4c59a88 100644
Port hid-dr to ff-memless-next
Signed-off-by: Michal Malý
---
drivers/hid/Kconfig | 2 +-
drivers/hid/hid-dr.c | 59
2 files changed, 37 insertions(+), 24 deletions(-)
diff --git a/drivers/hid/Kconfig b/drivers/hid/Kconfig
index a78b5d8
Port hid-lgff to ff-memless-next
Signed-off-by: Michal Malý
---
drivers/hid/Kconfig| 2 +-
drivers/hid/hid-lgff.c | 70 +++---
2 files changed, 51 insertions(+), 21 deletions(-)
diff --git a/drivers/hid/Kconfig b/drivers/hid/Kconfig
index
Port hid-holtekff to ff-memless-next
Signed-off-by: Michal Malý
---
drivers/hid/Kconfig| 2 +-
drivers/hid/hid-holtekff.c | 47 +-
2 files changed, 31 insertions(+), 18 deletions(-)
diff --git a/drivers/hid/Kconfig b/drivers/hid/Kconfig
Port hid-sony to ff-memless-next
Signed-off-by: Michal Malý
---
drivers/hid/Kconfig| 2 +-
drivers/hid/hid-sony.c | 24 ++--
2 files changed, 19 insertions(+), 7 deletions(-)
diff --git a/drivers/hid/Kconfig b/drivers/hid/Kconfig
index 9260d14..e97c382 100644
--- a
Port hid-pl to ff-memless-next
Signed-off-by: Michal Malý
---
drivers/hid/Kconfig | 2 +-
drivers/hid/hid-pl.c | 38 ++
2 files changed, 27 insertions(+), 13 deletions(-)
diff --git a/drivers/hid/Kconfig b/drivers/hid/Kconfig
index eb0c7f1..42904e4 100644
Port hid-lg3ff to ff-memless-next
Signed-off-by: Michal Malý
---
drivers/hid/Kconfig | 2 +-
drivers/hid/hid-lg3ff.c | 60 +++--
2 files changed, 39 insertions(+), 23 deletions(-)
diff --git a/drivers/hid/Kconfig b/drivers/hid/Kconfig
index
Port hid-sjoy to ff-memless-next
Signed-off-by: Michal Malý
---
drivers/hid/Kconfig| 2 +-
drivers/hid/hid-sjoy.c | 35 +--
2 files changed, 26 insertions(+), 11 deletions(-)
diff --git a/drivers/hid/Kconfig b/drivers/hid/Kconfig
index 42904e4..9260d14
Port hid-wiimote-modules to ff-memless-next
Signed-off-by: Michal Malý
---
drivers/hid/Kconfig | 2 +-
drivers/hid/hid-wiimote-modules.c | 74 ---
2 files changed, 46 insertions(+), 30 deletions(-)
diff --git a/drivers/hid/Kconfig b/drivers
Port hid-tmff to ff-memless-next
Signed-off-by: Michal Malý
---
drivers/hid/Kconfig| 2 +-
drivers/hid/hid-tmff.c | 83 ++
2 files changed, 51 insertions(+), 34 deletions(-)
diff --git a/drivers/hid/Kconfig b/drivers/hid/Kconfig
index
Port gamecon to ff-memless-next
Signed-off-by: Michal Malý
---
drivers/input/joystick/Kconfig | 2 +-
drivers/input/joystick/gamecon.c | 57 ++--
2 files changed, 33 insertions(+), 26 deletions(-)
diff --git a/drivers/input/joystick/Kconfig b/drivers
Port hid-lg4ff to ff-memless-next
Signed-off-by: Michal Malý
---
drivers/hid/Kconfig | 2 +-
drivers/hid/hid-lg4ff.c | 93 ++---
2 files changed, 59 insertions(+), 36 deletions(-)
diff --git a/drivers/hid/Kconfig b/drivers/hid/Kconfig
index
Port hid-lg2ff to ff-memless-next.
Clamp vibration magnitude to range <0x02; 0xfd> to prevent irregular
shaking of the vibration motors.
Signed-off-by: Elias Vanderstuyft
---
drivers/hid/Kconfig | 2 +-
drivers/hid/hid-lg2ff.c | 65 ++---
2 files
Replace ff-memless with ff-memless-next
Signed-off-by: Michal Malý
---
drivers/input/Kconfig | 13 +-
drivers/input/Makefile | 1 -
drivers/input/ff-memless.c | 547 -
include/linux/input.h | 3 -
4 files changed, 1 insertion
Port xpad to ff-memless-next
Signed-off-by: Michal Malý
---
drivers/input/joystick/Kconfig | 2 +-
drivers/input/joystick/xpad.c | 125 +++--
2 files changed, 71 insertions(+), 56 deletions(-)
diff --git a/drivers/input/joystick/Kconfig b/drivers/input
Port hid-zpff to ff-memless-next
Signed-off-by: Michal Malý
---
drivers/hid/Kconfig| 2 +-
drivers/hid/hid-zpff.c | 30 ++
2 files changed, 23 insertions(+), 9 deletions(-)
diff --git a/drivers/hid/Kconfig b/drivers/hid/Kconfig
index 23d9776..97d2d8f 100644
Port hid-emsff to ff-memless-next
Signed-off-by: Michal Malý
---
drivers/hid/Kconfig | 2 +-
drivers/hid/hid-emsff.c | 38 ++
2 files changed, 27 insertions(+), 13 deletions(-)
diff --git a/drivers/hid/Kconfig b/drivers/hid/Kconfig
index e076627
[1]
2) Ports all hardware-specific drivers to MLNX's API [2-23]
3) Removes FFML and replaces it with MLNX [24]
Signed-off-by: Michal Malý
v3:
- Rebase against latest linux-next. Fixes conflict in hid-sony.c and
max8997_haptic.c
- Updated documentation in ff-memless-next.h. The documentati
On Wednesday 23 of April 2014 15:41:03 Oliver Neukum wrote:
> On Tue, 2014-04-22 at 15:59 +0200, Michal Malý wrote:
> > static int drff_play(struct input_dev *dev, void *data,
> >
> > -struct ff_effect *effect)
> > +
1 - 100 of 188 matches
Mail list logo