-
Notifications
You must be signed in to change notification settings - Fork 81
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
V4L2 settings not always setting #74
Comments
Could you please verify, that almost the "exposure" related settings are affected by this? As procedure I would recommend using only a few option and see if they are set properly. I have an Issue post on Discord, which seems that only exposure setting in C920 are affected. Also, sorry for my late respond. Regards Kwad |
I'll check the disco d thread. But as an answer in this thread it is exposure, whitebalance and autofocus that seems to fail. Or they all work. I find 2-3 restarts and it sticks. |
This should fix #74 In case it does not, there is not musch we can do, especcially C920 seems to be infected by that. Maybe corrupted firmware? Signed-off-by: Stephan Wendel <[email protected]>
Maybe I am being stupid. but how do I set moonraker to use the feat/ayucamstream branch to test this feature for you? |
feat/ayucamstream is not a supported branch. it's only for internal testing. |
What happened
Setup and tested the V4L2 settings and sometimes the settings hold and othertimes the settings show as inactive.
This is random. works perfectly if applied via Putty
[01/09/23 14:56:45] crowsnest: Supported Controls:
[01/09/23 14:56:45] crowsnest: brightness 0x00980900 (int) : min=0 max=255 step=1 default=128 value=128
[01/09/23 14:56:45] crowsnest: contrast 0x00980901 (int) : min=0 max=255 step=1 default=128 value=128
[01/09/23 14:56:45] crowsnest: saturation 0x00980902 (int) : min=0 max=255 step=1 default=128 value=128
[01/09/23 14:56:45] crowsnest: white_balance_temperature_auto 0x0098090c (bool) : default=1 value=1
[01/09/23 14:56:45] crowsnest: gain 0x00980913 (int) : min=0 max=255 step=1 default=0 value=0
[01/09/23 14:56:45] crowsnest: power_line_frequency 0x00980918 (menu) : min=0 max=2 default=2 value=2
[01/09/23 14:56:45] crowsnest: 0: Disabled
[01/09/23 14:56:45] crowsnest: 1: 50 Hz
[01/09/23 14:56:45] crowsnest: 2: 60 Hz
[01/09/23 14:56:45] crowsnest: white_balance_temperature 0x0098091a (int) : min=2000 max=6500 step=1 default=4000 value=4000 flags=inactive
[01/09/23 14:56:45] crowsnest: sharpness 0x0098091b (int) : min=0 max=255 step=1 default=128 value=128
[01/09/23 14:56:45] crowsnest: backlight_compensation 0x0098091c (int) : min=0 max=1 step=1 default=0 value=0
[01/09/23 14:56:45] crowsnest: exposure_auto 0x009a0901 (menu) : min=0 max=3 default=3 value=3
[01/09/23 14:56:45] crowsnest: 1: Manual Mode
[01/09/23 14:56:45] crowsnest: 3: Aperture Priority Mode
[01/09/23 14:56:45] crowsnest: exposure_absolute 0x009a0902 (int) : min=3 max=2047 step=1 default=250 value=250 flags=inactive
[01/09/23 14:56:45] crowsnest: exposure_auto_priority 0x009a0903 (bool) : default=0 value=1
[01/09/23 14:56:45] crowsnest: pan_absolute 0x009a0908 (int) : min=-36000 max=36000 step=3600 default=0 value=0
[01/09/23 14:56:45] crowsnest: tilt_absolute 0x009a0909 (int) : min=-36000 max=36000 step=3600 default=0 value=0
[01/09/23 14:56:45] crowsnest: focus_absolute 0x009a090a (int) : min=0 max=250 step=5 default=0 value=0 flags=inactive
[01/09/23 14:56:45] crowsnest: focus_auto 0x009a090c (bool) : default=1 value=1
[01/09/23 14:56:45] crowsnest: zoom_absolute 0x009a090d (int) : min=100 max=500 step=1 default=100 value=100
[01/09/23 14:56:45] crowsnest: INFO: No usable CSI Devices found.
[01/09/23 14:56:45] crowsnest: V4L2 Control:
[01/09/23 14:56:45] crowsnest: Device: [cam 1]
[01/09/23 14:56:45] crowsnest: Options: white_balance_temperature_auto=0,gain=0,white_balance_temperature=5000,sharpness=255,exposure_auto=1,exposure_absolute=156,exposure_auto_priority=0,focus_auto=0,focus_absolute=60
[01/09/23 14:56:46] crowsnest: Try to start configured Cams / Services...
[01/09/23 14:56:46] crowsnest: INFO: Configuration of Section [cam 1] looks good. Continue...
[01/09/23 14:56:47] crowsnest: Starting ustreamer with Device /dev/video0 ...
[01/09/23 14:56:48] crowsnest: ... Done!
What did you expect to happen
All settings to be applied
How to reproduce
restart the service and check if the settings have applied.
Additional information
No response
The text was updated successfully, but these errors were encountered: