EmixamPP / linux-enable-ir-emitter

Provides support for infrared cameras that are not directly enabled out-of-the box.
MIT License
242 stars 21 forks source link

Blinks one time after `linux-enable-ir-emitter run` then stop #182

Open eu-david opened 4 months ago

eu-david commented 4 months ago

Ouput of cat /var/local/log/linux-enable-ir-emitter

Executing configure command.
Stand in front of and close to the camera and make sure the room is well lit.
Ensure to not use the camera during the execution.
Checking if /dev/video0 is a grayscale camera.
Checking if /dev/video1 is a grayscale camera.
Checking if /dev/video2 is a grayscale camera.
/dev/video2 is a grayscale camera.
Configuring the camera /dev/video2.
Previous configuration found.
Is the video flashing? Press Y or N in the window. 
** (linux-enable-ir-emitter:4753): WARNING **: 11:06:23.046: AT-SPI: Could not obtain desktop path or name

** (linux-enable-ir-emitter:4753): WARNING **: 11:06:23.047: atk-bridge: GetRegisteredEvents returned message with unknown signature

** (linux-enable-ir-emitter:4753): WARNING **: 11:06:23.047: atk-bridge: get_device_events_reply: unknown signature
N pressed.
Instruction applied: unit: 4, selector: 2, control: 1 0.
Instruction applied: unit: 4, selector: 2, control: 2 0.
Instruction applied: unit: 4, selector: 2, control: 3 0.
Instruction applied: unit: 4, selector: 2, control: 4 0.
Instruction applied: unit: 4, selector: 2, control: 5 0.
Instruction applied: unit: 4, selector: 2, control: 6 0.
Instruction applied: unit: 4, selector: 2, control: 7 0.
Instruction applied: unit: 4, selector: 2, control: 8 0.
Instruction applied: unit: 4, selector: 2, control: 9 0.
Instruction applied: unit: 4, selector: 2, control: 255 255.
Reseting to the instruction: unit: 4, selector: 2, control: 0 32.
Instruction applied: unit: 4, selector: 3, control: 1.
Instruction applied: unit: 4, selector: 3, control: 2.
Instruction applied: unit: 4, selector: 3, control: 3.
Instruction applied: unit: 4, selector: 3, control: 4.
Instruction applied: unit: 4, selector: 3, control: 5.
Instruction applied: unit: 4, selector: 3, control: 6.
Instruction applied: unit: 4, selector: 3, control: 7.
Instruction applied: unit: 4, selector: 3, control: 8.
Instruction applied: unit: 4, selector: 3, control: 9.
Instruction applied: unit: 4, selector: 3, control: 255.
The instruction is not valid.
Reseting to the instruction: unit: 4, selector: 3, control: 0.
Instruction applied: unit: 4, selector: 4, control: 1 0.
The instruction is not valid.
Instruction applied: unit: 4, selector: 4, control: 2 0.
The instruction is not valid.
Instruction applied: unit: 4, selector: 4, control: 3 0.
The instruction is not valid.
Instruction applied: unit: 4, selector: 4, control: 4 0.
The instruction is not valid.
Instruction applied: unit: 4, selector: 4, control: 5 0.
The instruction is not valid.
Instruction applied: unit: 4, selector: 4, control: 6 0.
The instruction is not valid.
Instruction applied: unit: 4, selector: 4, control: 7 0.
The instruction is not valid.
Instruction applied: unit: 4, selector: 4, control: 8 0.
The instruction is not valid.
Instruction applied: unit: 4, selector: 4, control: 9 0.
The instruction is not valid.
Instruction applied: unit: 4, selector: 4, control: 255 255.
The instruction is not valid.
Reseting to the instruction: unit: 4, selector: 4, control: 0 0.
Instruction applied: unit: 4, selector: 5, control: 1 0.
The instruction is not valid.
Instruction applied: unit: 4, selector: 5, control: 2 0.
The instruction is not valid.
Instruction applied: unit: 4, selector: 5, control: 3 0.
The instruction is not valid.
Instruction applied: unit: 4, selector: 5, control: 4 0.
The instruction is not valid.
Instruction applied: unit: 4, selector: 5, control: 5 0.
The instruction is not valid.
Instruction applied: unit: 4, selector: 5, control: 6 0.
The instruction is not valid.
Instruction applied: unit: 4, selector: 5, control: 7 0.
The instruction is not valid.
Instruction applied: unit: 4, selector: 5, control: 8 0.
The instruction is not valid.
Instruction applied: unit: 4, selector: 5, control: 9 0.
The instruction is not valid.
Instruction applied: unit: 4, selector: 5, control: 255 255.
The instruction is not valid.
Reseting to the instruction: unit: 4, selector: 5, control: 255 0.
Instruction applied: unit: 4, selector: 6, control: 1.
The instruction is not valid.
Reseting to the instruction: unit: 4, selector: 6, control: 1.
Instruction applied: unit: 4, selector: 7, control: 2.
The instruction is not valid.
Instruction applied: unit: 4, selector: 7, control: 3.
The instruction is not valid.
Instruction applied: unit: 4, selector: 7, control: 4.
The instruction is not valid.
Instruction applied: unit: 4, selector: 7, control: 5.
The instruction is not valid.
Instruction applied: unit: 4, selector: 7, control: 6.
The instruction is not valid.
Instruction applied: unit: 4, selector: 7, control: 7.
The instruction is not valid.
Instruction applied: unit: 4, selector: 7, control: 8.
The instruction is not valid.
Instruction applied: unit: 4, selector: 7, control: 9.
The instruction is not valid.
Instruction applied: unit: 4, selector: 7, control: 10.
The instruction is not valid.
Instruction applied: unit: 4, selector: 7, control: 13.
The instruction is not valid.
Reseting to the instruction: unit: 4, selector: 7, control: 1.
Instruction applied: unit: 4, selector: 8, control: 1.
The instruction is not valid.
Instruction applied: unit: 4, selector: 8, control: 2.
The instruction is not valid.
Instruction applied: unit: 4, selector: 8, control: 3.
The instruction is not valid.
Instruction applied: unit: 4, selector: 8, control: 4.
The instruction is not valid.
Instruction applied: unit: 4, selector: 8, control: 5.
The instruction is not valid.
Instruction applied: unit: 4, selector: 8, control: 6.
The instruction is not valid.
Instruction applied: unit: 4, selector: 8, control: 7.
The instruction is not valid.
Instruction applied: unit: 4, selector: 8, control: 8.
The instruction is not valid.
Instruction applied: unit: 4, selector: 8, control: 9.
The instruction is not valid.
Instruction applied: unit: 4, selector: 8, control: 255.
The instruction is not valid.
Reseting to the instruction: unit: 4, selector: 8, control: 3.
Instruction applied: unit: 4, selector: 9, control: 1.
The instruction is not valid.
Reseting to the instruction: unit: 4, selector: 9, control: 0.
Instruction applied: unit: 4, selector: 12, control: 1.
The instruction is not valid.
Reseting to the instruction: unit: 4, selector: 12, control: 0.
Instruction applied: unit: 4, selector: 13, control: 1 0 0 0.
The instruction is not valid.
Instruction applied: unit: 4, selector: 13, control: 2 0 0 0.
The instruction is not valid.
Instruction applied: unit: 4, selector: 13, control: 3 0 0 0.
The instruction is not valid.
Instruction applied: unit: 4, selector: 13, control: 4 0 0 0.
The instruction is not valid.
Instruction applied: unit: 4, selector: 13, control: 5 0 0 0.
The instruction is not valid.
Instruction applied: unit: 4, selector: 13, control: 6 0 0 0.
The instruction is not valid.
Instruction applied: unit: 4, selector: 13, control: 7 0 0 0.
The instruction is not valid.
Instruction applied: unit: 4, selector: 13, control: 8 0 0 0.
The instruction is not valid.
Instruction applied: unit: 4, selector: 13, control: 9 0 0 0.
The instruction is not valid.
Instruction applied: unit: 4, selector: 13, control: 255 255 255 0.
The instruction is not valid.
Reseting to the instruction: unit: 4, selector: 13, control: 0 0 0 0.
Instruction applied: unit: 4, selector: 14, control: 1 0 0 0.
The instruction is not valid.
Instruction applied: unit: 4, selector: 14, control: 2 0 0 0.
The instruction is not valid.
Instruction applied: unit: 4, selector: 14, control: 3 0 0 0.
The instruction is not valid.
Instruction applied: unit: 4, selector: 14, control: 4 0 0 0.
The instruction is not valid.
Instruction applied: unit: 4, selector: 14, control: 5 0 0 0.
The instruction is not valid.
Instruction applied: unit: 4, selector: 14, control: 6 0 0 0.
The instruction is not valid.
Instruction applied: unit: 4, selector: 14, control: 7 0 0 0.
The instruction is not valid.
Instruction applied: unit: 4, selector: 14, control: 8 0 0 0.
The instruction is not valid.
Instruction applied: unit: 4, selector: 14, control: 9 0 0 0.
The instruction is not valid.
Instruction applied: unit: 4, selector: 14, control: 255 255 255 0.
The instruction is not valid.
Reseting to the instruction: unit: 4, selector: 14, control: 0 0 0 0.
/usr/include/c++/11/bits/stl_vector.h:1045: std::vector<_Tp, _Alloc>::reference std::vector<_Tp, _Alloc>::operator[](std::vector<_Tp, _Alloc>::size_type) [with _Tp = unsigned char; _Alloc = std::allocator<unsigned char>; std::vector<_Tp, _Alloc>::reference = unsigned char&; std::vector<_Tp, _Alloc>::size_type = long unsigned int]: Assertion '__n < this->size()' failed.
[1]    4718 IOT instruction  sudo linux-enable-ir-emitter -v configure

