platform/upstream/v4l-utils.git
13 years agoparse_tcpdump_log.pl: Allow calling it via a pipe
Mauro Carvalho Chehab [Tue, 15 Mar 2011 13:52:47 +0000 (10:52 -0300)]
parse_tcpdump_log.pl: Allow calling it via a pipe

Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
13 years agoparse_tcpdump_log.pl: Remove TcpDumpLog.pm dependency
Mauro Carvalho Chehab [Tue, 15 Mar 2011 13:26:04 +0000 (10:26 -0300)]
parse_tcpdump_log.pl: Remove TcpDumpLog.pm dependency

TcpDumpLog.pm does a good job parsing tcpdump logs. However, it
works by reading everything into the memory, before allowing to
parse the data. This is not very good when dealing with very
long logs that could be produced by an USB 2.0 data stream device.

So, instead, let's copy the TcpDumpLog parser into the code, and
change it to work line by line. One additional advantage of using
such approach is that we could change the parser to also start
the usbmon monitoring, allowing to do a real time parsing.

Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
13 years agolibv4l: update upside down device table
Hans de Goede [Wed, 16 Mar 2011 13:53:35 +0000 (14:53 +0100)]
libv4l: update upside down device table

Signed-off-by: Hans de Goede <hdegoede@redhat.com>
13 years agolibv4l: update upside down device list
Hans de Goede [Sun, 13 Mar 2011 11:35:34 +0000 (12:35 +0100)]
libv4l: update upside down device list

Signed-off-by: Hans de Goede <hdegoede@redhat.com>
13 years agolibv4l: update upside down device table
Hans de Goede [Fri, 11 Mar 2011 18:48:18 +0000 (19:48 +0100)]
libv4l: update upside down device table

13 years agoparse_tcpdump_log.pl: Add missing Copyright/license
Mauro Carvalho Chehab [Wed, 9 Mar 2011 14:25:42 +0000 (11:25 -0300)]
parse_tcpdump_log.pl: Add missing Copyright/license

Forgot to specify the copyright/license at the file, and to update
parse-em28xx.pl license on the previous commit.

Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
13 years agoparse_em28xx.pl: Parse also i2c device scans
Mauro Carvalho Chehab [Wed, 9 Mar 2011 14:15:37 +0000 (11:15 -0300)]
parse_em28xx.pl: Parse also i2c device scans

While comparing the parsed messages between the saved register data
of em28xx and netmon parser, noticed that the scan messages were not
parsed. Also, it seems that the data from the driver is wrong, as it
is saying that some data were returned by the probed devices.

Comparing both logs is actually a very good test, as it shows that the
netfilter parser is working properly, as the only differences are on
the I2C scan messages.

Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
13 years agoparse_tcpdump_log.pl: Add help and manual for the script
Mauro Carvalho Chehab [Wed, 9 Mar 2011 04:54:07 +0000 (01:54 -0300)]
parse_tcpdump_log.pl: Add help and manual for the script

Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
13 years agoparse_tcpdump_log.pl: Improve debug logs
Mauro Carvalho Chehab [Wed, 9 Mar 2011 04:28:45 +0000 (01:28 -0300)]
parse_tcpdump_log.pl: Improve debug logs

Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
13 years agoparse_tcpdump_log.pl: Prints error, if response returns error code
Mauro Carvalho Chehab [Wed, 9 Mar 2011 03:53:09 +0000 (00:53 -0300)]
parse_tcpdump_log.pl: Prints error, if response returns error code

Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
13 years agoparse_tcpdump_log.pl: Add an option to enable debug
Mauro Carvalho Chehab [Wed, 9 Mar 2011 03:52:37 +0000 (00:52 -0300)]
parse_tcpdump_log.pl: Add an option to enable debug

Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
13 years agoparse_tcpdump_log.pl: Use relative timestamps
Mauro Carvalho Chehab [Wed, 9 Mar 2011 01:47:38 +0000 (22:47 -0300)]
parse_tcpdump_log.pl: Use relative timestamps

