EmixamPP / linux-enable-ir-emitter

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

Configuration Lenovo Yoga 9 2-in-1 14IMH9 camera #181

Closed binSmile closed 4 days ago

binSmile commented 1 month ago

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

[12:00:08] [info] Stand in front of and close to the camera and make sure the room is well lit.
[12:00:08] [info] Ensure to not use the camera during the execution.
[12:00:09] [info] Configuring the camera /dev/video2.
[12:00:09] [debug] Previous configuration found.
[12:00:26] [debug] Instruction applied: unit: 4, selector: 2, control: 1 0.
[12:00:28] [debug] Instruction applied: unit: 4, selector: 2, control: 2 0.
[12:00:29] [debug] Instruction applied: unit: 4, selector: 2, control: 3 0.
[12:00:31] [debug] Instruction applied: unit: 4, selector: 2, control: 4 0.
[12:00:32] [debug] Instruction applied: unit: 4, selector: 2, control: 5 0.
[12:00:34] [debug] Instruction applied: unit: 4, selector: 2, control: 6 0.
[12:00:35] [debug] Instruction applied: unit: 4, selector: 2, control: 7 0.
[12:00:37] [debug] Instruction applied: unit: 4, selector: 2, control: 8 0.
[12:00:38] [debug] Instruction applied: unit: 4, selector: 2, control: 9 0.
[12:00:40] [debug] Instruction applied: unit: 4, selector: 2, control: 255 255.
[12:00:41] [debug] Reseting to the instruction: unit: 4, selector: 2, control: 0 32.
[12:00:41] [debug] Instruction applied: unit: 4, selector: 3, control: 1.
[12:05:42] [debug] Instruction applied: unit: 4, selector: 3, control: 2.
[12:10:42] [debug] Instruction applied: unit: 4, selector: 3, control: 3.
[12:15:43] [debug] Instruction applied: unit: 4, selector: 3, control: 4.
[12:20:44] [debug] Instruction applied: unit: 4, selector: 3, control: 5.
[12:25:45] [debug] Instruction applied: unit: 4, selector: 3, control: 6.
[12:30:45] [debug] Instruction applied: unit: 4, selector: 3, control: 7.
[12:35:46] [debug] Instruction applied: unit: 4, selector: 3, control: 8.
[12:40:47] [debug] Instruction applied: unit: 4, selector: 3, control: 9.
[12:45:47] [debug] Instruction applied: unit: 4, selector: 3, control: 255.
[12:45:47] [debug] The instruction is not valid.
[12:45:47] [debug] Reseting to the instruction: unit: 4, selector: 3, control: 0.
[12:45:47] [debug] Instruction applied: unit: 4, selector: 4, control: 1 0.
[12:45:47] [debug] The instruction is not valid.
[12:45:47] [debug] Instruction applied: unit: 4, selector: 4, control: 2 0.
[12:45:47] [debug] The instruction is not valid.
[12:45:47] [debug] Instruction applied: unit: 4, selector: 4, control: 3 0.
[12:45:47] [debug] The instruction is not valid.
[12:45:47] [debug] Instruction applied: unit: 4, selector: 4, control: 4 0.
[12:45:47] [debug] The instruction is not valid.
[12:45:47] [debug] Instruction applied: unit: 4, selector: 4, control: 5 0.
[12:45:47] [debug] The instruction is not valid.
[12:45:47] [debug] Instruction applied: unit: 4, selector: 4, control: 6 0.
[12:45:47] [debug] The instruction is not valid.
[12:45:47] [debug] Instruction applied: unit: 4, selector: 4, control: 7 0.
[12:45:47] [debug] The instruction is not valid.
[12:45:47] [debug] Instruction applied: unit: 4, selector: 4, control: 8 0.
[12:45:47] [debug] The instruction is not valid.
[12:45:47] [debug] Instruction applied: unit: 4, selector: 4, control: 9 0.
[12:45:47] [debug] The instruction is not valid.
[12:45:47] [debug] Instruction applied: unit: 4, selector: 4, control: 255 255.
[12:45:47] [debug] The instruction is not valid.
[12:45:47] [debug] Reseting to the instruction: unit: 4, selector: 4, control: 0 0.
[12:45:47] [debug] Instruction applied: unit: 4, selector: 5, control: 1 0.
[12:45:47] [debug] The instruction is not valid.
[12:45:47] [debug] Instruction applied: unit: 4, selector: 5, control: 2 0.
[12:45:47] [debug] The instruction is not valid.
[12:45:47] [debug] Instruction applied: unit: 4, selector: 5, control: 3 0.
[12:45:47] [debug] The instruction is not valid.
[12:45:47] [debug] Instruction applied: unit: 4, selector: 5, control: 4 0.
[12:45:47] [debug] The instruction is not valid.
[12:45:47] [debug] Instruction applied: unit: 4, selector: 5, control: 5 0.
[12:45:47] [debug] The instruction is not valid.
[12:45:47] [debug] Instruction applied: unit: 4, selector: 5, control: 6 0.
[12:45:47] [debug] The instruction is not valid.
[12:45:47] [debug] Instruction applied: unit: 4, selector: 5, control: 7 0.
[12:45:47] [debug] The instruction is not valid.
[12:45:47] [debug] Instruction applied: unit: 4, selector: 5, control: 8 0.
[12:45:47] [debug] The instruction is not valid.
[12:45:47] [debug] Instruction applied: unit: 4, selector: 5, control: 9 0.
[12:45:47] [debug] The instruction is not valid.
[12:45:47] [debug] Instruction applied: unit: 4, selector: 5, control: 255 255.
[12:45:47] [debug] The instruction is not valid.
[12:45:47] [debug] Reseting to the instruction: unit: 4, selector: 5, control: 255 255.
[12:45:47] [debug] Instruction applied: unit: 4, selector: 6, control: 1.
[12:45:47] [debug] The instruction is not valid.
[12:45:47] [debug] Reseting to the instruction: unit: 4, selector: 6, control: 1.
[12:45:47] [debug] Instruction applied: unit: 4, selector: 7, control: 2.
[12:45:47] [debug] The instruction is not valid.
[12:45:47] [debug] Instruction applied: unit: 4, selector: 7, control: 3.
[12:45:47] [debug] The instruction is not valid.
[12:45:47] [debug] Instruction applied: unit: 4, selector: 7, control: 4.
[12:45:47] [debug] The instruction is not valid.
[12:45:47] [debug] Instruction applied: unit: 4, selector: 7, control: 5.
[12:45:47] [debug] The instruction is not valid.
[12:45:47] [debug] Instruction applied: unit: 4, selector: 7, control: 6.
[12:45:47] [debug] The instruction is not valid.
[12:45:47] [debug] Instruction applied: unit: 4, selector: 7, control: 7.
[12:45:47] [debug] The instruction is not valid.
[12:45:47] [debug] Instruction applied: unit: 4, selector: 7, control: 8.
[12:45:47] [debug] The instruction is not valid.
[12:45:47] [debug] Instruction applied: unit: 4, selector: 7, control: 9.
[12:45:47] [debug] The instruction is not valid.
[12:45:47] [debug] Instruction applied: unit: 4, selector: 7, control: 10.
[12:45:47] [debug] The instruction is not valid.
[12:45:47] [debug] Instruction applied: unit: 4, selector: 7, control: 13.
[12:45:47] [debug] The instruction is not valid.
[12:45:47] [debug] Reseting to the instruction: unit: 4, selector: 7, control: 1.
[12:45:47] [debug] Instruction applied: unit: 4, selector: 8, control: 1.
[12:45:47] [debug] The instruction is not valid.
[12:45:47] [debug] Instruction applied: unit: 4, selector: 8, control: 2.
[12:45:47] [debug] The instruction is not valid.
[12:45:47] [debug] Instruction applied: unit: 4, selector: 8, control: 3.
[12:45:47] [debug] The instruction is not valid.
[12:45:47] [debug] Instruction applied: unit: 4, selector: 8, control: 4.
[12:45:47] [debug] The instruction is not valid.
[12:45:47] [debug] Instruction applied: unit: 4, selector: 8, control: 5.
[12:45:47] [debug] The instruction is not valid.
[12:45:47] [debug] Instruction applied: unit: 4, selector: 8, control: 6.
[12:45:47] [debug] The instruction is not valid.
[12:45:47] [debug] Instruction applied: unit: 4, selector: 8, control: 7.
[12:45:47] [debug] The instruction is not valid.
[12:45:47] [debug] Instruction applied: unit: 4, selector: 8, control: 8.
[12:45:47] [debug] The instruction is not valid.
[12:45:47] [debug] Instruction applied: unit: 4, selector: 8, control: 9.
[12:45:47] [debug] The instruction is not valid.
[12:45:47] [debug] Instruction applied: unit: 4, selector: 8, control: 255.
[12:45:47] [debug] The instruction is not valid.
[12:45:47] [debug] Reseting to the instruction: unit: 4, selector: 8, control: 3.
[12:45:47] [debug] Instruction applied: unit: 4, selector: 9, control: 1.
[12:45:47] [debug] The instruction is not valid.
[12:45:47] [debug] Reseting to the instruction: unit: 4, selector: 9, control: 0.
[12:45:47] [debug] Instruction applied: unit: 4, selector: 12, control: 1.
[12:45:47] [debug] The instruction is not valid.
[12:45:47] [debug] Reseting to the instruction: unit: 4, selector: 12, control: 0.
[12:45:47] [debug] Instruction applied: unit: 4, selector: 13, control: 1 0 0 0.
[12:45:47] [debug] The instruction is not valid.
[12:45:47] [debug] Instruction applied: unit: 4, selector: 13, control: 2 0 0 0.
--- Next lines were in console output

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.
Emergency Stop

