Skip to content

fix(photon-core): correct swapped VID/PID on three Logitech quirk entries#2530

Open
JosephTLockwood wants to merge 1 commit into
PhotonVision:mainfrom
JosephTLockwood:fix/logitech-vid-pid-swap
Open

fix(photon-core): correct swapped VID/PID on three Logitech quirk entries#2530
JosephTLockwood wants to merge 1 commit into
PhotonVision:mainfrom
JosephTLockwood:fix/logitech-vid-pid-swap

Conversation

@JosephTLockwood

Copy link
Copy Markdown
Contributor

Description

Three Logitech/ARC entries in the camera quirk table were written product-ID-first, but QuirkyCamera matches on (usbVid, usbPid). As a result the quirks never fired for the real hardware — the C270's CompletelyBroken flag and the C925-e's AdjustableFocus support were silently dead.

Corrected to VID-first (C270 0x046D/0x0825, C925-e 0x046D/0x085B, generic ARC "Logitech HD Webcam" 0x05A3/0x9331), with QuirkyCameraTest pinning each VID/PID pair and asserting the swapped order does not match.

Meta

Merge checklist:

  • Pull Request title is a short, imperative summary of proposed changes
  • The description documents the what and why
  • If this PR addresses a bug, a regression test for it is added

…ries

QuirkyCamera's constructors take (usbVid, usbPid), but three entries
were written PID-first: the generic "Logitech HD Webcam"
(0x9331, 0x5A3), the C270 (0x825, 0x46D), and the C925-e
(0x85B, 0x46D). Since getQuirkyCamera matches on exact VID and PID,
these quirks could never fire for the real hardware -- the C270's
CompletelyBroken flag and the C925-e's AdjustableFocus support were
silently dead. Logitech's vendor ID is 0x046D and ARC International's
is 0x05A3, so VID belongs first in each pair.

Swap each entry to VID-first and pin the known VID/PID pairs in
QuirkyCameraTest, including negative assertions that the swapped
order does not match.
@JosephTLockwood JosephTLockwood requested a review from a team as a code owner July 6, 2026 00:20
@github-actions github-actions Bot added the backend Things relating to photon-core and photon-server label Jul 6, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

backend Things relating to photon-core and photon-server

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant