Age | Commit message (Collapse) | Author | Files | Lines |
|
The build for this ancillary utility has broken after moved to
contrib/. Fix it.
Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
|
|
The rds/ dir isn't a core RDS set of utilities, but something else.
Move it to contrib/
Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
|
|
Two parsers remained at the main dir. Also, Makefile.am needs
an update.
Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
|
|
Those are actually ancillary development tools, and aren't
used by end-users. So, move them to contrib/ dir.
Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
|
|
The name of rc-keytable is wrong. Update it, and add ir-ctl too.
Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
|
|
Mention the linux-media mailinglist and the v4l-utils wikipage.
Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>
|
|
It's effectively identical to Y16, so easy to add support for this.
Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>
|
|
There are still some Makefile pthread fixes to be applied, in
order to build it on certain architectures.
Fixes: f07b90a87a92 ("libdvbv5: be sure to add pthread libary if need")
Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
|
|
In order to organize the tree, let's place the USB parsers
on a separate directory.
Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
|
|
If built with pthread, the corresponding library should be
linkedited when building it.
Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
|
|
If there's no pthread at all, it doesn't make sense to include
pthread.h, nor to use pthread_t typedef.
Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
|
|
The standard was renamed, so update the strings.
Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>
|
|
The CTA-861-G standard adds new bits to the Speaker Allocation Map
(and also renamed some of the existing speaker allocations to conform
to other standards).
Also add support for the new Hybrid Log-Gamma transfer function and
DCI-P3 colorimetry.
Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>
|
|
The local adapter was no longer shows in the topology tree view that
is shown when the -S option is used.
In addition, when an adapter (local or remote) has multiple logical
addresses the logical address name was the same for both.
By encoding both PA and LA in the phys_addrs array the LA is preserved
and can be printed correctly.
Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>
|
|
Describe the new option in the man page.
Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>
|
|
This patch adds support for the CEC standard of the Hospitality Technology
Next Generation association:
https://htng.site-ym.com/resource/collection/0F424615-23F0-4CBB-AFA9-F381C0DB6ACF/2014-06-17_EDC-Hospitality_Profile_for_HDMI_CEC_v1_3-FINAL.docx.doc
I finally managed to get hold of a display that implemented this so I could
test it.
Currently the cec-htng headers are maintained here, but this might change
in the future.
Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>
|
|
The patch adding support for stdout as the destination for the pin
data broke cec-ctl: if store_pin is NULL (i.e. almost always), then
it called strcmp with a NULL pointer.
Fix this.
Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>
|
|
RC_TYPE_ was renamed to RC_PROTO_, so update gen_keytables.pl
script.
Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>
|
|
The warning don't match the condition which triggers it, fix that.
Signed-off-by: Niklas Söderlund <niklas.soderlund+renesas@ragnatech.se>
Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>
|
|
Without this change "ir-keytable -s rc1" lists all rc devices, like
it was run without any arguments.
Signed-off-by: Sean Young <sean@mess.org>
|
|
The rc device is created before the input device, so if ir-keytable runs
too quickly the input device does not exist yet.
This also prevents udev from starting ir-keytable on an transmit only
device, which has no input device.
Note that $id in RUN will not work, since that is expanded after all the
rules are matched, at which point the the parent might have been changed
by another match in another rule. The argument to $env{key} is expanded
immediately.
Reported-by: Matthias Reichl <hias@horus.com>
Signed-off-by: Sean Young <sean@mess.org>
|
|
Signed-off-by: Sean Young <sean@mess.org>
|
|
Signed-off-by: Sean Young <sean@mess.org>
|
|
Signed-off-by: Sean Young <sean@mess.org>
|
|
0x800f0410 does not fit in 32-bit signed long.
Signed-off-by: Sean Young <sean@mess.org>
|
|
It is not possible to list all rc devices without this, since
it fails when ir-keytable encounters an rc device without an
input device (ie. IR transmitters).
Note that IR transmitters are not listed, but they are of no
interest to ir-keytable anyway.
Signed-off-by: Sean Young <sean@mess.org>
|
|
The CEC_EVENT_PIN_* events were renamed to CEC_EVENT_PIN_CEC_*.
Update cec-ctl accordingly.
Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>
|
|
If the specified filename is -, then use stdout/in as the file
to store the data to or analyze the data from.
Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>
|
|
The string type doesn't use dimensions, so nr_of_dims is 0 which
means that using nr_of_dims - 1 as an index in an array is a bad
idea.
Put that code under an 'if (qc.nr_of_dims)' to avoid a bus error.
Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>
|
|
Updated headers etc. to the latest media_tree master.
Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>
|
|
This failed the ubuntu build of v4l-utils.
Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>
|
|
Just like v4l2-ctl add a simple --list-devices option to quickly list
all available cec devices.
Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>
|
|
The array with audio format IDs used to create the Request
Short Audio Descriptor message was uninitialized. Set to 0.
Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>
|
|
Use cec-common.h and drop the duplicate code.
Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>
|
|
Use cec-common.h and drop the duplicate code.
Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>
|
|
Use cec-common.h and drop the duplicate code.
Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>
|
|
All three utilities need this, so make this common code.
Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>
|
|
Refactor the code a bit.
Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>
|
|
When no HPD is detected at the start, then try to send an IMAGE_VIEW_ON
to wake up the display.
This to support some displays that turn off the HPD but still listen
to CEC commands.
Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>
|
|
The transmit_timeout() function will fail if the HPD is gone.
This can happen when the remote TV switches inputs or goes into
standby/wakes up. Some TVs also pull the HPD low when in standby,
even though CEC still works. In that case you need to send an
Image View On message.
Modify the transmit_timeout() so that it waits for 3 seconds for
the HPD to reappear. If it doesn't, then it sends an Image View On
message and again waits for the HPD. If neither works, only then does
it fail.
Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>
|
|
Use ev.state_change.log_addr_mask instead of calling G_LOG_ADDRS.
Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>
|
|
The CEC protocol wasn't known, so 'Supported protocols:' would just say
'other' instead of 'cec'.
Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>
Acked-by: Sean Young <sean@mess.org>
|
|
Ignore generated header.
Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>
|
|
Be a bit more precise in the manual page about this option.
Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>
|
|
The transition between a NACKed byte and a start bit was not handled
correctly, cause incorrect 'low drive' errors.
Also fix a bug where the last bit of the pin recording file was not
processed.
Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>
|
|
The way timestamps were shown was confusing and it was hard to
relate them to kernel timestamps.
Clean this up.
Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>
|
|
Split seconds from sub-seconds, easier to read than these large
nanosecond values.
Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>
|
|
Rename --record-pin to --store-pin and --playback-pin to
--analyze-pin.
The names were confusing since we also have --record and --playback
options that do something quite different. Also 'playback' suggested
that the CEC pin would be driven when playing back the file, and
that's not the case.
Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>
|
|
With these option you can record and playback CEC pin events.
This is only possible for CEC adapters that support CEC_CAP_MONITOR_PIN.
These options make it easy to record the CEC bus traffic at the
lowest level and play it back and analyze it later.
Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>
|
|
Don't call these every time ts2s() is called, just do it once at
start up.
Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>
|