Output of find /etc/linux-enable-ir-emitter -type f -exec sh -c 'echo "File: {}"; cat {}; echo ""' \;

Click to expand ``` File: /etc/linux-enable-ir-emitter/pci-0000:00:14.0-usb-0:8: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 - 255 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 - 4 - 242 - 183 - 237 - 2 - 0 - 1 - 255 - 65 - 255 - 0 - 0 - 0 - 0 - 0 - 0 - 16 - 0 - 0 - 0 - 0 - 1 - 2 - 252 - 12 - 253 - 163 - 57 - 40 - 239 - 113 - 9 - 219 - 72 - 255 - 218 - 243 - 205 - 105 - 174 - 73 - 148 - 47 - 211 - 219 - 178 - 155 - 107 - 118 - 245 - 114 - 10 - 15 - 177 - 0 - 0 - 0 - 1 - 0 - 3 - 240 - 0 - 0 - 0 - 0 - 1 - 2 - 252 - 12 - 253 - 163 - 57 - 40 - 239 - 113 - 9 - 219 - 72 - 255 - 218 - 243 - 205 - 105 - 174 - 73 - 148 - 47 - 211 - 219 - 178 - 155 - 107 - 118 - 245 - 114 - 10 - 15 - 177 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 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 - 4 - 242 - 183 - 237 - 2 - 0 - 1 - 255 - 65 - 255 - 0 - 0 - 0 - 0 - 0 - 0 - 16 - 0 - 0 - 0 - 0 - 1 - 2 - 252 - 12 - 253 - 163 - 57 - 40 - 239 - 113 - 9 - 219 - 72 - 255 - 218 - 243 - 205 - 105 - 174 - 73 - 148 - 47 - 211 - 219 - 178 - 155 - 107 - 118 - 245 - 114 - 10 - 15 - 177 - 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: - 1 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: - 26 - 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 - 127 - 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 File: /etc/linux-enable-ir-emitter/pci-0000:00:14.0-usb-0:8:1.2-video-index0 - 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 - 255 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 - 4 - 242 - 183 - 237 - 2 - 0 - 1 - 255 - 65 - 255 - 0 - 0 - 0 - 0 - 0 - 0 - 16 - 0 - 0 - 0 - 0 - 1 - 2 - 252 - 12 - 253 - 163 - 57 - 40 - 239 - 113 - 9 - 219 - 72 - 255 - 218 - 243 - 205 - 105 - 174 - 73 - 148 - 47 - 211 - 219 - 178 - 155 - 107 - 118 - 245 - 114 - 10 - 15 - 177 - 0 - 0 - 0 - 1 - 0 - 3 - 240 - 0 - 0 - 0 - 0 - 1 - 2 - 252 - 12 - 253 - 163 - 57 - 40 - 239 - 113 - 9 - 219 - 72 - 255 - 218 - 243 - 205 - 105 - 174 - 73 - 148 - 47 - 211 - 219 - 178 - 155 - 107 - 118 - 245 - 114 - 10 - 15 - 177 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 255 - 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: - 3 initial: - 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: - 1 initial: - 0 maximum: - 1 minimum: - 0 - disable: false unit: 4 selector: 22 current: - 149 - 40 - 4 - 242 - 183 - 237 - 2 - 0 - 1 - 255 - 65 - 255 - 0 - 0 - 0 - 0 - 0 - 0 - 16 - 0 - 0 - 0 - 0 - 1 - 2 - 252 - 12 - 253 - 163 - 57 - 40 - 239 - 113 - 9 - 219 - 72 - 255 - 218 - 243 - 205 - 105 - 174 - 73 - 148 - 47 - 211 - 219 - 178 - 155 - 107 - 118 - 245 - 114 - 10 - 15 - 177 - 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: - 1 initial: - 0 maximum: - 1 minimum: - 0 - disable: false unit: 4 selector: 26 current: - 255 - 255 - 255 - 255 initial: - 0 - 0 - 0 - 0 maximum: - 255 - 255 - 255 - 255 minimum: - 0 - 0 - 0 - 0 - disable: false unit: 4 selector: 27 current: - 255 - 255 - 255 - 255 initial: - 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: - 183 - 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 - 127 - 0 - 0 - 0 minimum: - 16 - 0 - 0 - 0 - 0 - 0 - 0 - 0 - 0 - 0 - 0 - disable: false unit: 7 selector: 6 current: - 1 - 3 - 3 - 0 - 0 - 0 - 0 - 0 - 0 initial: - 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: - 1 - 0 - 0 - 0 initial: - 0 - 0 - 0 - 0 maximum: - 1 - 0 - 0 - 0 minimum: - 0 - 0 - 0 - 0 ```

