Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions CHANGES.rst
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,8 @@ New Features in 25.1
CTRL+D specially to halt autoboot countdown without running interactive
hooks like bringing up network interfaces automatically.

- Guermok HDMI to USB 3.0 capture dongle supported

Breaking changes in 25.1
~~~~~~~~~~~~~~~~~~~~~~~~
- The deprecated pytest plugin option ``--env-config`` has been removed. Use
Expand Down
8 changes: 7 additions & 1 deletion labgrid/driver/usbvideodriver.py
Original file line number Diff line number Diff line change
Expand Up @@ -75,8 +75,14 @@ def get_qualities(self):
("mid", "image/jpeg,width=864,height=480,pixel-aspect-ratio=1/1,framerate=30/1"),
("high", "image/jpeg,width=1280,height=1024,pixel-aspect-ratio=1/1,framerate=30/1"),
])
elif match == (0x345f, 0x2130): # UltraSemi USB3 Video
return ("mid", [
("low", "image/jpeg,width=1024,height=768,pixel-aspect-ratio=1/1,framerate=30/1"),
("mid", "image/jpeg,width=1920,height=1080,pixel-aspect-ratio=1/1,framerate=30/1"),
("high", "image/jpeg,width=3840,height=2160,pixel-aspect-ratio=1/1,framerate=18/1"),
])
self.logger.warning(
"Unkown USB video device {:04x}:{:04x}, using fallback pipeline."
"Unknown USB video device {:04x}:{:04x}, using fallback pipeline."
.format(*match))
return ("mid", [
("low", "image/jpeg,width=640,height=480,framerate=30/1"),
Expand Down