Giter VIP home page Giter VIP logo

Comments (4)

zlorfi avatar zlorfi commented on August 15, 2024

I reported this issue originally here

from uvc-gadget.

peterbay avatar peterbay commented on August 15, 2024

Your journalctl log contains information about available video controls and mapping between v4l2 and UVC.

  • camera control V4L2_CID_BRIGHTNESS is available and is mapped to UVC_PU_BRIGHTNESS_CONTROL
    V4L2: Supported control Brightness (V4L2_CID_BRIGHTNESS = UVC_PU_BRIGHTNESS_CONTROL)

  • range of values available for V4L2_CID_BRIGHTNESS
    V4L2: V4L2: min: 0, max: 100, step: 1, default: 50, value: 50

  • range of values propagated to host computer if UVC_PU_BRIGHTNESS_CONTROL is requested.
    V4L2: UVC: min: 0, max: 100, step: 1, default: 50, value: 50

If host computer need to change brightness, then tou can see in log messages like this -
UVC: PROCESSING_UNIT - GET_CUR - UVC_PU_BRIGHTNESS_CONTROL
UVC: PROCESSING_UNIT - GET_CUR - UVC_PU_BRIGHTNESS_CONTROL
UVC: PROCESSING_UNIT - SET_CUR - UVC_PU_BRIGHTNESS_CONTROL
UVC: Control CONTROL_UNDEFINED, length: 2
DEVICE_UVC: V4L2_CID_BRIGHTNESS changed value (V4L2: 54, UVC: 54)

Your journalctl doesn't contain a message like "DEVICE_UVC: V4L2_CID_BRIGHTNESS changed value (V4L2: 54, UVC: 54)", so uvc-gadget don't change brightness.

from uvc-gadget.

mattstudio avatar mattstudio commented on August 15, 2024

I'm encountering the same problem. Other settings in the camera.txt are being honored, but the 'brightness' value is ignored. I have to set it manually using the serial interface each time I connect the webcam.

from uvc-gadget.

peterbay avatar peterbay commented on August 15, 2024

In branch new-code https://github.com/peterbay/uvc-gadget/tree/feat/new-code is now added argument -z for ignoring controls from v4l2 source device and host computer.

from uvc-gadget.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.