9c9c7116 | 29-Aug-2022 |
Greg Tulli <greg.iforce@gmail.com> |
Input: iforce - add support for Boeder Force Feedback Wheel
Add a new iforce_device entry to support the Boeder Force Feedback Wheel device.
Signed-off-by: Greg Tulli <greg.iforce@gmail.com> Link:
Input: iforce - add support for Boeder Force Feedback Wheel
Add a new iforce_device entry to support the Boeder Force Feedback Wheel device.
Signed-off-by: Greg Tulli <greg.iforce@gmail.com> Link: https://lore.kernel.org/r/3256420-c8ac-31b-8499-3c488a9880fd@gmail.com Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
show more ...
|
6d45d3e0 | 14-Jul-2019 |
Tim Schumacher <timschumi@gmx.de> |
Input: iforce - remove empty multiline comments
Those are remnants of the SPDX identifier migration, which haven't been removed properly.
Signed-off-by: Tim Schumacher <timschumi@gmx.de> Signed-off
Input: iforce - remove empty multiline comments
Those are remnants of the SPDX identifier migration, which haven't been removed properly.
Signed-off-by: Tim Schumacher <timschumi@gmx.de> Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
show more ...
|
11518370 | 19-Jun-2019 |
Tim Schumacher <timschumi@gmx.de> |
Input: iforce - add the Saitek R440 Force Wheel
This is added based on the fact that this is an iforce-based device and that the Windows driver for the R440 works for the Logitech WingMan Formula Fo
Input: iforce - add the Saitek R440 Force Wheel
This is added based on the fact that this is an iforce-based device and that the Windows driver for the R440 works for the Logitech WingMan Formula Force after replacing the device/vendor IDs.
Signed-off-by: Tim Schumacher <timschumi@gmx.de> Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
show more ...
|
21ae38f8 | 10-Aug-2018 |
Dmitry Torokhov <dmitry.torokhov@gmail.com> |
Input: iforce - use unaligned accessors, where appropriate
Instead of open-coding conversion from/to little-endian, let's use proper accessors.
Tested-by: Tim Schumacher <timschumi@gmx.de> Signed-o
Input: iforce - use unaligned accessors, where appropriate
Instead of open-coding conversion from/to little-endian, let's use proper accessors.
Tested-by: Tim Schumacher <timschumi@gmx.de> Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
show more ...
|
8624dfd1 | 10-Aug-2018 |
Dmitry Torokhov <dmitry.torokhov@gmail.com> |
Input: iforce - drop couple of temps from transport code
Transport initialization code now deals mostly with transport-specific data, so we can drop couple of temporary variables.
Tested-by: Tim Sc
Input: iforce - drop couple of temps from transport code
Transport initialization code now deals mostly with transport-specific data, so we can drop couple of temporary variables.
Tested-by: Tim Schumacher <timschumi@gmx.de> Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
show more ...
|
2178db65 | 10-Aug-2018 |
Dmitry Torokhov <dmitry.torokhov@gmail.com> |
Input: iforce - drop bus type from iforce structure
It is not needed anymore as behavior is controlled by the transport operations set up for given device.
Tested-by: Tim Schumacher <timschumi@gmx.
Input: iforce - drop bus type from iforce structure
It is not needed anymore as behavior is controlled by the transport operations set up for given device.
Tested-by: Tim Schumacher <timschumi@gmx.de> Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
show more ...
|
dfad2b17 | 10-Aug-2018 |
Dmitry Torokhov <dmitry.torokhov@gmail.com> |
Input: iforce - use DMA-safe buffores for USB transfers
USB transport has to use cache line-aligned buffers for transfers to avoid DMA issues; serio doe snot have such restrictions. Let's move "data
Input: iforce - use DMA-safe buffores for USB transfers
USB transport has to use cache line-aligned buffers for transfers to avoid DMA issues; serio doe snot have such restrictions. Let's move "data_in" buffer from main driver structure into transport modules and make sure USB requirements are respected.
Tested-by: Tim Schumacher <timschumi@gmx.de> Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
show more ...
|
6ac0aec6 | 10-Aug-2018 |
Dmitry Torokhov <dmitry.torokhov@gmail.com> |
Input: iforce - allow callers supply data buffer when fetching device IDs
We want to move buffer handling into transport layers as the properties of buffers (DMA-safety, alignment, etc) are differen
Input: iforce - allow callers supply data buffer when fetching device IDs
We want to move buffer handling into transport layers as the properties of buffers (DMA-safety, alignment, etc) are different for different transports. To allow this, let's allow caller to specify their own buffers for the results of iforce_get_id_packet() and let transport drivers to figure what buffers they need to use for transfers.
Tested-by: Tim Schumacher <timschumi@gmx.de> Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
show more ...
|
633354d1 | 10-Aug-2018 |
Dmitry Torokhov <dmitry.torokhov@gmail.com> |
Input: iforce - only call iforce_process_packet() if initialized
It is excessive to check if device is fully initialized in iforce_process_packet(), as for USB-conected devices we do not start colle
Input: iforce - only call iforce_process_packet() if initialized
It is excessive to check if device is fully initialized in iforce_process_packet(), as for USB-conected devices we do not start collecting reports until the device is fully initialized.
Let's change serio transport code to not call iforce_process_packet() until device initialization is done.
Tested-by: Tim Schumacher <timschumi@gmx.de> Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
show more ...
|
2880dcf9 | 10-Aug-2018 |
Dmitry Torokhov <dmitry.torokhov@gmail.com> |
Input: iforce - signal command completion from transport code
Signalling command completion from iforce_process_packet() does not make sense, as not all transport use the same data path for both com
Input: iforce - signal command completion from transport code
Signalling command completion from iforce_process_packet() does not make sense, as not all transport use the same data path for both commands and motion data form the device, that is why USB code already has to signal command completion iforce_usb_out().
Let's move signalling completion into individual transport modules.
Tested-by: Tim Schumacher <timschumi@gmx.de> Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
show more ...
|
d3cc1000 | 10-Aug-2018 |
Dmitry Torokhov <dmitry.torokhov@gmail.com> |
Input: iforce - do not combine arguments for iforce_process_packet()
Current code combines packet type and data length into single argument to iforce_process_packet() and then has to untangle it. It
Input: iforce - do not combine arguments for iforce_process_packet()
Current code combines packet type and data length into single argument to iforce_process_packet() and then has to untangle it. It is much clearer to simply use separate arguments.
Tested-by: Tim Schumacher <timschumi@gmx.de> Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
show more ...
|
43e61fc7 | 10-Aug-2018 |
Dmitry Torokhov <dmitry.torokhov@gmail.com> |
Input: iforce - update formatting of switch statements
According to our coding style case labels in switch statements should be aligned with the switch keyword.
Tested-by: Tim Schumacher <timschumi
Input: iforce - update formatting of switch statements
According to our coding style case labels in switch statements should be aligned with the switch keyword.
Tested-by: Tim Schumacher <timschumi@gmx.de> Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
show more ...
|
48735862 | 10-Aug-2018 |
Dmitry Torokhov <dmitry.torokhov@gmail.com> |
Input: iforce - use DMA-safe buffer when getting IDs from USB
When working with USB devices we need to use DMA-safe buffers, and iforce->edata is not one. Let's rework the code to allocate temporary
Input: iforce - use DMA-safe buffer when getting IDs from USB
When working with USB devices we need to use DMA-safe buffers, and iforce->edata is not one. Let's rework the code to allocate temporary buffer (iforce_get_id() is called only during initialization so there is no reason to have permanent buffer) and use it. While at it, let's utilize usb_control_msg() API which simplifies code.
Tested-by: Tim Schumacher <timschumi@gmx.de> Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
show more ...
|
4f99de6d | 25-Jul-2018 |
Dmitry Torokhov <dmitry.torokhov@gmail.com> |
Input: iforce - split into core and transport modules
Now that we have moved enough transport details into separate source files we can change them into transport modules so that they are only loade
Input: iforce - split into core and transport modules
Now that we have moved enough transport details into separate source files we can change them into transport modules so that they are only loaded when needed.
Tested-by: Tim Schumacher <timschumi@gmx.de> Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
show more ...
|
81fd4313 | 04-Aug-2018 |
Dmitry Torokhov <dmitry.torokhov@gmail.com> |
Input: iforce - move transport data into transport modules
This moves transport-specific data from main iforce structure into transport modules.
Tested-by: Tim Schumacher <timschumi@gmx.de> Signed-
Input: iforce - move transport data into transport modules
This moves transport-specific data from main iforce structure into transport modules.
Tested-by: Tim Schumacher <timschumi@gmx.de> Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
show more ...
|
501025df | 04-Aug-2018 |
Dmitry Torokhov <dmitry.torokhov@gmail.com> |
Input: iforce - add bus type and parent arguments to iforce_init_device()
Note that the parent device for the USB-connected controllers is now USB interface instead of USB device.
Tested-by: Tim Sc
Input: iforce - add bus type and parent arguments to iforce_init_device()
Note that the parent device for the USB-connected controllers is now USB interface instead of USB device.
Tested-by: Tim Schumacher <timschumi@gmx.de> Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
show more ...
|