Output of find path/to/your/folder -type f -exec sh -c 'echo "File: {}"; cat {}; echo ""' \;

Click to expand ``` File: /etc/linux-enable-ir-emitter/pci-0000:63:00.4-usb-0:1:1.0-video-index0.ini - disable: false unit: 3 selector: 3 current: - 4 - 16 maximum: - 100 - 25 minimum: - 240 - 10 - disable: false unit: 4 selector: 2 current: - 0 - 32 maximum: - 255 - 255 minimum: - 0 - 0 - disable: false unit: 4 selector: 3 current: - 0 maximum: - 255 minimum: - 0 - disable: false unit: 4 selector: 4 current: - 0 - 0 maximum: - 255 - 255 minimum: - 0 - 0 - disable: false unit: 4 selector: 5 current: - 255 - 0 maximum: - 255 - 255 minimum: - 0 - 0 - disable: false unit: 4 selector: 6 current: - 1 maximum: - 1 minimum: - 0 - disable: false unit: 4 selector: 7 current: - 1 maximum: - 13 minimum: - 1 - disable: false unit: 4 selector: 8 current: - 3 maximum: - 255 minimum: - 0 - disable: false unit: 4 selector: 9 current: - 0 maximum: - 1 minimum: - 0 - disable: false unit: 4 selector: 12 current: - 0 maximum: - 1 minimum: - 0 - disable: false unit: 4 selector: 13 current: - 0 - 0 - 0 - 0 maximum: - 255 - 255 - 255 - 0 minimum: - 0 - 0 - 0 - 0 - disable: false unit: 4 selector: 14 current: - 0 - 0 - 0 - 0 maximum: - 255 - 255 - 255 - 0 minimum: - 0 - 0 - 0 - 0 - disable: false unit: 4 selector: 15 current: - 149 - 40 - 89 - 134 - 33 - 105 - 2 - 0 - 1 - 255 - 65 - 255 - 0 - 0 - 0 - 0 - 0 - 0 - 16 - 0 - 0 - 0 - 0 - 1 - 52 - 132 - 195 - 138 - 158 - 90 - 33 - 85 - 103 - 168 - 67 - 15 - 68 - 70 - 142 - 223 - 152 - 153 - 46 - 81 - 78 - 162 - 199 - 245 - 149 - 98 - 203 - 245 - 68 - 71 - 149 - 229 - 0 - 0 - 0 - 1 - 0 - 3 - 240 - 0 - 0 - 0 - 0 - 1 - 52 - 132 - 195 - 138 - 158 - 90 - 33 - 85 - 103 - 168 - 67 - 15 - 68 - 70 - 142 - 223 - 152 - 153 - 46 - 81 - 78 - 162 - 199 - 245 - 149 - 98 - 203 - 245 - 68 - 71 - 149 - 229 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - disable: false unit: 4 selector: 16 current: - 0 maximum: - 3 minimum: - 0 - disable: false unit: 4 selector: 17 current: - 0 - 8 - 0 - 143 - 170 - 41 - 0 - 0 - 0 - 0 - 0 - 0 - 0 - 0 - 0 - 0 - 0 - 0 - 0 - 0 - 0 - 0 - 0 - 0 - 0 - 0 - 0 - 0 - 0 - 0 - 0 - 0 - 0 - 0 - 0 - 0 - 0 - 0 - 0 - 0 - 0 - 0 - 0 - 0 - 0 - 0 - 0 - 0 - 0 - 0 - 0 - 0 - 0 - 0 - 0 - 0 - 0 - 0 - 0 - 0 - 0 - 0 - 0 - 0 maximum: - 255 - 0 - 0 - 0 - 0 - 0 - 0 - 0 - 0 - 0 - 0 - 0 - 0 - 0 - 0 - 0 - 0 - 0 - 0 - 0 - 0 - 0 - 0 - 0 - 0 - 0 - 0 - 0 - 0 - 0 - 0 - 0 - 0 - 0 - 0 - 0 - 0 - 0 - 0 - 0 - 0 - 0 - 0 - 0 - 0 - 0 - 0 - 0 - 0 - 0 - 0 - 0 - 0 - 0 - 0 - 0 - 0 - 0 - 0 - 0 - 0 - 0 - 0 - 0 minimum: - 0 - 0 - 0 - 0 - 0 - 0 - 0 - 0 - 0 - 0 - 0 - 0 - 0 - 0 - 0 - 0 - 0 - 0 - 0 - 0 - 0 - 0 - 0 - 0 - 0 - 0 - 0 - 0 - 0 - 0 - 0 - 0 - 0 - 0 - 0 - 0 - 0 - 0 - 0 - 0 - 0 - 0 - 0 - 0 - 0 - 0 - 0 - 0 - 0 - 0 - 0 - 0 - 0 - 0 - 0 - 0 - 0 - 0 - 0 - 0 - 0 - 0 - 0 - 0 - disable: false unit: 4 selector: 21 current: - 0 maximum: - 1 minimum: - 0 - disable: false unit: 4 selector: 22 current: - 149 - 40 - 89 - 134 - 33 - 105 - 2 - 0 - 1 - 255 - 65 - 255 - 0 - 0 - 0 - 0 - 0 - 0 - 16 - 0 - 0 - 0 - 0 - 1 - 52 - 132 - 195 - 138 - 158 - 90 - 33 - 85 - 103 - 168 - 67 - 15 - 68 - 70 - 142 - 223 - 152 - 153 - 46 - 81 - 78 - 162 - 199 - 245 - 149 - 98 - 203 - 245 - 68 - 71 - 149 - 229 - 0 - 0 - 0 - 1 - 0 - 3 - 240 - 0 - disable: false unit: 4 selector: 23 current: - 0 - 0 - 0 maximum: - 255 - 255 - 255 minimum: - 0 - 0 - 0 - disable: false unit: 4 selector: 25 current: - 0 maximum: - 2 minimum: - 0 - disable: false unit: 4 selector: 26 current: - 0 - 0 - 0 - 0 maximum: - 255 - 255 - 255 - 255 minimum: - 0 - 0 - 0 - 0 - disable: false unit: 4 selector: 27 current: - 0 - 0 - 0 - 0 maximum: - 255 - 255 - 255 - 255 minimum: - 0 - 0 - 0 - 0 - disable: false unit: 4 selector: 31 current: - 0 - 0 - 0 - 0 - 0 - 0 - 0 - 0 - 0 - 0 - 0 - 0 - 0 - 0 - 0 - 0 - 0 - 0 - 0 - 0 - 0 - 0 - 0 - 0 - 0 - 0 - 0 - 0 - 0 - 0 - 0 - 0 - disable: false unit: 5 selector: 2 current: - 1 - 0 - 0 - 0 - 0 - 0 - 0 - 96 - 97 - 2 - 0 - 0 - 0 - 0 - 0 maximum: - 7 - 0 - 0 - 0 - 0 - 0 - 0 - 208 - 18 - 19 - 0 - 0 - 0 - 0 - 0 minimum: - 1 - 0 - 0 - 0 - 0 - 0 - 0 - 208 - 7 - 0 - 0 - 0 - 0 - 0 - 0 - disable: false unit: 5 selector: 3 current: - 16 - 0 - 0 - 0 - 0 - 0 - 0 - 0 - 0 - 0 - 0 maximum: - 16 - 0 - 0 - 0 - 0 - 0 - 0 - 90 - 0 - 0 - 0 minimum: - 16 - 0 - 0 - 0 - 0 - 0 - 0 - 0 - 0 - 0 - 0 - disable: false unit: 5 selector: 9 current: - 0 - 0 - 0 - 0 maximum: - 1 - 0 - 0 - 0 minimum: - 0 - 0 - 0 - 0 File: /etc/linux-enable-ir-emitter/pci-0000:63:00.4-usb-0:1:1.2-video-index0.ini - disable: false unit: 4 selector: 2 current: - 0 - 32 maximum: - 255 - 255 minimum: - 0 - 0 - disable: false unit: 4 selector: 3 current: - 0 maximum: - 255 minimum: - 0 - disable: false unit: 4 selector: 4 current: - 0 - 0 maximum: - 255 - 255 minimum: - 0 - 0 - disable: false unit: 4 selector: 5 current: - 255 - 0 maximum: - 255 - 255 minimum: - 0 - 0 - disable: false unit: 4 selector: 6 current: - 1 maximum: - 1 minimum: - 0 - disable: false unit: 4 selector: 7 current: - 1 maximum: - 13 minimum: - 1 - disable: false unit: 4 selector: 8 current: - 3 maximum: - 255 minimum: - 0 - disable: false unit: 4 selector: 9 current: - 0 maximum: - 1 minimum: - 0 - disable: false unit: 4 selector: 12 current: - 0 maximum: - 1 minimum: - 0 - disable: false unit: 4 selector: 13 current: - 0 - 0 - 0 - 0 maximum: - 255 - 255 - 255 - 0 minimum: - 0 - 0 - 0 - 0 - disable: false unit: 4 selector: 14 current: - 0 - 0 - 0 - 0 maximum: - 255 - 255 - 255 - 0 minimum: - 0 - 0 - 0 - 0 - disable: false unit: 4 selector: 15 current: - 149 - 40 - 89 - 134 - 33 - 105 - 2 - 0 - 1 - 255 - 65 - 255 - 0 - 0 - 0 - 0 - 0 - 0 - 16 - 0 - 0 - 0 - 0 - 1 - 52 - 132 - 195 - 138 - 158 - 90 - 33 - 85 - 103 - 168 - 67 - 15 - 68 - 70 - 142 - 223 - 152 - 153 - 46 - 81 - 78 - 162 - 199 - 245 - 149 - 98 - 203 - 245 - 68 - 71 - 149 - 229 - 0 - 0 - 0 - 1 - 0 - 3 - 240 - 0 - 0 - 0 - 0 - 1 - 52 - 132 - 195 - 138 - 158 - 90 - 33 - 85 - 103 - 168 - 67 - 15 - 68 - 70 - 142 - 223 - 152 - 153 - 46 - 81 - 78 - 162 - 199 - 245 - 149 - 98 - 203 - 245 - 68 - 71 - 149 - 229 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - disable: false unit: 4 selector: 16 current: - 0 maximum: - 3 minimum: - 0 - disable: false unit: 4 selector: 17 current: - 0 - 8 - 0 - 143 - 170 - 41 - 0 - 0 - 0 - 0 - 0 - 0 - 0 - 0 - 0 - 0 - 0 - 0 - 0 - 0 - 0 - 0 - 0 - 0 - 0 - 0 - 0 - 0 - 0 - 0 - 0 - 0 - 0 - 0 - 0 - 0 - 0 - 0 - 0 - 0 - 0 - 0 - 0 - 0 - 0 - 0 - 0 - 0 - 0 - 0 - 0 - 0 - 0 - 0 - 0 - 0 - 0 - 0 - 0 - 0 - 0 - 0 - 0 - 0 maximum: - 255 - 0 - 0 - 0 - 0 - 0 - 0 - 0 - 0 - 0 - 0 - 0 - 0 - 0 - 0 - 0 - 0 - 0 - 0 - 0 - 0 - 0 - 0 - 0 - 0 - 0 - 0 - 0 - 0 - 0 - 0 - 0 - 0 - 0 - 0 - 0 - 0 - 0 - 0 - 0 - 0 - 0 - 0 - 0 - 0 - 0 - 0 - 0 - 0 - 0 - 0 - 0 - 0 - 0 - 0 - 0 - 0 - 0 - 0 - 0 - 0 - 0 - 0 - 0 minimum: - 0 - 0 - 0 - 0 - 0 - 0 - 0 - 0 - 0 - 0 - 0 - 0 - 0 - 0 - 0 - 0 - 0 - 0 - 0 - 0 - 0 - 0 - 0 - 0 - 0 - 0 - 0 - 0 - 0 - 0 - 0 - 0 - 0 - 0 - 0 - 0 - 0 - 0 - 0 - 0 - 0 - 0 - 0 - 0 - 0 - 0 - 0 - 0 - 0 - 0 - 0 - 0 - 0 - 0 - 0 - 0 - 0 - 0 - 0 - 0 - 0 - 0 - 0 - 0 - disable: false unit: 4 selector: 21 current: - 0 maximum: - 1 minimum: - 0 - disable: false unit: 4 selector: 22 current: - 149 - 40 - 89 - 134 - 33 - 105 - 2 - 0 - 1 - 255 - 65 - 255 - 0 - 0 - 0 - 0 - 0 - 0 - 16 - 0 - 0 - 0 - 0 - 1 - 52 - 132 - 195 - 138 - 158 - 90 - 33 - 85 - 103 - 168 - 67 - 15 - 68 - 70 - 142 - 223 - 152 - 153 - 46 - 81 - 78 - 162 - 199 - 245 - 149 - 98 - 203 - 245 - 68 - 71 - 149 - 229 - 0 - 0 - 0 - 1 - 0 - 3 - 240 - 0 - disable: false unit: 4 selector: 23 current: - 0 - 0 - 0 maximum: - 255 - 255 - 255 minimum: - 0 - 0 - 0 - disable: false unit: 4 selector: 25 current: - 0 maximum: - 2 minimum: - 0 - disable: false unit: 4 selector: 26 current: - 0 - 0 - 0 - 0 maximum: - 255 - 255 - 255 - 255 minimum: - 0 - 0 - 0 - 0 - disable: false unit: 4 selector: 27 current: - 0 - 0 - 0 - 0 maximum: - 255 - 255 - 255 - 255 minimum: - 0 - 0 - 0 - 0 - disable: false unit: 5 selector: 2 current: - 0 maximum: - 100 minimum: - 0 - disable: false unit: 5 selector: 4 current: - 114 - 0 maximum: - 255 - 0 minimum: - 0 - 0 - disable: false unit: 7 selector: 2 current: - 1 - 0 - 0 - 0 - 0 - 0 - 0 - 96 - 97 - 2 - 0 - 0 - 0 - 0 - 0 maximum: - 7 - 0 - 0 - 0 - 0 - 0 - 0 - 208 - 18 - 19 - 0 - 0 - 0 - 0 - 0 minimum: - 1 - 0 - 0 - 0 - 0 - 0 - 0 - 208 - 7 - 0 - 0 - 0 - 0 - 0 - 0 - disable: false unit: 7 selector: 3 current: - 16 - 0 - 0 - 0 - 0 - 0 - 0 - 0 - 0 - 0 - 0 maximum: - 16 - 0 - 0 - 0 - 0 - 0 - 0 - 36 - 0 - 0 - 0 minimum: - 16 - 0 - 0 - 0 - 0 - 0 - 0 - 0 - 0 - 0 - 0 - disable: false unit: 7 selector: 6 current: - 1 - 3 - 1 - 0 - 0 - 0 - 0 - 0 - 0 maximum: - 1 - 3 - 3 - 0 - 0 - 0 - 0 - 0 - 0 - disable: false unit: 7 selector: 9 current: - 0 - 0 - 0 - 0 maximum: - 1 - 0 - 0 - 0 minimum: - 0 - 0 - 0 - 0 ```

