Package Details: evdi-git 1.14.7.r3.g59a3a86-1

Git Clone URL: https://aur.archlinux.org/evdi-git.git (read-only, click to copy)
Package Base: evdi-git
Description: kernel module that enables management of multiple screens, primarily for DisplayLink USB VGA DVI HDMI DisplayPort video
Upstream URL: https://github.com/DisplayLink/evdi
Licenses: GPL
Conflicts: evdi
Provides: evdi
Submitter: None
Maintainer: severach
Last Packager: severach
Votes: 29
Popularity: 0.38
First Submitted: 2017-08-10 17:05 (UTC)
Last Updated: 2024-10-19 17:39 (UTC)

Dependencies (3)

Required by (3)

Sources (1)

Latest Comments

« First ‹ Previous 1 .. 7 8 9 10 11 12 13 14 15 16 Next › Last »

bnavigator commented on 2020-10-15 14:51 (UTC)

There is now a new evdi-1.7 package with the patch for kernel 5.9 applied

sickcodes commented on 2020-10-15 13:26 (UTC)

Kernel 5.9 fix authored by @abucodonosor https://github.com/abucodonosor

sudo pacman -R evdi-git #used -Rns
yay --getpkgbuild evdi-git
cd evdi-git
sed -i -e s/DisplayLink/sickcodes/g PKGBUILD
makepkg -si
sudo modprobe evdi
sudo systemctl disable displaylink.service
# removing 99-displaylink.rules is necessary for me
# sudo rm sudo /etc/udev/rules.d/99-displaylink.rules
reboot
sudo systemctl start displaylink

His fix works for 1.7.0 too.

https://github.com/DisplayLink/evdi/pull/228

https://github.com/DisplayLink/evdi/pull/227

bnavigator commented on 2020-09-20 16:07 (UTC)

@jamincollins your observation regarding the branches is correct. Normally a -git package provides the newest commit from an active branch.

Note however that current displaylink will not work with evdi>=1.7.0, even the released evdi 1.8.0. Users currently (mis)use the evdi-git package to stay on 1.7.0, while they probably should use the evdi package in version 1.7.0

jamincollins commented on 2020-09-20 01:09 (UTC)

Upstream does not use master as it's default branch: https://github.com/DisplayLink/evdi/branches

However, the PKGBUILD has master hard coded as the branch to use: https://aur.archlinux.org/cgit/aur.git/tree/PKGBUILD?h=evdi-git#n29

This causes the package to build from a stale branch rather than upstream's default.

bnavigator commented on 2020-05-17 10:17 (UTC)

@miksnare, either install those old kernel headers or remove the kernel from your machine. Make sure you don't have it installed and there is no /usr/lib/modules/5.4.22-1-lts dangling from an old module that did not get removed properly.

micsnare commented on 2020-05-17 09:55 (UTC)

When trying to install the evdi-git package, I receive the following error:

(2/2) Install DKMS modules ==> dkms install evdi/1.7.0 -k 5.6.13-arch1-1 ==> dkms install evdi/1.7.0 -k 5.4.41-1-lts ==> Unable to install module evdi/1.7.0 for kernel 5.4.22-1-lts: Missing kernel headers.

bnavigator commented on 2020-05-13 20:54 (UTC)

You are correct. The recent addition of the tag in upstream's git repository causes that. To have monotonic increasing version numbers, when there is a new commit, the pkgver variable and the pgkver() function should incorporate a temporary infix between 1.7.0 and r.

smokephil commented on 2020-05-13 17:47 (UTC)

It looks like the version in the PKGBUILD is wrong. When installing, version 1.7.0.r0.gdc595db-1 is installed, not 1.7.0.r71.gdc595db-1

bnavigator commented on 2020-05-11 14:42 (UTC) (edited on 2020-05-11 17:29 (UTC) by bnavigator)

EDIT: upstream has already LIBVER := 1.7.0 in library/Makefile. Let's use that file for pkgver()

[ben@voyagerS9:~/src/pkgbuild]% git clone https://aur.archlinux.org/evdi-git.git
Cloning into 'evdi-git'...
remote: Enumerating objects: 52, done.
remote: Counting objects: 100% (52/52), done.
remote: Compressing objects: 100% (52/52), done.
remote: Total 52 (delta 0), reused 52 (delta 0), pack-reused 0
Unpacking objects: 100% (52/52), 19.49 KiB | 1.03 MiB/s, done.
[ben@voyagerS9:~/src/pkgbuild]% cd evdi-git                                                                      
[ben@voyagerS9:~/src/pkgbuild/evdi-git]% patch -p1 <<'EOF'
diff --git a/PKGBUILD b/PKGBUILD
index 0314632..2558acb 100644   
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -5,7 +5,7 @@

 set -u
 pkgname='evdi-git'
-pkgver=1.6.2.r29.gb5c5791
+pkgver=1.7.0.r71.gdc595db
 _pkgver="${pkgver%%.r*}" 
 pkgrel=1
 pkgdesc='kernel module that enables management of multiple screens, primarily for DisplayLink USB VGA DVI HDMI DisplayPort video'
@@ -31,7 +31,8 @@ sha256sums=('SKIP')
 pkgver() {
   set -u  
   cd "${_srcdir}"
-  git describe --long --tags | sed -e 's/^v//' -e 's/\([^-]*-g\)/r\1/' -e 's/-/./g'
+  libver=$(awk '/LIBVER :=/ {print $3}' < library/Makefile)
+  git describe --long --tags | sed -e 's/^v//' -e "s/1\.6\.2/${libver}/" -e 's/\([^-]*-g\)/r\1/' -e 's/-/./g'
   set +u
 }       

--
2.26.2