Instead of use absolute timestamps, use timestamps relative to the
first package.

Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
13 years agoparse_tcpdump_log.pl: Round timestamp calculus up
Mauro Carvalho Chehab [Wed, 9 Mar 2011 01:43:42 +0000 (22:43 -0300)]
parse_tcpdump_log.pl: Round timestamp calculus up

Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
13 years agoparse_tcpdump_log.pl: Fix parsed output value
Mauro Carvalho Chehab [Wed, 9 Mar 2011 01:38:29 +0000 (22:38 -0300)]
parse_tcpdump_log.pl: Fix parsed output value

%02x were producing wrong values. Use %s instead.

Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
13 years agoParse usbmon tcpdump logs directly
Mauro Carvalho Chehab [Tue, 8 Mar 2011 15:59:53 +0000 (12:59 -0300)]
Parse usbmon tcpdump logs directly

Instead of relying on wireshark parser, just read the tcpdump
logs directly, and use it to produce a parseable output.

I started to use my Beagleboard as an USB sniffer using the
code at:
http://beagleboard-usbsniffer.blogspot.com/

However, as I want to use the parser scripts for USB that I wrote,
I decided to write a parser that outputs data on a similar format.

On a first trial, I tried to parse the wireshark dump, but this
didn't work fine. So, I rewrote my parser to get the tcpdump
directly, using the cpan Net::TcpDumpLog.

There are some adjustments probably needed, but this version
already produces something usefull.

Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
13 years agoPrint output on a compact format, close to the one used by the parsing tools
Mauro Carvalho Chehab [Tue, 8 Mar 2011 13:08:31 +0000 (10:08 -0300)]
Print output on a compact format, close to the one used by the parsing tools

Yet, parsing from wireshark parser seems to be broken, as long outputs
would be shown as:

000093248 ms 000000 ms (000304 us EP=0x00) 40 >>> 03 00 00 A0 00 02 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 .. .

Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
13 years agoAdd an initial parser for usbmon captured via wireshark
Mauro Carvalho Chehab [Mon, 7 Mar 2011 14:58:14 +0000 (11:58 -0300)]
Add an initial parser for usbmon captured via wireshark

Usbmon allows capturing usb driver with tcpdump or wireshark.
However, data may need to be parsed, in order to process them
by some script.

The easiest way to parse is to use wireshark, exporting the output
dump with packet details, all expanded, and use a parser to convert
it into an easier format.

This parser is able to decode wireshark parsed files. For now,
it will only print the parsed data.

Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
13 years agolibv4l: update upside down device list
Hans de Goede [Tue, 8 Mar 2011 08:20:06 +0000 (09:20 +0100)]
libv4l: update upside down device list

Signed-off-by: Hans de Goede <hdegoede@redhat.com>
13 years agolibv4l: Add WeTab to upside camera list
Bastien Nocera [Thu, 3 Mar 2011 15:36:44 +0000 (15:36 +0000)]
libv4l: Add WeTab to upside camera list

Signed-Off-By: Bastien Nocera <hadess@hadess.net>
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
13 years agolibv4l: update upside down device table
Hans de Goede [Fri, 4 Mar 2011 20:57:20 +0000 (21:57 +0100)]
libv4l: update upside down device table

Signed-off-by: Hans de Goede <hdegoede@redhat.com>
13 years agolibv4l: Add vicam cameras to list of cameras need sw auto gain + whitebalance
Hans de Goede [Fri, 4 Mar 2011 20:11:10 +0000 (21:11 +0100)]
libv4l: Add vicam cameras to list of cameras need sw auto gain + whitebalance

Signed-off-by: Hans de Goede <hdegoede@redhat.com>
13 years agolibv4l: take exposure minimum into account when calculating exposure low
Hans de Goede [Fri, 4 Mar 2011 20:09:46 +0000 (21:09 +0100)]
libv4l: take exposure minimum into account when calculating exposure low

Take the exposure minimum val into account when calculating the exposure low
threshold for sw autogain.

Signed-off-by: Hans de Goede <hdegoede@redhat.com>
13 years agoqv4l2.svg: Updated to the version used to generate the bitmaps
Mauro Carvalho Chehab [Sat, 26 Feb 2011 12:27:51 +0000 (09:27 -0300)]
qv4l2.svg: Updated to the version used to generate the bitmaps

The basic draw is the same, but this version uses a template on
inkscape for icons generation, and have the real scales used to
generate the bitmaps.

Also, corrected the svg meta-data to properly point to an open
license for the drawing.

Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
13 years agoqv4l2: Add a desktop description for qv4l2 and new icons.
Mauro Carvalho Chehab [Sat, 26 Feb 2011 12:20:22 +0000 (09:20 -0300)]
qv4l2: Add a desktop description for qv4l2 and new icons.

As we intend to have qv4l2 application installed on distros, we
need a .desktop description for it, plus icons of different sizes.

Created a svg icon close to the existing one, and added bitmaps
for it with different resolutions typically found on modern X
menus (16x16, 24x24, 32x32 and 64x64 resolutions). All of them
derivated from the svg file, and generated using inkscape.

Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
13 years agolibv4l: update upside down device list
Hans de Goede [Thu, 17 Feb 2011 09:22:17 +0000 (10:22 +0100)]
libv4l: update upside down device list

Signed-off-by: Hans de Goede <hdegoede@redhat.com>
13 years agov4l-utils: Add the JPEG Lite decoding function
Jean-François Moine [Tue, 15 Feb 2011 15:47:41 +0000 (16:47 +0100)]
v4l-utils: Add the JPEG Lite decoding function

JPEG Lite images are created by the DivIO nw80x chips.

Signed-off-by: Jean-François Moine <moinejf@free.fr>
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
13 years agolibv4l: update upside-down device table
Hans de Goede [Fri, 11 Feb 2011 12:27:57 +0000 (13:27 +0100)]
libv4l: update upside-down device table

Signed-off-by: Hans de Goede <hdegoede@redhat.com>
13 years agoMark as version 0.8.4-test
Hans de Goede [Fri, 11 Feb 2011 12:29:04 +0000 (13:29 +0100)]
Mark as version 0.8.4-test

13 years agoRelease 0.8.3 v4l-utils-0.8.3
Hans de Goede [Wed, 9 Feb 2011 21:38:06 +0000 (22:38 +0100)]
Release 0.8.3

13 years agolibv4l1: Handle devices with overlay capability too
Hans de Goede [Wed, 9 Feb 2011 22:02:55 +0000 (23:02 +0100)]
libv4l1: Handle devices with overlay capability too

This may need more testing, but with the kernel compatibility gone,
libv4l1 now *must* handle these devices too.

Signed-off-by: Hans de Goede <hdegoede@redhat.com>
13 years agolibv4l: update upside down device table
Hans de Goede [Wed, 9 Feb 2011 21:34:11 +0000 (22:34 +0100)]
libv4l: update upside down device table

Signed-off-by: Hans de Goede <hdegoede@redhat.com>
13 years agolibv4l: Make check for IDEALMAX/PEGA PC H34 upside down camera less strict
Hans de Goede [Wed, 9 Feb 2011 21:28:57 +0000 (22:28 +0100)]
libv4l: Make check for IDEALMAX/PEGA PC H34 upside down camera less strict

Signed-off-by: Hans de Goede <hdegoede@redhat.com>
13 years agolibv4l: Make check for ThinkPad X201 upside down camera less strict
Hans de Goede [Wed, 9 Feb 2011 21:10:13 +0000 (22:10 +0100)]
libv4l: Make check for ThinkPad X201 upside down camera less strict

