Skip to content

Commit a73ffaa

Browse files
committed
fix(rpi): Detect MacroSilicon MS2109 UVC IDs
1 parent 7704fe1 commit a73ffaa

1 file changed

Lines changed: 5 additions & 1 deletion

File tree

publish.py

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12275,7 +12275,11 @@ def get_queue_config(lowlatency=False):
1227512275

1227612276
if v4l2_device_name:
1227712277
v4l2_device_name_l = v4l2_device_name.lower()
12278-
is_macrosilicon = ("macrosilicon" in v4l2_device_name_l) or ("ms2109" in v4l2_device_name_l)
12278+
is_macrosilicon = (
12279+
("macrosilicon" in v4l2_device_name_l)
12280+
or ("ms2109" in v4l2_device_name_l)
12281+
or (re.search(r"\((?:345f|534d):2109\)", v4l2_device_name_l) is not None)
12282+
)
1227912283

1228012284
# Default to software JPEG decoding for known-problematic dongles.
1228112285
if is_macrosilicon and (not args.raw) and (not args.soft_jpeg):

0 commit comments

Comments
 (0)