fixed daemon?

This commit is contained in:
Brad Stein 2025-07-04 10:40:20 -05:00
parent 34030aa8b6
commit 86b6e79e33

View File

@ -114,10 +114,10 @@ echo 32 >"$U/req_number" 2>/dev/null || true
# ----------------------- UVC function (usbvideo) ------------------ # ----------------------- UVC function (usbvideo) ------------------
mkdir -p "$G/functions/uvc.usb0" mkdir -p "$G/functions/uvc.usb0"
mkdir -p "$G/functions/uvc.usb0/control/strings/0x409" mkdir -p "$G/functions/uvc.usb0/control/header"
echo "Lesavka UVC" >"$G/functions/uvc.usb0/control/strings/0x409/label"
# Simple 720p MJPEG + 720p H.264 altsetting
printf '\x50\x00\x00\x00' > "$G/functions/uvc.usb0/control/header/h_video" printf '\x50\x00\x00\x00' > "$G/functions/uvc.usb0/control/header/h_video"
mkdir -p "$G/functions/uvc.usb0/control/header/strings/0x409"
echo "Lesavka UVC" > "$G/functions/uvc.usb0/control/header/strings/0x409/label"
# ----------------------- configuration ----------------------------- # ----------------------- configuration -----------------------------
mkdir -p "$G/configs/c.1/strings/0x409" mkdir -p "$G/configs/c.1/strings/0x409"