Skip to content

Instantly share code, notes, and snippets.

@alllexx88
Last active June 1, 2020 20:12
Show Gist options
  • Star 2 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save alllexx88/1aebabd49da990089a489cb4f5c94698 to your computer and use it in GitHub Desktop.
Save alllexx88/1aebabd49da990089a489cb4f5c94698 to your computer and use it in GitHub Desktop.
DisplayLink 5.2.14 dkms for Linux 5.4.x patch
@kalon33
Copy link

kalon33 commented Apr 20, 2020

Thanks for your patch! Unfortunately, on latest Ubuntu 20.04LTS, trying to patch evdi, I got these errors:

patching file Makefile
Hunk #1 succeeded at 40 with fuzz 1.
Hunk #2 succeeded at 61 with fuzz 2 (offset 10 lines).
Hunk #3 FAILED at 59.
1 out of 3 hunks FAILED -- saving rejects to file Makefile.rej
patching file dkms.conf
patching file evdi_drv.c
Hunk #1 succeeded at 22 (offset 4 lines).
patching file evdi_drv.h
Hunk #1 FAILED at 20.
Hunk #2 FAILED at 51.
Hunk #3 FAILED at 112.
3 out of 3 hunks FAILED -- saving rejects to file evdi_drv.h.rej
patching file evdi_gem.c
Hunk #1 FAILED at 61.
Hunk #2 FAILED at 255.
Hunk #3 FAILED at 569.
Hunk #4 FAILED at 582.
4 out of 4 hunks FAILED -- saving rejects to file evdi_gem.c.rej

@alllexx88
Copy link
Author

@kalon33 Sorry for a late response. Probably, DisplayLink updated the code in their destributed Linux driver, making this patch outdated. You can use code from DisplayLink/evdi in Ubuntu 20.04. I wrote this patch before discovering the repository, wouldn't have bothered otherwise 😉

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