Go Back   DisplayLink Forum > DisplayLink Graphics Technology > Linux and Open Source

Reply
 
Thread Tools Search this Thread Display Modes
Old 02-14-2018, 08:06 PM   #1
Balt
Junior Member
 
Join Date: Feb 2018
Posts: 2
Default DisplayLink Won't Install on Ubuntu 17.10

Hi Folks,

Getting a strange issue with the latest versions of Ubuntu. Doesn't matter the distro or spin I'm using as the problem persists across the below version/spins/derivatives of Ubuntu.

Ubuntu 16.04.3 & 17.10
Ubuntu Mate 16.04.3 & 17.10
Ubuntu Budgie 16.04.3 & 17.10
Linux Mint (latest version)
Elementary OS (Loki)

I update the OS, install DKMS then go to run the setup script and this is the output for all the above distros:

Verifying archive integrity... All good.
Uncompressing DisplayLink Linux Driver 4.1.9 100%
DisplayLink Linux Software 4.1.9 install script called: install
Distribution discovered: Ubuntu 17.10
Installing
Configuring EVDI DKMS module
Registering EVDI kernel module with DKMS
Building EVDI kernel module with DKMS
Installing EVDI kernel module to kernel tree
EVDI kernel module built successfully
Installing x64-ubuntu-1604/DisplayLinkManager
Installing libraries
Installing firmware packages
Installing licence file
Adding udev rule for DisplayLink DL-3xxx/5xxx devices

Please read the FAQ
http://support.displaylink.com/knowl...hooting-ubuntu


So obviously it's failing. Are there any logs that I can nab that might tell us why? If so how can I get them for you?

Thanks,

Balt
Balt is offline   Reply With Quote
Old 02-15-2018, 08:22 AM   #2
mlukaszek
Senior Member
 
mlukaszek's Avatar
 
Join Date: Feb 2010
Posts: 386
Default

This looks like a successful installation, the information about FAQ is important to read though. Logs can be captured by Linux Support Tool: https://support.displaylink.com/know...to-displaylink

Regards,
Michal
mlukaszek is offline   Reply With Quote
Old 02-16-2018, 10:38 AM   #3
boltbeard
Junior Member
 
Join Date: Feb 2018
Posts: 3
Exclamation Similar Issue...

Hi, I have exactly the same issue,
Do have a look at the attachments, I ran the DLSupport Tool and have attached the logs
Attached Images
File Type: jpg Displaylink-install-fail.jpg (18.0 KB, 1 views)
Attached Files
File Type: zip rli-nb-26lin_2018-02-16T11:26:08.276818.zip (53.1 KB, 1 views)
boltbeard is offline   Reply With Quote
Old 02-16-2018, 10:52 AM   #4
mlukaszek
Senior Member
 
mlukaszek's Avatar
 
Join Date: Feb 2010
Posts: 386
Default

@boltbeard: your logs show you're running with:
[ 0.000000] Secure boot enabled and kernel locked down

As with any DKMS-built module, evdi, which is a part of the driver package cannot be run unsigned. You need to either sign the module yourself (harder), or disable secure boot in your BIOS settings.

Cheers,
Michal
mlukaszek is offline   Reply With Quote
Old 02-16-2018, 04:47 PM   #5
boltbeard
Junior Member
 
Join Date: Feb 2018
Posts: 3
Default

@mlukaszek: I am not too happy with the option of disabling secure boot in the BIOS, I'll take the signing the module harder myself option.
Although I'm open to any option that helps me use the dock properly. I'm not that good a developer, but if your could point me to the guide/documentation of both the options I'll be happy to do this and see if it solves the problem,

if it does, it may solve a lot of other peoples problems too.

Thanks in advance and best regards
boltbeard is offline   Reply With Quote
Old 02-17-2018, 12:03 AM   #6
rboerner
Super Moderator
 
Join Date: Jan 2015
Posts: 416
Default

DisplayLink has posted this information here -> https://support.displaylink.com/know...-with-uefi-sec

They have all their Ubuntu support information listed here -> https://support.displaylink.com/know...hooting-ubuntu
rboerner is offline   Reply With Quote
Old 02-19-2018, 04:00 PM   #7
Balt
Junior Member
 
Join Date: Feb 2018
Posts: 2
Default

So after a bit of poking around I discovered something in both Ubuntu 17.10 and Ubuntu Budgie 17.10. If you open 'Display' the external monitors don't show up. What I had to do was hit Fn+F8 on my laptop's keyboard (a Dell) to push the extend the display when connected to the dock. Once I did that one monitor came to life and the second monitor was still dark but both showed up in 'displays'. A little tweaking there and hitting 'Apply' made both external displays work. Weird that they weren't automatically extended to (like every other OS we use). Oh well. Hope this helps some folks.
Balt is offline   Reply With Quote
Old 02-20-2018, 08:21 AM   #8
boltbeard
Junior Member
 
Join Date: Feb 2018
Posts: 3
Question

Quote:
Originally Posted by rboerner View Post
DisplayLink has posted this information here -> https://support.displaylink.com/know...-with-uefi-sec

They have all their Ubuntu support information listed here -> https://support.displaylink.com/know...hooting-ubuntu
I just had a look at the documentation, the following steps are provided:


Quote:
Create signing keys

openssl req -new -x509 -newkey rsa:2048 -keyout MOK.priv -outform DER -out MOK.der -nodes -days 36500 -subj "/CN=Descriptive name/"

Sign the module

sudo /usr/src/linux-headers-$(uname -r)/scripts/sign-file sha256 ./MOK.priv ./MOK.der /path/to/module

Register the keys to Secure Boot

sudo mokutil --import MOK.der

Supply a password for later use after reboot

Reboot and follow instructions to Enroll MOK (Machine Owner Key). Here's a sample with pictures. The system will reboot one more time.
Question is what is the /path/to/module that I'm supposed to be signing? I've done the default install, I'm assuming there would be a default location?
boltbeard is offline   Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 09:21 AM.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2024, vBulletin Solutions, Inc.