Hans Verkuil [Sat, 8 Jan 2011 11:55:04 +0000 (12:55 +0100)]
v4l2-compliance: report "Not supported" if VIDIOC_G_PRIORITY is not supported.
Currently v4l2-compliance just reports FAIL in that case.
Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
Hans Verkuil [Sat, 8 Jan 2011 11:45:57 +0000 (12:45 +0100)]
v4l2-compliance: report VIDIOC_DBG_G_REGISTER as 'Not supported'
If VIDIOC_DBG_G_REGISTER is not supported, then v4l2-compliance would just
say 'OK' instead of 'Not supported'.
Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
Hans de Goede [Fri, 7 Jan 2011 09:49:57 +0000 (10:49 +0100)]
libv4l: update upside down device list
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Hans Verkuil [Thu, 6 Jan 2011 09:58:49 +0000 (10:58 +0100)]
qv4l2: add -r option to qv4l2 to open the initial device in raw mode
By default qv4l2 opens the device node in wrapped mode (i.e. using libv4l2).
By adding the new -r option the device node is opened in raw mode, bypassing
libv4l2.
Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>
Hans de Goede [Wed, 5 Jan 2011 14:19:19 +0000 (15:19 +0100)]
libv4l: update upside down device table
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Mauro Carvalho Chehab [Mon, 3 Jan 2011 14:39:37 +0000 (15:39 +0100)]
Philips SPC315NC is vertically flipped
Signed-off-by: Mauro Carvalho Chehab<mchehab@redhat.com>
Hans Verkuil [Fri, 31 Dec 2010 15:22:52 +0000 (16:22 +0100)]
libv4l2util/v4l2_driver.c: fix compile warnings
v4l2_driver.c: In function ‘v4l2_enum_stds’:
v4l2_driver.c:200: warning: unused variable ‘id’
v4l2_driver.c:199: warning: unused variable ‘ret’
v4l2_driver.c: In function ‘v4l2_enum_input’:
v4l2_driver.c:243: warning: unused variable ‘id’
v4l2_driver.c:242: warning: unused variable ‘ret’
v4l2_driver.c: In function ‘v4l2_enum_fmt’:
v4l2_driver.c:284: warning: unused variable ‘id’
v4l2_driver.c:283: warning: unused variable ‘ret’
v4l2_driver.c:281: warning: unused variable ‘fmt’
v4l2_driver.c: In function ‘v4l2_setget_input’:
v4l2_driver.c:372: warning: unused variable ‘i’
v4l2_driver.c: In function ‘v4l2_mmap_bufs’:
v4l2_driver.c:598: warning: unused variable ‘tc’
v4l2_driver.c: In function ‘v4l2_getset_freq’:
v4l2_driver.c:761: warning: unused variable ‘counter’
Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
Hans Verkuil [Fri, 31 Dec 2010 15:19:06 +0000 (16:19 +0100)]
decode_tm6000: fix compile warnings
decode_tm6000.c: In function ‘main’:
decode_tm6000.c:253: warning: unused variable ‘pktsize’
decode_tm6000.c:253: warning: unused variable ‘cpysize’
Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
Hans Verkuil [Fri, 31 Dec 2010 15:18:03 +0000 (16:18 +0100)]
cx18-ctl: fix compile warnings
cx18-ctl.c: In function ‘main’:
cx18-ctl.c:262: warning: unused variable ‘ptsstr’
cx18-ctl.c:261: warning: unused variable ‘timestamp’
cx18-ctl.c:254: warning: unused variable ‘yuv_mode’
cx18-ctl.c: At top level:
cx18-ctl.c:125: warning: ‘pts_to_string’ defined but not used
Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
Hans Verkuil [Fri, 31 Dec 2010 15:16:27 +0000 (16:16 +0100)]
firmware-tool: fix compile warnings
firmware-tool.c: In function ‘add_standard’:
firmware-tool.c:566: warning: unused variable ‘i’
firmware-tool.c: In function ‘seek_chunks’:
firmware-tool.c:783: warning: label ‘not_found’ defined but not used
firmware-tool.c:619: warning: unused variable ‘rc’
firmware-tool.c:618: warning: unused variable ‘lastp’
firmware-tool.c: In function ‘seek_firmware’:
firmware-tool.c:831: warning: unused variable ‘fpos’
firmware-tool.c:831: warning: unused variable ‘p2’
firmware-tool.c: In function ‘main’:
firmware-tool.c:973: warning: unused variable ‘nr’
firmware-tool.c: At top level:
firmware-tool.c:63: warning: ‘alloc_firmware_description’ defined but not used
firmware-tool.c:72: warning: ‘free_firmware_description’ defined but not used
Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
Hans Verkuil [Fri, 31 Dec 2010 15:12:11 +0000 (16:12 +0100)]
v4l2-sysfs-path: fix compile warnings
v4l2-sysfs-path.c: In function ‘seek_name’:
v4l2-sysfs-path.c:148: warning: unused variable ‘minor’
v4l2-sysfs-path.c:148: warning: unused variable ‘major’
v4l2-sysfs-path.c:145: warning: unused variable ‘st’
Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
Hans de Goede [Fri, 31 Dec 2010 10:55:44 +0000 (11:55 +0100)]
qv4l2: When in wrapped mode memcpy the actual framesize
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Hans de Goede [Fri, 31 Dec 2010 10:50:28 +0000 (11:50 +0100)]
qv4l2: Check and use result of read()
qv4l2 was calling libv4lconvert_convert with a src size of fmt.pix.sizeimage,
rather then using the actual amount of bytes read. This causes decompressors
which check if they have consumed the entire compressed frame (ie pjpg) to
error out, because they were not being passed the actual frame size.
This patch fixes this, and also adds reporting of libv4lconvert_convert
errors.
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Hans Verkuil [Wed, 29 Dec 2010 18:33:31 +0000 (19:33 +0100)]
qv4l2: don't use v4lconvert directly when using libv4l.
Only in 'raw' mode should v4lconvert be used, otherwise it will be
called twice causing all software image processing to be done twice
as well.
Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
Hans de Goede [Tue, 28 Dec 2010 22:36:40 +0000 (23:36 +0100)]
libv4lconvert: Properly handle video processing when src fmt == dest fmt
When video processing is enabled (ie software whitebalancing) and
the src_fmt == dst_fmt (ie rgb24) and not cropping, flipping, or rotating
the video processing would be done directly on the src data and the
data would never get copied to the destination buffer. This patch fixes
this.
Signed-off-By: Hans de Goede <hdegoede@redhat.com>
Hans de Goede [Tue, 28 Dec 2010 21:06:06 +0000 (22:06 +0100)]
libv4l: update upside down device list
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Hans Verkuil [Fri, 24 Dec 2010 18:50:28 +0000 (19:50 +0100)]
qv4l2: open the device node using libv4l if supplied on the command line.
It did open the device node using the system call open(), but libv4l should
be used by default. The difference in behavior between passing the device node
on the command line and via the open button on the toolbar was confusing.
Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
Hans de Goede [Tue, 21 Dec 2010 14:27:16 +0000 (15:27 +0100)]
libv4l: update upside down device list
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Mauro Carvalho Chehab [Mon, 20 Dec 2010 17:18:07 +0000 (15:18 -0200)]
rc_keymaps: Sync with kernel
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Mauro Carvalho Chehab [Mon, 20 Dec 2010 17:02:30 +0000 (15:02 -0200)]
gen_keytables.pl: make it work with the newer kernel sources
Instead of /IR, use /rc for remote keymap directory. Also, some struct
names changed.
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Mauro Carvalho Chehab [Mon, 20 Dec 2010 16:54:09 +0000 (14:54 -0200)]
keycode/parse.h: Add two new keycode names to the parser
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Mauro Carvalho Chehab [Mon, 20 Dec 2010 16:51:16 +0000 (14:51 -0200)]
ir-keytables: Add a mode to test if RC key events are ok
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Hans de Goede [Sat, 18 Dec 2010 15:15:17 +0000 (16:15 +0100)]
Makefile: make make export generate a .tar.bz2 rather then a .tar.gz
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Hans de Goede [Sat, 18 Dec 2010 15:07:24 +0000 (16:07 +0100)]
libv4l: update upside-down device table
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Hans Verkuil [Wed, 15 Dec 2010 13:37:42 +0000 (14:37 +0100)]
v4l2-dbg: fix initializers and remove unused variable.
v4l2-dbg now compiles with -Wextra without warnings.
Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
Hans Verkuil [Wed, 15 Dec 2010 13:29:34 +0000 (14:29 +0100)]
v4l2-ctl: zero all structs before use.
When compiled with -Wextra the compiler produces lots of warnings about missing
initializers. So instead of using partial initializers we memset the structs.
Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>
Hans Verkuil [Sun, 12 Dec 2010 16:34:12 +0000 (17:34 +0100)]
v4l2-compliance: fix QUERYCAP check
bus_info can be empty, so don't give an error for an empty bus_info string.
Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
Hans Verkuil [Sun, 12 Dec 2010 16:30:54 +0000 (17:30 +0100)]
qv4l2: control handling fixes
1) Don't attempt to read write-only controls
2) Set default string value to the proper minimum length (>= 0) containing spaces.
Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
Hans de Goede [Fri, 10 Dec 2010 09:55:27 +0000 (10:55 +0100)]
libv4l: update upside down device table
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Hans de Goede [Thu, 9 Dec 2010 10:13:48 +0000 (11:13 +0100)]
libv4l: Remove double declaration of v4lconvert_grey_to_rgb24
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Mauro Carvalho Chehab [Wed, 8 Dec 2010 14:10:36 +0000 (12:10 -0200)]
libv4l: Add support for 8-bits grey format (V4L2_PIX_FMT_GREY)
Grey format is like YUV, with U/V channels with 0. Add the corresponding
bits to libv4l, for it to handle this format.
v2: Fixed U/V "zero" value (0x80), thanks to Hans de Goede
<hdegoede@redhat.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Mauro Carvalho Chehab [Wed, 8 Dec 2010 14:10:05 +0000 (12:10 -0200)]
parse_sn9c201.pl: Provide a better output format
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Mauro Carvalho Chehab [Tue, 7 Dec 2010 16:02:54 +0000 (14:02 -0200)]
parse_sn9c201.pl: Add a few more registers
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Mauro Carvalho Chehab [Tue, 7 Dec 2010 15:42:38 +0000 (13:42 -0200)]
parse_sn9c201.pl: Add a handler for register aliases
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Mauro Carvalho Chehab [Tue, 7 Dec 2010 15:17:48 +0000 (13:17 -0200)]
parse_sn9c201.pl: output register reads/writes
Note: For now, discard req number. It seems to be used, not sure for what.
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Mauro Carvalho Chehab [Tue, 7 Dec 2010 14:38:46 +0000 (12:38 -0200)]
Discard fields outside I2C size
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Mauro Carvalho Chehab [Tue, 7 Dec 2010 14:30:27 +0000 (12:30 -0200)]
parse_sn9c201.pl: Add a parser for sn9c201 USB dumps
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Mauro Carvalho Chehab [Tue, 7 Dec 2010 09:51:37 +0000 (07:51 -0200)]
parse_usb.pl: Fix directions
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Mauro Carvalho Chehab [Tue, 7 Dec 2010 09:36:03 +0000 (07:36 -0200)]
Add a generic parser for USB logs
This parser just decodes the standard USB fields. It is probably more useful
as a basis for more specific parsers.
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Mauro Carvalho Chehab [Mon, 6 Dec 2010 11:23:00 +0000 (09:23 -0200)]
v4l2grab: Allow changing the capture parameters via parameters
Instead of requiring recompilation, allow passing arguments to the capture
subroutine.
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Mauro Carvalho Chehab [Mon, 6 Dec 2010 11:07:38 +0000 (09:07 -0200)]
v4l2grab: Convert "default" values into parameters
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Hans de Goede [Mon, 6 Dec 2010 10:23:31 +0000 (11:23 +0100)]
libv4l: update upside down device list
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Hans de Goede [Wed, 1 Dec 2010 14:36:19 +0000 (15:36 +0100)]
libv4l: update upside down device table
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Hans de Goede [Fri, 26 Nov 2010 08:45:29 +0000 (09:45 +0100)]
libv4l: update upside down device table
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Hans de Goede [Wed, 24 Nov 2010 08:00:13 +0000 (09:00 +0100)]
libv4l: update upside down device list
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Hans de Goede [Sun, 21 Nov 2010 09:33:19 +0000 (10:33 +0100)]
libv4l: update upside down device table
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Hans de Goede [Fri, 19 Nov 2010 08:35:37 +0000 (09:35 +0100)]
libv4l: update upside down device table
Signed-off-By: Hans de Goede <hdegoede@redhat.com>
Hans de Goede [Sun, 14 Nov 2010 11:18:59 +0000 (12:18 +0100)]
libv4l: update upside down device table
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Hans de Goede [Fri, 12 Nov 2010 08:18:15 +0000 (09:18 +0100)]
libv4l: update upside down device table
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Hans de Goede [Mon, 8 Nov 2010 19:19:20 +0000 (20:19 +0100)]
libv4l: update upside down device list
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Mauro Carvalho Chehab [Mon, 8 Nov 2010 18:43:47 +0000 (16:43 -0200)]
rc_keymaps: remove legacy IR tables
af9015 driver were converted to rc_core. Their tables changed, and
are already in the tree. So, remove the legacy ones. Also remove
the "empty" table, as it is not needed.
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Mauro Carvalho Chehab [Mon, 8 Nov 2010 18:41:53 +0000 (16:41 -0200)]
keytable: auto-generate rc_maps.cfg
Retrieve assosiations between RC table file and the in-kernel name
representation for each keymap.
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Mauro Carvalho Chehab [Mon, 8 Nov 2010 18:21:02 +0000 (16:21 -0200)]
keytable: Move find logic to gen_keytables.pl
Instead of using shell commands, at Makefile, move the logic to
happen inside gen_keytables.pl. This will allow adding another
parsing logic there, based on the read of include/media/rc-map.h.
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Mauro Carvalho Chehab [Mon, 8 Nov 2010 17:47:35 +0000 (15:47 -0200)]
gen_keytables.pl: use a function to create files
We want to move part of the logic from Makefile into gen_keytables.pl,
in order to make it process a group of files. So, convert the main
logic into a function.
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Mauro Carvalho Chehab [Mon, 8 Nov 2010 17:41:26 +0000 (15:41 -0200)]
gen_keytables.pl: Warn if a in-driver table is found
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Mauro Carvalho Chehab [Mon, 8 Nov 2010 16:48:15 +0000 (14:48 -0200)]
keytable: make it report the proper v4l-utils version
./ir-keytable --version
IR keytable control version 0.8.2-test
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Mauro Carvalho Chehab [Mon, 8 Nov 2010 15:48:10 +0000 (13:48 -0200)]
parse_cx231xx.pl: improve GPIO messages on decoding
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Mauro Carvalho Chehab [Mon, 8 Nov 2010 15:41:31 +0000 (13:41 -0200)]
Print a generic message for the URB's that aren't currently parsed
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Mauro Carvalho Chehab [Mon, 8 Nov 2010 15:35:53 +0000 (13:35 -0200)]
Add GPIO decoding logic
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Mauro Carvalho Chehab [Mon, 8 Nov 2010 14:22:08 +0000 (12:22 -0200)]
rc_keymaps: add a table for digitalnow_tinytwin
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Mauro Carvalho Chehab [Mon, 8 Nov 2010 14:19:44 +0000 (12:19 -0200)]
rc_keymaps: sync anysee keytable with in-kernel keytable
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Gregor Jasny [Tue, 2 Nov 2010 15:11:33 +0000 (16:11 +0100)]
Install config files to $(DESTDIR)
Signed-off-by: Gregor Jasny <gjasny@googlemail.com>
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Hans de Goede [Tue, 2 Nov 2010 12:48:32 +0000 (13:48 +0100)]
libv4l update upside down device list
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Hans de Goede [Tue, 2 Nov 2010 11:15:50 +0000 (12:15 +0100)]
libv4l: update upside down device list
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Hans de Goede [Mon, 18 Oct 2010 08:08:47 +0000 (10:08 +0200)]
libv4l: update upside-down device table
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Mauro Carvalho Chehab [Sun, 17 Oct 2010 23:15:34 +0000 (21:15 -0200)]
rc_keymaps: sync with latest development kernel
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Mauro Carvalho Chehab [Sun, 3 Oct 2010 16:21:39 +0000 (13:21 -0300)]
parse_saa7134.pl: add logic to detect transactions without STOP
Read operations with sub-addresses are done by a write to the write address,
plus a read. Between the write and read, there's no stop.
For example, a read from eeprom, starting at eeprom address 0 will
be displayed as:
write_i2c_addr(0x50, 1, { 0x00}); /* INCOMPLETE */
read_i2c_addr(0x50, 23) /* 0xde, 0x17, 0x36, 0xb1, 0x54, 0x20, 0x1c, 0x00, 0x43, 0x43, 0xa9, 0x1c, 0x55, 0xd2, 0xb2, 0x92, 0xff, 0xff, 0xff, 0xff, 0xff, 0x20, 0xff */;
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Mauro Carvalho Chehab [Sun, 3 Oct 2010 15:55:26 +0000 (12:55 -0300)]
parse_saa7134.pl: Improve parser to group i2c register writes
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Mauro Carvalho Chehab [Sun, 3 Oct 2010 03:57:42 +0000 (00:57 -0300)]
parse_saa7134.pl: Add timestamp at the logs
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Mauro Carvalho Chehab [Sun, 3 Oct 2010 03:42:01 +0000 (00:42 -0300)]
parse_saa7134.pl: Properly handle I2C transactions
Instead of printing raw register reads/writes for I2C transactions,
use a more high-level print. By default, it will discard intermediate
transactions, like waiting for non-busy status.
A write transaction will look like:
write_i2c(DONE_STOP, START, 0x96)
write_i2c(DONE_WRITE, CONTINUE, 0xff)
write_i2c(DONE_WRITE, CONTINUE, 0x02)
write_i2c(DONE_WRITE, STOP, 0x00)
The better would be to group those operations, into something like:
write_i2c_addr (0x96, "0xff, 0x02, 0x00");
or
write_i2c_addr (0x96, "0xff0200");
But this is not an easy task, especially since it may have some
read operations in-between. So, let's postpone such higher level
grouping to future improvements in the parser ;)
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Mauro Carvalho Chehab [Sun, 3 Oct 2010 02:52:36 +0000 (23:52 -0300)]
contrib/saa7134: adds a parser for saa7134 logs
Adds a parser to get saa7134 logs generated by PCI traffic patches,
at contrib/pci_traffic, like:
1286074716 slow_bar_writel: slow_bar_writel addr=0x0000000000000104 val=0x00009090
1286074716 slow_bar_writel: slow_bar_writel addr=0x0000000000000108 val=0x44804098
1286074716 slow_bar_writel: slow_bar_writel addr=0x000000000000010c val=0x2a810040
1286074716 slow_bar_writel: slow_bar_writel addr=0x0000000000000110 val=0x00000006
Converting them into something more easy to read, like:
saa_writel(SAA7134_ANALOG_IN_CTRL3, 0x9090);
saa_writel(SAA7134_SYNC_CTRL, 0x44804098);
saa_writel(SAA7134_DEC_CHROMA_SATURATION, 0x2a810040);
saa_writel(SAA7134_CHROMA_CTRL2, 0x0006);
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
Mauro Carvalho Chehab [Sun, 3 Oct 2010 01:58:31 +0000 (22:58 -0300)]
contrib/pci_traffic: Add some patches for kvm to allow check PCI traffic
Adds some patches that allow checking how PCI registers are accessed,
by running the driver on a virtual kvm machine.
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Mauro Carvalho Chehab [Sun, 3 Oct 2010 00:15:45 +0000 (21:15 -0300)]
V4L/DVB: Add a parser for cx231xx i2c logs
This is an incomplete parser for cx231xx. Currently, it
gets only i2c traffic. Yet, this is very useful when adding support
for newer cards with different i2c components on it.
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Hans de Goede [Fri, 24 Sep 2010 13:08:51 +0000 (15:08 +0200)]
libv4l: update upside down table
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Hans de Goede [Thu, 23 Sep 2010 13:01:04 +0000 (15:01 +0200)]
libv4l: update upside down device table
Hans de Goede [Tue, 21 Sep 2010 13:46:22 +0000 (15:46 +0200)]
libv4l: update upside-down device table
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Hans Verkuil [Sun, 12 Sep 2010 19:29:11 +0000 (21:29 +0200)]
qv4l2: reduce the minimum number of buffers to 2
The pwc driver sets the number of buffers to 2, so fails with our too
conservative check against a minimum of 3 buffers.
Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
Hans de Goede [Sun, 12 Sep 2010 13:06:45 +0000 (15:06 +0200)]
libv4l: update upside-down device table
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Hans Verkuil [Sat, 11 Sep 2010 14:36:37 +0000 (16:36 +0200)]
libv4l2: Update the list of ioctls to the latest videodev2.h
This list in log.c was quite old and seriously out of date with videodev2.h.
Added the newer ioctls and removed the unnecessary test against
VIDIOC_ENUM_FRAMESIZES.
Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
Hans Verkuil [Sat, 11 Sep 2010 14:30:29 +0000 (16:30 +0200)]
Start iterating over menu items from the minimum value, not 0.
More a style issue than anything else. It is slightly more efficient
if the minimum menu index is not 0.
Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
Hans de Goede [Fri, 10 Sep 2010 11:56:47 +0000 (13:56 +0200)]
libv4l: update upside down device table
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Hans de Goede [Thu, 26 Aug 2010 15:19:37 +0000 (17:19 +0200)]
Prep for 0.8.1 release
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Hans de Goede [Wed, 25 Aug 2010 08:37:41 +0000 (10:37 +0200)]
libv4l: update upside down device table
Hans de Goede [Thu, 12 Aug 2010 12:59:41 +0000 (14:59 +0200)]
libv4l: update upside down device table
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Hans Verkuil [Wed, 4 Aug 2010 11:07:27 +0000 (13:07 +0200)]
qv4l2: fix broken fps determination
The fps determination was done based on a 2s-period timer. However,
this timer would become unreliable if there is a heavy CPU load.
Replaced the timer with gettimeofday calculations.
Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
Mats Randgaard [Tue, 3 Aug 2010 12:29:59 +0000 (14:29 +0200)]
v4l2-ctl: Added support for s/g_dv_timings.
Signed-off-by: Mats Randgaard <mats.randgaard@tandberg.com>
Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
Hans Verkuil [Mon, 2 Aug 2010 08:56:27 +0000 (10:56 +0200)]
contrib/test: add .gitignore
Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
Hans Verkuil [Mon, 2 Aug 2010 08:50:56 +0000 (10:50 +0200)]
qv4l2: use req.count for userptr capture as well.
For some reason req.count was ignored when capturing in userptr mode.
Instead it was hardcoded to 4.
The clean up is also improved to work around the broken videobuf REQBUFS
handling.
Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
Hans Verkuil [Mon, 2 Aug 2010 08:50:32 +0000 (10:50 +0200)]
qv4l2: add dv_preset support
Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
Mauro Carvalho Chehab [Sun, 1 Aug 2010 14:55:14 +0000 (11:55 -0300)]
rc_keymaps: re-generate files based on current v4l-dvb.git
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Mauro Carvalho Chehab [Sun, 1 Aug 2010 14:36:38 +0000 (11:36 -0300)]
gen_keytables.pl: modified to parse the current version of RC tables
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Mauro Carvalho Chehab [Fri, 30 Jul 2010 20:04:28 +0000 (17:04 -0300)]
keytable: Add support to enable/disable LIRC protocol
Maybe the better would be to have a separate option for LIRC, but,
for now, let's handle it as just one additional protocol, since it
make the changes easier.
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Mauro Carvalho Chehab [Fri, 30 Jul 2010 19:09:03 +0000 (16:09 -0300)]
keytable: Return an error if setting a protocol fails
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Hans de Goede [Wed, 28 Jul 2010 08:04:07 +0000 (10:04 +0200)]
libv4l: update upside-down device table
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Hans de Goede [Tue, 27 Jul 2010 12:49:31 +0000 (14:49 +0200)]
libv4l: update upside-down device list
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Hans de Goede [Mon, 26 Jul 2010 10:05:46 +0000 (12:05 +0200)]
libv4l: update upside-down device list
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Hans de Goede [Sun, 25 Jul 2010 18:53:14 +0000 (20:53 +0200)]
libv4l: update upside-down device list
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Hans de Goede [Sun, 25 Jul 2010 08:49:22 +0000 (10:49 +0200)]
libv4l: update upside-down device table
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Hans de Goede [Sat, 24 Jul 2010 13:46:05 +0000 (15:46 +0200)]
libv4l: update upside-down device table
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Hans de Goede [Thu, 22 Jul 2010 12:59:27 +0000 (14:59 +0200)]
libv4l: update upside down device table
Signed-off-by: Hans de Goede <hdegoede@redhat.com>