Skip to content

linux infrared remote control drivers

Jarod Wilson lkml 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest18 patches 74 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/18lirc core device driver infrastructureMAINTAINERS drivers/input/Kconfig drivers/input/Makefile +5 more+1216 -032 replies
2/18lirc serial port receiver/transmitter device driverdrivers/input/lirc/Kconfig drivers/input/lirc/Makefile drivers/input/lirc/lirc_serial.c+1320 -04 replies
3/18lirc driver for 1st-gen Media Center Ed. USB IR transceiversdrivers/input/lirc/Kconfig drivers/input/lirc/Makefile drivers/input/lirc/lirc_mceusb.c+898 -04 replies
4/18lirc driver for 2nd-gen and later Media Center Ed. USB IR transceiversdrivers/input/lirc/Kconfig drivers/input/lirc/Makefile drivers/input/lirc/lirc_mceusb2.c+1127 -03 replies
5/18lirc driver for i2c-based IR receiversdrivers/input/lirc/Kconfig drivers/input/lirc/Makefile drivers/input/lirc/lirc_i2c.c+648 -02 replies
6/18lirc driver for the ATI USB RF remote receiverdrivers/input/lirc/Kconfig drivers/input/lirc/Makefile drivers/input/lirc/lirc_atiusb.c+1329 -010 replies
7/18lirc driver for the CommandIR USB Transceiverdrivers/input/lirc/Kconfig drivers/input/lirc/Makefile drivers/input/lirc/commandir.c +3 more+1679 -05 replies
8/18lirc driver for the Soundgraph IMON IR Receiversdrivers/input/lirc/Kconfig drivers/input/lirc/Makefile drivers/input/lirc/lirc_imon.c+1288 -05 replies
9/18lirc driver for the Streamzap PC Receiverdrivers/input/lirc/Kconfig drivers/input/lirc/Makefile drivers/input/lirc/lirc_streamzap.c+803 -01 reply
10/18lirc driver for Igor Cesko's USB IR receiverdrivers/input/lirc/Kconfig drivers/input/lirc/Makefile drivers/input/lirc/lirc_igorplugusb.c+627 -00 replies
11/18lirc driver for the Technotrend USB IR receiverdrivers/input/lirc/Kconfig drivers/input/lirc/Makefile drivers/input/lirc/lirc_ttusbir.c+407 -00 replies
12/18lirc driver for the Sasem OnAir and Dign HV5 receiversdrivers/input/lirc/Kconfig drivers/input/lirc/Makefile drivers/input/lirc/lirc_sasem.c+977 -00 replies
13/18lirc driver for ITE8709 CIR port receiverdrivers/input/lirc/Kconfig drivers/input/lirc/Makefile drivers/input/lirc/lirc_ite8709.c+553 -00 replies
14/18lirc driver for the ITE IT87xx CIR Port receiversdrivers/input/lirc/Kconfig drivers/input/lirc/Makefile drivers/input/lirc/lirc_it87.c +1 more+1123 -00 replies
15/18lirc driver for the SIR IrDA portdrivers/input/lirc/Kconfig drivers/input/lirc/Makefile drivers/input/lirc/lirc_sir.c+1310 -00 replies
16/18lirc driver for the IR interface on BT829-based hardwaredrivers/input/lirc/Kconfig drivers/input/lirc/Makefile drivers/input/lirc/lirc_bt829.c+396 -00 replies
17/18lirc driver for homebrew parallel port receiversdrivers/input/lirc/Kconfig drivers/input/lirc/Makefile drivers/input/lirc/lirc_parallel.c +1 more+762 -00 replies
18/18lirc driver for the zilog/haupauge IR transceiverdrivers/input/Kconfig drivers/input/Makefile drivers/input/lirc/Kconfig +26 more+17859 -00 replies
18/18lirc driver for the zilog/haupauge IR transceiverdrivers/input/lirc/Kconfig drivers/input/lirc/Makefile drivers/input/lirc/lirc_zilog.c+1405 -00 replies