Signed-off-by: Hans de Goede <hdegoede@redhat.com>
13 years agoFix new compiler warnings thrown by gcc-4.6
Hans de Goede [Wed, 9 Feb 2011 21:02:35 +0000 (22:02 +0100)]
Fix new compiler warnings thrown by gcc-4.6

And fix 2 real bugs pointed out by these warnings!

Signed-off-by: Hans de Goede <hdegoede@redhat.com>
13 years agolibv4l1: Add linux/videodev.h replacement file
Hans de Goede [Wed, 9 Feb 2011 19:07:30 +0000 (20:07 +0100)]
libv4l1: Add linux/videodev.h replacement file

Add linux/videodev.h replacement file, since that has (finally) been removed
from the kernel.

Signed-off-by: Hans de Goede <hdegoede@redhat.com>
13 years agoparse_cx231xx.pl: Fix write_ctrl msg
Mauro Carvalho Chehab [Mon, 31 Jan 2011 19:14:35 +0000 (17:14 -0200)]
parse_cx231xx.pl: Fix write_ctrl msg

Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
13 years agoparse_cx231xx.pl: Remove some spurious messages
Mauro Carvalho Chehab [Mon, 31 Jan 2011 19:10:42 +0000 (17:10 -0200)]
parse_cx231xx.pl: Remove some spurious messages

Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
13 years agoparse_cx231xx.pl: Fix the parser for messages that we don't translate yet
Mauro Carvalho Chehab [Mon, 31 Jan 2011 18:21:12 +0000 (16:21 -0200)]
parse_cx231xx.pl: Fix the parser for messages that we don't translate yet

Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
13 years agoparse_cx231xx.pl: add config registers to the parser
Mauro Carvalho Chehab [Mon, 31 Jan 2011 18:11:48 +0000 (16:11 -0200)]
parse_cx231xx.pl: add config registers to the parser

Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
13 years agoir-keytable: Show device repeat rate without any arguments
Mauro Carvalho Chehab [Wed, 26 Jan 2011 19:01:00 +0000 (17:01 -0200)]
ir-keytable: Show device repeat rate without any arguments

If it has read permission for /dev/input/event?, it will display
extra capabilities. In general, this requires root access.

Otherwise, it will print a warning message saying that the access
were denied.

Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
13 years agoir-keytables: Move show logic to a separate function
Mauro Carvalho Chehab [Wed, 26 Jan 2011 18:49:45 +0000 (16:49 -0200)]
ir-keytables: Move show logic to a separate function

Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
13 years agoir-keytable: Add support to adjust repeat period/delay
Mauro Carvalho Chehab [Wed, 26 Jan 2011 18:40:15 +0000 (16:40 -0200)]
ir-keytable: Add support to adjust repeat period/delay

Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
13 years agoRelease 0.8.2 v4l-utils-0.8.2
Hans de Goede [Tue, 25 Jan 2011 15:17:51 +0000 (16:17 +0100)]
Release 0.8.2

13 years agoFix ir-keytable manpage installation
Hans de Goede [Tue, 25 Jan 2011 11:40:19 +0000 (12:40 +0100)]
Fix ir-keytable manpage installation

Install under $(PREFIX)/share/man/man1 rather then /man/man1, and
install the manpage not the binary :)

Signed-off-By: Hans de Goede <hdegoede@redhat.com>
13 years agoir-keytable: Be a little more pedantic with EVIOGKEYCODE
Mauro Carvalho Chehab [Tue, 25 Jan 2011 14:07:53 +0000 (12:07 -0200)]
ir-keytable: Be a little more pedantic with EVIOGKEYCODE

V1 always use u_int32_t. V2 can use different lengths, but,
currently, the tool is not ready for bigger code sizes.

Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
13 years agoir-keytable: Fix the read logic, when protocol is V1
Mauro Carvalho Chehab [Tue, 25 Jan 2011 14:03:09 +0000 (12:03 -0200)]
ir-keytable: Fix the read logic, when protocol is V1

Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
13 years agoInitialize protocol version
Mauro Carvalho Chehab [Tue, 25 Jan 2011 13:56:18 +0000 (11:56 -0200)]
Initialize protocol version

Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
13 years agoImprove keycode reading by using V2 of the input protocol
Mauro Carvalho Chehab [Tue, 25 Jan 2011 12:37:45 +0000 (10:37 -0200)]
Improve keycode reading by using V2 of the input protocol

Instead of seeking for keys into the entire keycode space, use
V2. This allow to read just the codes that are inside the table.

Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
13 years agoir-keytable: Improve cleans by using EVIOSKEYCODE_V2
Mauro Carvalho Chehab [Tue, 25 Jan 2011 12:25:01 +0000 (10:25 -0200)]
ir-keytable: Improve cleans by using EVIOSKEYCODE_V2

The new input protocol version found on kernels 2.6.37+ provide a
better way to cleanup the table codes. Instead of having to do a
big for to cleanup the entire scancode space, it just deletes the
already existing keycodes.

Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
13 years agoir-keytable.1 Add standard manpage markup codes
Hans de Goede [Tue, 25 Jan 2011 11:37:05 +0000 (12:37 +0100)]
ir-keytable.1 Add standard manpage markup codes

Add standard manpage markup codes to bold the command name and arguments,
italic the argument options, etc.

Signed-off-by: Hans de Goede <hdegoede@redhat.com>
13 years agolibv4l update upside down device list
Hans de Goede [Mon, 24 Jan 2011 18:49:46 +0000 (19:49 +0100)]
libv4l update upside down device list

Signed-off-by: Hans de Goede <hdegoede@redhat.com>
13 years agoSync keytables with the latest patches for IR
Mauro Carvalho Chehab [Mon, 24 Jan 2011 15:46:03 +0000 (13:46 -0200)]
Sync keytables with the latest patches for IR

Those changes fix several issues found when double checking
several keytables.

Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
13 years agoFix the tag for manpages sections
Mauro Carvalho Chehab [Mon, 24 Jan 2011 13:05:25 +0000 (11:05 -0200)]
Fix the tag for manpages sections

Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
13 years agoAdd a man page for ir-keytable
Mauro Carvalho Chehab [Mon, 24 Jan 2011 12:37:02 +0000 (10:37 -0200)]
Add a man page for ir-keytable

Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
13 years agoAdd a template for ir-keytable man page
Mauro Carvalho Chehab [Mon, 24 Jan 2011 12:17:26 +0000 (10:17 -0200)]
Add a template for ir-keytable man page

Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
13 years agoMakefiles: preserve timestamps when installing keympa files
Hans de Goede [Mon, 24 Jan 2011 10:50:44 +0000 (11:50 +0100)]
Makefiles: preserve timestamps when installing keympa files

Signed-off-by: Hans de Goede <hdegoede@redhat.com>
13 years agogen_keytables.pl: Fix a parsing bug that were generating wrong entries
Mauro Carvalho Chehab [Mon, 24 Jan 2011 06:05:46 +0000 (04:05 -0200)]
gen_keytables.pl: Fix a parsing bug that were generating wrong entries

There's a parsing bug that were generating wrong entries, in
cases where there were some commented possible values for KEY_

Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
13 years agoBe sure that udev directory exists
Mauro Carvalho Chehab [Sun, 23 Jan 2011 17:01:48 +0000 (15:01 -0200)]
Be sure that udev directory exists

