| 6d45d3e0 | 14-Jul-2019 |
Tim Schumacher <[email protected]> |
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 <[email protected]> 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 <[email protected]> Signed-off-by: Dmitry Torokhov <[email protected]>
show more ...
|
| 11518370 | 19-Jun-2019 |
Tim Schumacher <[email protected]> |
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 <[email protected]> Signed-off-by: Dmitry Torokhov <[email protected]>
show more ...
|
| 21ae38f8 | 10-Aug-2018 |
Dmitry Torokhov <[email protected]> |
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 <[email protected]> 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 <[email protected]> Signed-off-by: Dmitry Torokhov <[email protected]>
show more ...
|
| 8624dfd1 | 10-Aug-2018 |
Dmitry Torokhov <[email protected]> |
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 <[email protected]> Signed-off-by: Dmitry Torokhov <[email protected]>
show more ...
|
| dfad2b17 | 10-Aug-2018 |
Dmitry Torokhov <[email protected]> |
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 <[email protected]> Signed-off-by: Dmitry Torokhov <[email protected]>
show more ...
|
| 6ac0aec6 | 10-Aug-2018 |
Dmitry Torokhov <[email protected]> |
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 <[email protected]> Signed-off-by: Dmitry Torokhov <[email protected]>
show more ...
|
| 633354d1 | 10-Aug-2018 |
Dmitry Torokhov <[email protected]> |
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 <[email protected]> Signed-off-by: Dmitry Torokhov <[email protected]>
show more ...
|
| 2880dcf9 | 10-Aug-2018 |
Dmitry Torokhov <[email protected]> |
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 <[email protected]> Signed-off-by: Dmitry Torokhov <[email protected]>
show more ...
|
| 48735862 | 09-Aug-2018 |
Dmitry Torokhov <[email protected]> |
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 <[email protected]> Signed-off-by: Dmitry Torokhov <[email protected]>
show more ...
|
| 93817584 | 03-Aug-2018 |
Dmitry Torokhov <[email protected]> |
Input: iforce - move command completion handling to serio code
Continue teasing apart protocol-specific bits from core into transport modules. This time move RS232-specific command completion handli
Input: iforce - move command completion handling to serio code
Continue teasing apart protocol-specific bits from core into transport modules. This time move RS232-specific command completion handling from core to iforce-serio module.
Tested-by: Tim Schumacher <[email protected]> Signed-off-by: Dmitry Torokhov <[email protected]>
show more ...
|