~jocave/checkbox-support:add-lsusb-py-script

Last commit made on 2019-06-27
Get this branch:
git clone -b add-lsusb-py-script https://git.launchpad.net/~jocave/checkbox-support
Only Jonathan Cave can upload to this branch. If you are Jonathan Cave please log in for upload directions.

Branch merges

Branch information

Name:
add-lsusb-py-script
Repository:
lp:~jocave/checkbox-support

Recent commits

477e484... by Jonathan Cave

lsusb: import lsusb.py script

54dd352... by PMR <pmr@pmr-lander>

Merge #369092 from ~sylvain-pineau/checkbox-support:fix-1830146

d99aad6... by Sylvain Pineau

test_udevadm: test for video capture metadata device nodes

Only devices with video capture capabilities are reported as CAPTURE devices

837a2c4... by Sylvain Pineau

udevadm_data: System with 4 video device nodes (two being capture metadata nodes)

471b681... by Sylvain Pineau

parsers:udevadm: Ignore Metadata Capture device node

Some UVC video cameras contain metadata in their payload headers. New kernels
(4.15+) extracts that data and makes it available to the user space on a
separate video node, using the V4L2_CAP_META_CAPTURE capability and the
V4L2_BUF_TYPE_META_CAPTURE buffer queue type.

It's a new feature added by this commit:

commit 088ead25524583e2200aa99111bea2f66a86545a
Author: Guennadi Liakhovetski <email address hidden>
Date: Wed Dec 6 10:15:40 2017 -0500

    media: uvcvideo: Add a metadata device nodeSee kernel commit

But udev does not properly report this metadata cap in ID_V4L_CAPABILITIES
See https://github.com/systemd/systemd/commit/646876105fe1799355715839477958adf1d096fd

Instead of querying the capabilities with IOCTL if two devices are sharing the
same DEVPATH, the one with the highest MINOR device number corresponds to the
metadata device node.

Fixes: lp:1830146

7dd870f... by PMR <pmr@pmr-lander>

Merge #368621 from ~jocave/checkbox-support:add-netplan-parser

ad173b0... by Jonathan Cave

parsers/netplan: new parser for netplan configs

Parser taken from the upstream netplan project with small
addition to expose renderer.

c555520... by PMR <pmr@pmr-lander>

Merge #368558 from ~jocave/checkbox-support:udev-parser-add-symlinks

d3da578... by Jonathan Cave

test_udevadm: test for symlink_uuid property

Test that parses two device DBs including a USB storage device
that is enumerated differently after reboot. The key feature
is that the symlink_uuid remains the same so the device can be
tracked across the reboot.

97afb9f... by Jonathan Cave

udevadm_data: DH170 with usb stick rebooted