Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Web Camera is broken #190

Open
mgite opened this issue Aug 23, 2024 · 12 comments
Open

Web Camera is broken #190

mgite opened this issue Aug 23, 2024 · 12 comments

Comments

@mgite
Copy link

mgite commented Aug 23, 2024

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

Output of sudo linux-enable-ir-emitter tweak

there is no output

Output of v4l2-ctl --list-devices

SPCA2087 PC Camera: PC Camera (usb-0000:00:14.0-8):
        /dev/video0
        /dev/video1
        /dev/media0

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]: 'YUYV' (YUYV 4:2:2)
                Size: Discrete 160x120
                        Interval: Discrete 0.033s (30.000 fps)
/dev/video1
ioctl: VIDIOC_ENUM_FMT
        Type: Video Capture

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

lrwxrwxrwx 1 root root 12 Aug 23 15:12 pci-0000:00:14.0-usb-0:8:1.0-video-index0 -> ../../video0
lrwxrwxrwx 1 root root 12 Aug 23 15:12 pci-0000:00:14.0-usb-0:8:1.0-video-index1 -> ../../video1
lrwxrwxrwx 1 root root 12 Aug 23 15:12 pci-0000:00:14.0-usbv2-0:8:1.0-video-index0 -> ../../video0
lrwxrwxrwx 1 root root 12 Aug 23 15:12 pci-0000:00:14.0-usbv2-0:8:1.0-video-index1 -> ../../video1

Give more information if you have

After i installed this package and tried to configure /dev/video0 it did nothing just flashed webcam light. Then i tried /dev/video1 and it said opencv can not open /dev/video1. I was trying to make howdy work. After it did not work i tried rebooting laptop, also i shutdown and start it, but now the webcamera stopped working. I tried to remove this package but still when i try to use webcamera it's light just flashes like it did when i tried to configure it. I tried modprobe -r uvcvideo and then modprobe it still does not work. This package broke something in my system. What could it be and how can i fix my webcamera?

HERE when i ran configure it did not have ANY output. I still waited for about 30 minutes and then pressed CTRL+C. It stopped. I quickly removed this package shutdown->start camera is broken!

