Skip to content
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 focus_absolute resets to 192 after "Starting ustreamer with Device /dev/video0" #185

Closed
sleewok opened this issue Sep 28, 2023 · 2 comments
Labels
bug Something isn't working not an Issue

Comments

@sleewok
Copy link

sleewok commented Sep 28, 2023

What happened

I have my V4L2 Control: Options: focus_auto=0,focus_absolute=260,sharpness=4,power_line_frequency=2

When restarting the service I spam the command: v4l2-ctl -d /dev/video0 --list-ctrls-menus

I can see the focus_absolute set to 260 as soon as the log shows: :V4L2 Control: Options: focus_auto=0,focus_absolute=260,sharpness=4,power_line_frequency=2:

Then when it gets to "Starting ustreamer with Device /dev/video0 ..." the value is set to 192.

The default value is 0 and I have no idea where 192 is coming from.

What did you expect to happen

I expect my focus_absolute to set to the value specified in the config file.

How to reproduce

Set the value in my config and restart the service.

Additional information

Is there anywhere else the 192 value could be set that is overriding this?

@sleewok sleewok added the bug Something isn't working label Sep 28, 2023
@mryel00
Copy link
Member

mryel00 commented Sep 30, 2023

Sry that it took so long to respond here. The only thing I could think of right now, without any log, would be that you maybe have some kind of error inside your config or just edit the wrong config file.
We support such things on Discord, so please join it and open a post inside the support-forum for further troubleshooting/help.

@github-actions
Copy link

Ahoi!

It looks like this ticket is a request for help (or similar).
Many helpful people will not see your message here and you are
unlikely to get a useful response.

We use github to handle bugreports, feature requests and
planning new releases.

Please use our Discord-Server for help: discord.gg/mainsail

This ticket will be automatically closed.

Fair wind and a following sea!
~ Your friendly MainsailGithubBot

PS: I'm just an automated script, not a real sailor.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working not an Issue
Projects
None yet
Development

No branches or pull requests

2 participants