Skip to content

Commit c8f1f41

Browse files
Merge pull request #1709 from a3f/afa/guermok-hdmi-to-usb3
driver: add support for Guermok HDMI to USB 3.0 capture dongle
2 parents e7b2d9e + 9b7c859 commit c8f1f41

File tree

2 files changed

+9
-1
lines changed

2 files changed

+9
-1
lines changed

CHANGES.rst

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,8 @@ New Features in 25.1
99
CTRL+D specially to halt autoboot countdown without running interactive
1010
hooks like bringing up network interfaces automatically.
1111

12+
- Guermok HDMI to USB 3.0 capture dongle supported
13+
1214
Breaking changes in 25.1
1315
~~~~~~~~~~~~~~~~~~~~~~~~
1416
- The deprecated pytest plugin option ``--env-config`` has been removed. Use

labgrid/driver/usbvideodriver.py

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -75,8 +75,14 @@ def get_qualities(self):
7575
("mid", "image/jpeg,width=864,height=480,pixel-aspect-ratio=1/1,framerate=30/1"),
7676
("high", "image/jpeg,width=1280,height=1024,pixel-aspect-ratio=1/1,framerate=30/1"),
7777
])
78+
elif match == (0x345f, 0x2130): # UltraSemi USB3 Video
79+
return ("mid", [
80+
("low", "image/jpeg,width=1024,height=768,pixel-aspect-ratio=1/1,framerate=30/1"),
81+
("mid", "image/jpeg,width=1920,height=1080,pixel-aspect-ratio=1/1,framerate=30/1"),
82+
("high", "image/jpeg,width=3840,height=2160,pixel-aspect-ratio=1/1,framerate=18/1"),
83+
])
7884
self.logger.warning(
79-
"Unkown USB video device {:04x}:{:04x}, using fallback pipeline."
85+
"Unknown USB video device {:04x}:{:04x}, using fallback pipeline."
8086
.format(*match))
8187
return ("mid", [
8288
("low", "image/jpeg,width=640,height=480,framerate=30/1"),

0 commit comments

Comments
 (0)