Commit Graph
12 Commits
Author SHA1 Message Date
singhharsh1708 5c579e689c fix: camera settings modal shows v4l2-ctl class headings as empty controls 2026-11-17 01:35:39 +05:30
Jash f7430ba2a9 fix: read the control type in the camera settings modal so bool and int controls render refs #5852 2026-11-14 19:10:24 +05:30
Jash f6191bcf7a fix: post the camera settings modal to the settings view so Save is processed refs #5852 2026-11-14 19:10:24 +05:30
Nic Boet 0a6cd1c4bb fix(web): disable the camera settings Save button without Control edit
The settings modal disables its sliders without Control edit but left
Save enabled for Control view; the settings action refuses such users
now. Disable Save by the same rule.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
(cherry picked from commit 54ed8988ef84c78a72c77f1147cb20bd225797c6)
2026-10-30 18:10:07 -04:00
Isaac ConnorandClaude Opus 4.6 8600393bfb fix: remove file_exists() gate on /dev/video in settings modal
Debian Forky's stock apache2 systemd unit sets PrivateDevices=yes,
giving Apache its own /dev namespace without video devices. This
caused file_exists('/dev/video0') to return false even though the
device exists and www-data is in the video group.

Remove the file_exists() pre-check and just attempt v4l2-ctl directly.
When it fails, provide targeted diagnostics: missing v4l2-ctl, systemd
PrivateDevices detected, or generic permission error with the running
username.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-15 11:13:20 -05:00
Isaac Connor 748bd20b2c Improve logging and protect shell argument. 2025-09-27 12:14:14 -04:00
Isaac Connor 7933bd4852 Add some logging of invalid mid 2024-11-22 16:28:08 -05:00
Isaac Connor 5a498878b8 Protect mid with validCardinal. Return early if it is invalid or monitor is not found 2024-01-24 19:28:59 -05:00
Isaac Connor 6609c154f2 Pretty up the v4l field names 2021-11-07 11:28:34 -05:00
Isaac Connor d960f9b6af Fix settings being blank due to missing v4l2-ctl 2021-10-16 13:19:19 -04:00
Isaac Connor 94cd3a6e69 Use v4l2-ctrl to list the available controls and display all of them. Use range sliders where appropriate. 2021-10-05 19:49:42 -04:00
Andrew Bauer 1643fb686b convert settings popup to modal 2020-10-03 16:51:25 -05:00