Output of v4l2-ctl --list-devices

Integrated RGB Camera: Integrat (usb-0000:63:00.4-1):
        /dev/video0
        /dev/video1
        /dev/video2
        /dev/video3
        /dev/media0
        /dev/media1

*Ouput of `for dev in /dev/video; do echo $dev && v4l2-ctl -d $dev --list-formats-ext; done`**

/dev/video0
ioctl: VIDIOC_ENUM_FMT
        Type: Video Capture

        [0]: 'MJPG' (Motion-JPEG, compressed)
                Size: Discrete 1280x720
                        Interval: Discrete 0.033s (30.000 fps)
                Size: Discrete 1920x1080
                        Interval: Discrete 0.033s (30.000 fps)
                Size: Discrete 960x540
                        Interval: Discrete 0.033s (30.000 fps)
                Size: Discrete 640x480
                        Interval: Discrete 0.033s (30.000 fps)
                Size: Discrete 640x360
                        Interval: Discrete 0.033s (30.000 fps)
                Size: Discrete 320x240
                        Interval: Discrete 0.033s (30.000 fps)
                Size: Discrete 320x180
                        Interval: Discrete 0.033s (30.000 fps)
        [1]: 'YUYV' (YUYV 4:2:2)
                Size: Discrete 1280x720
                        Interval: Discrete 0.100s (10.000 fps)
                Size: Discrete 1920x1080
                        Interval: Discrete 0.200s (5.000 fps)
                Size: Discrete 960x540
                        Interval: Discrete 0.067s (15.000 fps)
                Size: Discrete 640x480
                        Interval: Discrete 0.033s (30.000 fps)
                Size: Discrete 640x360
                        Interval: Discrete 0.033s (30.000 fps)
                Size: Discrete 320x240
                        Interval: Discrete 0.033s (30.000 fps)
                Size: Discrete 320x180
                        Interval: Discrete 0.033s (30.000 fps)
