2

Build DisplayLink docking driver for newer kernel verions

 1 year ago
source link: https://gist.github.com/carestad/cbee30214e6bf6b153054d35d4cb3b18
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.
neoserver,ios ssh client

Build DisplayLink docking driver for newer kernel verions · GitHub

Instantly share code, notes, and snippets.

Build DisplayLink docking driver for newer kernel verions

After having the same issue myself by using a mainline 5.13 kernel in Pop OS, I managed to get the monitors working by having a look at the guide for porting the driver to other distros here: https://support.displaylink.com/knowledgebase/articles/679060-porting-the-displaylink-ubuntu-driver-to-other-lin

A small summary though (only tested in PopOs, but should probably work in most Debian/Ubuntu based distros):

  1. Make sure you uninstall the current EVDI driver. Do this by calling the currently installed DisplayLink installer file with a "uninstall" argument. For example: sudo ./displaylink-driver-5.4.0-55.153.run uninstall
  2. Download the latest Ubuntu driver from here
  3. Extract the content of the installer file. For example: ./displaylink-driver-5.4.1-55.174.run --noexec --keep
  4. A folder will now exist in the same path as your installer file. CD into it like so: (replace x.x.xx with the real numbers) cd ./displaylink-driver-5.4.1-55.174
  5. Replace the evdi.tar.gz file that exists there. I just downloaded a tarball from the latest dev branch from their Github like so: curl -L https://github.com/DisplayLink/evdi/archive/refs/heads/devel.tar.gz -o evdi.tar.gz
  6. Because the structure of the tar.gz file from Github has an extra folder in its root level, you also need to modify the install_evdi() function in the displaylink-installer.sh file (around line 20). Look for this:

if ! tar xf "$TARGZ" -C "$EVDI"; then

and replace with:

if ! tar xf "$TARGZ" -C "$EVDI" --strip-components=1; then

  1. Run the installer script as root: sudo ./displaylink-installer.sh and it should install and compile the very latest EVDI driver, which is compatible with linux kernels up til and including 5.15.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment


About Joyk


Aggregate valuable and interesting links.
Joyk means Joy of geeK