linux-input.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCHv2 0/4] cec-ctl/compliance: new CEC utilities
@ 2015-08-18  8:36 Hans Verkuil
  2015-08-18  8:36 ` [PATCHv2 1/4] Makefile.am: copy cec headers with make sync-with-kernel Hans Verkuil
                   ` (4 more replies)
  0 siblings, 5 replies; 6+ messages in thread
From: Hans Verkuil @ 2015-08-18  8:36 UTC (permalink / raw)
  To: linux-media
  Cc: dri-devel, m.szyprowski, linux-input, linux-samsung-soc, lars,
	kamil, linux

This patch series adds two new utilities to the v4l-utils git repository
(http://git.linuxtv.org/cgit.cgi/v4l-utils.git/). It assumes that the new
CEC framework available in the kernel:

http://www.mail-archive.com/linux-media@vger.kernel.org/msg90085.html

The first patch adds the new cec headers to the 'sync-with-kernel' target,
the second syncs with the kernel and adds the new cec headers to v4l-utils,
the third adds the compliance utility and the last adds the cec-ctl utility.

The cec-compliance utility is by no means 100% coverage, in particular the
event API and non-blocking ioctls are untested. But it is a starting point,
and a complex protocol like CEC really needs a compliance tool.

The cec-ctl utility has almost full CEC message coverage: all generated from
the cec headers, so this is easy to keep up to date.

Regards,

	Hans

Changes since v1:

- Added CEC message logging/monitoring to cec-ctl.
- Add support to clear the logical addresses.

Hans Verkuil (4):
  Makefile.am: copy cec headers with make sync-with-kernel
  sync-with-kernel
  cec-compliance: add new CEC compliance utility
  cec-ctl: CEC control utility

 Makefile.am                                   |    4 +
 configure.ac                                  |    2 +
 contrib/freebsd/include/linux/input.h         |   29 +
 contrib/freebsd/include/linux/v4l2-controls.h |    4 +
 include/linux/cec-funcs.h                     | 1771 +++++++++++++++++++++++++
 include/linux/cec.h                           |  781 +++++++++++
 include/linux/v4l2-controls.h                 |    4 +
 utils/Makefile.am                             |    2 +
 utils/cec-compliance/Makefile.am              |    3 +
 utils/cec-compliance/cec-compliance.cpp       |  926 +++++++++++++
 utils/cec-compliance/cec-compliance.h         |   87 ++
 utils/cec-ctl/Makefile.am                     |    8 +
 utils/cec-ctl/cec-ctl.cpp                     | 1296 ++++++++++++++++++
 utils/cec-ctl/msg2ctl.pl                      |  430 ++++++
 utils/keytable/parse.h                        |   18 +
 utils/keytable/rc_keymaps/lme2510             |  132 +-
 utils/keytable/rc_maps.cfg                    |    1 +
 17 files changed, 5432 insertions(+), 66 deletions(-)
 create mode 100644 include/linux/cec-funcs.h
 create mode 100644 include/linux/cec.h
 create mode 100644 utils/cec-compliance/Makefile.am
 create mode 100644 utils/cec-compliance/cec-compliance.cpp
 create mode 100644 utils/cec-compliance/cec-compliance.h
 create mode 100644 utils/cec-ctl/Makefile.am
 create mode 100644 utils/cec-ctl/cec-ctl.cpp
 create mode 100644 utils/cec-ctl/msg2ctl.pl

-- 
2.1.4

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2015-08-18  8:46 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-08-18  8:36 [PATCHv2 0/4] cec-ctl/compliance: new CEC utilities Hans Verkuil
2015-08-18  8:36 ` [PATCHv2 1/4] Makefile.am: copy cec headers with make sync-with-kernel Hans Verkuil
2015-08-18  8:36 ` [PATCHv2 2/4] sync-with-kernel Hans Verkuil
2015-08-18  8:36 ` [PATCHv2 3/4] cec-compliance: add new CEC compliance utility Hans Verkuil
2015-08-18  8:36 ` [PATCHv2 4/4] cec-ctl: CEC control utility Hans Verkuil
2015-08-18  8:46 ` [PATCHv2 0/4] cec-ctl/compliance: new CEC utilities Hans Verkuil

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).