Created
January 6, 2026 11:58
-
-
Save yellowcap/3adef12f20ccff217e8939e81cbdcff7 to your computer and use it in GitHub Desktop.
Ubuntu 24.04 lenovo laptop camera library install
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/bin/bash | |
| # Install Intel IPU6 camera support for Lenovo X1 Carbon on Ubuntu 24.04 | |
| set -e # Exit on error | |
| echo "=== Installing Intel IPU6 Camera Support ===" | |
| # Add Lenovo OEM repository | |
| echo "Adding Lenovo OEM repository..." | |
| sudo apt install -y ubuntu-oem-keyring | |
| sudo add-apt-repository -y "deb http://lenovo.archive.canonical.com/ noble sutton" | |
| sudo apt update | |
| # Install kernel modules | |
| echo "Installing kernel modules..." | |
| sudo apt install -y linux-modules-ipu6-oem-24.04c linux-modules-usbio-oem-24.04b | |
| # Install v4l2loopback | |
| echo "Installing v4l2loopback..." | |
| sudo apt install -y v4l2loopback-dkms v4l2loopback-utils v4l2-relayd | |
| # Install camera HAL (Meteor Lake/Arrow Lake) | |
| echo "Installing camera HAL..." | |
| sudo apt install -y libcamhal0 libcamhal-common libcamhal-ipu6epmtl libcamhal-ipu6epmtl-common | |
| # Install GStreamer plugin | |
| echo "Installing GStreamer plugin..." | |
| sudo apt install -y gstreamer1.0-icamera libgsticamerainterface-1.0-1 | |
| echo "=== Installation complete! ===" | |
| echo "Please reboot your system: sudo reboot" | |
| echo "After reboot, test with: gst-launch-1.0 v4l2src device=/dev/video0 ! videoconvert ! autovideosink" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment