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

Reply
 
Thread Tools Search this Thread Display Modes
Old 09-09-2015, 03:45 PM   #21
stuguy909
Member
 
Join Date: Aug 2015
Posts: 37
Default

eureka! I found a few syntax and coding bugs that was preventing the script from properly completing. I uploaded the new displaylink script that turns on your monitors and positions them for you with a simple command. This is a work in progress. I am working on completely automating this driver to be plug and play with only a minor pre-configuration requirement required for Debian 8.1. This script is dependent on having successfully installed the Displaylink driver on Debian 8.1. I am not currently supporting anything but Debian 8.1. There is another thread containing a working installer for Debian 8.1.

Here is my working beta script:
http://stuartanderson.info/displaylink_v_alpha0.07.txt
stuguy909 is offline   Reply With Quote
Old 09-09-2015, 03:55 PM   #22
stuguy909
Member
 
Join Date: Aug 2015
Posts: 37
Default progression

I will start working on USB detection for the displaylink chipsets now. When I get that working, I will move all of my start up script switches to functions and have the USB detection start governing the program. From there, it will be optimization and bug fixes. I am also interested in a way to properly reset to the default screen/s in case the USB device is unplugged. "xrandr --setprovideroutputsource 0 0" logs the user out of his GUI session and kills all programs attached to that said session. The reason I had to use this is because disconnecting the USB breaks the xrandr providers. The session will not be restored until the user completely resets the xrandr providers from scratch, at least, that's what I have observed. You can't just re-execute your screens after you unplug the displaylink device. It's a bug in either X11 or Displaylink driver.
stuguy909 is offline   Reply With Quote
Old 11-25-2015, 06:39 AM   #23
jossylopes
Junior Member
 
Join Date: Nov 2015
Posts: 2
Question $ systemctl status displaylink.service not active

Quote:
Originally Posted by guerrierk View Post
To help users in solving problem about the displaylink, some tests could be done :
Code:
# lsmod | grep evdi
It must return some lines with evdi module
Code:
# dmesg | grep -i display
It must not return any error.

Finally these two command should display services as active
Code:
# systemctl status display-manager.service
# systemctl status displaylink.service
If all of these command are correct, your device should be correctly detected and usable.

;-)
[1] - The output of '# systemctl status display-manager.service' is fine::
● gdm.service - GNOME Display Manager
Loaded: loaded (/lib/systemd/system/gdm.service; enabled)
Active: active (running) since Wed 2015-11-25 15:20:26 JST; 9min ago
Process: 760 ExecStartPre=/usr/share/gdm/generate-config (code=exited, status=0/SUCCESS)
Process: 750 ExecStartPre=/bin/sh -c [ "$(cat /etc/X11/default-display-manager 2>/dev/null)" = "/usr/sbin/gdm3" ] (code=exited, status=0/SUCCESS)
Main PID: 767 (gdm3)
CGroup: /system.slice/gdm.service
├─767 /usr/sbin/gdm3
└─783 /usr/bin/Xorg :0 -novtswitch -background none -noreset -verbose 3 -auth /var/run/gdm3/auth-for-Debian-gdm-x16IbT...

But,
[2] - The output of '# systemctl status displaylink.service' returns failure::
● displaylink.service - DisplayLink Manager Service
Loaded: loaded (/lib/systemd/system/displaylink.service; enabled)
Active: activating (auto-restart) (Result: exit-code) since Wed 2015-11-25 15:30:17 JST; 1s ago
Process: 2538 ExecStart=/usr/lib/displaylink/DisplayLinkManager (code=exited, status=203/EXEC)
Process: 2536 ExecStartPre=/sbin/modprobe evdi (code=exited, status=0/SUCCESS)
Main PID: 2538 (code=exited, status=203/EXEC)

Even after I tried to activate the service with::
'# systemctl restart displaylink.service'

please, share any lights on how I may get around this issue.
jossylopes is offline   Reply With Quote
Old 11-30-2015, 05:13 AM   #24
fooctrl
Junior Member
 
Join Date: Nov 2015
Location: Amsterdam
Posts: 11
Default Debian (Jessie/Stretch/Sid) installer

For those of you interested, I made a DisplayLink driver installer for Debian.

I created separated forum thread: Debian (Jessie/Stretch/Sid) installer

-----------

displaylink-debian

Tool which allows you to seamlessly install and uninstall DisplayLink drivers on Debian GNU/Linux.

Installer is available on Github.

Supported platforms are:
  • Debian: Jessie/Stretch/Sid regardless of which kernel version you’re using.

displaylink-debian licence is GPLv3 and if you’d like to add any changes or to extend it to any other distribution then Debian, be my guest!

Please let me know if you have any additional questions and/or comments.
fooctrl 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 11:10 PM.


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