Output of v4l2-ctl --list-devices

Integrated Camera: Integrated C (usb-0000:00:14.0-8):
        /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`**

$ 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 2592x1944
                        Interval: Discrete 0.033s (30.000 fps)
                Size: Discrete 2560x1440
                        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 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

lrwxrwxrwx 1 root root 12 july 10 14:11 pci-0000:00:14.0-usb-0:8:1.0-video-index0 -> ../../video0
lrwxrwxrwx 1 root root 12 july 10 14:11 pci-0000:00:14.0-usb-0:8:1.0-video-index1 -> ../../video1
lrwxrwxrwx 1 root root 12 july 10 14:11 pci-0000:00:14.0-usb-0:8:1.2-video-index0 -> ../../video2
lrwxrwxrwx 1 root root 12 july 10 14:11 pci-0000:00:14.0-usb-0:8:1.2-video-index1 -> ../../video3
lrwxrwxrwx 1 root root 12 july 10 14:11 pci-0000:00:14.0-usbv2-0:8:1.0-video-index0 -> ../../video0
lrwxrwxrwx 1 root root 12 july 10 14:11 pci-0000:00:14.0-usbv2-0:8:1.0-video-index1 -> ../../video1
lrwxrwxrwx 1 root root 12 july 10 14:11 pci-0000:00:14.0-usbv2-0:8:1.2-video-index0 -> ../../video2
lrwxrwxrwx 1 root root 12 july 10 14:11 pci-0000:00:14.0-usbv2-0:8:1.2-video-index1 -> ../../video3

Give more information if you have I use that comand for configuration: sudo linux-enable-ir-emitter -d /dev/video2 -v configure -l

I have windows on that laptop. If you have guide, I could sniff control comands on windows.

Also, probably, something goes wrong (may be i stoped with force configuration process), and now I should open qv4l and turn on "auto exprosure" after each boot...

Thank you very much!

Additional info

EmixamPP commented 1 month ago

Sorry, I don't understatnd what you mean.

My bad, the right command is: find /etc/linux-enable-ir-emitter -type f -exec sh -c 'echo "File: {}"; cat {}; echo ""' \;

EmixamPP commented 1 month ago

Better, just execute sudo linux-enable-ir-emitter tweak and past here the output

EmixamPP commented 1 month ago

Could you provide me the gdb backtrace for the configure command? Please follow the instructions of the bot comment in the PR: https://github.com/EmixamPP/linux-enable-ir-emitter/pull/184. Thank you

binSmile commented 1 month ago

Sorry, I don't understatnd what you mean.

My bad, the right command is: find /etc/linux-enable-ir-emitter -type f -exec sh -c 'echo "File: {}"; cat {}; echo ""' \;

Thanks! I put the output to the first message.

$ 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 255
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 4 242 183 237 2 0 1 255 65 255 0 0 0 0 0 0 16 0 0 0 0 1 2 252 12 253 163 57 40 239 113 9 219 72 255 218 243 205 105 174 73 148 47 211 219 178 155 107 118 245 114 10 15 177 0 0 0 1 0 3 240 0 0 0 0 1 2 252 12 253 163 57 40 239 113 9 219 72 255 218 243 205 105 174 73 148 47 211 219 178 155 107 118 245 114 10 15 177 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 255 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: 3
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: 1
15) unit: 4, selector: 22, control: 149 40 4 242 183 237 2 0 1 255 65 255 0 0 0 0 0 0 16 0 0 0 0 1 2 252 12 253 163 57 40 239 113 9 219 72 255 218 243 205 105 174 73 148 47 211 219 178 155 107 118 245 114 10 15 177 0 0 0 1 0 3 240 0
16) unit: 4, selector: 23, control: 0 0 0
17) unit: 4, selector: 25, control: 1
18) unit: 4, selector: 26, control: 255 255 255 255
19) unit: 4, selector: 27, control: 255 255 255 255
20) unit: 5, selector: 2, control: 0
21) unit: 5, selector: 4, control: 183 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 3 0 0 0 0 0 0
25) unit: 7, selector: 9, control: 1 0 0 0
26) exit
binSmile commented 1 month ago

Could you provide me the gdb backtrace for the configure command? Please follow the instructions of the bot comment in the PR: #184. Thank you

Yes, sure! But, I'll try to do it in the evening.

binSmile commented 1 month ago

Could you provide me the gdb backtrace for the configure command? Please follow the instructions of the bot comment in the PR: #184. Thank you

Finally, I did it!

~$ sudo gdb --ex run --args linux-enable-ir-emitter -d /dev/video2 -v configure -l

Click to expand ``` GNU gdb (Ubuntu 15.0.50.20240403-0ubuntu1) 15.0.50.20240403-git Copyright (C) 2024 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law. Type "show copying" and "show warranty" for details. This GDB was configured as "x86_64-linux-gnu". Type "show configuration" for configuration details. For bug reporting instructions, please see: . Find the GDB manual and other documentation resources online at: . For help, type "help". Type "apropos word" to search for commands related to "word"... Reading symbols from linux-enable-ir-emitter... Starting program: /usr/local/bin/linux-enable-ir-emitter -d /dev/video2 -v configure -l [Thread debugging using libthread_db enabled] Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1". 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. [New Thread 0x7ffff5a006c0 (LWP 7298)] [New Thread 0x7ffff50006c0 (LWP 7299)] [New Thread 0x7fffefe006c0 (LWP 7300)] [New Thread 0x7fffef4006c0 (LWP 7301)] [New Thread 0x7fffeea006c0 (LWP 7302)] [New Thread 0x7fffee0006c0 (LWP 7303)] [New Thread 0x7fffed6006c0 (LWP 7304)] [New Thread 0x7fffecc006c0 (LWP 7305)] [New Thread 0x7fffe7e006c0 (LWP 7306)] [New Thread 0x7fffe74006c0 (LWP 7307)] [New Thread 0x7fffe6a006c0 (LWP 7308)] [New Thread 0x7fffe60006c0 (LWP 7309)] [New Thread 0x7fffe56006c0 (LWP 7310)] [New Thread 0x7fffe4c006c0 (LWP 7311)] [New Thread 0x7fffdbe006c0 (LWP 7312)] [New Thread 0x7fffdb4006c0 (LWP 7313)] [New Thread 0x7fffdaa006c0 (LWP 7314)] [New Thread 0x7fffda0006c0 (LWP 7315)] [New Thread 0x7fffd96006c0 (LWP 7316)] [New Thread 0x7fffd8c006c0 (LWP 7317)] [New Thread 0x7fffcfe006c0 (LWP 7318)] Configuring the camera /dev/video2. Previous configuration found. Is the video flashing? Press Y or N in the window. [Detaching after fork from child process 7319] 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; std::vector<_Tp, _Alloc>::reference = unsigned char&; std::vector<_Tp, _Alloc>::size_type = long unsigned int]: Assertion '__n < this->size()' failed. Thread 1 "linux-enable-ir" received signal SIGABRT, Aborted. __pthread_kill_implementation (no_tid=0, signo=6, threadid=) at ./nptl/pthread_kill.c:44 warning: 44 ./nptl/pthread_kill.c: No such file or directory (gdb) n Couldn't get registers: There is no such process. (gdb) [Thread 0x7fffd96006c0 (LWP 7316) exited] [Thread 0x7fffcfe006c0 (LWP 7318) exited] [Thread 0x7fffd8c006c0 (LWP 7317) exited] [Thread 0x7fffda0006c0 (LWP 7315) exited] [Thread 0x7fffdaa006c0 (LWP 7314) exited] [Thread 0x7fffdb4006c0 (LWP 7313) exited] [Thread 0x7fffdbe006c0 (LWP 7312) exited] [Thread 0x7fffe4c006c0 (LWP 7311) exited] [Thread 0x7fffe56006c0 (LWP 7310) exited] [Thread 0x7fffe60006c0 (LWP 7309) exited] [Thread 0x7fffe6a006c0 (LWP 7308) exited] [Thread 0x7fffe74006c0 (LWP 7307) exited] [Thread 0x7fffe7e006c0 (LWP 7306) exited] [Thread 0x7fffecc006c0 (LWP 7305) exited] [Thread 0x7fffed6006c0 (LWP 7304) exited] [Thread 0x7fffee0006c0 (LWP 7303) exited] [Thread 0x7fffeea006c0 (LWP 7302) exited] [Thread 0x7fffef4006c0 (LWP 7301) exited] [Thread 0x7fffefe006c0 (LWP 7300) exited] [Thread 0x7ffff5a006c0 (LWP 7298) exited] [Thread 0x7ffff5daf380 (LWP 7295) exited] [Thread 0x7ffff50006c0 (LWP 7299) exited] [New process 7295] Program terminated with signal SIGABRT, Aborted. The program no longer exists. ```
EmixamPP commented 1 month ago

