Skip to content

IR: add initial IR transmit support

Jarod Wilson linux-media 2 versions – New

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest2 patches 0 repliesNew
  2. v12 patches 0 repliesSuperseded

Patches in v2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2IR: add tx callbacks to ir-coreinclude/media/ir-core.h+7 -10 replies
2/2IR/mceusb: add and wire up tx callback functionsdrivers/media/IR/mceusb.c+138 -100 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v2 yet.

Read the v2 thread

Cover letter [PATCH v2 0/2] IR: add initial IR transmit support

To enable IR transmit support in the mceusb driver, I need to add just three callbacks to achieve feature-parity with IR transmit using the old lirc_mceusb driver. This series adds those callbacks to ir-core's ir_dev_props struct, then wires them up for the mceusb driver.

At the moment, we have no "native" interface for transmitting IR, but a later patchset to add "legacy" lirc device interface support provides a means to transmit IR using this ir-core implementation.

[PATCH 1/2] IR: add tx callbacks to ir-core
[PATCH 2/2] IR/mceusb: add and wire up tx callback functions

Patches are against the linuxtv staging/rc tree, but will probably apply elsewhere as well.

v2: the mceusb driver no longer makes a copy_from_user() call to pull in its tx data buffer, it will be provided by whatever is providing the tx data, be that an in-kernel IR encoder or a forthcoming lirc bridge driver plugin, which gets *its* data from userspace using copy_from_user().

Signature · 2 lines
Jarod Wilson
[email protected]