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.27
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 .. 8 9 10 11 12 13 14 15 16 Next › Last »

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

kaipee2 commented on 2020-05-11 12:29 (UTC)

@bnavigator can you explain what you did to install the latest release?

bnavigator commented on 2020-05-09 21:52 (UTC)

Works for me:

Linux 5.6.11-arch1-1 x86_64
Name                     : evdi-git
Version                  : 1.6.4.r71.gdc595db-1
Name                     : displaylink
Version                  : 5.3.1.34-1

(I patched the pkgver() function to use the latest tag 1.6.4 instead of the last reachable tag 1.6.2, otherwise it is the same package)

kaipee2 commented on 2020-05-04 10:48 (UTC) (edited on 2020-05-04 10:49 (UTC) by kaipee2)

Current version successfully builds but does not work with latest kernel 5.6

uname -srm && pacman -Qi evdi-git | grep -E 'Version|Name' | grep -Ev 'Description' && pacman -Qi displaylink | grep -E 'Version|Name' && sudo lsmod | grep evdi

Linux 5.6.8-arch1-1 x86_64
Name            : evdi-git
Version         : 1.6.2.r71.gdc595db-1
Name            : displaylink
Version         : 5.2.14-1
evdi                   61440  0
drm_kms_helper        241664  2 evdi,i915
syscopyarea            16384  2 drm_kms_helper,evdi
sysfillrect            16384  2 drm_kms_helper,evdi
sysimgblt              16384  2 drm_kms_helper,evdi
drm                   565248  9 drm_kms_helper,evdi,i915

alaskanarcher commented on 2020-04-14 22:37 (UTC)

@brody, I'm not the maintainer but I'm not sure that adding linux-headers to makedepends will work for those using non-standard kernel packages.

brody commented on 2020-03-26 13:46 (UTC)

Please add 'linux-headers' to makedepends. Then the package is buildable within a clean chroot environment.

Kind regards

Matze commented on 2020-02-18 10:30 (UTC)

https://github.com/DisplayLink/evdi/commit/30fce259c84c1c9aa9e19f2fc60da86a87d7a33c#diff-ac1d3d13a2d744cb069a623a4550cc26

This broke the PKGBUILD script triggering the error check in line 74. Add "rm libevdi.so" below line 69 as quickfix.

yaron commented on 2020-02-17 10:18 (UTC) (edited on 2020-02-17 10:18 (UTC) by yaron)

Looks like the following commit should resolve the 5.5 issue:

https://github.com/DisplayLink/evdi/commit/4722ad8cb55da60e3e1c000284fc0ecaffa17065

hq1 commented on 2020-02-13 10:39 (UTC)

I was able to compile it by removing all the patches from PKGBUILD and using the main git tree.

5.5.3-arch1-1

thx1138 commented on 2020-02-12 19:52 (UTC)

To summarize, how to build on the 5.5 kernel, but not on the 5.4 kernel or earlier:

1) mkdir and cd to a custom build directory.

2) Manually download the PKGBUILD and the two patch files, and rename the PKKBUILD:
https://aur.archlinux.org/cgit/aur.git/plain/PKGBUILD?h=evdi-git
https://crazy.dev.frugalware.org/evdi-all-in-one-fixes.patch
https://gitweb.frugalware.org/frugalware-current/raw/master/source/lib-extra/evdi/kernel-5.5-test.patch

3) Edit the evdi-all-in-one-fixes.patch and delete the whole first diff, for travis.yml.

4) Edit the PKGBUILD -

A) comment-out the following lines, as these files do not exist:
install=${pkgname}.install and
changelog="${pkgname}.Changelog"

B) Add the line, under "source=(":
'https://gitweb.frugalware.org/frugalware-current/raw/master/source/lib-extra/evdi/kernel-5.5-test.patch')

C) Delete the trailing right-parenthesis after the line "#'relro.patch'". The parser fails with the intervening comment, and no, that is not a trailing forward-slash, as was mistakenly stated in an earlier comment.

D) Modify the Integrity checks for the modified source line:
md5sums=('SKIP'
'SKIP'
'SKIP')
sha256sums=('SKIP'
'SKIP'
'SKIP')

5) Finally, try building with:
makepkg -Csi