This is needed when DISTDIR is used

Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
13 years agoFix it to install udev rules at $DESTDIR
Mauro Carvalho Chehab [Sun, 23 Jan 2011 16:51:15 +0000 (14:51 -0200)]
Fix it to install udev rules at $DESTDIR

Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
13 years agoInstalls an udev rule for loading the IR keymaps
Mauro Carvalho Chehab [Sun, 23 Jan 2011 15:16:16 +0000 (13:16 -0200)]
Installs an udev rule for loading the IR keymaps

Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
13 years agorc_keymaps: Sync with kernel 2.6.38-rc2 + linux-next changes for drivers/media
Mauro Carvalho Chehab [Sun, 23 Jan 2011 15:13:39 +0000 (13:13 -0200)]
rc_keymaps: Sync with kernel 2.6.38-rc2 + linux-next changes for drivers/media

Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
13 years agoir-keytable: Prints error if get key fails
Mauro Carvalho Chehab [Sun, 23 Jan 2011 15:12:55 +0000 (13:12 -0200)]
ir-keytable: Prints error if get key fails

Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
13 years agoFix building when CFLAGS are overridden from the make cmdline
Hans de Goede [Sun, 23 Jan 2011 11:43:25 +0000 (12:43 +0100)]
Fix building when CFLAGS are overridden from the make cmdline

Signed-off-By: Hans de Goede <hdegoede@redhat.com>
13 years agoFix Makefile error propagation
Hans de Goede [Sun, 23 Jan 2011 11:38:21 +0000 (12:38 +0100)]
Fix Makefile error propagation

We were handling the subdirs in utils/Makefile in such a way that make failing
in one of the subdirs would not abort the build.

Signed-off-By: Hans de Goede <hdegoede@redhat.com>
13 years agoUse $(MAKE) rather then make in Makefiles calling others
Hans de Goede [Sun, 23 Jan 2011 11:16:54 +0000 (12:16 +0100)]
Use $(MAKE) rather then make in Makefiles calling others

This fixes the:
"jobserver unavailable: using -j1.  Add `+' to parent make rule"
messages seen when doing a parallel build.

13 years agov4l2-compliance: improve input/output tests.
Hans Verkuil [Sat, 22 Jan 2011 21:36:59 +0000 (22:36 +0100)]
v4l2-compliance: improve input/output tests.

Radio devices should not have inputs and outputs at all. Check this.
Also improve audioset checking and various fixes.

Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
13 years agov4l2-compliance: add fixme.txt keeping track of API problems.
Hans Verkuil [Sat, 22 Jan 2011 09:04:00 +0000 (10:04 +0100)]
v4l2-compliance: add fixme.txt keeping track of API problems.

Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
13 years agov4l2-compliance: implement verbosity level, improve warnings.
Hans Verkuil [Fri, 21 Jan 2011 22:38:31 +0000 (23:38 +0100)]
v4l2-compliance: implement verbosity level, improve warnings.

Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
13 years agov4l2-compliance: add VIDIOC_G/S/TRY_EXT_CTRLS tests
Hans Verkuil [Fri, 21 Jan 2011 21:52:34 +0000 (22:52 +0100)]
v4l2-compliance: add VIDIOC_G/S/TRY_EXT_CTRLS tests

Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
13 years agov4l2-compliance: add VIDIOC_G/S_FREQUENCY tests.
Hans Verkuil [Fri, 21 Jan 2011 20:45:33 +0000 (21:45 +0100)]
v4l2-compliance: add VIDIOC_G/S_FREQUENCY tests.

Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
13 years agov4l2-compliance: improve consistency of messages, require prio support
Hans Verkuil [Fri, 21 Jan 2011 17:42:07 +0000 (18:42 +0100)]
v4l2-compliance: improve consistency of messages, require prio support

The priority calls must be supported to pass this test suite.

Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
13 years agoUpdate ChangeLog for changes since 0.8.1
Hans de Goede [Fri, 21 Jan 2011 20:29:24 +0000 (21:29 +0100)]
Update ChangeLog for changes since 0.8.1

Signed-off-by: Hans de Goede <hdegoede@redhat.com>
13 years agolibv4l: update upside down device table
Hans de Goede [Fri, 21 Jan 2011 20:17:09 +0000 (21:17 +0100)]
libv4l: update upside down device table

Signed-off-by: Hans de Goede <hdegoede@redhat.com>
13 years agov4l2-compliance: add TODO list of still-to-be-tested ioctls.
Hans Verkuil [Fri, 21 Jan 2011 17:16:23 +0000 (18:16 +0100)]
v4l2-compliance: add TODO list of still-to-be-tested ioctls.

Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
13 years agov4l2-compliance: add tests for QUERYSTD and QUERY_DV_PRESET
Hans Verkuil [Fri, 21 Jan 2011 17:08:56 +0000 (18:08 +0100)]
v4l2-compliance: add tests for QUERYSTD and QUERY_DV_PRESET

Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
13 years agov4l2-compliance: add DV_PRESET and DV_TIMINGS tests.
Hans Verkuil [Fri, 21 Jan 2011 17:00:07 +0000 (18:00 +0100)]
v4l2-compliance: add DV_PRESET and DV_TIMINGS tests.

Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
13 years agov4l2-compliance: test ENUMSTD.
Hans Verkuil [Fri, 21 Jan 2011 16:36:34 +0000 (17:36 +0100)]
v4l2-compliance: test ENUMSTD.

Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
13 years agov4l2-compliance: add G/S_STD tests
Hans Verkuil [Fri, 21 Jan 2011 16:17:54 +0000 (17:17 +0100)]
v4l2-compliance: add G/S_STD tests

Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
13 years agoMerge branch 'master' of ssh://linuxtv.org/git/v4l-utils
Hans Verkuil [Fri, 21 Jan 2011 16:17:00 +0000 (17:17 +0100)]
Merge branch 'master' of ssh://linuxtv.org/git/v4l-utils

13 years agolibv4l: update upside down devices table
Hans de Goede [Fri, 21 Jan 2011 14:43:17 +0000 (15:43 +0100)]
libv4l: update upside down devices table

13 years agoFix broken v4lutil Makefiles
Gregor Jasny [Fri, 21 Jan 2011 14:41:37 +0000 (15:41 +0100)]
Fix broken v4lutil Makefiles

Signed-off-by: Gregor Jasny <gjasny@googlemail.com>
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
13 years agoFix broken v4lutil Makefiles
Gregor Jasny [Wed, 19 Jan 2011 14:34:17 +0000 (15:34 +0100)]
Fix broken v4lutil Makefiles

Signed-off-by: Gregor Jasny <gjasny@googlemail.com>
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
13 years agolibv4l update upside down device table
Hans de Goede [Wed, 19 Jan 2011 09:17:53 +0000 (10:17 +0100)]
libv4l update upside down device table

Signed-off-by: Hans de Goede <hdegoede@redhat.com># Please enter the commit message for your changes. Lines starting
13 years agov4l2-ctl: set S_FREQUENCY type to RADIO for modulators.
Hans Verkuil [Tue, 18 Jan 2011 10:06:54 +0000 (11:06 +0100)]
v4l2-ctl: set S_FREQUENCY type to RADIO for modulators.

Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
13 years agov4l2-ctl: fix --get-modulator output
Hans Verkuil [Mon, 17 Jan 2011 19:40:13 +0000 (20:40 +0100)]
v4l2-ctl: fix --get-modulator output

Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
13 years agoRevert "v4l2-ctl/compliance: use local libv4l2 rather than the installed version."
Hans Verkuil [Mon, 17 Jan 2011 13:14:49 +0000 (14:14 +0100)]
Revert "v4l2-ctl/compliance: use local libv4l2 rather than the installed version."

This reverts commit 34b49ec47fc1e517485b221366a7d2a207306304.

Conflicts:

utils/v4l2-compliance/Makefile

This patch didn't work if you didn't have libv4l installed.