/dev/video1
ioctl: VIDIOC_ENUM_FMT
        Type: Video Capture

/dev/video2
ioctl: VIDIOC_ENUM_FMT
        Type: Video Capture

        [0]: 'GREY' (8-bit Greyscale)
                Size: Discrete 640x360
                        Interval: Discrete 0.067s (15.000 fps)
                        Interval: Discrete 0.033s (30.000 fps)
/dev/video3
ioctl: VIDIOC_ENUM_FMT
        Type: Video Capture

Output of ls -l /dev/v4l/by-path

total 0
lrwxrwxrwx. 1 root root 12 Jul 13 12:05 pci-0000:63:00.4-usb-0:1:1.0-video-index0 -> ../../video0
lrwxrwxrwx. 1 root root 12 Jul 13 12:05 pci-0000:63:00.4-usb-0:1:1.0-video-index1 -> ../../video1
lrwxrwxrwx. 1 root root 12 Jul 13 12:05 pci-0000:63:00.4-usb-0:1:1.2-video-index0 -> ../../video2
lrwxrwxrwx. 1 root root 12 Jul 13 12:05 pci-0000:63:00.4-usb-0:1:1.2-video-index1 -> ../../video3
lrwxrwxrwx. 1 root root 12 Jul 13 12:05 pci-0000:63:00.4-usbv2-0:1:1.0-video-index0 -> ../../video0
lrwxrwxrwx. 1 root root 12 Jul 13 12:05 pci-0000:63:00.4-usbv2-0:1:1.0-video-index1 -> ../../video1
lrwxrwxrwx. 1 root root 12 Jul 13 12:05 pci-0000:63:00.4-usbv2-0:1:1.2-video-index0 -> ../../video2
lrwxrwxrwx. 1 root root 12 Jul 13 12:05 pci-0000:63:00.4-usbv2-0:1:1.2-video-index1 -> ../../video3

