Skip to content

Instantly share code, notes, and snippets.

@branzo
branzo / cam_ptz.sh
Created May 23, 2026 09:32 — forked from rm1138/cam_ptz.sh
eMeet Pixy (328f:00c0) PTZ and HID control for Linux - reverse-engineered tracking, privacy, gesture, and audio mode commands
#!/usr/bin/env bash
# PTZ and mode control for eMeet Pixy webcam (USB 328f:00c0)
# Uses v4l2-ctl for PTZ and HID for tracking/idle mode
# Usage: cam_ptz.sh <command> [value]
#
# --- How the HID protocol was reverse-engineered ---
#
# The eMeet Pixy exposes two control interfaces:
# 1. UVC (standard) — pan/tilt/zoom/focus via v4l2-ctl
# 2. HID (proprietary) — tracking, audio, gesture, privacy via /dev/hidrawN