aboutsummaryrefslogtreecommitdiffstats
path: root/contrib
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 Chehab4-0/+147
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 Chehab12-1/+1975
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-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-07-18v4l-utils: sync with latest kernelHans Verkuil1-0/+1
Update the headers to the latest linux kernel. Specifically for the new CEC pin monitoring API. Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>
2017-06-24v4l-utils: sync with latest kernelHans Verkuil4-4/+22
Update to the latest kernel headers from the media_tree repo. Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>
2017-04-15v4l-utils: sync-with-kernelHans Verkuil1-0/+18
Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>
2017-04-11v4l-utils: sync-with-kernelHans Verkuil1-2/+2
Main change is a fix for v4l2-tpg-core.c. Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>
2017-04-10v4l-utils: sync with kernelHans Verkuil1-2/+1
Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>
2017-02-22v4l-utils: sync with 4.10 kernel headersHans Verkuil2-5/+4
Sync with the 4.10 kernel headers. Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>
2016-11-30v4l-utils: sync with latest kernelHans Verkuil1-0/+3
Main change is a TPG fix for the HSV formats. Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>
2016-11-16v4l-utils: sync-with-kernelHans Verkuil2-22/+56
Update to the latest media_tree code. Main change is that the CEC framework is now out of staging so the directory where the headers come from has changed (include/uapi/linux/cec*). Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>
2016-11-02v4l-utils: sync-with-kernelHans Verkuil2-5/+34
Update to the latest kernel code from media_tree master. Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>
2016-10-10v4l-utils: sync-with-kernel 4.8Hans Verkuil1-0/+8
Synchronize with the 4.8 kernel headers. Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>
2016-09-05parse_cx231xx.pl: improve and fix GPIO handlingMauro Carvalho Chehab1-6/+8
The logic there is incomplete and broken. Fix it. Signed-off-by: Mauro Carvalho Chehab <mchehab@osg.samsung.com>
2016-09-05add a parser for tda18271/mb86a20s with cx231xxMauro Carvalho Chehab1-0/+133
That helps debugging issues on ISDB-T cx231xx devices. Signed-off-by: Mauro Carvalho Chehab <mchehab@osg.samsung.com>
2016-08-29parse_tcpdump_log.pl: add support to capture from multiple devsMauro Carvalho Chehab1-5/+7
It is possible to capture from multiple devices. Actually, some media devices are mapped via multiple, ones, like the cx231xx ones, with can be seen with multiple usb devs on some machines: For Polaris AV Capturb (1554:5010 rev 40.01) ==> ./parse_tcpdump_log.pl --device usbmon2 --usbdev 8 For Polaris AV Capturb (1554:5010 rev 40.01) ==> ./parse_tcpdump_log.pl --device usbmon2 --usbdev 4 So, add support to work with a list of devices. Also, print the device on the logs, as this can be useful when monitoring the hole usb bus or a set of device IDs like: # ./parse_tcpdump_log.pl --device usbmon2 000000000 ms 000000 ms (000046 us EP=80, Dev=08) 80 06 00 01 00 00 28 00 >>> 12 01 00 02 ef 02 01 40 54 15 10 50 01 40 01 02 03 01 000000000 ms 000000 ms (000089 us EP=80, Dev=06) 80 06 00 01 00 00 28 00 >>> 12 01 10 01 00 00 00 40 7b 06 03 23 00 03 01 02 00 01 000000000 ms 000000 ms (000188 us EP=80, Dev=05) 80 06 00 01 00 00 28 00 >>> 12 01 00 02 09 00 01 40 e3 05 08 06 36 85 00 01 00 01 000000000 ms 000000 ms (001536 us EP=80, Dev=04) 80 06 00 01 00 00 28 00 >>> 12 01 01 02 e0 01 01 40 87 80 2a 0a 01 00 00 00 00 01 000000002 ms 000002 ms (000215 us EP=80, Dev=03) 80 06 00 01 00 00 28 00 >>> 12 01 00 02 09 00 01 40 e3 05 08 06 36 85 00 01 00 01 000000002 ms 000000 ms (000242 us EP=80, Dev=02) 80 06 00 01 00 00 28 00 >>> 12 01 00 02 00 00 00 08 6d 04 2b c5 01 12 01 02 00 01 000000002 ms 000000 ms (000004 us EP=80, Dev=01) 80 06 00 01 00 00 28 00 >>> 12 01 00 02 09 00 01 40 6b 1d 02 00 06 04 03 02 01 01 Signed-off-by: Mauro Carvalho Chehab <mchehab@osg.samsung.com>
2016-08-29parse_tcpdump_log.pl: fix logic that lists available devicesMauro Carvalho Chehab1-17/+21
Right now, the list of devices doesn't help much if there are multiple devices on a hub. Fix it to suggest the syntax to filter just one device. Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
2016-08-25v4l-utils: sync-with-kernelHans Verkuil2-8/+21
Update headers to those from the latest media_tree master branch. Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>
2016-08-07Add some generated files to .gitignoreMauro Carvalho Chehab1-0/+1
Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
2016-07-08v4l-utils: sync-with-kernelHans Verkuil3-6/+40
Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>
2016-07-01include sys/sysmacros.h for major() & minor()Mike Frysinger1-0/+1
Linux C libraries are looking to disentangle sysmacros.h from the sys/types.h header to clean up namespace pollution. Since these macros are provided in glibc/etc... today, switch to pulling in this header directly. Signed-off-by: Mike Frysinger <vapier@gentoo.org> Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>
2016-05-28v4l-utils: sync-with-kernelHans Verkuil1-28/+10
Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>
2016-04-22v4l-utils: sync-with-kernelHans Verkuil1-0/+1
The old vivid-tpg has been moved to a new v4l2-tpg module, so this caused quite a bit of churn in this sync update. Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>
2016-03-23mc_nextgen_test: comment out the connectors entityMauro Carvalho Chehab1-0/+2
Currently, this API was disabled for uAPI, because it may still have changes. Comment out the code. Signed-off-by: Mauro Carvalho Chehab <mchehab@osg.samsung.com>
2016-03-05mc_nextgen_test: enable ALSA interfaces and add new alsa typesMauro Carvalho Chehab1-2/+6
Two extra ALSA interface types were added on the latest version of the ALSA patchset, with got merged upstream. Add support for them. Signed-off-by: Mauro Carvalho Chehab <mchehab@osg.samsung.com>
2016-03-05mc_nextgen_test: Rearrange the order of entity function translation tableMauro Carvalho Chehab1-16/+30
This function should match what's there at include/linux/media.h. It is better to reorder the functions there to appear exactly at the same order as the header, as this makes easier to check if something's missing. Signed-off-by: Mauro Carvalho Chehab <mchehab@osg.samsung.com>
2016-03-05mc_nextgen_test: add names for ALSA capture, playback, and mixer entitiesShuah Khan1-0/+6
Add support for ALSA capture, playback, and mixer entity functions. Signed-off-by: Shuah Khan <shuahkh@osg.samsung.com>
2016-03-05Sync with latest Kernel versionMauro Carvalho Chehab2-0/+9
Signed-off-by: Mauro Carvalho Chehab <mchehab@osg.samsung.com>
2016-02-20v4l-utils: sync with kernelHans Verkuil2-0/+15
Sync to the latest media_tree master branch. Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>
2016-02-16media.h: synchronize the devices with their new valuesMauro Carvalho Chehab1-2/+0
As we added more space at the media entities numberspace, we need to update it, otherwise, those entities won't be properly detected. Also, one entity type was removed. Drop it from mc_nextgen_test. Signed-off-by: Mauro Carvalho Chehab <mchehab@osg.samsung.com>
2016-02-12mc_nextgen_test: improve .dot output adding driver and busMauro Carvalho Chehab1-2/+3
Show the bus and driver name at the GraphViz .dot output. Signed-off-by: Mauro Carvalho Chehab <mchehab@osg.samsung.com>
2016-02-11mc_nextgen_test: get and print MC infoMauro Carvalho Chehab1-0/+27
Let's retrieve also the device info printing it, and adding the device model at the generated graphviz output. Signed-off-by: Mauro Carvalho Chehab <mchehab@osg.samsung.com>
2016-02-08sync-with-kernelHans Verkuil1-11/+35
Just two changes: v4l2-common.h is now covered by the BSD license as well and a vivid test pattern generator bug fix. Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>
2016-01-28mc_nextgen_test: add support for IF decodersMauro Carvalho Chehab1-0/+4
This is needed to describe tuners like Philips MK3 ones and by audio IF decoders like msp3400. Signed-off-by: Mauro Carvalho Chehab <mchehab@osg.samsung.com>
2016-01-25mc_nextgen_test: Add parser for max_tsout parameterMauro Carvalho Chehab1-0/+4
While the logic to handle max_tsout was added, the parser for the parameter was not added. Add it, to allow userspace to adjust according to his needs. Signed-off-by: Mauro Carvalho Chehab <mchehab@osg.samsung.com>
2016-01-25mc_nextgen_test: limit by default the graph size for DTVMauro Carvalho Chehab1-3/+58
DTV demuxes may have 256 outputs. That makes the graphviz output unpractical. Add a logic, enabled by default, that limits the max number of DTV mux outputs to 5. Signed-off-by: Mauro Carvalho Chehab <mchehab@osg.samsung.com>
2016-01-25mc_nextgen_test: fix compile warningsShuah Khan1-5/+14
Fix the following compile warnings: CC mc_nextgen_test-mc_nextgen_test.o mc_nextgen_test.c: In function ‘media_get_ifname’: mc_nextgen_test.c:410:3: warning: ignoring return value of ‘asprintf’, declared with attribute warn_unused_result [-Wunused-result] asprintf(&name, "%s", devname); ^ mc_nextgen_test.c: In function ‘media_get_ifname_udev’: mc_nextgen_test.c:335:4: warning: ignoring return value of ‘asprintf’, declared with attribute warn_unused_result [-Wunused-result] asprintf(&name, "%s", p); ^ mc_nextgen_test.c: In function ‘objname’: mc_nextgen_test.c:249:2: warning: ignoring return value of ‘asprintf’, declared with attribute warn_unused_result [-Wunused-result] asprintf(&name, "%s%c%d", gobj_type(id), delimiter, media_localid(id)); ^ Signed-off-by: Shuah Khan <shuahkh@osg.samsung.com>
2016-01-25mc_nextgen_test: port it to use the new G_TOPOLOGY ioctlMauro Carvalho Chehab1-67/+88
Some changes happened at the headers. Update the tool to reflect such changes. Signed-off-by: Mauro Carvalho Chehab <mchehab@osg.samsung.com>
2016-01-25mc_nextgen_test: fix -d option parsingShuah Khan1-0/+1
mc_nextgen_test -d option doesn't work due to a missing break. Fix the bug so -d, --device=DEVICE option can accept a device name. Without this fix, mc_nextgen_test assumes default device name. Signed-off-by: Shuah Khan <shuahkh@osg.samsung.com>
2016-01-25mc_nextgen_test: Better describe unknown interfaces/entitiesMauro Carvalho Chehab1-3/+2
The unknown messages for interface/entity types are not too clear. Make them a little clearer. Signed-off-by: Mauro Carvalho Chehab <mchehab@osg.samsung.com>
2016-01-25mc_nextgen_test: use devname instead of major,minor at dotMauro Carvalho Chehab1-6/+9
Change the dot routine to also use the devname, instead of using major, minor pairs. Signed-off-by: Mauro Carvalho Chehab <mchehab@osg.samsung.com>
2016-01-25mc_nextgen_test: add devnode translation via udev/sysfsMauro Carvalho Chehab2-7/+134
Adds the code imported from libmediactl.c that translates a device major, minor into a device name at /dev. Signed-off-by: Mauro Carvalho Chehab <mchehab@osg.samsung.com>
2016-01-25mc_nextgen_test: Update to print the entity functionsMauro Carvalho Chehab1-3/+43
Signed-off-by: Mauro Carvalho Chehab <mchehab@osg.samsung.com>
2016-01-25mc_nextgen_test: Make it work with the current APIMauro Carvalho Chehab1-2/+2
Signed-off-by: Mauro Carvalho Chehab <mchehab@osg.samsung.com>
2016-01-25mc_nextgen_test: improve entities display on graphMauro Carvalho Chehab1-36/+66
It is nice to use different colors for source-only entities and for sink-ent entities, and remove the uneeded space for ports that will never there at the Mrecords. Add support to show entities with different colors to cover those cases. Signed-off-by: Mauro Carvalho Chehab <mchehab@osg.samsung.com>
2016-01-25mc_nextgen_test: fix pad sink/source logicMauro Carvalho Chehab1-4/+4
flags are bitmaps. Signed-off-by: Mauro Carvalho Chehab <mchehab@osg.samsung.com>
2016-01-25mc_nextgen_test: avoid accessing NULL pointersMauro Carvalho Chehab1-3/+31
Add some code to test if we're not trying to de-reference a null pointer. In practice, this should never happen, as otherwise, there's a Kernel bug, but it doesn't mind adding some sanity checks. Signed-off-by: Mauro Carvalho Chehab <mchehab@osg.samsung.com>
2016-01-25mc_nextgen_test: add an option to print a graphviz graphMauro Carvalho Chehab1-35/+194
Graphviz .dot diagrams helps to better understand the connections. So, add an option to produce it. Signed-off-by: Mauro Carvalho Chehab <mchehab@osg.samsung.com>

Privacy Policy