Additional info

EmixamPP commented 4 months ago

Execute sudo linux-enable-ir-emitter tweak and modify by selecting the number of the line that shows this information:

unit: 7
selector: 6
current:
  - 1
  - 3
  - 1
  - 0
  - 0
  - 0
  - 0
  - 0
  - 0

With 1 3 2 0 0 0 0 0 0, you should see your emitter blinking, I hope

eu-david commented 4 months ago

it worked, the IR emitter started blinking, how do I save and generate the driver with this specific config?

EmixamPP commented 4 months ago

Nothing special, once you made the change, you can exit the command and it is already saved

eu-david commented 4 months ago

This way it works only once. After reboot it will start the IR emitter and will work only one time, if I try to initiate it again, it starts the camera without the IR emitter.

eu-david commented 4 months ago

Also found that it will works for 1 more time after running the linux-enable-ir-emitter run. So it is either reboot or running the run command.

EmixamPP commented 4 months ago

Could you show me the output of sudo linux-enable-ir-emitter tweak and systemctl status linux-enable-ir-emitter

eu-david commented 4 months ago

sudo linux-enable-ir-emitter tweak

Tweaking the camera /dev/video2
Caution, you could break the camera.
0) unit: 4, selector: 2, control: 0 32
1) unit: 4, selector: 3, control: 0
2) unit: 4, selector: 4, control: 0 0
3) unit: 4, selector: 5, control: 255 0
4) unit: 4, selector: 6, control: 1
5) unit: 4, selector: 7, control: 1
6) unit: 4, selector: 8, control: 3
7) unit: 4, selector: 9, control: 0
8) unit: 4, selector: 12, control: 0
9) unit: 4, selector: 13, control: 0 0 0 0
10) unit: 4, selector: 14, control: 0 0 0 0
11) unit: 4, selector: 15, control: 149 40 89 134 33 105 2 0 1 255 65 255 0 0 0 0 0 0 16 0 0 0 0 1 52 132 195 138 158 90 33 85 103 168 67 15 68 70 142 223 152 153 46 81 78 162 199 245 149 98 203 245 68 71 149 229 0 0 0 1 0 3 240 0 0 0 0 1 52 132 195 138 158 90 33 85 103 168 67 15 68 70 142 223 152 153 46 81 78 162 199 245 149 98 203 245 68 71 149 229 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255
12) unit: 4, selector: 16, control: 0
13) unit: 4, selector: 17, control: 0 8 0 143 170 41 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
14) unit: 4, selector: 21, control: 0
15) unit: 4, selector: 22, control: 149 40 89 134 33 105 2 0 1 255 65 255 0 0 0 0 0 0 16 0 0 0 0 1 52 132 195 138 158 90 33 85 103 168 67 15 68 70 142 223 152 153 46 81 78 162 199 245 149 98 203 245 68 71 149 229 0 0 0 1 0 3 240 0
16) unit: 4, selector: 23, control: 0 0 0
17) unit: 4, selector: 25, control: 0
18) unit: 4, selector: 26, control: 0 0 0 0
19) unit: 4, selector: 27, control: 0 0 0 0
20) unit: 5, selector: 2, control: 0
21) unit: 5, selector: 4, control: 114 0
22) unit: 7, selector: 2, control: 1 0 0 0 0 0 0 96 97 2 0 0 0 0 0
23) unit: 7, selector: 3, control: 16 0 0 0 0 0 0 0 0 0 0
24) unit: 7, selector: 6, control: 1 3 2 0 0 0 0 0 0
25) unit: 7, selector: 9, control: 0 0 0 0
26) exit
Choose an instruction to tweak: 
** (linux-enable-ir-emitter:5420): WARNING **: 17:23:13.170: AT-SPI: Could not obtain desktop path or name

