I have Raspberry Pi used for Octoprint and I am using MSI Starcam 370i with it to monitor the prints. I know this camera has IR LED control, because this option is available on Windows 7 or Windows 10 computer. However the command v4l2-ctl -l does not list LED control.

Here is output from v4l2-ctl --all

Driver Info:
        Driver name      : sonixj
        Card type        : USB camera
        Bus info         : usb-3f980000.usb-1.3
        Driver version   : 5.4.72
        Capabilities     : 0x85200001
                Video Capture
                Extended Pix Format
                Device Capabilities
        Device Caps      : 0x05200001
                Video Capture
                Extended Pix Format
Priority: 2
Video input : 0 (sonixj: ok)
Format Video Capture:
        Width/Height      : 640/480
        Pixel Format      : 'JPEG' (JFIF JPEG)
        Field             : None
        Bytes per Line    : 640
        Size Image        : 230990
        Colorspace        : JPEG
        Transfer Function : Default (maps to sRGB)
        YCbCr/HSV Encoding: Default (maps to ITU-R 601)
        Quantization      : Default (maps to Full Range)
        Flags             :
Streaming Parameters Video Capture:
        Frames per second: invalid (0/0)
        Read buffers     : 2

User Controls

                     brightness 0x00980900 (int)    : min=0 max=255 step=1 default=128 value=50 flags=slider
                       contrast 0x00980901 (int)    : min=0 max=127 step=1 default=20 value=50 flags=slider
                     saturation 0x00980902 (int)    : min=0 max=40 step=1 default=25 value=15 flags=slider
                    red_balance 0x0098090e (int)    : min=24 max=40 step=1 default=32 value=32 flags=slider
                   blue_balance 0x0098090f (int)    : min=24 max=40 step=1 default=32 value=32 flags=slider
                          gamma 0x00980910 (int)    : min=0 max=40 step=1 default=20 value=20 flags=slider
                 gain_automatic 0x00980912 (bool)   : default=1 value=0
                  vertical_flip 0x00980915 (bool)   : default=0 value=0
                      sharpness 0x0098091b (int)    : min=0 max=255 step=1 default=90 value=90 flags=slider

What should I do to be able to control the IR LEDs on the webcam?

Thank you


Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.