Webcam Setup: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
| (6 intermediate revisions by the same user not shown) | |||
| Line 1: | Line 1: | ||
= Drivers = | = Drivers = | ||
* Ideally, your webcam will be supported by the UVC drivers | * Ideally, your webcam will be supported by the UVC (USB Video Class) drivers that are included in recent kernels. You just need to build the correct drivers [https://wiki.gentoo.org/wiki/Webcams as mentioned here.] | ||
* To test your webcam, you can use the luvcview application (in Portage), although you may have to specify a different format if you get an error: | * To test your webcam, you can use the luvcview application (in Portage), although you may have to specify a different format if you get an error: | ||
luvcview -f yuv | luvcview -f yuv | ||
* To use the microphone of your webcam, you will need USB Audio support (Device Drivers -> Sound card support -> USB Sound Devices -> USB Audio/MIDI driver). Then it should work out of the box with PulseAudio. | |||
== IPU6 / Intel integrated webcams == | |||
* Those webcams seem to use directly the Intel processor (Alder Lake for instance). Thus they don't appear in lsusb or lspci. If the webcam works on Windows, it's best to use the Device Manager to get details about the hardware device. | |||
* Such a webcam is present in my Lenovo Yoga 9i Slim laptop model. I could not get it to work yet. | |||
* Situation as of June 2025: | |||
** The kernel part seems OK, necessary support has been upstreamed (on kernel 6.15.2, and linux-firmware package). You need to build the VIDEO_INTEL_IPU6 module. The following dmesg logs are present on my laptop: | |||
<pre> | |||
[ 4.090799] intel-ipu6 0000:00:05.0: Found supported sensor OVTI02C1:00 | |||
[ 4.090916] intel-ipu6 0000:00:05.0: Connected 1 cameras | |||
[ 4.097055] intel-ipu6 0000:00:05.0: Sending BOOT_LOAD to CSE | |||
[ 4.105186] intel-ipu6 0000:00:05.0: Sending AUTHENTICATE_RUN to CSE | |||
[ 4.172865] intel-ipu6 0000:00:05.0: CSE authenticate_run done | |||
[ 4.172876] intel-ipu6 0000:00:05.0: IPU6-v3[465d] hardware version 5 | |||
</pre> | |||
** However, there seems to be an issue at the HAL layer. qcam (included in libcamera) does not find any sensor. I installed libcamera and the HAL IPU6 package via this overlay: https://github.com/nagmat84/mhnnet-ebuild-repository. | |||
** Even if I could get qcam to work (which would mean libcamera is working), getting other applications / user space stuff to work would probably be not trivial. Pipewire / Gstreamer parts must be configured as well. | |||
= Privacy Shutter = | |||
* Sometimes a hardware switch will disable the camera. For instance, the Lenovo Yoga 9i Slim has it, on the right side of the laptop. | |||
= Applications = | = Applications = | ||
* In Ekiga, in order to use v4l2 the pwlib / ptlib (ptlib is for recent Ekiga versions) dependency must be built with the v4l2 USE flag on. | * In Ekiga, in order to use v4l2 the pwlib / ptlib (ptlib is for recent Ekiga versions) dependency must be built with the v4l2 USE flag on. | ||
* I did not manage to get full screen working in Ekiga 3.2.5 yet. The key is F11 but the option is greyed out in the menu. | |||
Latest revision as of 13:20, 17 June 2025
Drivers
- Ideally, your webcam will be supported by the UVC (USB Video Class) drivers that are included in recent kernels. You just need to build the correct drivers as mentioned here.
- To test your webcam, you can use the luvcview application (in Portage), although you may have to specify a different format if you get an error:
luvcview -f yuv
- To use the microphone of your webcam, you will need USB Audio support (Device Drivers -> Sound card support -> USB Sound Devices -> USB Audio/MIDI driver). Then it should work out of the box with PulseAudio.
IPU6 / Intel integrated webcams
- Those webcams seem to use directly the Intel processor (Alder Lake for instance). Thus they don't appear in lsusb or lspci. If the webcam works on Windows, it's best to use the Device Manager to get details about the hardware device.
- Such a webcam is present in my Lenovo Yoga 9i Slim laptop model. I could not get it to work yet.
- Situation as of June 2025:
- The kernel part seems OK, necessary support has been upstreamed (on kernel 6.15.2, and linux-firmware package). You need to build the VIDEO_INTEL_IPU6 module. The following dmesg logs are present on my laptop:
[ 4.090799] intel-ipu6 0000:00:05.0: Found supported sensor OVTI02C1:00 [ 4.090916] intel-ipu6 0000:00:05.0: Connected 1 cameras [ 4.097055] intel-ipu6 0000:00:05.0: Sending BOOT_LOAD to CSE [ 4.105186] intel-ipu6 0000:00:05.0: Sending AUTHENTICATE_RUN to CSE [ 4.172865] intel-ipu6 0000:00:05.0: CSE authenticate_run done [ 4.172876] intel-ipu6 0000:00:05.0: IPU6-v3[465d] hardware version 5
- However, there seems to be an issue at the HAL layer. qcam (included in libcamera) does not find any sensor. I installed libcamera and the HAL IPU6 package via this overlay: https://github.com/nagmat84/mhnnet-ebuild-repository.
- Even if I could get qcam to work (which would mean libcamera is working), getting other applications / user space stuff to work would probably be not trivial. Pipewire / Gstreamer parts must be configured as well.
Privacy Shutter
- Sometimes a hardware switch will disable the camera. For instance, the Lenovo Yoga 9i Slim has it, on the right side of the laptop.
Applications
- In Ekiga, in order to use v4l2 the pwlib / ptlib (ptlib is for recent Ekiga versions) dependency must be built with the v4l2 USE flag on.
- I did not manage to get full screen working in Ekiga 3.2.5 yet. The key is F11 but the option is greyed out in the menu.