** (linux-enable-ir-emitter:5420): WARNING **: 17:23:13.173: atk-bridge: GetRegisteredEvents returned message with unknown signature

** (linux-enable-ir-emitter:5420): WARNING **: 17:23:13.173: atk-bridge: get_device_events_reply: unknown signature

systemctl status linux-enable-ir-emitter

○ linux-enable-ir-emitter.service - enable the infrared emitter
     Loaded: loaded (/etc/systemd/system/linux-enable-ir-emitter.service; enabled; preset: disabled)
    Drop-In: /usr/lib/systemd/system/service.d
             └─10-timeout-abort.conf
     Active: inactive (dead) since Sat 2024-07-13 17:22:49 CEST; 1min 44s ago
    Process: 5277 ExecStartPre=modprobe uvcvideo (code=exited, status=0/SUCCESS)
    Process: 5282 ExecStartPre=sleep 1 (code=exited, status=0/SUCCESS)
    Process: 5302 ExecStart=linux-enable-ir-emitter --verbose run (code=exited, status=0/SUCCESS)
   Main PID: 5302 (code=exited, status=0/SUCCESS)
        CPU: 40ms

Jul 13 17:22:49 fedora linux-enable-ir-emitter[5302]: Applying instruction unit: 4, selector: 26, control: 0 0 0 0 on /dev/v4l/by-path/pci-0000:63:00.4-usb-0:1:1.2-video-index0.
Jul 13 17:22:49 fedora linux-enable-ir-emitter[5302]: Applying instruction unit: 4, selector: 27, control: 0 0 0 0 on /dev/v4l/by-path/pci-0000:63:00.4-usb-0:1:1.2-video-index0.
Jul 13 17:22:49 fedora linux-enable-ir-emitter[5302]: Applying instruction unit: 5, selector: 2, control: 0 on /dev/v4l/by-path/pci-0000:63:00.4-usb-0:1:1.2-video-index0.
Jul 13 17:22:49 fedora linux-enable-ir-emitter[5302]: Applying instruction unit: 5, selector: 4, control: 114 0 on /dev/v4l/by-path/pci-0000:63:00.4-usb-0:1:1.2-video-index0.
Jul 13 17:22:49 fedora linux-enable-ir-emitter[5302]: Applying instruction unit: 7, selector: 2, control: 1 0 0 0 0 0 0 96 97 2 0 0 0 0 0 on /dev/v4l/by-path/pci-0000:63:00.4-usb-0:1:1.2-video-index0.
Jul 13 17:22:49 fedora linux-enable-ir-emitter[5302]: Applying instruction unit: 7, selector: 3, control: 16 0 0 0 0 0 0 0 0 0 0 on /dev/v4l/by-path/pci-0000:63:00.4-usb-0:1:1.2-video-index0.
Jul 13 17:22:49 fedora linux-enable-ir-emitter[5302]: Applying instruction unit: 7, selector: 6, control: 1 3 2 0 0 0 0 0 0 on /dev/v4l/by-path/pci-0000:63:00.4-usb-0:1:1.2-video-index0.
Jul 13 17:22:49 fedora linux-enable-ir-emitter[5302]: Applying instruction unit: 7, selector: 9, control: 0 0 0 0 on /dev/v4l/by-path/pci-0000:63:00.4-usb-0:1:1.2-video-index0.
Jul 13 17:22:49 fedora systemd[1]: linux-enable-ir-emitter.service: Deactivated successfully.
Jul 13 17:22:49 fedora systemd[1]: Finished linux-enable-ir-emitter.service - enable the infrared emitter.
EmixamPP commented 4 months ago

