From: Hans Verkuil <hverkuil@xs4all.nl> To: linux-media@vger.kernel.org Cc: dri-devel@lists.freedesktop.org, m.szyprowski@samsung.com, linux-input@vger.kernel.org, lars@opdenkamp.eu, linux-samsung-soc@vger.kernel.org, kamil@wypas.org Subject: [PATCH 0/4] cec-ctl/compliance: new CEC utilities Date: Mon, 29 Jun 2015 12:43:12 +0200 [thread overview] Message-ID: <1435574596-38029-1-git-send-email-hverkuil@xs4all.nl> (raw) From: Hans Verkuil <hans.verkuil@cisco.com> 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. The main missing feature is that there is no logging of received messages. This would be very useful to add. There is also no event handling/async message handling yet. But it is very useful to test CEC messages. Regards, Hans 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 | 13 + include/linux/cec-funcs.h | 1516 ++++++++++++++++++++++ include/linux/cec.h | 709 ++++++++++ utils/Makefile.am | 2 + utils/cec-compliance/Makefile.am | 3 + utils/cec-compliance/cec-compliance.cpp | 943 ++++++++++++++ utils/cec-compliance/cec-compliance.h | 87 ++ utils/cec-ctl/Makefile.am | 8 + utils/cec-ctl/cec-ctl.cpp | 1000 ++++++++++++++ utils/cec-ctl/msg2ctl.pl | 330 +++++ utils/keytable/parse.h | 10 + utils/keytable/rc_keymaps/cec | 77 ++ utils/keytable/rc_keymaps/technisat_ts35 | 34 + utils/keytable/rc_keymaps/terratec_cinergy_c_pci | 49 + utils/keytable/rc_keymaps/terratec_cinergy_s2_hd | 49 + utils/keytable/rc_keymaps/twinhan_dtv_cab_ci | 54 + utils/keytable/rc_maps.cfg | 1 + 19 files changed, 4891 insertions(+) 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 100755 utils/cec-ctl/msg2ctl.pl create mode 100644 utils/keytable/rc_keymaps/cec create mode 100644 utils/keytable/rc_keymaps/technisat_ts35 create mode 100644 utils/keytable/rc_keymaps/terratec_cinergy_c_pci create mode 100644 utils/keytable/rc_keymaps/terratec_cinergy_s2_hd create mode 100644 utils/keytable/rc_keymaps/twinhan_dtv_cab_ci -- 2.1.4
WARNING: multiple messages have this Message-ID (diff)
From: Hans Verkuil <hverkuil@xs4all.nl> To: linux-media@vger.kernel.org Cc: linux-samsung-soc@vger.kernel.org, kamil@wypas.org, dri-devel@lists.freedesktop.org, lars@opdenkamp.eu, linux-input@vger.kernel.org, m.szyprowski@samsung.com Subject: [PATCH 0/4] cec-ctl/compliance: new CEC utilities Date: Mon, 29 Jun 2015 12:43:12 +0200 [thread overview] Message-ID: <1435574596-38029-1-git-send-email-hverkuil@xs4all.nl> (raw) From: Hans Verkuil <hans.verkuil@cisco.com> 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. The main missing feature is that there is no logging of received messages. This would be very useful to add. There is also no event handling/async message handling yet. But it is very useful to test CEC messages. Regards, Hans 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 | 13 + include/linux/cec-funcs.h | 1516 ++++++++++++++++++++++ include/linux/cec.h | 709 ++++++++++ utils/Makefile.am | 2 + utils/cec-compliance/Makefile.am | 3 + utils/cec-compliance/cec-compliance.cpp | 943 ++++++++++++++ utils/cec-compliance/cec-compliance.h | 87 ++ utils/cec-ctl/Makefile.am | 8 + utils/cec-ctl/cec-ctl.cpp | 1000 ++++++++++++++ utils/cec-ctl/msg2ctl.pl | 330 +++++ utils/keytable/parse.h | 10 + utils/keytable/rc_keymaps/cec | 77 ++ utils/keytable/rc_keymaps/technisat_ts35 | 34 + utils/keytable/rc_keymaps/terratec_cinergy_c_pci | 49 + utils/keytable/rc_keymaps/terratec_cinergy_s2_hd | 49 + utils/keytable/rc_keymaps/twinhan_dtv_cab_ci | 54 + utils/keytable/rc_maps.cfg | 1 + 19 files changed, 4891 insertions(+) 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 100755 utils/cec-ctl/msg2ctl.pl create mode 100644 utils/keytable/rc_keymaps/cec create mode 100644 utils/keytable/rc_keymaps/technisat_ts35 create mode 100644 utils/keytable/rc_keymaps/terratec_cinergy_c_pci create mode 100644 utils/keytable/rc_keymaps/terratec_cinergy_s2_hd create mode 100644 utils/keytable/rc_keymaps/twinhan_dtv_cab_ci -- 2.1.4 _______________________________________________ dri-devel mailing list dri-devel@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/dri-devel
next reply other threads:[~2015-06-29 10:43 UTC|newest] Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top 2015-06-29 10:43 Hans Verkuil [this message] 2015-06-29 10:43 ` [PATCH 0/4] cec-ctl/compliance: new CEC utilities Hans Verkuil 2015-06-29 10:43 ` [PATCH 1/4] Makefile.am: copy cec headers with make sync-with-kernel Hans Verkuil 2015-06-29 10:43 ` Hans Verkuil 2015-06-29 10:43 ` [PATCH 2/4] sync-with-kernel Hans Verkuil 2015-06-29 10:43 ` Hans Verkuil 2015-06-29 10:43 ` [PATCH 3/4] cec-compliance: add new CEC compliance utility Hans Verkuil 2015-06-29 10:43 ` [PATCH 4/4] cec-ctl: CEC control utility Hans Verkuil 2015-06-29 10:43 ` Hans Verkuil
Reply instructions: You may reply publicly to this message via plain-text email using any one of the following methods: * Save the following mbox file, import it into your mail client, and reply-to-all from there: mbox Avoid top-posting and favor interleaved quoting: https://en.wikipedia.org/wiki/Posting_style#Interleaved_style * Reply using the --to, --cc, and --in-reply-to switches of git-send-email(1): git send-email \ --in-reply-to=1435574596-38029-1-git-send-email-hverkuil@xs4all.nl \ --to=hverkuil@xs4all.nl \ --cc=dri-devel@lists.freedesktop.org \ --cc=kamil@wypas.org \ --cc=lars@opdenkamp.eu \ --cc=linux-input@vger.kernel.org \ --cc=linux-media@vger.kernel.org \ --cc=linux-samsung-soc@vger.kernel.org \ --cc=m.szyprowski@samsung.com \ /path/to/YOUR_REPLY https://kernel.org/pub/software/scm/git/docs/git-send-email.html * If your mail client supports setting the In-Reply-To header via mailto: links, try the mailto: linkBe sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes, see mirroring instructions on how to clone and mirror all data and code used by this external index.