[opensuse-factory] Adding DisplayLink driver to openSUSE
Hi, the USB Dockingstation Manufacturer DisplayLink has provided a driver for Linux. Officially they only support Ubuntu [1], but provide instructions on how to modify the package for other Distros [2]. 1: http://www.displaylink.com/downloads/ubuntu.php 2: http://support.displaylink.com/knowledgebase/articles/679060 For openSUSE 13.2 I had to modify the install script a little bit. The below patch should be enough to install it on openSUSE. At least it compiles the libraries and the opensource part of the driver. I've got it to work with the below mods. Although the fonts were screwed up some when the driver was active. --- displaylink-driver-1.0.68/displaylink-installer.sh 2015-07-17 14:56:32.000000000 +0200 +++ displaylink-driver-1.0.68-opensuse/displaylink-installer.sh 2015-08-13 20:40:41.165586639 +0200 @@ -242,7 +242,7 @@ [ $(echo $KVER | cut -d. -f2) -lt 14 ] && missing_requirement "Kernel version $KVER is too old. At least 3.14 is required" # Linux headers - [ ! -f "/lib/modules/$KVER/build/Kbuild" ] && missing_requirement "Linux headers for running kernel, $KVER" + [ ! -e "/lib/modules/$KVER/build" ] && missing_requirement "Linux headers for running kernel, $KVER" } usage() @@ -264,6 +264,8 @@ SYSTEMINITDAEMON=upstart elif [ -z "${R##Ubuntu 15.04*}" ]; then SYSTEMINITDAEMON=systemd + elif [[ $R = "openSUSE 13.2"* ]]; then + SYSTEMINITDAEMON=systemd fi else echo "WARNING: Unknown distribution, assuming defaults - this may fail." >&2 -- Kind regards Michael Melcher Sent from my phone -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-factory+owner@opensuse.org
participants (1)
-
Michael Melcher