summaryrefslogtreecommitdiff
path: root/v4l2-apps/util
AgeCommit message (Collapse)Author
2008-12-31parse_em28xx.pl: Add a limited capability of parsing i2c commandsMauro Carvalho Chehab
From: Mauro Carvalho Chehab <mchehab@redhat.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
2008-12-23v4l2-dbg: fix --list-symbolsHans Verkuil
From: Hans Verkuil <hverkuil@xs4all.nl> --list-symbols didn't work for i2c drivers anymore. Priority: normal Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
2008-12-30v4l2: debugging API changed to match against driver name instead of ID.Hans Verkuil
From: Hans Verkuil <hverkuil@xs4all.nl> Since the i2c driver ID will be removed in the near future we have to modify the v4l2 debugging API to use the driver name instead of driver ID. Note that this API is not used in applications other than v4l2-dbg.cpp as it is for debugging and testing only. Should anyone use the old VIDIOC_G_CHIP_IDENT, then this will be logged with a warning that it is deprecated and will be removed in 2.6.30. Priority: normal Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
2008-12-22v4l2-dbg: allow debug tvp5150 registersMauro Carvalho Chehab
From: Mauro Carvalho Chehab <mchehab@redhat.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
2008-12-22v4l2-dbg: Use aliases for debug, on available chipsMauro Carvalho Chehab
From: Mauro Carvalho Chehab <mchehab@redhat.com> Priority: normal Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
2008-12-22v4l2-dbg: Add support for get/set ac97 registersMauro Carvalho Chehab
From: Mauro Carvalho Chehab <mchehab@redhat.com> em28xx devices can have an ac97 anciliary chip. This patch allows get/set ac97 registers Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
2008-12-22em28xx: update regiters on v4l2-dbg debug utilMauro Carvalho Chehab
From: Mauro Carvalho Chehab <mchehab@redhat.com> Some ac97 registers where presented as if they are em28xx ones. Also, add mising em2874 registers. The code were generated by the following command: $ more em28xx-reg.h |perl -ne 'if (m/(EM2[A-Z0-9]..)_R.._([^\s]+)\s+(0x[0-9A-Fa-f].)/) { printf "\t{$3, $1_PREFIX \"$2\", 1},\n"; }' |grep -v EM2800_PREFIX|sort >/tmp/registers Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
2008-12-22v4l2-dbg: em2800 registers are not very common nowadays. Use it as alternate ↵Mauro Carvalho Chehab
names From: Mauro Carvalho Chehab <mchehab@redhat.com> Priority: normal Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
2008-12-22v4l2-dbg: print also register number when name is availableMauro Carvalho Chehab
From: Mauro Carvalho Chehab <mchehab@redhat.com> Priority: normal Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
2008-12-22v4l2-dbg: print register name and fix doioctl checkMauro Carvalho Chehab
From: Mauro Carvalho Chehab <mchehab@redhat.com> Priority: normal Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
2008-12-22v4l2-dbg: print register name when knownMauro Carvalho Chehab
From: Mauro Carvalho Chehab <mchehab@redhat.com> Priority: normal Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
2008-12-22v4l2-dbg: fix --list-symbols optionMauro Carvalho Chehab
From: Mauro Carvalho Chehab <mchehab@redhat.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
2008-12-20v4l2-dbg: get-chip-ident has no argumentsHans Verkuil
From: Hans Verkuil <hverkuil@xs4all.nl> get-chip-ident expected an argument when none was needed. Priority: normal Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
2008-12-06v4l2-ctl: List device links as suchHans Verkuil
From: Jean Delvare <khali@linux-fr.org> Improvement to --list-devices: when a device node is actually a link to another device node, display it as such. Priority: normal Signed-off-by: Jean Delvare <khali@linux-fr.org> Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
2008-11-26Add a parser for em28xx register debug logMauro Carvalho Chehab
From: Mauro Carvalho Chehab <mchehab@redhat.com> Priority: normal Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
2008-11-24qv4l2: fix compile warnings.Hans Verkuil
From: Hans Verkuil <hverkuil@xs4all.nl> Priority: normal Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
2008-11-16select video device via a popup menuMauro Carvalho Chehab
From: Mauro Carvalho Chehab <mchehab@redhat.com> Seeking for a video device at /dev is sometimes hard, since not all distros create a /dev/v4l dir. Instead of opening a file, be more user-friendly, by just displaying the valid files. Priority: normal Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
2008-09-292-apps: fix generation of parse.hMauro Carvalho Chehab
From: Andreas Oberritter <obi@linuxtv.org> Here's a fix for v4l2-apps/util/Makefile: It uses echo -e, which is not portable across different shell implementations. I replaced it with printf. That's a common problem on Ubuntu, where dash is used instead of bash as the default shell. Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
2008-09-07v4l2-ctl: add --list-devices optionHans Verkuil
From: Hans Verkuil <hverkuil@xs4all.nl> Priority: normal Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
2008-09-06v4l2-ctl: improve fmt handlingHans Verkuil
From: Hans Verkuil <hverkuil@xs4all.nl> - add 'try' versions for the various formats - add set/try-fmt-overlay support - print result of set/try call if verbose was set Priority: normal Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
2008-09-05v4l2-ctl: improve error reportingHans Verkuil
From: Hans Verkuil <hverkuil@xs4all.nl> Based on a similar patch from Jean Delvare. By default errors are shown. --verbose also reports successful calls and --silent suppresses the output altogether, only returning an application error code. Priority: normal Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
2008-08-31v4l2-compliance: fix memory bug in handling of the -d option.Hans Verkuil
From: Hans Verkuil <hverkuil@xs4all.nl> Priority: normal Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
2008-06-01v4l2-apps: add initial version of v4l2-complianceHans Verkuil
From: Hans Verkuil <hverkuil@xs4all.nl> Add tool to test V4L2 API driver compliance. Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
2008-08-31v4l2-dbg: merge v4l-board-dbg into v4l2-dbgHans Verkuil
From: Hans Verkuil <hverkuil@xs4all.nl> There is no point in having multiple debug utilities that do the same thing, so merge the functionality of v4l-board-dbg into v4l2-dbg. Priority: normal Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
2008-08-31v4l2-dbg: simplify v4l2-dbgHans Verkuil
From: Hans Verkuil <hverkuil@xs4all.nl> Priority: normal Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
2008-08-31v4l2-dbg: simplify usage messageHans Verkuil
From: Hans Verkuil <hverkuil@xs4all.nl> Priority: normal Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
2008-08-29v4l2-apps: fix v4l2-apps build and 'make firmware' warningsHans Verkuil
From: Hans Verkuil <hverkuil@xs4all.nl> - fix some warnings when creating/removing directories when running 'make firmware' - fix v4l2-apps build: copy and strip the linux/include headers first to avoid the kernel-specific constructs in the original headers. Update the include paths to point to the copy. Priority: normal Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
2008-08-22ivtv-ctl: fix 64-bit compile warning.Hans Verkuil
From: Hans Verkuil <hverkuil@xs4all.nl> Priority: normal Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
2008-08-19v4l2-ctl: merge strings in the usage messageHans Verkuil
From: Jean Delvare <khali@linux-fr.org> Function calls aren't cheap. By merging the strings printed by the usage() function, we reduce the number of times printf (or actually puts) is called, from 121 to only 4. This makes usage() about twice as fast as before, and also shrinks the binary size a bit (4 kB). Priority: normal Signed-off-by: Jean Delvare <khali@linux-fr.org> Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
2008-08-19v4l2-ctl: added support to set the pixelformatHans Verkuil
From: Hans Verkuil <hverkuil@xs4all.nl> Priority: normal Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
2008-07-28v4l2-ctl: show name and afc when calling VIDIOC_G_TUNERHans Verkuil
From: Hans Verkuil <hverkuil@xs4all.nl> Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
2008-08-04ivtv/cx18-ctl: fix same overrun.Hans Verkuil
From: Hans Verkuil <hverkuil@xs4all.nl> Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
2008-08-04v4l2-dbg/v4l2-ctl: fix buffer overrun.Hans Verkuil
From: Hans Verkuil <hverkuil@xs4all.nl> Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
2008-07-27merge: http://www.linuxtv.org/hg/~hverkuil/v4l-dvb-videodevMauro Carvalho Chehab
From: Mauro Carvalho Chehab <mchehab@infradead.org> Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
2008-07-26v4l2-ctl: fix find_controls when dealing with old-style controls.Hans Verkuil
From: Hans Verkuil <hverkuil@xs4all.nl> 'v4l2-ctl -C contrast' would not show the control description. Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
2008-07-26fix a few assorted spelling mistakes.Hans Verkuil
From: Hans Verkuil <hverkuil@xs4all.nl> Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
2008-07-23v4l2-apps: fixes for compile warnings/errorsHans Verkuil
From: Hans Verkuil <hverkuil@xs4all.nl> - clean up capture_example.c (bad codingstyle and compile warnings) - fix some headers without trailing newline - fix compile warnings in v4l2-ctl.cpp and v4l2-dbg.cpp - fix qv4l2 __stack_chk_fail_local compile error that occurs on some distros (ubuntu) - fix some Makefile clean up rules Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
2008-06-29v4l2-ctl: improve handling of control names with non-alnum charsHans Verkuil
From: Hans Verkuil <hverkuil@xs4all.nl> Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
2008-06-28v4l2-dbg: if only the 'min' value is specified, then set max to min+0xffHans Verkuil
From: Hans Verkuil <hverkuil@xs4all.nl> Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
2008-06-27v4l2-ctl: fix bug in --set-standardHans Verkuil
From: Hans Verkuil <hverkuil@xs4all.nl> --set-standard allows you to set a standard index corresponding to what ENUMSTD returns. But this clashes when you specify a standard whose ID is very small, like PAL-BG. Then the utility thinks you specified a standard index and will select the wrong standard. Fixed by using a flag to mark that the standard actually is a standard and not a standard index. Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
2008-06-16v4l-board-dbg: Add registers for em28xxMauro Carvalho Chehab
From: Mauro Carvalho Chehab <mchehab@infradead.org> Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
2008-06-16v4l-host-dbg: Add missing saa7134-dbg.hMauro Carvalho Chehab
From: Mauro Carvalho Chehab <mchehab@infradead.org> Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
2008-06-16v4l-board-dbg: Some cleanupsMauro Carvalho Chehab
From: Mauro Carvalho Chehab <mchehab@infradead.org> Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
2008-06-16v4l-board-dbg: Add support for saa7134 registersMauro Carvalho Chehab
From: Mauro Carvalho Chehab <mchehab@infradead.org> Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
2008-06-16Prepare v4l-board-dbg to other chip additionsMauro Carvalho Chehab
From: Mauro Carvalho Chehab <mchehab@infradead.org> Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
2008-06-16rename bttv-dbg to v4l-board-dbg in order to make it more genericMauro Carvalho Chehab
From: Mauro Carvalho Chehab <mchehab@infradead.org> Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
2008-06-16Add a tool to debug bttv registersMauro Carvalho Chehab
From: Mauro Carvalho Chehab <mchehab@infradead.org> Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
2008-05-25ivtv-ctl: add support to set mute and audio stereo/bilingual modes for playbackHans Verkuil
From: Hans Verkuil <hverkuil@xs4all.nl> There was no support to set the fast/slow playback mute mode and the stereo/bilingual playback modes. Added this to ivtv-ctl. Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
2008-05-24v4l2-ctl: return errors as the program resultHans Verkuil
From: Hans Verkuil <hverkuil@xs4all.nl> If an error occurs, then the program now returns an error. Also did a few cleanups. Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
2008-04-28cx18: add new cx18-ctl control utilityHans Verkuil
From: Hans Verkuil <hverkuil@xs4all.nl> Add cx18-ctl utility to control cx18 cards, add cx18 debug support to v4l2-dbg. Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>