[2024-feb-29] Sad news: Eric Layton aka Nocturnal Slacker aka vtel57 passed away on Feb 26th, shortly after hospitalization. He was one of our Wiki's most prominent admins. He will be missed.

Welcome to the Slackware Documentation Project

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

howtos:hardware:displaylink [2016/04/23 21:07 (UTC)] – Created Article matthew_salazarhowtos:hardware:displaylink [2017/07/28 11:00 (UTC)] (current) – Refreshed the instructions for newer releases. Also changed the layout slightly. alienbob
Line 1: Line 1:
 ====== DisplayLink ====== ====== DisplayLink ======
 ===== DisplayLink 3.0 Devices ===== ===== DisplayLink 3.0 Devices =====
-This HOWTO covers how to configure and install the DisplayLink driver (evdi) for USB 3.0 devices, and has been tested under Slackware 14.1 and -current. For older devices (e.g. USB 2.0), the udl driver should work with minimal configuration needed.+This HOWTO covers how to configure and install the DisplayLink driver (evdi) for USB 3.0 devices, and has been tested under Slackware 14.1 and newer. For older devices (e.g. USB 2.0), the udl driver should work with minimal configuration needed.
  
-As of April 2016, DisplayLink has announced an updated driver coming in the next few months: http://displaylink.org/forum/showthread.php?s=a87582bcbe7a4f32eb298180e9b0d0fc&t=64479+<note tip>Older versions of the DisplayLink driver installed themselves in ''/usr/lib/displaylink'' instead of the path ''/opt/displaylink'' which is used in the instructions below</note>
  
 ==== Preparation ==== ==== Preparation ====
-In order to install the evdi driver, you will need to install ''[[https://slackbuilds.org/repository/14.1/development/dkms/|dkms]]'', which can be grabbed from SlackBuilds.org using your favorite method. To install it manually: +In order to install the //evdi// driver, you will need to install ''[[https://slackbuilds.org/repository/14.2/development/dkms/|dkms]]'', which can be grabbed from SlackBuilds.org using your favorite method. To install it manually: 
- +<code> 
-  # wget https://slackbuilds.org/slackbuilds/14.1/development/dkms.tar.gz +# wget https://slackbuilds.org/slackbuilds/14.2/development/dkms.tar.gz 
-  # tar xvf dkms.tar.gz +# tar xvf dkms.tar.gz 
-  # cd dkms +# cd dkms 
-  # wget http://linux.dell.com/dkms/permalink/dkms-2.2.0.3.tar.gz +# wget https://github.com/dell/dkms/archive/v2.4.0/dkms-2.4.0.tar.gz 
-  # sh dkms.SlackBuild +# sh dkms.SlackBuild 
-  +</code>  
 After installing dkms, reboot your system. After installing dkms, reboot your system.
  
Line 20: Line 20:
 Grab the current DisplayLink USB Graphics Driver for Ubuntu here: http://www.displaylink.com/downloads/ubuntu. Grab the current DisplayLink USB Graphics Driver for Ubuntu here: http://www.displaylink.com/downloads/ubuntu.
  
-After downloading, you'll need to extract the driver and run the installer script (adjust for the current version numb. Make sure to run the script as root: +After downloading, you'll need to extract the driver and run the installer script (adjust for the current version number and make sure to run the script as root)
- +<code> 
-  # unzip DisplayLink_Ubuntu_1.0.335.zip +# unzip DisplayLink USB Graphics Software for Ubuntu 1.3.54.zip 
-  # sh displaylink-driver-1.0.335.run +# sh displaylink-driver-1.3.54.run 
-  Verifying archive integrity... All good. + Verifying archive integrity... All good. 
-  DisplayLink Linux Software 1.0.335 install script called: install + DisplayLink Linux Software 1.3.54 install script called: install 
-  WARNING: Unknown distribution, assuming default - this may fail. + WARNING: Unknown distribution, assuming default - this may fail. 
-  WARNING: Kernel varsion 4.4.7 is not supported. Highest supported version is 3.19. + Installing 
-  Installing + Configuring EVDI DKMS module 
-  Configuring EVDI DKMS module + Registering EVDI kernel module with DKMS 
-  Registering EVDI kernel module with DKMS + Building EVDI kernel module with DKMS 
-  Building EVDI kernel module with DKMS + Installing EVDI kernel module to kernel tree 
-  Installing EVDI kernel module to kernel tree + EVDI kernel module built successfully 
-  EVDI kernel module built successfully + Installing x64/DisplayLinkManager 
-  Installing x64/DisplayLinkManager + Installing libraries 
-  Installing libraries + Installing firmware packages 
-  Installing firmware packages + Installing license file 
-  Installing license file + Adding udev rule for DisplayLink DL-3xxx/5xxx devices 
-  Adding udev rule for DisplayLink DL-3xxx/5xxx devices +</code>  
-  +
 The WARNING messages are simply due to Slackware not being a "supported" distribution, and should not cause issue. Likewise, you might see a warning about the lsb-release command, which can also safely be ignoring. Once complete, the evdi module should be available. Restarting once more is recommended. The WARNING messages are simply due to Slackware not being a "supported" distribution, and should not cause issue. Likewise, you might see a warning about the lsb-release command, which can also safely be ignoring. Once complete, the evdi module should be available. Restarting once more is recommended.
  
Line 47: Line 46:
  
   # modprobe evdi   # modprobe evdi
-  # cd /usr/lib/displaylink+  # cd /opt/displaylink
   # ./DisplayLinkManager &   # ./DisplayLinkManager &
      
-<note important>In testing, DisplayLinkManager did not seem to run properly unless executed by root and from the /usr/lib/displaylink directory. Keep that in mind when manually, or automatically, calling the program.</note>+<note important>In testing, DisplayLinkManager did not seem to run properly unless executed by root and from the /opt/displaylink directory. Keep that in mind when manually, or automatically, calling the program.</note>
  
 Once running, you should be able to identify your new display(s) in xrandr: Once running, you should be able to identify your new display(s) in xrandr:
Line 70: Line 69:
 In order to start DisplayLinkManager, you can add the following to /etc/rc.d/rc.local: In order to start DisplayLinkManager, you can add the following to /etc/rc.d/rc.local:
  
-  cd /usr/lib/displaylink && ./DisplayLinkManager &+  cd /opt/displaylink && ./DisplayLinkManager &
      
 From there, you'll only need to run (or script) the xrandr command to activate monitors on boot. One example is to add them to a script, like this: From there, you'll only need to run (or script) the xrandr command to activate monitors on boot. One example is to add them to a script, like this:
Line 98: Line 97:
 <!-- Please do not modify anything below, except adding new tags.--> <!-- Please do not modify anything below, except adding new tags.-->
 <!-- You must remove the tag-word "template" below before saving your new page --> <!-- You must remove the tag-word "template" below before saving your new page -->
-{{tag>howtos displaylink evdi}}+{{tag>howtos hardware displaylink evdi author_matthew_salazar}}
 howtos:hardware:displaylink ()