Aah, what I really needed was the result of the bt (or backtrace) command inside gdb after the segfault :confused: Sorry, may be the explanation wasn't clear

binSmile commented 1 month ago

My fault. I was inattentive...

binSmile commented 1 month ago

I apologize for the delay.

  1. I attempted to retrieve the bt, but gdb reported that it doesn't have any data (perhaps the process faulted or something similar).
  2. Do you have any tips on how to bypass the successful steps and quickly reach the failure point? It's quite time-consuming.
  3. Additionally, it shut down the main camera, making it difficult to proceed during the day
EmixamPP commented 1 month ago

No problem, thanks for your precious time!

  1. Could you show me the outputs? Are you indeed using the version of the PR #184? Because it contains debug symbols that allow gdb to analyze what happen, while the "usual" version not.
  2. Yes, you can add to the configure command --limit 1 to reduce the search to one try per instruction pattern, but also --no-gui to remove the loading of the video feedback, and you can also add -m to answer yourself in the terminal and not let the tool determine itself by comparing the frames if the emitter is working or not. So you can add -l 1 -g -m.
  3. I am not sure to understand your question, but maybe my previous answer will solve that

Anyway, if you have trouble do not worry too much, this bug exists for a long time, and I was never able to find why it occurs for a few people. So now, by providing a debug version, I was hoping to have more inputs to find the cause.

But I do not want to take you more time. I maybe have an idea to enable your emitter, by bypassing the automatic configuration that crashes. Execute the tweak command, input the number 24, and enter 1 3 2 0 0 0 0 0 0 as value. If it works, you may see the video feedback blinking / or see a red light at your camera.

EmixamPP commented 4 days ago

Feel free to re-comment to reopen the discussion