Package Details: omnibook-dkms-git 20150227-5

Git Clone URL: https://aur.archlinux.org/omnibook-dkms-git.git (read-only, click to copy)
Package Base: omnibook-dkms-git
Description: Kernel module for HP OmniBook,Pavilion,Toshiba and Compal ACL00 laptops
Upstream URL: http://omnibook.sourceforge.net
Licenses: GPL
Conflicts: omnibook-git
Provides: omnibook-git
Submitter: grimi
Maintainer: None
Last Packager: grimi
Votes: 2
Popularity: 0.000000
First Submitted: 2016-05-15 12:26
Last Updated: 2017-09-09 04:33

Latest Comments

tuxsavvy commented on 2021-01-26 03:53

Hi, thanks for submitting and maintaining this package. It feels like the project upstream is no longer maintaining, the kernel module will not compile. I have hacked up a patched variant which should work with linux>=5.10.10.arch1-1 following a bit of hint from another project. Here are my suggested changes.

PKGBUILD.patch:

--- PKGBUILD.orig       2021-01-26 03:42:17.000000000 +0000
+++ PKGBUILD    2021-01-26 03:41:13.341394836 +0000
@@ -3,7 +3,7 @@
 _pkgname=omnibook-git
 pkgname=omnibook-dkms-git
 pkgver=20150227
-pkgrel=5
+pkgrel=6
 pkgdesc="Kernel module for HP OmniBook,Pavilion,Toshiba and Compal ACL00 laptops"
 arch=('any')
 url="http://omnibook.sourceforge.net"
@@ -13,10 +13,11 @@
 conflicts=('omnibook-git')
 provides=('omnibook-git')
 source=("$_pkgname::git://devoid-pointer.net/omnibook.git"
-        "dkms.conf" "makefile.patch")
+        "dkms.conf" "makefile.patch" "5.10.10.Makefile.patch")
 sha256sums=('SKIP'
             '1a97e1956ad80423eb3c3b09c679bb9449ea79b50866e8f9e9a0317afe38a63d'
-            '224255d7c37ea4a6cd7ddc9164e901edd205d30c62c1f02f5c8bbb8563bcf904')
+            '224255d7c37ea4a6cd7ddc9164e901edd205d30c62c1f02f5c8bbb8563bcf904'
+            '7a2da2a64056205ccc8efa163ebadffe1209a092205e125a9a5b8d18c77ef17e')


 pkgver() {
@@ -30,6 +31,8 @@
    patch -Np0 -i ../makefile.patch
    # fix kernel >= 4.12
    sed -i 's|<asm/uaccess.h>|<linux/uaccess.h>|' init.c
+   # fix kernel >= 5.10.10
+   patch -Np0 -i ../5.10.10.Makefile.patch
 }

 package() {

5.10.10.Makefile.patch:

--- Makefile.orig       2021-01-26 03:31:59.908623108 +0000
+++ Makefile    2021-01-26 03:35:20.642173370 +0000
@@ -65,7 +65,7 @@
 all:            $(MODULE_NAME).ko

 clean:
-               make -C $(KSRC) M=$(PWD) clean
+               make -C $(KSRC) M=$(CURDIR) clean
                $(RM) -r *~ "#*#" .swp
                $(RM) -r debian/omnibook-source *-stamp
                $(RM) -r Module.symvers Modules.symvers
@@ -88,7 +88,7 @@
                $(DEPMOD)

 $(MODULE_NAME).ko:
-               $(MAKE) -C $(KSRC) SUBDIRS=$(PWD) modules
+               $(MAKE) -C $(KSRC) M=$(CURDIR) modules

 kinstall:
                $(RM) -r $(KMODDIR)

.SRCINFO.patch:

--- .SRCINFO.orig       2021-01-26 03:26:03.245914398 +0000
+++ .SRCINFO    2021-01-26 03:43:44.157124699 +0000
@@ -1,7 +1,7 @@
 pkgbase = omnibook-dkms-git
        pkgdesc = Kernel module for HP OmniBook,Pavilion,Toshiba and Compal ACL00 laptops
        pkgver = 20150227
-       pkgrel = 5
+       pkgrel = 6
        url = http://omnibook.sourceforge.net
        arch = any
        license = GPL
@@ -13,9 +13,11 @@
        source = omnibook-git::git://devoid-pointer.net/omnibook.git
        source = dkms.conf
        source = makefile.patch
+       source = 5.10.10.Makefile.patch
        sha256sums = SKIP
        sha256sums = 1a97e1956ad80423eb3c3b09c679bb9449ea79b50866e8f9e9a0317afe38a63d
        sha256sums = 224255d7c37ea4a6cd7ddc9164e901edd205d30c62c1f02f5c8bbb8563bcf904
+       sha256sums = 7a2da2a64056205ccc8efa163ebadffe1209a092205e125a9a5b8d18c77ef17e

 pkgname = omnibook-dkms-git

Please let me know of your thoughts on these changes, thanks.