lp:libv4l

Created by libv4l on 2010-07-13 and last modified on 2020-10-24
Get this branch:
bzr branch lp:libv4l

Branch merges

Related bugs

Related blueprints

Branch information

Owner:
libv4l
Project:
libv4l v4l-utils
Status:
Development

Import details

Import Status: Reviewed

This branch is an import of the HEAD branch of the Git repository at git://linuxtv.org/v4l-utils.git.

The next import is scheduled to run in 3 hours.

Last successful import was 2 hours ago.

Import started 2 hours ago on izar and finished 2 hours ago taking 15 seconds — see the log
Import started 8 hours ago on alnitak and finished 8 hours ago taking 20 seconds — see the log
Import started 14 hours ago on izar and finished 14 hours ago taking 15 seconds — see the log
Import started 21 hours ago on izar and finished 21 hours ago taking 15 seconds — see the log
Import started on 2020-10-26 on alnitak and finished on 2020-10-26 taking 20 seconds — see the log
Import started on 2020-10-25 on alnitak and finished on 2020-10-25 taking 20 seconds — see the log
Import started on 2020-10-25 on alnitak and finished on 2020-10-25 taking 20 seconds — see the log
Import started on 2020-10-25 on alnitak and finished on 2020-10-25 taking 20 seconds — see the log
Import started on 2020-10-25 on izar and finished on 2020-10-25 taking 20 seconds — see the log
Import started on 2020-10-24 on alnitak and finished on 2020-10-24 taking 20 seconds — see the log

Recent revisions

4582. By Hans Verkuil <email address hidden> on 2020-10-24

v4l2-ctl-32: use v4l2_ctl_CPPFLAGS, fix wrong check

Use v4l2_ctl_CPPFLAGS to build v4l2-ctl-32 to ensure it is consistent
with building v4l2-ctl. In this case the GIT_COMMIT_CNT define was
missing from v4l2-ctl-32, using v4l2_ctl_CPPFLAGS fixed that.

Also v4l2-ctl-32 depended on 'if WITH_V4L2_COMPLIANCE_32' instead
of 'if WITH_V4L2_CTL_32'. Fixed this as well.

Signed-off-by: Hans Verkuil <email address hidden>

4581. By Hans Verkuil <email address hidden> on 2020-10-24

v4l2-compliance-32: use v4l2_compliance_CPPFLAGS

Rather than copying the v4l2_compliance_CPPFLAGS flags, just use
$(v4l2_compliance_CPPFLAGS). This avoids accidental divergence
between v4l2-compliance and v4l2-compliance-32.

In this case, GIT_COMMIT_DATE was missing for v4l2-compliance-32.

Signed-off-by: Hans Verkuil <email address hidden>

4580. By Hans Verkuil <email address hidden> on 2020-10-23

cec-ctl: detect if Standby etc. messages are Nacked

During the power cycle stress test the <Active Source>, <Standby>
and <Image View On> messages are transmitted without checking if
the message was Nacked. Add this check and retry transmitting after
waiting for a second.

Some displays become unresponsive for a short time after changing
power state, and during that time these messages are NACKed. The
stress test didn't handle that very well, although it is dubious
for a display to do this, since this makes life hard for sources.

Signed-off-by: Hans Verkuil <email address hidden>

4579. By Hans Verkuil <email address hidden> on 2020-10-22

cec-ctl.1.in: fix awkward language

"Note that this test should work without needed any repeats." ->
"Note that this test should work without any repeats."

Signed-off-by: Hans Verkuil <email address hidden>

4578. By Hans Verkuil <email address hidden> on 2020-10-22

cec-ctl: really wait for 2 seconds when the HPD is low

The purpose of commit 5b4a5a96ebe5 ("cec-ctl: improve wait_for_pwr_state")
was to: "if, while waiting for Standby, the HPD is pulled low, then do not
immediately assume the device is in standby, instead wait for two
consecutive low HPDs before reporting that the device is in standby.".

However, CEC_ADAP_G_LOG_ADDRS calls that checked if the logical address
was invalid prevented that commit from actually doing the right thing.

Those CEC_ADAP_G_LOG_ADDRS calls should have been removed, so do this now.

Signed-off-by: Hans Verkuil <email address hidden>

4577. By Hans Verkuil <email address hidden> on 2020-10-22

cec-follower: drop physical address check

If the CEC adapter required manual setting of the physical address,
and the physical address was invalid, then cec-follower aborted with
this message:

FAIL: missing physical address, use cec-ctl to configure this

But cec-ctl can poll for the physical address from the EDID using the
-e or -E options, so in that case this check is too strict.

Just drop the invalid physical address check, it's not needed.

Signed-off-by: Hans Verkuil <email address hidden>

4576. By Hans Verkuil <email address hidden> on 2020-10-21

cec utils and v4l2-compliance: improve version info

Various versioning changes:

- GIT_SHA is now a SHA with length 12, the full SHA was a bit ridiculous.

- the CEC/V4L2 compliance-related utilities now also report the last git
  commit date in UTC to make it easier to verify that the git repo is
  recent enough.

- show the versioning as well for the cec-ctl power cycle tests.

- don't show the git info if it wasn't build from a git repo.

Signed-off-by: Hans Verkuil <email address hidden>

4575. By Hans Verkuil <email address hidden> on 2020-10-21

cec-ctl/cec-compliance: add pulse8-cec kernel version check

The CEC framework had problems with displays that pull down
the HPD when in Standby. This was fixed in kernel 5.5 and the fix
was backported to LTS kernels 4.19.94 and 5.4.9. Check that the right
kernel version is being used to prevent unreliable stress and
compliance test results.

For the stress test using the wrong kernel is a hard FAIL, for
the compliance test it is just a warning since it is much more
likely to pass.

This is only checked for the pulse8-cec driver, for other CEC devices
(most likely on an embedded system) you hopefully know what you are
doing.

Signed-off-by: Hans Verkuil <email address hidden>

4574. By Hans Verkuil <email address hidden> on 2020-10-06

cec-compliance: options -n and -N were swapped in --help

The -n and -N options were swapped in the usage message:
'-n' must be '-N' and vice versa. The man page and code is OK,
it was just the usage message that was wrong.

Signed-off-by: Hans Verkuil <email address hidden>

4573. By Sebastian Fricke <email address hidden> on 2020-10-05

README: Update build requirements for debian

The current set of required packages was not sufficient to complete the
`make`, after following the usual route of:
`sudo apt-get install debhelper dh-autoreconf autotools-dev\
                      autoconf-archive doxygen graphviz libasound2-dev\
                      libtool libjpeg-dev qtbase5-dev libqt5opengl5-dev\
                      libudev-dev libx11-dev pkg-config udev make gcc git`
`./bootstrap.sh`
`./configure`
`make`

The following error was presented:
`moc: could not find a Qt installation of ''`

Fix this issue by adding the `qt5-default` package to the list of
requirements.

Fixes: 8d2093a8a4bc43622cd68aeb85fb2b817de55993

Tested on: Debian version: Debian GNU/Linux 10 & Debian GNU/Linux 9
(Buster & Stretch(inside of a lxc container))
Additionally, I tested to build on a fresh VM, where I faced the same
problem.

Signed-off-by: Sebastian Fricke <email address hidden>
Signed-off-by: Hans Verkuil <email address hidden>

Branch metadata

Branch format:
Branch format 7
Repository format:
Bazaar repository format 2a (needs bzr 1.16 or later)
This branch contains Public information 
Everyone can see this information.

Subscribers