if I try to initiate it again, it starts the camera without the IR emitter.

Could you develop? Because everything looks good to me. Is after restart you call linux-enable-ir-emitter -d /dev/video2 test multiple times, is the emitter blinks each times?

eu-david commented 4 months ago

It starts the IR emitter only for 1 session, after which it starts just the camera without the IR emitter.

So if I run linux-enable-ir-emitter -d /dev/video2 test for the first time, it will work properly, the second and next times running the command will start just the camera, with no IR emitter blinking.

Also, running the linux-enable-ir-emitter run will reset this behavior so it does as described above, initiate IR emitter for one time and stop working for the following times.

EmixamPP commented 4 months ago

Hum strange. And is it the same behaviour if you set the value to 1 3 3 0 0 0 0 0 0?

eu-david commented 4 months ago

When setting to 1 3 3 0 0 0 0 0 0 it does not start the IR emitter at all.

EmixamPP commented 4 months ago

No one has ever opened an issue with that problem, so I couldn't really guess the solution, and if there exists one (using my tool).

So for the moment, I could only advise you to play with the tweak command, I just released it in the v6 for this kind of special case where a single instruction cannot make the IR emitter working properly.

Personally, I would try to modify the instructions: 1, 4, 5, 7, 12, 14, 17, 20, since they seem to be true 1/ false 0 condition (you can check this by selecting any of these instructions and see the minimum/maximum value). Maybe there is one instruction that enable / disable the reset of the camera instructions after each usage...

eu-david commented 4 months ago

Thanks, I will play with it and report back if I manage to find the right config.

EmixamPP commented 4 months ago

In case you want to reset everything to the default value, there a .ini file in /etc/linux-enable-ir-emitter, just overwritte the non-.ini variant with that content and then execute the run command to apply the changes.

eu-david commented 4 months ago

Tried the tweak command for all the true / false instructions that I found but without any result. As a workaround is to have a cron job that runs the linux-enable-ir-emitter run command every few minutes.

Kundros commented 2 months ago

I have similar issue. I have same laptop, with Fedora 40 and gnome. After setting the instruction to 1 3 2 0 0 0 0 0 0, it starts blinking, but after leaving the tweak and running test, then it blinks only one time and stops. Even after reboot it behaves the same.

CEN90 commented 3 weeks ago

I have this problem as well on my Lenovo Yoga Pro 7, running Fedora 41. I used tweak to set 1 3 2 0 0 0 0 0 0 and the ir emitters blinks once on the first run of test, but nothing after. To get it to blink again I have to turn off the laptop. This seems to me to be the same problem as #195.

EmixamPP commented 3 hours ago

I just want to let you know that I am working on a kernel space solution (instead of user space as currently), this should solve this kind of issue (I think).