For now just revert this until we have a better solution.

Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
13 years agov4l2-compliance: add kernel version check to avoid kernel oops
Hans Verkuil [Sun, 16 Jan 2011 17:52:07 +0000 (18:52 +0100)]
v4l2-compliance: add kernel version check to avoid kernel oops

Due to a bug in kernels <= 2.6.37 the kernel can crash if an attempt is made
to set a control of type CTRL_CLASS. Don't do this on such kernels.

Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
13 years agov4l2-compliance: add capability checks, start on STD testing
Hans Verkuil [Sun, 16 Jan 2011 17:21:37 +0000 (18:21 +0100)]
v4l2-compliance: add capability checks, start on STD testing

Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
13 years agov4l2-compliance: add VIDIOC_G/S_CTRL tests
Hans Verkuil [Sun, 16 Jan 2011 16:05:18 +0000 (17:05 +0100)]
v4l2-compliance: add VIDIOC_G/S_CTRL tests

Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
13 years agov4l2-ctl/compliance: use local libv4l2 rather than the installed version.
Hans Verkuil [Sun, 16 Jan 2011 11:20:26 +0000 (12:20 +0100)]
v4l2-ctl/compliance: use local libv4l2 rather than the installed version.

Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
13 years agov4l2-compliance: if no device is specified, then use /dev/video0
Hans Verkuil [Sun, 16 Jan 2011 10:55:00 +0000 (11:55 +0100)]
v4l2-compliance: if no device is specified, then use /dev/video0

Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
13 years agov4l2-ctl: add -w option to use libv4l2.
Hans Verkuil [Sun, 16 Jan 2011 10:52:34 +0000 (11:52 +0100)]
v4l2-ctl: add -w option to use libv4l2.

Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
13 years agov4l2-compliance: add support for libv4l2
Hans Verkuil [Sun, 16 Jan 2011 10:36:56 +0000 (11:36 +0100)]
v4l2-compliance: add support for libv4l2

With the new -w argument the test suite will be run using libv4l2.

Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
13 years agov4l2-compliance: improve reporting of results.
Hans Verkuil [Sun, 16 Jan 2011 10:15:35 +0000 (11:15 +0100)]
v4l2-compliance: improve reporting of results.

Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
13 years agoqv4l2: handle VIDIOC_DQBUF error code EAGAIN correctly
Hans Verkuil [Sun, 16 Jan 2011 09:53:01 +0000 (10:53 +0100)]
qv4l2: handle VIDIOC_DQBUF error code EAGAIN correctly

qv4l2 would stop streaming if it receives EAGAIN from VIDIOC_DQBUF
instead of continuing. The same error code from read() was handled
correctly.

Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
13 years agoir-keytable: Improve keycode output to display both key name and its value
Mauro Carvalho Chehab [Wed, 12 Jan 2011 14:59:36 +0000 (12:59 -0200)]
ir-keytable: Improve keycode output to display both key name and its value

Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
13 years agoir-keytable: Improve events output and add event sync
Mauro Carvalho Chehab [Wed, 12 Jan 2011 14:38:33 +0000 (12:38 -0200)]
ir-keytable: Improve events output and add event sync

Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
13 years agoir-keytable: Fix keycode output in test mode
Mauro Carvalho Chehab [Wed, 12 Jan 2011 14:28:31 +0000 (12:28 -0200)]
ir-keytable: Fix keycode output in test mode

Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
13 years agoMerge branch 'master' of ssh://linuxtv.org/git/v4l-utils
Hans Verkuil [Wed, 12 Jan 2011 07:34:21 +0000 (08:34 +0100)]
Merge branch 'master' of ssh://linuxtv.org/git/v4l-utils

13 years agov4l2-dbg: better QUERYCAP version reporting.
Hans Verkuil [Wed, 12 Jan 2011 07:33:23 +0000 (08:33 +0100)]
v4l2-dbg: better QUERYCAP version reporting.

Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>