New webcam's IR sensor doesn't work anymore
Before opening the issue
- [x] I looked at the docs
- [x] I installed the release tarball provided here on Github
Ouput of cat /var/local/log/linux-enable-ir-emitter/linux-enable-ir-emitter.log
No such file or directory
Output of sudo linux-enable-ir-emitter tweak
[ WARN:[email protected]] global cap_v4l.cpp:913 open VIDEOIO(V4L2:/dev/video3): can't open camera by index
[ WARN:[email protected]] global cap.cpp:478 open VIDEOIO(V4L2): backend is generally available but can't be used to capture by index
[INFO] Tweaking the camera /dev/video2
[INFO] Caution, you could break the camera.
0) unit: 5, selector: 2, control: 0 [idle]
1) unit: 5, selector: 4, control: 114 0 [idle]
2) unit: 7, selector: 2, control: 1 0 0 0 0 0 0 96 97 2 0 0 0 0 0 [idle]
3) unit: 7, selector: 3, control: 16 0 0 0 0 0 0 0 0 0 0 [idle]
4) unit: 7, selector: 6, control: 1 3 2 0 0 0 0 0 0 [start]
5) unit: 7, selector: 9, control: 0 0 0 0 [idle]
6) exit
Choose an instruction to tweak: QSettings::value: Empty key passed
**Output of `v4l2-ctl --list-devices`**
Integrated RGB Camera: Integrat (usb-0000:62:00.4-1): /dev/video0 /dev/video1 /dev/video2 /dev/video3 /dev/media0 /dev/media1
**Ouput of `for dev in /dev/video*; do echo $dev && v4l2-ctl -d $dev --list-formats-ext; done`**
/dev/video0 ioctl: VIDIOC_ENUM_FMT Type: Video Capture
[0]: 'MJPG' (Motion-JPEG, compressed)
Size: Discrete 1280x720
Interval: Discrete 0.033s (30.000 fps)
Size: Discrete 1920x1080
Interval: Discrete 0.033s (30.000 fps)
Size: Discrete 960x540
Interval: Discrete 0.033s (30.000 fps)
Size: Discrete 640x480
Interval: Discrete 0.033s (30.000 fps)
Size: Discrete 640x360
Interval: Discrete 0.033s (30.000 fps)
Size: Discrete 320x240
Interval: Discrete 0.033s (30.000 fps)
Size: Discrete 320x180
Interval: Discrete 0.033s (30.000 fps)
[1]: 'YUYV' (YUYV 4:2:2)
Size: Discrete 1280x720
Interval: Discrete 0.100s (10.000 fps)
Size: Discrete 1920x1080
Interval: Discrete 0.200s (5.000 fps)
Size: Discrete 960x540
Interval: Discrete 0.067s (15.000 fps)
Size: Discrete 640x480
Interval: Discrete 0.033s (30.000 fps)
Size: Discrete 640x360
Interval: Discrete 0.033s (30.000 fps)
Size: Discrete 320x240
Interval: Discrete 0.033s (30.000 fps)
Size: Discrete 320x180
Interval: Discrete 0.033s (30.000 fps)
/dev/video1 ioctl: VIDIOC_ENUM_FMT Type: Video Capture
/dev/video2 ioctl: VIDIOC_ENUM_FMT Type: Video Capture
[0]: 'GREY' (8-bit Greyscale)
Size: Discrete 640x360
Interval: Discrete 0.067s (15.000 fps)
Interval: Discrete 0.033s (30.000 fps)
/dev/video3 ioctl: VIDIOC_ENUM_FMT Type: Video Capture
**Output of `ls -l /dev/v4l/by-path`**
lrwxrwxrwx 1 root root 12 Apr 8 16:05 pci-0000:62:00.4-usb-0:1:1.0-video-index0 -> ../../video0 lrwxrwxrwx 1 root root 12 Apr 8 16:05 pci-0000:62:00.4-usb-0:1:1.0-video-index1 -> ../../video1 lrwxrwxrwx 1 root root 12 Apr 8 16:05 pci-0000:62:00.4-usb-0:1:1.2-video-index0 -> ../../video2 lrwxrwxrwx 1 root root 12 Apr 8 16:05 pci-0000:62:00.4-usb-0:1:1.2-video-index1 -> ../../video3 lrwxrwxrwx 1 root root 12 Apr 8 16:05 pci-0000:62:00.4-usbv2-0:1:1.0-video-index0 -> ../../video0 lrwxrwxrwx 1 root root 12 Apr 8 16:05 pci-0000:62:00.4-usbv2-0:1:1.0-video-index1 -> ../../video1 lrwxrwxrwx 1 root root 12 Apr 8 16:05 pci-0000:62:00.4-usbv2-0:1:1.2-video-index0 -> ../../video2 lrwxrwxrwx 1 root root 12 Apr 8 16:05 pci-0000:62:00.4-usbv2-0:1:1.2-video-index1 -> ../../video3
**Give more information if you have**
<!-- Previously, I was able to configure my infrared camera emitter with the following process:
https://github.com/EmixamPP/linux-enable-ir-emitter/issues/220#event-16940467833
and it used to work just fine.
Recently, I got my screen changed (along with webcam) from lenovo and now it doesn't work anymore
when I try to do the sudo linux-enable-ir-emitter configure it doesn't blink, it just shows the normal output, when i press 'n' it searches again like it used to do and the light stays on instead of blinking and then throws this error -
Is the ir emitter flashing (not just turn on)? Yes/No? QSettings::value: Empty key passed
n
[INFO] Please retry in manual mode by adding the '-m' option.
[ERROR] The configuration failed.
[INFO] Do not hesitate to visit the GitHub!
[INFO] https://github.com/EmixamPP/linux-enable-ir-emitter/blob/master/docs/README.md
or give an infinite loop of -
QMetaMethod::invoke: Dead lock detected in BlockingQueuedConnection: Receiver is GuiReceiver(0x7c42d8000e00)
And, when I try to follow the previous issue tweaking method it doesn't do anything.
And, lsusb used to show Syntek but now shows Bison
-->
**Additional info**
- Computer (or camera) model: Lenovo Yoga Pro 7/ Bison Electronics Inc. Integrated RGB Camera
- Linux distribution: Arch Linux
- Version of linux-enable-ir-emitter: <!--- linux-enable-ir-emitter -V -->
It seems you are using the AUR package? Does not work well because of the OpenCV package. Please try with the tarball provided here.
Feel free to comment to re-open