EOF
patching file PKGBUILD
[ben@voyagerS9:~/src/pkgbuild/evdi-git]% cd ..
[ben@voyagerS9:~/src/pkgbuild]% git clone https://aur.archlinux.org/displaylink.git
Cloning into 'displaylink'...
remote: Enumerating objects: 149, done.
remote: Counting objects: 100% (149/149), done.
remote: Compressing objects: 100% (91/91), done.
remote: Total 149 (delta 57), reused 148 (delta 57), pack-reused 0
Receiving objects: 100% (149/149), 49.07 KiB | 3.27 MiB/s, done.
Resolving deltas: 100% (57/57), done.
[ben@voyagerS9:~/src/pkgbuild]% cd displaylink
[ben@voyagerS9:~/src/pkgbuild/displaylink]% sed -i 's/pkgver=5.2.14/pkgver=5.3.1.34/' PKGBUILD
[ben@voyagerS9:~/src/pkgbuild/displaylink]% sed -i 's/=1369/=1576/' PKGBUILD
[ben@voyagerS9:~/src/pkgbuild/displaylink]% sed -i 's/md5sums=/sha256sums=/' PKGBUILD
[ben@voyagerS9:~/src/pkgbuild/displaylink]% updpkgsums
==> Retrieving sources...
  -> Downloading displaylink-driver-5.3.1.34.zip...
--2020-05-11 16:31:04--  https://www.displaylink.com/downloads/file?id=1576
Loaded CA certificate '/etc/ssl/certs/ca-certificates.crt'
Resolving www.displaylink.com (www.displaylink.com)... 54.77.143.153, 52.212.12.98, 34.252.102.94, ...
Connecting to www.displaylink.com (www.displaylink.com)|54.77.143.153|:443... connected.
HTTP request sent, awaiting response... 303 See Other
Location: http://assets.displaylink.com/live/downloads/software/f1576_DisplayLink%20USB%20Graphics%20Software%20for%20Ubuntu%205.3.1.zip?AWSAccessKeyId=AKIAJHGQWPVXWHEDJUEA&Expires=1589208064&Signature=qzDEYi29IMZP%2Bw2CKa2vAOM1foY%3D [following]
--2020-05-11 16:31:04--  http://assets.displaylink.com/live/downloads/software/f1576_DisplayLink%20USB%20Graphics%20Software%20for%20Ubuntu%205.3.1.zip?AWSAccessKeyId=AKIAJHGQWPVXWHEDJUEA&Expires=1589208064&Signature=qzDEYi29IMZP%2Bw2CKa2vAOM1foY%3D
Resolving assets.displaylink.com (assets.displaylink.com)... 52.218.56.107
Connecting to assets.displaylink.com (assets.displaylink.com)|52.218.56.107|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 13889958 (13M) [application/octet-stream]
Saving to: 'displaylink-driver-5.3.1.34.zip.part'

displaylink-driver-5.3.1.34.zip.part      100%[====================================================================================>]  13.25M  2.70MB/s    in 5.0s    

2020-05-11 16:31:09 (2.66 MB/s) - 'displaylink-driver-5.3.1.34.zip.part' saved [13889958/13889958]

  -> Found udev.sh
  -> Found 99-displaylink.rules
  -> Found displaylink.service
  -> Found displaylink-sleep.sh
==> Generating checksums for source files...
[ben@voyagerS9:~/src/pkgbuild/displaylink]% git diff
diff --git a/PKGBUILD b/PKGBUILD
index 7b551dd..4333f59 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -3,7 +3,7 @@
 # Contributor: rhabbachi

 pkgname=displaylink
-pkgver=5.2.14
+pkgver=5.3.1.34
 pkgrel=1
 pkgdesc="Linux driver for DL-6xxx, DL-5xxx, DL-41xx and DL-3x00"
 arch=('i686' 'x86_64')
@@ -13,18 +13,18 @@ depends=('evdi>=1.5.0' 'libusb>=1.0.0')
 makedepends=('grep' 'gawk' 'wget')
 install=
 changelog="release-note.txt"
-source=(displaylink-driver-$pkgver.zip::https://www.displaylink.com/downloads/file?id=1369
+source=(displaylink-driver-$pkgver.zip::https://www.displaylink.com/downloads/file?id=1576
        udev.sh
         99-displaylink.rules 
        displaylink.service 
         displaylink-sleep.sh)
-md5sums=('a96ae6fc0d244ec4f9a8e9482f6c1535'
-         'd5de775e41af06edbd8073adc490139d'
-         '20495d81c7d2540910ef86dc437b7fac'
-         'c141a15e973481c7d961f8e135627ca4'
-         '7cbd9ab2ac79ba66e8297689c6e5483e')
+sha256sums=('1e1231aa141c2a00f7e639a1835bdb915013f9ce84506ff1382e9c759f5c33b0'
+            'dc41ae8a2c287fc50fdda65bad8b0ffd76726f7773c25e1b0c5b7de95cecbdb6'
+            'c08a4726cf4e2f92c7cab00168ae9cc8d69d36a67c570609396a4a674934245a'
+            '342e83abfe2a38d5635ea928345e933d2ad127ebd3f7caca476663d4f583684b'
+            '8be4ab7616e38f91746bdd3e7fafe9004322a8be8e6722389746df9868d576e0')

-DLAGENTS=('https::/usr/bin/wget -O %o --post-data=fileId=1369&accept_submit=Accept %u')
+DLAGENTS=('https::/usr/bin/wget -O %o --post-data=fileId=1576&accept_submit=Accept %u')

 # Update with > updpkgsums

Make both packages with % makepkg and install with # pacman -U <package> as root

If the dkms automatism fails because of previously broken stuff, try to build/install manually

# dkms status
(look for evdi, add if needed and finally install:)
# dkms install evdi/1.7.0