Reviews trailers per patch

None of the 19 patches has a Reviewed-by or Acked-by.

PatchJarod WilsonTom Horsley
1/18
2/18
3/18T-b
4/18T-b
5/18T-b
6/18
7/18
8/18T-b
9/18
10/18
11/18
12/18
13/18
14/18
15/18
16/18
17/18
18/18
18/18

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

Cover letter [PATCH 0/18] linux infrared remote control drivers

The following patch series adds 17 new drivers for assorted infrared and/or RF remote control receivers and/or transmitters. These drivers have long lived out-of-tree at http://www.lirc.org/, packaged as 3rd-party modules by many distributions, and more recently, patched into the kernels of at least Fedora and Ubuntu. The primary maintainer of lirc, Christoph Bartelmus simply hasn't had the time to send these bits upstream, and a few months back, gave me the go-ahead to take on the task.

Most drivers are fairly widely tested, certainly within the MythTV community, which relies upon this code quite a bit. However, note that in preparation for this submission, a fair number of code changes have been made only recently that may or may not have yet made it back into lirc cvs, and thus might not be as widely tested. Any bugs found were probably introduced by either myself or Janne Grunau, the primary folks working on the latest round of whacking checkpatch.pl complaints to prepare for this submission.

Speaking of checkpatch... When I first added the lirc driver patch to the Fedora kernels (oy, way back in August of 2007), there were tens of thousands of lines of checkpatch warnings and errors. Through the efforts of myself, Janne, Eric Sandeen, and misc contributions from others, I'm now quite tickled to see the following:

--

$ scripts/checkpatch.pl /data/patches/lirc-for-upstream-combined.patch
total: 0 errors, 0 warnings, 17877 lines checked

/data/patches/lirc-for-upstream-combined.patch has no obvious style problems and is ready for submission.
--

Earlier rounds of checkpatch cleanups have already been fed back into lirc cvs, and Christoph has given me commit access there, so as to filter the latest changes back in as well. For the time being, lirc cvs will continue to be the canonical upstream for the lirc drivers, and all the earlier kernel compat bits get stripped out via an export script[1], though the script is still under a bit of development... I'll be taking point on maintaining the git tree[2] and synchronizing changes back and forth with cvs, at least until such time as everything is in the kernel, and nobody has need for out-of-tree drivers anymore, at which time the drivers will be dropped from the main lirc tarball.

Not all drivers have been tested with this codebase and certainly not all devices they support, but its a solid place to start with these in-kernel. Patches are against 2.6.27-rc5-git9 or so, and have been tested running the same, at least in the cases where hardware was available. These patches are also in the latest nightly Fedora rawhide kernel, for those who want instant gratification[3]. Note that you also need the lirc userspace to really do any meaningful testing...

CC Christoph Bartelmus <[email protected]>
CC Eric Sandeen <[email protected]>
CC Mario Limonciello <[email protected]>

[1] http://people.redhat.com/jwilson/lirc/, in a tarball atm
[2] http://git.wilsonet.com/linux-2.6-lirc.git/ (s/http/git/ to clone)
[3] http://kojipkgs.fedoraproject.org/packages/kernel/2.6.27/0.314.rc5.git9.fc10/
is the latest build, at least as of this submission

Combined diffstat:

 MAINTAINERS                           |    9 +
 drivers/input/Kconfig                 |    2 +
 drivers/input/Makefile                |    2 +
 drivers/input/lirc/Kconfig            |  142 ++++
 drivers/input/lirc/Makefile           |   25 +
 drivers/input/lirc/commandir.c        |  982 +++++++++++++++++++++++
 drivers/input/lirc/commandir.h        |   68 ++
 drivers/input/lirc/lirc.h             |  103 +++
 drivers/input/lirc/lirc_atiusb.c      | 1321 +++++++++++++++++++++++++++++++
 drivers/input/lirc/lirc_bt829.c       |  388 +++++++++
 drivers/input/lirc/lirc_cmdir.c       |  596 ++++++++++++++
 drivers/input/lirc/lirc_cmdir.h       |   25 +
 drivers/input/lirc/lirc_dev.c         |  809 +++++++++++++++++++
 drivers/input/lirc/lirc_dev.h         |  262 ++++++
 drivers/input/lirc/lirc_i2c.c         |  639 +++++++++++++++
 drivers/input/lirc/lirc_igorplugusb.c |  619 +++++++++++++++
 drivers/input/lirc/lirc_imon.c        | 1280 ++++++++++++++++++++++++++++++
 drivers/input/lirc/lirc_it87.c        |  999 +++++++++++++++++++++++
 drivers/input/lirc/lirc_it87.h        |  116 +++
 drivers/input/lirc/lirc_ite8709.c     |  545 +++++++++++++
 drivers/input/lirc/lirc_mceusb.c      |  890 +++++++++++++++++++++
 drivers/input/lirc/lirc_mceusb2.c     | 1119 ++++++++++++++++++++++++++
 drivers/input/lirc/lirc_parallel.c    |  728 +++++++++++++++++
 drivers/input/lirc/lirc_parallel.h    |   26 +
 drivers/input/lirc/lirc_sasem.c       |  969 +++++++++++++++++++++++
 drivers/input/lirc/lirc_serial.c      | 1312 +++++++++++++++++++++++++++++++
 drivers/input/lirc/lirc_sir.c         | 1302 ++++++++++++++++++++++++++++++
 drivers/input/lirc/lirc_streamzap.c   |  795 +++++++++++++++++++
 drivers/input/lirc/lirc_ttusbir.c     |  400 ++++++++++
 drivers/input/lirc/lirc_zilog.c       | 1395 +++++++++++++++++++++++++++++++++
 30 files changed, 17868 insertions(+), 0 deletions(-)
 create mode 100644 drivers/input/lirc/Kconfig
 create mode 100644 drivers/input/lirc/Makefile
 create mode 100644 drivers/input/lirc/commandir.c
 create mode 100644 drivers/input/lirc/commandir.h
 create mode 100644 drivers/input/lirc/lirc.h
 create mode 100644 drivers/input/lirc/lirc_atiusb.c
 create mode 100644 drivers/input/lirc/lirc_bt829.c
 create mode 100644 drivers/input/lirc/lirc_cmdir.c
 create mode 100644 drivers/input/lirc/lirc_cmdir.h
 create mode 100644 drivers/input/lirc/lirc_dev.c
 create mode 100644 drivers/input/lirc/lirc_dev.h
 create mode 100644 drivers/input/lirc/lirc_i2c.c
 create mode 100644 drivers/input/lirc/lirc_igorplugusb.c
 create mode 100644 drivers/input/lirc/lirc_imon.c
 create mode 100644 drivers/input/lirc/lirc_it87.c
 create mode 100644 drivers/input/lirc/lirc_it87.h
 create mode 100644 drivers/input/lirc/lirc_ite8709.c
 create mode 100644 drivers/input/lirc/lirc_mceusb.c
 create mode 100644 drivers/input/lirc/lirc_mceusb2.c
 create mode 100644 drivers/input/lirc/lirc_parallel.c
 create mode 100644 drivers/input/lirc/lirc_parallel.h
 create mode 100644 drivers/input/lirc/lirc_sasem.c
 create mode 100644 drivers/input/lirc/lirc_serial.c
 create mode 100644 drivers/input/lirc/lirc_sir.c
 create mode 100644 drivers/input/lirc/lirc_streamzap.c
 create mode 100644 drivers/input/lirc/lirc_ttusbir.c
 create mode 100644 drivers/input/lirc/lirc_zilog.c