Created
August 2, 2017 04:42
-
-
Save kurtis318/97a728724e19ab09c2995610caef8515 to your computer and use it in GitHub Desktop.
DisplayLink on F26
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--- displaylink-driver-1.2.65/displaylink-installer.sh 2016-10-05 20:23:53.000000000 +1100 | |
+++ /root/displaylink-installer.sh 2016-11-03 11:21:27.611314421 +1100 | |
@@ -252,8 +252,9 @@ | |
fi | |
is_64_bit && ARCH="x64" || ARCH="x86" | |
- local UBULONGREL=`lsb_release -r` | |
- [[ $UBULONGREL =~ "14.04" ]] && UBUREL="ubuntu-1404" || UBUREL="ubuntu-1604" | |
+ #local UBULONGREL=`lsb_release -r` | |
+ #[[ $UBULONGREL =~ "14.04" ]] && UBUREL="ubuntu-1404" || UBUREL="ubuntu-1604" | |
+ UBUREL="ubuntu-1404" | |
local DLM="$ARCH-$UBUREL/DisplayLinkManager" | |
echo "Installing $DLM" | |
[ -x $DLM ] && mv -f $DLM $COREDIR | |
@@ -421,7 +422,7 @@ | |
echo "$PRODUCT $VERSION install script called: $*" | |
[ -z "$SYSTEMINITDAEMON" ] && detect_init_daemon || echo "Trying to use the forced init system: $SYSTEMINITDAEMON" | |
-detect_distro | |
+#detect_distro | |
check_requirements | |
while [ -n "$1" ]; do |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
I have two iClever USB 3.0 docking stations for my ThinkPad 541 that my employer has provided me. I like to drive 2x wide screen displays at the same time with the lid closed. I am able to get the DisplayLink software to install via udev (looks like a hard 2 minute wait during boot, before log in page of display manager). Here is the web site that was very helpful. | |
http://mattwilmott.com/2016/11/03/how-to-install-the-displaylink-driver-fedora-2425/comment-page-1/ | |
Here is a copy of Matt's instructions: | |
# Run the following as root, your installing kernel modules etc | |
sudo su - | |
# Make sure you have kernel-devel | |
dnf install kernel-devel | |
# Disable SELinux till someone creates the relevant policy | |
setenforce 0 | |
sed s/SELINUX=.*/SELINUX=disabled/ /etc/sysconfig/selinux | |
# Download the latest driver for Ubuntu | |
wget http://www.displaylink.com/downloads/file?id=708 -O 'DisplayLink USB Graphics Software for Ubuntu 1.2.1.zip' | |
# Unzip the driver | |
unzip 'DisplayLink USB Graphics Software for Ubuntu 1.2.1.zip' | |
# Make the .run script executable | |
chmod +x displaylink-driver-1.2.65.run | |
# Run the script with the noexec flag to prevent it from actually installing the driver | |
./displaylink-driver-1.2.65.run --noexec --keep | |
# Enter the directory | |
cd displaylink-driver-1.2.65 | |
# Patch the displaylink-installer.sh with the patch from this gist | |
# It modifies the script to work with Fedora (Pretty naively...) | |
wget https://gist.githubusercontent.com/mattwilmott/d8893a24291f74975b6f2b48fa39fe24/raw/0cec3bbb2f1f21f806588d3cad57fbbdc5127c0a/displaylink-installer.sh.patch -O displaylink-installer.sh.patch | |
patch displaylink-installer.sh displaylink-installer.sh.patch | |
# Confirm the script is executable | |
chmod +x displaylink-installer.sh | |
# Install the driver | |
./displaylink-installer.sh install | |
# It should install without issue if it doesnt unfortunately your on your own. ;( | |
# Try rebooting and see if the screen works | |
# The displaylink service should now be active. | |
systemctl displaylink status | |
# If you ever need to remove it | |
# Backup the installer dir as it removes it AND your changes | |
tar -cjvf ../displaylink-installer.tgz ./ | |
./displaylink-installer.sh uninstall | |
Here are some updates: | |
1. The download page has changed. I wen to this URL http://www.displaylink.com/downloads and followed the screens. Remember this | |
you need to download the zip file (I think that is all that is available). | |
2. The zip file name has changed. | |
3. The patch file from Matt's site is stil there and seems to work for now. I attached the patch file in case Matt's file goes away. | |
4. Rest of the instructions should work. | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment