AgeCommit message (Collapse)AuthorFilesLines
2017-09-14decode_tm6000: fix buildMauro Carvalho Chehab2-2/+2
The build for this ancillary utility has broken after moved to contrib/. Fix it. Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
2017-09-14utils: move rds out of it, placing at contribMauro Carvalho Chehab6-9/+7
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>
2017-09-14contrib: better adjust directory contentsMauro Carvalho Chehab3-18/+3
Two parsers remained at the main dir. Also, Makefile.am needs an update. Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
2017-09-14Move decode_tm6000 and xc3028-firmware to contribMauro Carvalho Chehab14-6/+5
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>
2017-09-14README: update IR utilsMauro Carvalho Chehab1-1/+4
The name of rc-keytable is wrong. Update it, and add ir-ctl too. Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
2017-09-14v4l-utils: improve READMEHans Verkuil1-0/+7
Mention the linux-media mailinglist and the v4l-utils wikipage. Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>
2017-09-13qv4l2: add Z16 depth support.Hans Verkuil1-0/+7
It's effectively identical to Y16, so easy to add support for this. Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>
2017-09-12dvb: add pthread dependencies where neededMauro Carvalho Chehab1-8/+12
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>
2017-09-12contrib: move parsers to a separate directoryMauro Carvalho Chehab32-0/+0
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>
2017-09-12libdvbv5: be sure to add pthread libary if needMauro Carvalho Chehab1-1/+1
If built with pthread, the corresponding library should be linkedited when building it. Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
2017-09-12dvb-dev-local: fix pthread checksMauro Carvalho Chehab1-2/+8
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>
2017-09-09v4l2-ctl: rename CEA/cea to CTA/ctaHans Verkuil2-29/+29
The standard was renamed, so update the strings. Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>
2017-09-09v4l2-ctl: support new EDID togglesHans Verkuil1-69/+133
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>
2017-08-30cec-ctl: fix topology tree viewHans Verkuil1-12/+18
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>
2017-08-22cec-ctl.1.in: add --help-htng option descriptionHans Verkuil1-0/+6
Describe the new option in the man page. Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>
2017-08-22cec: add support for the Hospitality ProfileHans Verkuil11-28/+1198
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>
2017-08-22cec-ctl: fix crash when store_pin is NULLHans Verkuil1-1/+1
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>
2017-08-20v4l-utils: sync-with-kernelHans Verkuil2-1/+2
RC_TYPE_ was renamed to RC_PROTO_, so update gen_keytables.pl script. Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>
2017-08-20v4l2-compliance: fix warning in buffer::checkNiklas Söderlund1-1/+1
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>
2017-08-20ir-keytable: "ir-keytable -s rc1" should only describe rc1, not allSean Young1-5/+8
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>
2017-08-20ir-keytable: ensure udev rule fires on rc input deviceSean Young1-1/+1
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>
2017-08-20ir-keytable: null deref if kernel compiled without CONFIG_INPUT_EVDEVSean Young1-3/+1
Signed-off-by: Sean Young <sean@mess.org>
2017-08-20ir-ctl: report LIRCCODE drivers even if we don't supported themSean Young1-0/+4
Signed-off-by: Sean Young <sean@mess.org>
2017-08-20ir-ctl: lirc resolution is in microsecondsSean Young1-1/+1
Signed-off-by: Sean Young <sean@mess.org>
2017-08-20ir-ctl: "ir-ctl -S rc6_mce:0x800f0410" does not work on 32-bitSean Young1-1/+1
0x800f0410 does not fit in 32-bit signed long. Signed-off-by: Sean Young <sean@mess.org>
2017-08-20ir-keytable: do not fail at the first transmit-only deviceSean Young1-1/+1
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>
2017-08-20v4l-utils: sync with kernelHans Verkuil2-12/+12
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>
2017-08-20cec-ctl: allow stdout/in for --store/analyze-pinHans Verkuil2-18/+35
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>
2017-08-11v4l2-ctl: qc.nr_of_dims is 0 for strings, check thisHans Verkuil1-5/+7
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>
2017-08-10v4l-utils: sync-with-kernelHans Verkuil4-75/+83
Updated headers etc. to the latest media_tree master. Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>
2017-08-09cec-common.cpp: add missing stdio.hHans Verkuil1-0/+1
This failed the ubuntu build of v4l-utils. Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>
2017-08-09cec-ctl: add --list-devicesHans Verkuil1-0/+107
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>
2017-08-08cec-compliance: fix uninitialized format ID arrayHans Verkuil1-1/+1
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>
2017-08-08cec-compliance: use cec-commonHans Verkuil5-293/+10
Use cec-common.h and drop the duplicate code. Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>
2017-08-08cec-follower: use cec-commonHans Verkuil4-268/+13
Use cec-common.h and drop the duplicate code. Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>
2017-08-08cec-ctl: use cec-commonHans Verkuil4-292/+10
Use cec-common.h and drop the duplicate code. Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>
2017-08-08cec-common: move common cec code to cec-common.cppHans Verkuil2-0/+344
All three utilities need this, so make this common code. Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>
2017-08-08cec-compliance: move top-level adapter tests to cec-test-adapter.cppHans Verkuil3-52/+59
Refactor the code a bit. Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>
2017-08-08cec-compliance: send IMAGE_VIEW_ON when no HPDHans Verkuil1-3/+31
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>
2017-08-08cec-compliance: try to reconnect if the HPD is goneHans Verkuil2-55/+131
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>
2017-08-08cec-follower: use ev.state_change.log_addr_maskHans Verkuil1-4/+8
Use ev.state_change.log_addr_mask instead of calling G_LOG_ADDRS. Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>
2017-08-08keytable.c: add support for the CEC protocolHans Verkuil1-0/+2
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>
2017-08-05utils/cec-ctl/.gitignore: add cec-pin-gen.hHans Verkuil1-0/+1
Ignore generated header. Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>
2017-08-05cec-ctl.1.in: clarify --no-rc-passthroughHans Verkuil1-1/+3
Be a bit more precise in the manual page about this option. Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>
2017-08-03cec-ctl: fix pin analysis bugHans Verkuil2-4/+8
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>
2017-08-03cec-ctl: improve pin timestampsHans Verkuil1-51/+47
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>
2017-08-03cec-ctl: make pin recording easier to readHans Verkuil1-18/+23
Split seconds from sub-seconds, easier to read than these large nanosecond values. Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>
2017-08-03cec-ctl: rename --record-pin and --playback-pinHans Verkuil2-61/+61
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>
2017-08-01cec-ctl: add --record-pin and --playback-pin optionsHans Verkuil2-19/+169
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>
2017-08-01cec-ctl: get the monotonic start time and wallclock time only onceHans Verkuil1-6/+8
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>

Privacy Policy