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

Reply
 
Thread Tools Search this Thread Display Modes
Old 11-04-2015, 06:30 AM   #1
reindan
Junior Member
 
Join Date: Oct 2015
Posts: 1
Default

Similar problem here with Dell D3100...
Have been on 15.04 but after an upgrade to 15.10 it doesn't even detect my external displays.

Tried to reinstall, seems all fine except that the drivers don't load at the end...

Code:
sudo ./displaylink-driver-1.0.138.run 
Verifying archive integrity... All good.
Uncompressing DisplayLink Linux Driver 1.0.138  100%  
DisplayLink Linux Software 1.0.138 install script called: install
Distribution discovered: Ubuntu 15.10
WARNING: Kernel version 4.2.0-16-generic is not supported. Highest supported version is 3.19.
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/DisplayLinkManager
Installing libraries
Installing firmware packages
Installing license file
Adding udev rule for DisplayLink DL-3xxx/5xxx devices
reindan is offline   Reply With Quote
Old 11-06-2015, 07:55 AM   #2
Szymon
DisplayLink Tech Support
 
Szymon's Avatar
 
Join Date: Feb 2010
Posts: 270
Default

Could guys try on Ubuntu 15.10 the following sequence:

Code:
sudo ./displaylink-driver-1.0.138.run uninstall
./displaylink-driver-1.0.138.run --keep --noexec
cd displaylink-driver-1.0.138/
### In current directory edit displaylink-installer.sh in your favourite editor ###
Find the following piece of script inside the installer file:

Code:
detect_distro()
{
  if which lsb_release >/dev/null; then
    local R=$(lsb_release -d -s)
    echo "Distribution discovered: $R"
    if [ -z "${R##Ubuntu 14.*}" ]; then
      SYSTEMINITDAEMON=upstart
    elif [ -z "${R##Ubuntu 15.04*}" ]; then
      SYSTEMINITDAEMON=systemd
    fi
  else
    echo "WARNING: Unknown distribution, assuming defaults - this may fail." >&2
  fi
}
And change it to:

Code:
detect_distro()
{
  if which lsb_release >/dev/null; then
    local R=$(lsb_release -d -s)
    echo "Distribution discovered: $R"
    SYSTEMINITDAEMON=systemd
  fi
}
And then run:
Code:
sudo ./displaylink-installer.sh install

Last edited by Szymon; 11-06-2015 at 12:45 PM.
Szymon is offline   Reply With Quote
Old 11-06-2015, 10:30 AM   #3
Gert
Junior Member
 
Join Date: Nov 2015
Posts: 4
Default

Sorry - but the proposed script changes didn't give any visible results - for me it's still the same installation response as Reindan got and no recognition of ext. display.

I have tried ones more and have used nautilus to find "displaylink" files. Before installation every things is ok. The installer file have the proposed script, but after installation I find more installer scripts and some of them are with the original and non changed wording. I think the .run file might be the problem.

Last edited by Gert; 11-06-2015 at 12:15 PM.
Gert is offline   Reply With Quote
Old 11-06-2015, 12:51 PM   #4
Szymon
DisplayLink Tech Support
 
Szymon's Avatar
 
Join Date: Feb 2010
Posts: 270
Default

Ah.. I have reviewed my suggestion and discovered copy-paste mistake. It's now corrected. After modifying displaylink-installer.sh script should be run instead of the original .run file.

The intention of the patching the install script is to force it to create systemd daemon service. The install should print as one of the last output:

Code:
Starting DLM systemd service
And you should see /usr/lib/displaylink/DisplayLinkManager among running processes, which you can look up using e.g. htop.
Szymon is offline   Reply With Quote
Old 11-06-2015, 03:21 PM   #5
Gert
Junior Member
 
Join Date: Nov 2015
Posts: 4
Default

Following your proposal this is the response I get in terminal:

DisplayLink Linux Software 1.0.138 install script called: install
Distribution discovered: Ubuntu 15.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/DisplayLinkManager
Installing libraries
chmod: kan ikke tilgå '/usr/lib/displaylink/DisplayLinkManager': Ingen sådan fil eller filkatalog
chmod: kan ikke tilgå '/usr/lib/displaylink/libevdi.so': Ingen sådan fil eller filkatalog
chmod: kan ikke operere på dinglende symlænke '/usr/lib/displaylink/libusb-1.0.so'
chmod: kan ikke operere på dinglende symlænke '/usr/lib/displaylink/libusb-1.0.so.0'
Installing firmware packages
mv: kan ikke udføre stat() på '*.spkg': Ingen sådan fil eller filkatalog
chmod: kan ikke tilgå '/usr/lib/displaylink/*.spkg': Ingen sådan fil eller filkatalog
Installing license file
mv: kan ikke udføre stat() på 'LICENSE': Ingen sådan fil eller filkatalog
chmod: kan ikke tilgå '/usr/lib/displaylink/LICENSE': Ingen sådan fil eller filkatalog
Adding udev rule for DisplayLink DL-3xxx/5xxx devices
Starting DLM systemd service
gert@gert-XPS-13-9343:~/displaylink-driver-1.0.138$
Gert is offline   Reply With Quote
Old 11-06-2015, 03:58 PM   #6
Gert
Junior Member
 
Join Date: Nov 2015
Posts: 4
Default

Now I'm up running. I used the .run file and installed displaylink, then I copied the dir. "displaylink" from usr/lib to an USB-stick. Uninstalled displaylink and made a reboot. Kopied the "displaylink dir. from the USB-stick to usr/lib and installed displaylink with the modified installer.sh

And it worked. The response by the installation in the terminal was the following:

DisplayLink Linux Software 1.0.138 install script called: install
Distribution discovered: Ubuntu 15.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/DisplayLinkManager
Installing libraries
Installing firmware packages
mv: kan ikke udføre stat() på '*.spkg': Ingen sådan fil eller filkatalog
Installing license file
mv: kan ikke udføre stat() på 'LICENSE': Ingen sådan fil eller filkatalog
Adding udev rule for DisplayLink DL-3xxx/5xxx devices
Starting DLM systemd service
gert@gert-XPS-13-9343:~/displaylink-driver-1.0.138$

Last edited by Gert; 11-06-2015 at 04:56 PM.
Gert is offline   Reply With Quote
Old 11-07-2015, 08:15 AM   #7
mangojuice
Junior Member
 
Join Date: Nov 2015
Posts: 4
Default

I have tested the modified script, it runs well now!

Although it seems to have a little bit of delay, still bearable

Dock: Dell D3100
System: Ubuntu 15.10 64-bit
mangojuice is offline   Reply With Quote
Reply

Tags
bug, crashing, drivers, linux

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 08:44 AM.


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