You are not logged in.
I adjust the PKGBUILD of evdi to version 1.11.0 but seems not to work with latest Kernel 5.18 of ArchLinux.
Someone gets working?
Last edited by Morta (2022-05-31 20:09:57)
Offline
Seems to not work is not an error message. Post your entire makepkg log/console output. https://bbs.archlinux.org/viewtopic.php?id=57855
Last edited by V1del (2022-05-31 12:57:20)
Offline
There is no error log it’s installing proper the dkms module on kernel 5.18 but not recognising the external display which is working with evdi 1.10.0 and the lts kernel
Offline
Try the usual current culprit and boot with the ibt=off kernel parameter.
Offline
You are sure the there are no build errors with linux 5.18? https://github.com/DisplayLink/evdi/issues/361
Offline
You are sure the there are no build errors with linux 5.18? https://github.com/DisplayLink/evdi/issues/361
DKMS make.log for evdi-1.10.1 for kernel 5.18.1-arch1-1 (x86_64)
Tue May 31 09:16:13 AM CEST 2022
I build with version 1.11 which is for kernel 5.18rc4
Offline
Try the usual current culprit and boot with the ibt=off kernel parameter.
Ok I will do it later.
Thanks for input.
Offline
# Maintainer: mwawrzyniak <arch at cmstactical dot net>
# Contributor: PlusMinus
pkgname=evdi
pkgver=1.11.0
pkgrel=2
pkgdesc="A Linux® kernel module that enables management of multiple screens."
arch=('i686' 'x86_64')
url="https://github.com/DisplayLink/evdi"
license=('GPL')
depends=(glibc dkms libdrm)
#changelog=$pkgname.Changelog
source=(https://github.com/DisplayLink/evdi/archive/refs/tags/v$pkgver.zip)
sha256sums=('SKIP')
prepare() {
cd "$pkgname-$pkgver"
local src
for src in "${source[@]}"; do
src="${src%%::*}"
src="${src##*/}"
[[ $src = *.patch ]] || continue
patch -Np1 -i "../$src"
done
}
build() {
# We only need to build the library in this step, dkms will build the module
cd "$pkgname-$pkgver/library"
make
}
package() {
cd "$pkgname-$pkgver"
install -Dm0755 library/lib$pkgname.so "$pkgdir/usr/lib/lib$pkgname.so"
SRCDIR="$pkgdir/usr/src/$pkgname-$pkgver" # This one is needed for dkms
install -d "$SRCDIR"
install -Dm0755 module/* "$SRCDIR"
}
And the Displaylink pkg is also outdated
# Maintainer: rHermes <teodor_spaeren@riseup.net>
# Maintainer: bnavigator <code@bnavigator.de>
# Contributor: PlusMinus
# Contributor: rhabbachi
pkgname=displaylink
pkgver=5.6
_releasedate=2022-05
_pkgfullver=5.6
pkgrel=1
pkgdesc="Linux driver for DL-6xxx, DL-5xxx, DL-41xx and DL-3x00"
arch=('i686' 'x86_64' 'arm' 'armv6h' 'armv7h' 'aarch64')
url="https://www.synaptics.com/products/displaylink-graphics"
license=('custom' 'GPL2' 'LGPL2.1')
depends=('evdi>=1.10.1'
'libusb>=1.0.0')
makedepends=('grep' 'gawk' 'wget')
install=
#changelog="displaylink-release-notes-${pkgver}.txt"
source=(99-displaylink.rules::https://aur.archlinux.org/cgit/aur.git/plain/99-displaylink.rules?h=displaylink
displaylink-driver-${pkgver}.zip::https://www.synaptics.com/sites/default/files/exe_files/${_releasedate}/DisplayLink%20USB%20Graphics%20Software%20for%20Ubuntu${pkgver}-EXE.zip
displaylink-release-notes-${pkgver}.txt::https://www.synaptics.com/sites/default/files/release_notes/${_releasedate}/DisplayLink%20USB%20Graphics%20Software%20for%20Ubuntu${pkgver}-Release%20Notes.txt
DISPLAYLINK-EULA::https://aur.archlinux.org/cgit/aur.git/plain/DISPLAYLINK-EULA?h=displaylink udev.sh::https://aur.archlinux.org/cgit/aur.git/plain/udev.sh?h=displaylink
displaylink.service::https://aur.archlinux.org/cgit/aur.git/plain/displaylink.service?h=displaylink
displaylink-sleep.sh::https://aur.archlinux.org/cgit/aur.git/plain/displaylink-sleep.sh?h=displaylink)
sha256sums=('SKIP'
'SKIP'
'SKIP'
'SKIP'
'SKIP'
'SKIP'
'SKIP')
# Update with > updpkgsums
package() {
echo "Adding udev rule for DisplayLink DL-3xxx/5xxx devices"
install -D -m644 99-displaylink.rules "$pkgdir/etc/udev/rules.d/99-displaylink.rules"
install -D -m755 udev.sh "$pkgdir/opt/displaylink/udev.sh"
echo "Installing DLM systemd service"
install -D -m644 displaylink.service "$pkgdir/usr/lib/systemd/system/displaylink.service"
install -D -m755 displaylink-sleep.sh "$pkgdir/usr/lib/systemd/system-sleep/displaylink.sh"
COREDIR="$pkgdir/usr/lib/displaylink"
install -d -m755 $COREDIR
install -d -m755 "$pkgdir/var/log/displaylink"
echo "Extracting DisplayLink Driver Package"
pushd $srcdir
chmod +x displaylink-driver-5.6.0-59.176.run
./displaylink-driver-5.6.0-59.176.run \
--noexec \
--target $pkgname-$pkgver \
--nox11 \
--noprogress
test -d $pkgname-$pkgver || (echo "Extracting the driver with the .run installer failed"; exit 1)
pushd $pkgname-$pkgver
case $CARCH in
i686)
ARCH="x86-ubuntu-1604" ;;
x86_64)
ARCH="x64-ubuntu-1604" ;;
arm|armv6h|armv7h|aarch64)
ARCH="arm-linux-gnueabihf" ;;
esac
echo "Installing DisplayLink Manager $ARCH"
install -D -m755 $ARCH/DisplayLinkManager $COREDIR/DisplayLinkManager
echo "Installing firmware packages"
install -D -m644 *.spkg $COREDIR
echo "Installing license file"
install -D -m644 LICENSE "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
popd
popd
install -D -m644 DISPLAYLINK-EULA "${pkgdir}/usr/share/licenses/${pkgname}/DISPLAYLINK-EULA"
}
Can someone rewiev my PKGBUILD code?
Last edited by Morta (2022-05-31 19:58:56)
Offline
Works now!
Somebody else had a USB issue that the Keyboard not works at first initialize?
Offline
I can confirm that the newest evdi version (1.11.0) works with the updated displaylink. Had some problems after updating the kernel
Offline