Be patient, do not kill the process (you could break the camera); it is not stuck if you see the Searching... output blinking. If you really have to, press CTRL+C, the tool will stop safely as soon as possible (you may have to answer a last question see 5.).```

**Additional info**
 - Computer (or camera) model: Thinkpad T480
 - Linux distribution: Arch Linux
 - Version of linux-enable-ir-emitter: Latest <!--- linux-enable-ir-emitter -V -->
@EmixamPP
Copy link
Owner

EmixamPP commented Sep 1, 2024

I see you do not give the output logs from /var/local/log/linux-enable-ir-emitter/linux-enable-ir-emitter.log. So it is hard for me to understand what exactly happened.

Note the camera is probably not physically damaged, it seems its firmware is in a wrong state.

@mgite
Copy link
Author

mgite commented Sep 1, 2024

I see you do not give the output logs from /var/local/log/linux-enable-ir-emitter/linux-enable-ir-emitter.log. So it is hard for me to understand what exactly happened.

Note the camera is probably not physically damaged, it seems its firmware is in a wrong state.

Yes quickly tried to get that log but file was not there. Here it is. Took just now. Yest it seems like that, because the led is flashing quickly just like it did when i tried to setup ir-emitter. But how can i fix it? I tried updating everything using fwupd, but it did not help.

 ~ cat /var/log/linux-enable-ir-emitter/linux-enable-ir-emitter.log
[14:25:39] [info] Stand in front of and close to the camera and make sure the room is well lit.
[14:25:39] [info] Ensure to not use the camera during the execution.
[14:25:40] [critical] No infrared camera has been found.
[14:25:44] [info] Stand in front of and close to the camera and make sure the room is well lit.
[14:25:44] [info] Ensure to not use the camera during the execution.
[14:25:44] [critical] No infrared camera has been found.
[14:25:54] [info] Stand in front of and close to the camera and make sure the room is well lit.
[14:25:54] [info] Ensure to not use the camera during the execution.
[14:25:54] [critical] No infrared camera has been found.
[14:25:58] [info] Stand in front of and close to the camera and make sure the room is well lit.
[14:25:58] [info] Ensure to not use the camera during the execution.
[14:25:59] [critical] No infrared camera has been found.
[14:26:03] [info] Stand in front of and close to the camera and make sure the room is well lit.
[14:26:03] [info] Ensure to not use the camera during the execution.
[14:26:04] [critical] No infrared camera has been found.
[14:30:18] [info] Stand in front of and close to the camera and make sure the room is well lit.
[14:30:18] [info] Ensure to not use the camera during the execution.
[14:30:18] [critical] No infrared camera has been found.
[14:30:31] [info] Stand in front of and close to the camera and make sure the room is well lit.
[14:30:31] [info] Ensure to not use the camera during the execution.
[14:30:32] [critical] No infrared camera has been found.
[14:38:10] [info] Stand in front of and close to the camera and make sure the room is well lit.
[14:38:10] [info] Ensure to not use the camera during the execution.
[14:38:10] [critical] No infrared camera has been found.
[14:38:30] [info] Tweaking the camera /dev/video1
[14:38:30] [info] Caution, you could break the camera.
[14:38:31] [critical] OpenCV cannot access to /dev/video1
[14:38:39] [info] Tweaking the camera /dev/video1
[14:38:39] [info] Caution, you could break the camera.
[14:38:39] [critical] OpenCV cannot access to /dev/video1
[14:44:29] [info] Stand in front of and close to the camera and make sure the room is well lit.
[14:44:29] [info] Ensure to not use the camera during the execution.
[14:44:29] [critical] OpenCV cannot access to /dev/video1
[14:44:54] [info] Stand in front of and close to the camera and make sure the room is well lit.
[14:44:54] [info] Ensure to not use the camera during the execution.
[14:44:54] [critical] OpenCV cannot access to /dev/video1
[14:51:37] [info] Stand in front of and close to the camera and make sure the room is well lit.
[14:51:37] [info] Ensure to not use the camera during the execution.
[14:51:37] [critical] OpenCV cannot access to /dev/video1
[15:25:04] [info] Tweaking the camera /dev/video1
[15:25:04] [info] Caution, you could break the camera.
[15:25:04] [critical] OpenCV cannot access to /dev/video1

@EmixamPP
Copy link
Owner

EmixamPP commented Sep 1, 2024

Hum, you use the package from AUR. I see it also removed the log when you uninstalled the package, so what is inside is pointless now.

Unfortunately, unless contacting the camera vendor/producer, to get the firmware in order to reset, I'm not sure to be able to do something for you, but I will try my best.

Do you still have the file which is inside /etc/linux-enable-ir-emitter ?

@mgite
Copy link
Author

mgite commented Sep 1, 2024

Yes there are 2 files

pci-0000:00:14.0-usb-0:8:1.0-video-index0.ini pci-0000:00:14.0-usb-0:8:1.0-video-index1

@EmixamPP
Copy link
Owner

EmixamPP commented Sep 1, 2024

Could you copy paste their content?

@mgite
Copy link
Author

mgite commented Sep 1, 2024

pci-0000:00:14.0-usb-0:8:1.0-video-index1
[]

pci-0000:00:14.0-usb-0:8:1.0-video-index0.ini
https://pastebin.com/NdWcv87y

@mgite
Copy link
Author

mgite commented Sep 1, 2024

I was searching for fix and i noticed in this video on 3:26 https://youtu.be/d_hucSz3mQI?si=Hlcv8-GeskPfyyVN&t=206

There is RESET button beside camera in Lenovo vantage on windows. Maybe that will fix it? Or maybe it's just to reset brightness and contrast :D But i have not used windows in about 15 years already. I'll have to replace ssd and install windows first.

@EmixamPP
Copy link
Owner

EmixamPP commented Sep 2, 2024

But i have not used windows in about 15 years already. I'll have to replace ssd and install windows first.

You can use a VM

@TuzelKO
Copy link

TuzelKO commented Oct 22, 2024

So... I have a problem and the log file...

[21:02:39] [debug] Executing configure command.
[21:02:39] [info] Stand in front of and close to the camera and make sure the room is well lit.
[21:02:39] [info] Ensure to not use the camera during the execution.
[21:02:39] [debug] Checking if /dev/video0 is a grayscale camera.
[21:02:41] [debug] Checking if /dev/video1 is a grayscale camera.
[21:02:41] [debug] Checking if /dev/video2 is a grayscale camera.
[21:02:44] [debug] /dev/video2 is a grayscale camera.
[21:02:44] [info] Configuring the camera /dev/video2.
[21:02:44] [debug] yaml error: bad file: /etc/linux-enable-ir-emitter/pci-0000:64:00.4-usb-0:1:1.2-video-index0.ini.
[21:02:44] [debug] No previous configuration found.
[21:02:44] [debug] Configuration for /dev/video2 saved here: /etc/linux-enable-ir-emitter/pci-0000:64:00.4-usb-0:1:1.2-video-index0.ini.
[21:03:06] [debug] Instruction applied: unit: 4, selector: 2, control: 1 0.
[21:03:08] [debug] The instruction does not enable the emitter.
[21:03:08] [debug] Instruction applied: unit: 4, selector: 2, control: 2 0.
[21:03:10] [debug] The instruction does not enable the emitter.
[21:03:10] [debug] Instruction applied: unit: 4, selector: 2, control: 3 0.
[21:03:11] [debug] The instruction does not enable the emitter.
[21:03:11] [debug] Instruction applied: unit: 4, selector: 2, control: 4 0.
[21:03:13] [debug] The instruction does not enable the emitter.
[21:03:13] [debug] Instruction applied: unit: 4, selector: 2, control: 5 0.
[21:03:14] [debug] The instruction does not enable the emitter.
[21:03:14] [debug] Instruction applied: unit: 4, selector: 2, control: 6 0.
[21:03:16] [debug] The instruction does not enable the emitter.
[21:03:16] [debug] Instruction applied: unit: 4, selector: 2, control: 7 0.
[21:03:17] [debug] The instruction does not enable the emitter.
[21:03:17] [debug] Instruction applied: unit: 4, selector: 2, control: 8 0.
[21:03:19] [debug] The instruction does not enable the emitter.
[21:03:19] [debug] Instruction applied: unit: 4, selector: 2, control: 9 0.
[21:03:21] [debug] The instruction does not enable the emitter.
[21:03:21] [debug] Instruction applied: unit: 4, selector: 2, control: 255 255.
[21:03:22] [debug] The instruction does not enable the emitter.
[21:03:22] [debug] Reseting to the instruction: unit: 4, selector: 2, control: 0 32.
[21:03:22] [debug] Instruction applied: unit: 4, selector: 3, control: 1.
[21:04:47] [info] The process will exit as soon as possible.
[21:07:46] [info] The process will exit as soon as possible.
[21:07:47] [info] The process will exit as soon as possible.
[21:07:48] [info] The process will exit as soon as possible.
[21:07:48] [info] The process will exit as soon as possible.
[21:07:48] [debug] The instruction does not enable the emitter.
[21:07:48] [debug] Reseting to the instruction: unit: 4, selector: 3, control: 0.
[21:07:48] [error] The configuration failed.
[21:07:48] [info] Please retry in manual mode by adding the '-m' option.
[21:07:48] [info] Do not hesitate to visit the GitHub!
[21:07:48] [info] https://github.com/EmixamPP/linux-enable-ir-emitter/blob/master/docs/README.md
[21:07:57] [debug] Executing configure command.
[21:07:57] [info] Stand in front of and close to the camera and make sure the room is well lit.
[21:07:57] [info] Ensure to not use the camera during the execution.
[21:07:57] [debug] Checking if /dev/video0 is a grayscale camera.
[21:07:59] [debug] Checking if /dev/video1 is a grayscale camera.
[21:07:59] [debug] Checking if /dev/video2 is a grayscale camera.
[21:08:02] [debug] /dev/video2 is a grayscale camera.
[21:08:02] [info] Configuring the camera /dev/video2.
[21:08:02] [debug] Previous configuration found.
[21:08:05] [debug] Instruction applied: unit: 4, selector: 2, control: 1 0.
[21:08:06] [debug] The instruction does not enable the emitter.
[21:08:06] [debug] Instruction applied: unit: 4, selector: 2, control: 2 0.
[21:08:08] [debug] The instruction does not enable the emitter.
[21:08:08] [debug] Instruction applied: unit: 4, selector: 2, control: 3 0.
[21:08:09] [debug] The instruction does not enable the emitter.
[21:08:09] [debug] Instruction applied: unit: 4, selector: 2, control: 4 0.
[21:08:11] [debug] The instruction does not enable the emitter.
[21:08:11] [debug] Instruction applied: unit: 4, selector: 2, control: 5 0.
[21:08:13] [debug] The instruction does not enable the emitter.
[21:08:13] [debug] Instruction applied: unit: 4, selector: 2, control: 6 0.
[21:08:14] [debug] The instruction does not enable the emitter.
[21:08:14] [debug] Instruction applied: unit: 4, selector: 2, control: 7 0.
[21:08:16] [debug] The instruction does not enable the emitter.
[21:08:16] [debug] Instruction applied: unit: 4, selector: 2, control: 8 0.
[21:08:17] [debug] The instruction does not enable the emitter.
[21:08:17] [debug] Instruction applied: unit: 4, selector: 2, control: 9 0.
[21:08:19] [debug] The instruction does not enable the emitter.
[21:08:19] [debug] Instruction applied: unit: 4, selector: 2, control: 255 255.
[21:08:21] [debug] The instruction does not enable the emitter.
[21:08:21] [debug] Reseting to the instruction: unit: 4, selector: 2, control: 0 32.
[21:08:21] [debug] Instruction applied: unit: 4, selector: 3, control: 1.
[21:08:35] [info] The process will exit as soon as possible.
[21:10:41] [debug] The instruction does not enable the emitter.
[21:10:41] [debug] Reseting to the instruction: unit: 4, selector: 3, control: 0.
[21:10:41] [error] The configuration failed.
[21:10:41] [info] Please retry in manual mode by adding the '-m' option.
[21:10:41] [info] Do not hesitate to visit the GitHub!
[21:10:41] [info] https://github.com/EmixamPP/linux-enable-ir-emitter/blob/master/docs/README.md
[21:11:14] [debug] Executing configure command.
[21:11:14] [info] Stand in front of and close to the camera and make sure the room is well lit.
[21:11:14] [info] Ensure to not use the camera during the execution.
[21:11:14] [debug] Checking if /dev/video0 is a grayscale camera.
[21:11:16] [debug] Checking if /dev/video1 is a grayscale camera.
[21:11:16] [debug] Checking if /dev/video2 is a grayscale camera.
[21:11:19] [debug] /dev/video2 is a grayscale camera.
[21:11:19] [info] Configuring the camera /dev/video2.
[21:11:19] [debug] Previous configuration found.
[21:11:24] [debug] Instruction applied: unit: 4, selector: 2, control: 1 0.
[21:11:26] [debug] The instruction does not enable the emitter.
[21:11:26] [debug] Instruction applied: unit: 4, selector: 2, control: 2 0.
[21:11:27] [debug] The instruction does not enable the emitter.
[21:11:27] [debug] Instruction applied: unit: 4, selector: 2, control: 3 0.
[21:11:29] [debug] The instruction does not enable the emitter.
[21:11:29] [debug] Instruction applied: unit: 4, selector: 2, control: 4 0.
[21:11:30] [debug] The instruction does not enable the emitter.
[21:11:30] [debug] Instruction applied: unit: 4, selector: 2, control: 5 0.
[21:11:32] [debug] The instruction does not enable the emitter.
[21:11:32] [debug] Instruction applied: unit: 4, selector: 2, control: 6 0.
[21:11:33] [debug] The instruction does not enable the emitter.
[21:11:33] [debug] Instruction applied: unit: 4, selector: 2, control: 7 0.
[21:11:35] [debug] The instruction does not enable the emitter.
[21:11:35] [debug] Instruction applied: unit: 4, selector: 2, control: 8 0.
[21:11:37] [debug] The instruction does not enable the emitter.
[21:11:37] [debug] Instruction applied: unit: 4, selector: 2, control: 9 0.
[21:11:38] [debug] The instruction does not enable the emitter.
[21:11:38] [debug] Instruction applied: unit: 4, selector: 2, control: 255 255.
[21:11:40] [debug] The instruction does not enable the emitter.
[21:11:40] [debug] Reseting to the instruction: unit: 4, selector: 2, control: 0 32.
[21:11:40] [debug] Instruction applied: unit: 4, selector: 3, control: 1.
[21:16:41] [debug] The instruction does not enable the emitter.
[21:16:41] [debug] Instruction applied: unit: 4, selector: 3, control: 2.
[21:21:41] [debug] The instruction does not enable the emitter.
[21:21:41] [debug] Instruction applied: unit: 4, selector: 3, control: 3.
[21:26:42] [debug] The instruction does not enable the emitter.
[21:26:42] [debug] Instruction applied: unit: 4, selector: 3, control: 4.
[21:31:17] [info] The process will exit as soon as possible.
[21:31:18] [debug] The instruction does not enable the emitter.
[21:31:18] [debug] Reseting to the instruction: unit: 4, selector: 3, control: 0.
[21:31:18] [error] The configuration failed.
[21:31:18] [info] Please retry in manual mode by adding the '-m' option.
[21:31:18] [info] Do not hesitate to visit the GitHub!
[21:31:18] [info] https://github.com/EmixamPP/linux-enable-ir-emitter/blob/master/docs/README.md
[21:32:44] [debug] Executing configure command.
[21:32:44] [info] Stand in front of and close to the camera and make sure the room is well lit.
[21:32:44] [info] Ensure to not use the camera during the execution.
[21:32:44] [debug] Checking if /dev/video0 is a grayscale camera.
[21:32:46] [debug] Checking if /dev/video1 is a grayscale camera.
[21:32:46] [debug] Checking if /dev/video2 is a grayscale camera.
[21:32:48] [debug] /dev/video2 is a grayscale camera.
[21:32:48] [info] Configuring the camera /dev/video2.
[21:32:48] [debug] Previous configuration found.
[21:32:55] [debug] Instruction applied: unit: 4, selector: 2, control: 1 0.
[21:32:57] [debug] The instruction does not enable the emitter.
[21:32:57] [debug] Instruction applied: unit: 4, selector: 2, control: 2 0.
[21:32:59] [debug] The instruction does not enable the emitter.
[21:32:59] [debug] Instruction applied: unit: 4, selector: 2, control: 3 0.
[21:33:00] [debug] The instruction does not enable the emitter.
[21:33:00] [debug] Instruction applied: unit: 4, selector: 2, control: 4 0.
[21:33:02] [debug] The instruction does not enable the emitter.
[21:33:02] [debug] Instruction applied: unit: 4, selector: 2, control: 5 0.
[21:33:03] [debug] The instruction does not enable the emitter.
[21:33:03] [debug] Instruction applied: unit: 4, selector: 2, control: 6 0.
[21:33:04] [info] The process will exit as soon as possible.
[21:33:05] [debug] The instruction does not enable the emitter.
[21:33:05] [debug] Reseting to the instruction: unit: 4, selector: 2, control: 0 32.
[21:33:05] [error] The configuration failed.
[21:33:05] [info] Please retry in manual mode by adding the '-m' option.
[21:33:05] [info] Do not hesitate to visit the GitHub!
[21:33:05] [info] https://github.com/EmixamPP/linux-enable-ir-emitter/blob/master/docs/README.md
[21:34:22] [debug] Executing configure command.
[21:34:22] [info] Stand in front of and close to the camera and make sure the room is well lit.
[21:34:22] [info] Ensure to not use the camera during the execution.
[21:34:22] [debug] Checking if /dev/video0 is a grayscale camera.
[21:34:24] [debug] Checking if /dev/video1 is a grayscale camera.
[21:34:24] [debug] Checking if /dev/video2 is a grayscale camera.
[21:34:26] [debug] /dev/video2 is a grayscale camera.
[21:34:26] [info] Configuring the camera /dev/video2.
[21:34:26] [debug] Previous configuration found.
[21:34:32] [debug] Instruction applied: unit: 4, selector: 2, control: 1 0.
[21:34:34] [debug] The instruction does not enable the emitter.
[21:34:34] [debug] Instruction applied: unit: 4, selector: 2, control: 2 0.
[21:34:35] [debug] The instruction does not enable the emitter.
[21:34:35] [debug] Instruction applied: unit: 4, selector: 2, control: 3 0.
[21:34:37] [debug] The instruction does not enable the emitter.
[21:34:37] [debug] Instruction applied: unit: 4, selector: 2, control: 4 0.
[21:34:38] [debug] The instruction does not enable the emitter.
[21:34:38] [debug] Instruction applied: unit: 4, selector: 2, control: 5 0.
[21:34:40] [debug] The instruction does not enable the emitter.
[21:34:40] [debug] Instruction applied: unit: 4, selector: 2, control: 6 0.
[21:34:41] [debug] The instruction does not enable the emitter.
[21:34:41] [debug] Instruction applied: unit: 4, selector: 2, control: 7 0.
[21:34:43] [debug] The instruction does not enable the emitter.
[21:34:43] [debug] Instruction applied: unit: 4, selector: 2, control: 8 0.
[21:34:45] [debug] The instruction does not enable the emitter.
[21:34:45] [debug] Instruction applied: unit: 4, selector: 2, control: 9 0.
[21:34:46] [debug] The instruction does not enable the emitter.
[21:34:46] [debug] Instruction applied: unit: 4, selector: 2, control: 255 255.
[21:34:46] [info] The process will exit as soon as possible.
[21:34:48] [debug] The instruction does not enable the emitter.
[21:34:48] [debug] Reseting to the instruction: unit: 4, selector: 2, control: 0 32.
[21:34:48] [error] The configuration failed.
[21:34:48] [info] Please retry in manual mode by adding the '-m' option.
[21:34:48] [info] Do not hesitate to visit the GitHub!
[21:34:48] [info] https://github.com/EmixamPP/linux-enable-ir-emitter/blob/master/docs/README.md
[21:35:08] [debug] Executing configure command.
[21:35:08] [info] Stand in front of and close to the camera and make sure the room is well lit.
[21:35:08] [info] Ensure to not use the camera during the execution.
[21:35:09] [info] Configuring the camera /dev/video2.
[21:35:09] [debug] Previous configuration found.
[21:35:12] [debug] Instruction applied: unit: 4, selector: 2, control: 1 0.
[21:35:13] [debug] The instruction does not enable the emitter.
[21:35:13] [debug] Instruction applied: unit: 4, selector: 2, control: 2 0.
[21:35:15] [debug] The instruction does not enable the emitter.
[21:35:15] [debug] Instruction applied: unit: 4, selector: 2, control: 3 0.
[21:35:16] [debug] The instruction does not enable the emitter.
[21:35:16] [debug] Instruction applied: unit: 4, selector: 2, control: 4 0.
[21:35:18] [debug] The instruction does not enable the emitter.
[21:35:18] [debug] Instruction applied: unit: 4, selector: 2, control: 5 0.
[21:35:19] [debug] The instruction does not enable the emitter.
[21:35:19] [debug] Instruction applied: unit: 4, selector: 2, control: 6 0.
[21:35:21] [debug] The instruction does not enable the emitter.
[21:35:21] [debug] Instruction applied: unit: 4, selector: 2, control: 7 0.
[21:35:23] [debug] The instruction does not enable the emitter.
[21:35:23] [debug] Instruction applied: unit: 4, selector: 2, control: 8 0.
[21:35:24] [debug] The instruction does not enable the emitter.
[21:35:24] [debug] Instruction applied: unit: 4, selector: 2, control: 9 0.
[21:35:26] [debug] The instruction does not enable the emitter.
[21:35:26] [debug] Instruction applied: unit: 4, selector: 2, control: 255 255.
[21:35:27] [debug] The instruction does not enable the emitter.
[21:35:27] [debug] Reseting to the instruction: unit: 4, selector: 2, control: 0 32.
[21:35:27] [debug] Instruction applied: unit: 4, selector: 3, control: 1.
[21:35:31] [info] The process will exit as soon as possible.
[21:35:34] [debug] The instruction does not enable the emitter.
[21:35:34] [debug] Reseting to the instruction: unit: 4, selector: 3, control: 0.
[21:35:34] [error] The configuration failed.
[21:35:34] [info] Please retry in manual mode by adding the '-m' option.
[21:35:34] [info] Do not hesitate to visit the GitHub!
[21:35:34] [info] https://github.com/EmixamPP/linux-enable-ir-emitter/blob/master/docs/README.md
[21:35:41] [debug] Executing configure command.
[21:35:41] [info] Stand in front of and close to the camera and make sure the room is well lit.
[21:35:41] [info] Ensure to not use the camera during the execution.
[21:35:43] [info] Configuring the camera /dev/video2.
[21:35:43] [debug] Previous configuration found.
[21:35:45] [debug] Instruction applied: unit: 4, selector: 2, control: 1 0.
[21:35:47] [debug] The instruction does not enable the emitter.
[21:35:47] [debug] Instruction applied: unit: 4, selector: 2, control: 2 0.
[21:35:48] [debug] The instruction does not enable the emitter.
[21:35:48] [debug] Instruction applied: unit: 4, selector: 2, control: 3 0.
[21:35:50] [debug] The instruction does not enable the emitter.
[21:35:50] [debug] Instruction applied: unit: 4, selector: 2, control: 4 0.
[21:35:51] [debug] The instruction does not enable the emitter.
[21:35:51] [debug] Instruction applied: unit: 4, selector: 2, control: 5 0.
[21:35:53] [debug] The instruction does not enable the emitter.
[21:35:53] [debug] Instruction applied: unit: 4, selector: 2, control: 6 0.
[21:35:55] [debug] The instruction does not enable the emitter.
[21:35:55] [debug] Instruction applied: unit: 4, selector: 2, control: 7 0.
[21:35:56] [debug] The instruction does not enable the emitter.
[21:35:56] [debug] Instruction applied: unit: 4, selector: 2, control: 8 0.
[21:35:58] [debug] The instruction does not enable the emitter.
[21:35:58] [debug] Instruction applied: unit: 4, selector: 2, control: 9 0.
[21:35:59] [debug] The instruction does not enable the emitter.
[21:35:59] [debug] Instruction applied: unit: 4, selector: 2, control: 255 255.
[21:36:01] [debug] The instruction does not enable the emitter.
[21:36:01] [debug] Reseting to the instruction: unit: 4, selector: 2, control: 0 32.
[21:36:01] [debug] Instruction applied: unit: 4, selector: 3, control: 1.
[21:38:15] [info] The process will exit as soon as possible.
[21:38:17] [debug] The instruction does not enable the emitter.
[21:38:17] [debug] Reseting to the instruction: unit: 4, selector: 3, control: 0.
[21:38:17] [error] The configuration failed.
[21:38:17] [info] Please retry in manual mode by adding the '-m' option.
[21:38:17] [info] Do not hesitate to visit the GitHub!
[21:38:17] [info] https://github.com/EmixamPP/linux-enable-ir-emitter/blob/master/docs/README.md
[21:39:00] [debug] Executing configure command.
[21:39:00] [info] Stand in front of and close to the camera and make sure the room is well lit.
[21:39:00] [info] Ensure to not use the camera during the execution.
[21:39:01] [info] Configuring the camera /dev/video2.
[21:39:01] [debug] Previous configuration found.
[21:39:07] [debug] Instruction applied: unit: 4, selector: 2, control: 1 0.
[21:39:08] [debug] The instruction does not enable the emitter.
[21:39:08] [debug] Instruction applied: unit: 4, selector: 2, control: 2 0.
[21:39:10] [debug] The instruction does not enable the emitter.
[21:39:10] [debug] Instruction applied: unit: 4, selector: 2, control: 3 0.
[21:39:11] [debug] The instruction does not enable the emitter.
[21:39:11] [debug] Instruction applied: unit: 4, selector: 2, control: 4 0.
[21:39:13] [debug] The instruction does not enable the emitter.
[21:39:13] [debug] Instruction applied: unit: 4, selector: 2, control: 5 0.
[21:39:15] [debug] The instruction does not enable the emitter.
[21:39:15] [debug] Instruction applied: unit: 4, selector: 2, control: 6 0.
[21:39:16] [debug] The instruction does not enable the emitter.
[21:39:16] [debug] Instruction applied: unit: 4, selector: 2, control: 7 0.
[21:39:18] [debug] The instruction does not enable the emitter.
[21:39:18] [debug] Instruction applied: unit: 4, selector: 2, control: 8 0.
[21:39:19] [debug] The instruction does not enable the emitter.
[21:39:19] [debug] Instruction applied: unit: 4, selector: 2, control: 9 0.
[21:39:21] [debug] The instruction does not enable the emitter.
[21:39:21] [debug] Instruction applied: unit: 4, selector: 2, control: 255 255.
[21:39:22] [debug] The instruction does not enable the emitter.
[21:39:22] [debug] Reseting to the instruction: unit: 4, selector: 2, control: 0 32.
[21:39:22] [debug] Instruction applied: unit: 4, selector: 3, control: 1.
[21:44:23] [debug] The instruction does not enable the emitter.
[21:44:23] [debug] Instruction applied: unit: 4, selector: 3, control: 2.
[21:49:24] [debug] The instruction does not enable the emitter.
[21:49:24] [debug] Instruction applied: unit: 4, selector: 3, control: 3.
[21:54:25] [debug] The instruction does not enable the emitter.
[21:54:25] [debug] Instruction applied: unit: 4, selector: 3, control: 4.
[21:59:26] [debug] The instruction does not enable the emitter.
[21:59:26] [debug] Instruction applied: unit: 4, selector: 3, control: 5.
[22:04:27] [debug] The instruction does not enable the emitter.
[22:04:27] [debug] Instruction applied: unit: 4, selector: 3, control: 6.
[22:09:27] [debug] The instruction does not enable the emitter.
[22:09:27] [debug] Instruction applied: unit: 4, selector: 3, control: 7.
[22:14:28] [debug] The instruction does not enable the emitter.
[22:14:28] [debug] Instruction applied: unit: 4, selector: 3, control: 8.
[22:14:30] [debug] The instruction does not enable the emitter.
[22:14:30] [debug] Instruction applied: unit: 4, selector: 3, control: 9.
[22:19:31] [debug] The instruction does not enable the emitter.
[22:19:31] [debug] Instruction applied: unit: 4, selector: 3, control: 255.
[22:19:31] [debug] The instruction does not enable the emitter.
[22:19:31] [debug] Reseting to the instruction: unit: 4, selector: 3, control: 0.
[22:19:31] [debug] Instruction applied: unit: 4, selector: 4, control: 1 0.
[22:19:31] [debug] The instruction does not enable the emitter.
[22:19:31] [debug] Instruction applied: unit: 4, selector: 4, control: 2 0.
[22:19:31] [debug] The instruction does not enable the emitter.
[22:19:31] [debug] Instruction applied: unit: 4, selector: 4, control: 3 0.
[22:19:31] [debug] The instruction does not enable the emitter.
[22:19:31] [debug] Instruction applied: unit: 4, selector: 4, control: 4 0.
[22:19:31] [debug] The instruction does not enable the emitter.
[22:19:31] [debug] Instruction applied: unit: 4, selector: 4, control: 5 0.
[22:19:31] [debug] The instruction does not enable the emitter.
[22:19:31] [debug] Instruction applied: unit: 4, selector: 4, control: 6 0.
[22:19:31] [debug] The instruction does not enable the emitter.
[22:19:31] [debug] Instruction applied: unit: 4, selector: 4, control: 7 0.
[22:19:31] [debug] The instruction does not enable the emitter.
[22:19:31] [debug] Instruction applied: unit: 4, selector: 4, control: 8 0.
[22:19:31] [debug] The instruction does not enable the emitter.
[22:19:31] [debug] Instruction applied: unit: 4, selector: 4, control: 9 0.
[22:19:31] [debug] The instruction does not enable the emitter.
[22:19:31] [debug] Instruction applied: unit: 4, selector: 4, control: 255 255.
[22:19:31] [debug] The instruction does not enable the emitter.
[22:19:31] [debug] Reseting to the instruction: unit: 4, selector: 4, control: 0 0.
[22:19:31] [debug] Instruction applied: unit: 4, selector: 5, control: 1 0.
[22:19:31] [debug] The instruction does not enable the emitter.
[22:19:31] [debug] Instruction applied: unit: 4, selector: 5, control: 2 0.
[22:19:31] [debug] The instruction does not enable the emitter.
[22:19:31] [debug] Instruction applied: unit: 4, selector: 5, control: 3 0.
[22:19:31] [debug] The instruction does not enable the emitter.
[22:19:31] [debug] Instruction applied: unit: 4, selector: 5, control: 4 0.
[22:19:31] [debug] The instruction does not enable the emitter.
[22:19:31] [debug] Instruction applied: unit: 4, selector: 5, control: 5 0.
[22:19:31] [debug] The instruction does not enable the emitter.
[22:19:31] [debug] Instruction applied: unit: 4, selector: 5, control: 6 0.
[22:19:31] [debug] The instruction does not enable the emitter.
[22:19:31] [debug] Instruction applied: unit: 4, selector: 5, control: 7 0.
[22:19:31] [debug] The instruction does not enable the emitter.
[22:19:31] [debug] Instruction applied: unit: 4, selector: 5, control: 8 0.
[22:19:31] [debug] The instruction does not enable the emitter.
[22:19:31] [debug] Instruction applied: unit: 4, selector: 5, control: 9 0.
[22:19:31] [debug] The instruction does not enable the emitter.
[22:19:31] [debug] Instruction applied: unit: 4, selector: 5, control: 255 255.
[22:19:31] [debug] The instruction does not enable the emitter.
[22:19:31] [debug] Reseting to the instruction: unit: 4, selector: 5, control: 255 0.
[22:19:31] [debug] Instruction applied: unit: 4, selector: 6, control: 1.
[22:19:31] [debug] The instruction does not enable the emitter.
[22:19:31] [debug] Reseting to the instruction: unit: 4, selector: 6, control: 1.
[22:19:31] [debug] Instruction applied: unit: 4, selector: 7, control: 2.
[22:19:31] [debug] The instruction does not enable the emitter.
[22:19:31] [debug] Instruction applied: unit: 4, selector: 7, control: 3.
[22:19:31] [debug] The instruction does not enable the emitter.
[22:19:31] [debug] Instruction applied: unit: 4, selector: 7, control: 4.
[22:19:31] [debug] The instruction does not enable the emitter.
[22:19:31] [debug] Instruction applied: unit: 4, selector: 7, control: 5.
[22:19:31] [debug] The instruction does not enable the emitter.
[22:19:31] [debug] Instruction applied: unit: 4, selector: 7, control: 6.
[22:19:31] [debug] The instruction does not enable the emitter.
[22:19:31] [debug] Instruction applied: unit: 4, selector: 7, control: 7.
[22:19:31] [debug] The instruction does not enable the emitter.
[22:19:31] [debug] Instruction applied: unit: 4, selector: 7, control: 8.
[22:19:31] [debug] The instruction does not enable the emitter.
[22:19:31] [debug] Instruction applied: unit: 4, selector: 7, control: 9.
[22:19:31] [debug] The instruction does not enable the emitter.
[22:19:31] [debug] Instruction applied: unit: 4, selector: 7, control: 10.
[22:19:31] [debug] The instruction does not enable the emitter.
[22:19:31] [debug] Instruction applied: unit: 4, selector: 7, control: 13.
[22:19:31] [debug] The instruction does not enable the emitter.
[22:19:31] [debug] Reseting to the instruction: unit: 4, selector: 7, control: 1.
[22:19:31] [debug] Instruction applied: unit: 4, selector: 8, control: 1.
[22:19:31] [debug] The instruction does not enable the emitter.
[22:19:31] [debug] Instruction applied: unit: 4, selector: 8, control: 2.
[22:19:31] [debug] The instruction does not enable the emitter.
[22:19:31] [debug] Instruction applied: unit: 4, selector: 8, control: 3.
[22:19:31] [debug] The instruction does not enable the emitter.
[22:19:31] [debug] Instruction applied: unit: 4, selector: 8, control: 4.
[22:19:31] [debug] The instruction does not enable the emitter.
[22:19:31] [debug] Instruction applied: unit: 4, selector: 8, control: 5.
[22:19:31] [debug] The instruction does not enable the emitter.
[22:19:31] [debug] Instruction applied: unit: 4, selector: 8, control: 6.
[22:19:31] [debug] The instruction does not enable the emitter.
[22:19:31] [debug] Instruction applied: unit: 4, selector: 8, control: 7.
[22:19:31] [debug] The instruction does not enable the emitter.
[22:19:31] [debug] Instruction applied: unit: 4, selector: 8, control: 8.
[22:19:31] [debug] The instruction does not enable the emitter.
[22:19:31] [debug] Instruction applied: unit: 4, selector: 8, control: 9.
[22:19:31] [debug] The instruction does not enable the emitter.
[22:19:31] [debug] Instruction applied: unit: 4, selector: 8, control: 255.
[22:19:31] [debug] The instruction does not enable the emitter.
[22:19:31] [debug] Reseting to the instruction: unit: 4, selector: 8, control: 3.
[22:19:31] [debug] Instruction applied: unit: 4, selector: 9, control: 1.
[22:19:31] [debug] The instruction does not enable the emitter.
[22:19:31] [debug] Reseting to the instruction: unit: 4, selector: 9, control: 0.
[22:19:31] [debug] Instruction applied: unit: 4, selector: 12, control: 1.
[22:19:31] [debug] The instruction does not enable the emitter.
[22:19:31] [debug] Reseting to the instruction: unit: 4, selector: 12, control: 0.
[22:19:31] [debug] Instruction applied: unit: 4, selector: 13, control: 1 0 0 0.
[22:19:31] [debug] The instruction does not enable the emitter.
[22:19:31] [debug] Instruction applied: unit: 4, selector: 13, control: 2 0 0 0.
[22:19:31] [debug] The instruction does not enable the emitter.
[22:19:31] [debug] Instruction applied: unit: 4, selector: 13, control: 3 0 0 0.
[22:19:31] [debug] The instruction does not enable the emitter.
[22:19:31] [debug] Instruction applied: unit: 4, selector: 13, control: 4 0 0 0.
[22:19:31] [debug] The instruction does not enable the emitter.
[22:19:31] [debug] Instruction applied: unit: 4, selector: 13, control: 5 0 0 0.
[22:19:31] [debug] The instruction does not enable the emitter.
[22:19:31] [debug] Instruction applied: unit: 4, selector: 13, control: 6 0 0 0.
[22:19:31] [debug] The instruction does not enable the emitter.
[22:19:31] [debug] Instruction applied: unit: 4, selector: 13, control: 7 0 0 0.
[22:19:31] [debug] The instruction does not enable the emitter.
[22:19:31] [debug] Instruction applied: unit: 4, selector: 13, control: 8 0 0 0.
[22:19:31] [debug] The instruction does not enable the emitter.
[22:19:31] [debug] Instruction applied: unit: 4, selector: 13, control: 9 0 0 0.
[22:19:31] [debug] The instruction does not enable the emitter.
[22:19:31] [debug] Instruction applied: unit: 4, selector: 13, control: 255 255 255 0.
[22:19:31] [debug] The instruction does not enable the emitter.
[22:19:31] [debug] Reseting to the instruction: unit: 4, selector: 13, control: 0 0 0 0.
[22:19:31] [debug] Instruction applied: unit: 4, selector: 14, control: 1 0 0 0.
[22:19:31] [debug] The instruction does not enable the emitter.
[22:19:31] [debug] Instruction applied: unit: 4, selector: 14, control: 2 0 0 0.
[22:19:31] [debug] The instruction does not enable the emitter.
[22:19:31] [debug] Instruction applied: unit: 4, selector: 14, control: 3 0 0 0.
[22:19:31] [debug] The instruction does not enable the emitter.
[22:19:31] [debug] Instruction applied: unit: 4, selector: 14, control: 4 0 0 0.
[22:19:31] [debug] The instruction does not enable the emitter.
[22:19:31] [debug] Instruction applied: unit: 4, selector: 14, control: 5 0 0 0.
[22:19:31] [debug] The instruction does not enable the emitter.
[22:19:31] [debug] Instruction applied: unit: 4, selector: 14, control: 6 0 0 0.
[22:19:31] [debug] The instruction does not enable the emitter.
[22:19:31] [debug] Instruction appli
( ...App crash and restart laptop... )
[22:39:45] [debug] Executing configure command.
[22:39:45] [info] Stand in front of and close to the camera and make sure the room is well lit.
[22:39:45] [info] Ensure to not use the camera during the execution.
[22:39:45] [critical] No infrared camera has been found.

@EmixamPP
Copy link
Owner

Thanks for the log, I will investigate a possible solution

@TuzelKO
Copy link

TuzelKO commented Oct 22, 2024

After turning off the laptop and turning it on again, it came back. Several reboots before that did not help. It was necessary to turn it off and on again.

@igloo861
Copy link

igloo861 commented Jan 10, 2025

Fix on Lenovo laptop

Hi, just had the same problem. I left the configuration running unattended for a couple of hours. When i came back the terminal said "Segmentation fault (core dumped)" and the camera no longer appeared when i tried to test it.

What i fixed by turning the computer off and starting it with the NOVO button on my Lenovo laptop and choosing system recovery. After the reboot the camera reappeared and functioned fine.

Pleas note that i booted to Windows while using the recovery function. I don't know how Lenovo's recovery tool works, so i don't know if booting to Linux makes a difference.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants