Package Details: intel-ipu6-dkms-git r78.f83b0747b-1

Git Clone URL: https://aur.archlinux.org/intel-ipu6-dkms-git.git (read-only, click to copy)
Package Base: intel-ipu6-dkms-git
Description: Intel IPU6 camera drivers (DKMS)
Upstream URL: https://github.com/intel/ipu6-drivers
Licenses: unknown
Conflicts: intel-ivsc-driver-dkms-git
Provides: intel-ivsc-driver-dkms-git
Submitter: thesola10
Maintainer: thesola10
Last Packager: thesola10
Votes: 4
Popularity: 0.004352
First Submitted: 2022-08-20 20:52 (UTC)
Last Updated: 2023-02-02 13:32 (UTC)

Pinned Comments

thesola10 commented on 2024-03-29 10:34 (UTC)

i'm open to accept co-maintainers for the set of IPU6-related packages, don't hesitate to reach out by email

(read: IPU6 is so horrendous i've basically given up on it)

Latest Comments

« First ‹ Previous 1 2

brli commented on 2022-10-15 15:44 (UTC)

according to upstream readme, you need to import headers from another repo.

diff --git a/PKGBUILD b/PKGBUILD
index bcf716c..b0a3fc6 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -2,7 +2,7 @@

 pkgname=intel-ipu6-dkms-git
 _pkgname=ipu6-drivers
-pkgver=r55.095a2440a
+pkgver=r60.4ef83f208
 pkgrel=1
 pkgdesc="Intel IPU6 camera drivers (DKMS)"
 arch=('any')
@@ -10,8 +10,10 @@ url="https://github.com/intel/ipu6-drivers"
 license=('unknown')
 depends=('dkms')
 makedepends=('git')
-source=("git+${url}.git")
-sha256sums=('SKIP')
+source=("git+${url}.git"
+        'git+https://github.com/intel/ivsc-driver.git')
+sha256sums=('SKIP'
+            'SKIP')

 pkgver() {
     cd $_pkgname
@@ -21,6 +23,7 @@ pkgver() {
 prepare() {
     cd "$srcdir/$_pkgname"
     sed -i "s/^PACKAGE_VERSION=\".*\"$/PACKAGE_VERSION=\"$pkgver\"/g" ./dkms.conf
+    cp -r ../ivsc-driver/backport-include ../ivsc-driver/drivers ../ivsc-driver/include ./
 }

 package() {

HmpfCBR commented on 2022-09-20 07:58 (UTC)

The message from @sarumont says kernel headers are missing (e.g. linux-headers package).

For me (on 5.19.9.arch1-1) the kprobe patch fails to apply to drivers/media/i2c/ov01a10.c and drivers/media/i2c/ov02c10.c. Maybe due to de02d1954301d4d16f2bf4c18f939ae6e27f213b

makepkg
==> Making package: intel-ipu6-dkms-git r45.d50e0f5-1 (Tue 20 Sep 2022 08:57:36 AM CEST)
[…]
==> Making package: intel-ipu6-dkms-git r45.d50e0f5-1 (Mon Sep 19 23:09:02 2022)
==> Checking runtime dependencies...
==> Checking buildtime dependencies...
==> Retrieving sources...
  -> Cloning ipu6-drivers git repo...
  -> Found 0000-Add-ivsc-header.patch
  -> Found 0001-Add-kprobe-function-loader.patch
==> Validating source files with sha256sums...
==> Extracting sources...
  -> Creating working copy of ipu6-drivers git repo...
==> Starting prepare()...
patching file include/linux/mfd/ljca.h
patching file include/linux/vsc.h
patching file drivers/media/i2c/deps.h
patching file drivers/media/i2c/ov01a10.c
Hunk #1 succeeded at 15 with fuzz 2 (offset 2 lines).
Hunk #2 succeeded at 568 (offset 3 lines).
Hunk #3 FAILED at 607.
Hunk #4 succeeded at 890 (offset 11 lines).
Hunk #5 FAILED at 927.
Hunk #6 FAILED at 946.
3 out of 6 hunks FAILED -- saving rejects to file drivers/media/i2c/ov01a10.c.rej
patching file drivers/media/i2c/ov02c10.c
Hunk #1 succeeded at 15 with fuzz 2 (offset 2 lines).
Hunk #2 FAILED at 662.
Hunk #3 FAILED at 706.
Hunk #4 succeeded at 1303 (offset 325 lines).
Hunk #5 FAILED at 1026.
Hunk #6 FAILED at 1045.
4 out of 6 hunks FAILED -- saving rejects to file drivers/media/i2c/ov02c10.c.rej

thesola10 commented on 2022-08-25 13:58 (UTC)

@sarumont those error messages are pretty strange. Are you able to compile any other DKMS modules? What is the contents of /usr/lib/modules on your system?

sarumont commented on 2022-08-25 13:55 (UTC)

The DKMS module doesn't build for me:

warning: intel-ipu6-dkms-git-r46.a0351ce29-1 is up to date -- reinstalling
resolving dependencies...
looking for conflicting packages...

Packages (1) intel-ipu6-dkms-git-r46.a0351ce29-1

Total Installed Size:  1.03 MiB
Net Upgrade Size:      0.00 MiB

:: Proceed with installation? [Y/n] 
(1/1) checking keys in keyring                                                                                                 [############################################################################] 100%
(1/1) checking package integrity                                                                                               [############################################################################] 100%
(1/1) loading package files                                                                                                    [############################################################################] 100%
(1/1) checking for file conflicts                                                                                              [############################################################################] 100%
(1/1) checking available disk space                                                                                            [############################################################################] 100%
:: Running pre-transaction hooks...
(1/1) Remove upgraded DKMS modules
:: Processing package changes...
(1/1) reinstalling intel-ipu6-dkms-git                                                                                         [############################################################################] 100%
:: Running post-transaction hooks...
(1/2) Arming ConditionNeedsUpdate...
(2/2) Install DKMS modules
==> ERROR: Missing etc kernel headers for module ipu6-drivers/r46.a0351ce29.
==> ERROR: Missing sys kernel headers for module ipu6-drivers/r46.a0351ce29.
==> ERROR: Missing dev kernel headers for module ipu6-drivers/r46.a0351ce29.
==> ERROR: Missing smb kernel headers for module ipu6-drivers/r46.a0351ce29.
==> ERROR: Missing usr kernel headers for module ipu6-drivers/r46.a0351ce29.
==> ERROR: Missing lib64 kernel headers for module ipu6-drivers/r46.a0351ce29.
==> ERROR: Missing media kernel headers for module ipu6-drivers/r46.a0351ce29.
==> ERROR: Missing opt kernel headers for module ipu6-drivers/r46.a0351ce29.
==> ERROR: Missing var kernel headers for module ipu6-drivers/r46.a0351ce29.
==> ERROR: Missing sbin kernel headers for module ipu6-drivers/r46.a0351ce29.
==> ERROR: Missing srv kernel headers for module ipu6-drivers/r46.a0351ce29.
==> ERROR: Missing run kernel headers for module ipu6-drivers/r46.a0351ce29.
==> ERROR: Missing root kernel headers for module ipu6-drivers/r46.a0351ce29.
==> ERROR: Missing lib kernel headers for module ipu6-drivers/r46.a0351ce29.
==> ERROR: Missing mnt kernel headers for module ipu6-drivers/r46.a0351ce29.
==> ERROR: Missing boot kernel headers for module ipu6-drivers/r46.a0351ce29.
==> ERROR: Missing home kernel headers for module ipu6-drivers/r46.a0351ce29.
==> ERROR: Missing proc kernel headers for module ipu6-drivers/r46.a0351ce29.
==> ERROR: Missing bin kernel headers for module ipu6-drivers/r46.a0351ce29.
==> ERROR: Missing tmp kernel headers for module ipu6-drivers/r46.a0351ce29.