Mauro Carvalho Chehab [Tue, 24 May 2011 10:35:40 +0000 (07:35 -0300)]
Add proper documentation to get_media_devices API
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Mauro Carvalho Chehab [Mon, 23 May 2011 13:07:12 +0000 (10:07 -0300)]
get_media_devices: Fix a small typo at alsa hw descriptors
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Mauro Carvalho Chehab [Mon, 23 May 2011 10:00:00 +0000 (07:00 -0300)]
Add an install target to libv4l2util
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Mauro Carvalho Chehab [Mon, 23 May 2011 09:43:01 +0000 (06:43 -0300)]
get_media_devices: add a function to provide an audio output device
Provide the first audio output device not related to a v4l device, assuming
that the sound card is a different device. If none found, just get any
output device, even it inside the same board that provides video4linux
interface.
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Mauro Carvalho Chehab [Mon, 23 May 2011 09:34:04 +0000 (06:34 -0300)]
get_media_devices: Provide alsa names as expected by userspace
Instead of using card0, controlC2, etc, use the proper hw:0, hw:2, etc
names, as expected by userspace.
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Mauro Carvalho Chehab [Mon, 23 May 2011 09:24:21 +0000 (06:24 -0300)]
get_media_devices: Find an alsa capture device associated with a video node
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Mauro Carvalho Chehab [Mon, 23 May 2011 09:11:31 +0000 (06:11 -0300)]
get_media_devices: don't bail out if one of the clases is not available
For now, it requires that all dvb, v4l and sound classes to be available,
otherwise, an error happens.
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Mauro Carvalho Chehab [Mon, 23 May 2011 09:10:14 +0000 (06:10 -0300)]
get_media_devices: return alsa hw as expected by alsa utilities
Instead of using the internal HWC?D? representation, convert alsa hw type
into hw:?.?. This makes easier for other utils to use it.
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Hans de Goede [Mon, 23 May 2011 08:06:47 +0000 (10:06 +0200)]
libv4l: update upside down device list
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Mauro Carvalho Chehab [Sun, 22 May 2011 16:16:32 +0000 (13:16 -0300)]
v4l2-sysfs-path: Rewrite it to get better results
From the old v4l2-sysfs-path, we've kept just the name. The
entire old code were sent to /dev/null. On its place, a new
code were added, that reads direcly the /sys/class/<subsystem>
device links, and associates devices from video4linux, alsa
and dvb subsystems.
Also, to make easier to be used inside applications, the
discover methods were added under a LGPL library. The end
result is that v4l2-sysfs-path is now just 3 function calls.
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Hans de Goede [Fri, 20 May 2011 11:40:55 +0000 (13:40 +0200)]
libv4l: update upside down device list
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Antonio Ospite [Fri, 20 May 2011 07:43:50 +0000 (09:43 +0200)]
libv4lconvert: Add Y10B, a 10 bpp bit-packed greyscale format.
Add a 10 bits per pixel greyscale format in a bit-packed array representation,
naming it Y10B. Such pixel format is supplied for instance by the Kinect
sensor device.
Cc: Steven Toth<stoth@kernellabs.com>
Signed-off-by: Antonio Ospite<ospite@studenti.unina.it>
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Hans de Goede [Fri, 20 May 2011 07:23:00 +0000 (09:23 +0200)]
libv4l: update upside down device table
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Hans de Goede [Tue, 17 May 2011 19:27:16 +0000 (21:27 +0200)]
libv4l: update TODO
Hans de Goede [Tue, 17 May 2011 18:59:38 +0000 (20:59 +0200)]
libv4l: update upside down device table
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Hans de Goede [Sat, 14 May 2011 15:15:25 +0000 (17:15 +0200)]
libv4l: Add error handling to libjpeg calling code
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Hans de Goede [Sat, 14 May 2011 05:29:03 +0000 (07:29 +0200)]
libv4l: use libjpeg[-turbo] for decompressing jpeg-s
libjpeg-turbo is much faster then tinyjpeg, and with modern cameras
doing 1920x1080@30fps with jpeg compression, we really need that speed.
Todo: libjpeg error handling (fixed by next patch in series)
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Hans de Goede [Fri, 13 May 2011 13:51:33 +0000 (15:51 +0200)]
libv4l: Move tinyjpeg invocation to helper function
Preperation patch for adding support for decoding JPEG-s using libjpeg
(which is faster).
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Hans de Goede [Fri, 13 May 2011 13:53:43 +0000 (15:53 +0200)]
libv4lconvert: s/jdev/tinyjpeg/
Preperation patch for adding support for decoding JPEG-s using libjpeg
(which is faster).
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Hans de Goede [Wed, 11 May 2011 19:23:23 +0000 (21:23 +0200)]
libv4l: detect (usb) connection speed
And use it for determining the optimal source format.
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Hans de Goede [Tue, 10 May 2011 08:55:56 +0000 (10:55 +0200)]
qv4l2: remove some redundancy from inputChanged
updateAudioInput already does a g_audio and m_audioInput->setCurrentIndex,
no need to do it twice.
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Hans de Goede [Tue, 10 May 2011 08:52:47 +0000 (10:52 +0200)]
qv4l2: m_freq listens to valueChanged block it to avoid recursion
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Hans de Goede [Mon, 9 May 2011 20:36:30 +0000 (22:36 +0200)]
qv4l2: Add and hookup set / get interval code
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Hans de Goede [Mon, 9 May 2011 18:37:48 +0000 (20:37 +0200)]
qv4l2: always update capture format after a set cap fmt
Changing just the width / height may also change other fmt settings,
atleast it will influence the available intervals.
Also:
* only do a s_fmt if the preceeding try_fmt succeeded
* even update capture format if the try or s_fmt failed, so that the
ui element gets restored to the current setting
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Hans de Goede [Mon, 9 May 2011 18:23:14 +0000 (20:23 +0200)]
qv4l2: general-tab: make sure m_width and height get a proper init value
m_width and m_height were not getting assigned any meaningful value on
startup, this causes the enum_frameintervals call inframeIntervalChanged
to fail. This patch makes sure that m_width and m_height get assigned
the actual width and height on startup, by setting them from updateVidCapFormat
this also removes the need for passing the actual width and height into
updateFrameSize and updateFrameInterval, they can now simply use
m_width and m_height since these are now always accurate.
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Hans de Goede [Mon, 9 May 2011 18:01:26 +0000 (20:01 +0200)]
libv4l: Adjust src fmt for fps when app does a S_PARM with new fps
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Hans de Goede [Mon, 9 May 2011 11:56:14 +0000 (13:56 +0200)]
libv4l: s/v4l2_pix_fmt_identical/v4l2_pix_fmt_compat/
The current identical function checks for compat pix formats, not for identical
ones (the padding may be different), so rename it.
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Hans de Goede [Tue, 10 May 2011 07:44:06 +0000 (09:44 +0200)]
libv4l: Honor V4L2_DISABLE_CONVERSION flag for TRY_FMT ioctls
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Hans de Goede [Mon, 9 May 2011 08:14:32 +0000 (10:14 +0200)]
libv4l: rewrite src format selection algorithm
When multiple src formats are available for the best resolution match
we need to decide which one to use. The old algorithm was rather crude:
- it depended on the formats being sorted in a certain way in the
source formats array
- it did not really take bus bandwidth / fps into account other then
always preferring compressed formats except for resolutions of quarter
CIF and lower
- it did not differentiate between converting to YUV420 or to RGB32, while
some src formats are clearly a better match for one then for the other
This rewritten src format ranking algorithm takes all of the above into
account.
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Hans de Goede [Sun, 8 May 2011 17:28:12 +0000 (19:28 +0200)]
libv4l: Make the supported_src_formats bitfield 64 bits
We've been having > 32 src formats for a while now, so we really should
have done this earlier already ...
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Hans de Goede [Sun, 8 May 2011 17:25:08 +0000 (19:25 +0200)]
libv4l: add support for M420 pixel-format
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Hans de Goede [Sun, 8 May 2011 10:12:47 +0000 (12:12 +0200)]
libv4l: Webcam image upside down on Asus Eee PC T101MT (13d3:5122)
The caption pretty much says it all. Owing to different IDs, the flags
for similar Asus products don't cut in.
Originally reported for Ubuntu at
https://bugs.launchpad.net/ubuntu/+source/libv4l/+bug/774123.
Signed-off-by: Stefan Löffler <st.loeffler@gmail.com>
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Robby Workman [Tue, 12 Apr 2011 14:26:57 +0000 (11:26 -0300)]
keytable: Allow override of manpage installation directory
This creates MANDIR in Make.rules and keeps the preexisting
default of $(PREFIX)/share/man, but allows packagers to easily
override via e.g. "make MANDIR=/usr/man"
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Robby Workman [Tue, 3 May 2011 04:28:37 +0000 (01:28 -0300)]
keytable: Install udev rules to /lib/udev/ instead of /etc/udev
In moderately recent versions of udev (since 125 in 7/2008),
packages should install rules files to /lib/udev/rules.d/
instead of /etc/udev/rules.d/, as /etc/udev/rules.d/ is now
for generated rules and overrides of the packaged rules.
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Hans de Goede [Sat, 30 Apr 2011 08:21:35 +0000 (10:21 +0200)]
libv4l: Fix compile error caused by last commit
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Hans de Goede [Sat, 30 Apr 2011 08:19:16 +0000 (10:19 +0200)]
libv4l: update upside down device list
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Hans de Goede [Thu, 28 Apr 2011 08:36:05 +0000 (10:36 +0200)]
libv4l: update upside down device list
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Hans de Goede [Tue, 26 Apr 2011 16:58:32 +0000 (18:58 +0200)]
libv4l: update upside down device list
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Hans de Goede [Sun, 24 Apr 2011 11:50:45 +0000 (13:50 +0200)]
libv4l: update upside down device list
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Hans de Goede [Sun, 24 Apr 2011 08:41:45 +0000 (10:41 +0200)]
libv4l: update upside down device table
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Mauro Carvalho Chehab [Wed, 20 Apr 2011 01:49:49 +0000 (22:49 -0300)]
Update keymaps to sync with latest development tree
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Hans de Goede [Mon, 18 Apr 2011 07:21:50 +0000 (09:21 +0200)]
libv4l: update upside down device table
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Hans de Goede [Mon, 11 Apr 2011 21:18:40 +0000 (23:18 +0200)]
libv4l: update upside down device table
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Antonio Ospite [Thu, 7 Apr 2011 15:57:25 +0000 (17:57 +0200)]
libv4lconvert-priv.h: indent with tabs, not spaces
Indent wrapped lines with tabs, just like it is done for the other
functions in the same file.
Signed-off-by: Antonio Ospite <ospite@studenti.unina.it>
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Hans de Goede [Mon, 11 Apr 2011 20:23:52 +0000 (22:23 +0200)]
libv4l: update upside down device table
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Mauro Carvalho Chehab [Tue, 5 Apr 2011 17:59:17 +0000 (14:59 -0300)]
rc_keymaps: Sync with 2.6.39-rc1 + media patches
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Hans Verkuil [Wed, 30 Mar 2011 15:06:27 +0000 (17:06 +0200)]
v4l2-compliance: fix modulator frequency test.
The modulator frequency test had the same bug as the tuner frequency
test had. Fix it for the modulator as well.
Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>
Hans Verkuil [Tue, 29 Mar 2011 19:39:33 +0000 (21:39 +0200)]
v4l2-ctl: streamon/streamoff expect proper stream type.
Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>
Hans Verkuil [Tue, 29 Mar 2011 19:35:59 +0000 (21:35 +0200)]
v4l2-compliance: fix bug in testTunerFreq.
'if (ret)' should have been 'if (ret != -EINVAL)'.
Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>
Reported-by: Ondrej Zary <linux@rainbow-software.org>
Mauro Carvalho Chehab [Wed, 16 Mar 2011 18:14:18 +0000 (15:14 -0300)]
parse_tcpdump_log.pl: Don't need to use unpack for string
This is a minor cleanup, removing the usage of unpack. There's
not much gain using it there, and, after the changes, code
is cleaner.
Also, adds the "more" fields into the parsed data.
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Mauro Carvalho Chehab [Wed, 16 Mar 2011 18:03:08 +0000 (15:03 -0300)]
parse_tcpdump_log.pl: Fix most warnings and cleanup the code
There were several warnings happening with "use warnings".
Fix most of them. Also, use unpack to retrieve data from
the captured info, and remove some code redundancy.
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Mauro Carvalho Chehab [Wed, 16 Mar 2011 16:01:44 +0000 (13:01 -0300)]
parse_tcpdump_log.pl: Improve documentation
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Mauro Carvalho Chehab [Tue, 15 Mar 2011 18:08:41 +0000 (15:08 -0300)]
parse_tcpdump_log.pl: add support for collecting data directly
Instead of needing to use tcpdump, just use Net:Pcap and retrieve the
data directly via libpcap. This allows real-time parsing of the logs,
and may be very useful while debugging certain drivers.
The usual way via tcpdump is not touched.
A patch is needed in order to optionally use Net::Pcap, as this is only
required on pcap mode.
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Mauro Carvalho Chehab [Tue, 15 Mar 2011 13:59:46 +0000 (10:59 -0300)]
parse_tcpdump_log.pl: a few cleanups mostly at comments
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
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>
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>
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>
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>
Hans de Goede [Fri, 11 Mar 2011 18:48:18 +0000 (19:48 +0100)]
libv4l: update upside down device table
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
Hans de Goede [Fri, 11 Feb 2011 12:29:04 +0000 (13:29 +0100)]
Mark as version 0.8.4-test
Hans de Goede [Wed, 9 Feb 2011 21:38:06 +0000 (22:38 +0100)]
Release 0.8.3
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
Hans de Goede [Tue, 25 Jan 2011 15:17:51 +0000 (16:17 +0100)]
Release 0.8.2
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>
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>
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>