|
08-26-2015, 01:19 PM | #1 |
Junior Member
Join Date: Jul 2015
Posts: 21
|
Modified script Debian Friendly
Hi all,
I'm using Debian Jessie 8.1 with External HP EliteDisplay S140u. I had to modify the installer to correctly use it due to bad detection of kernel headers and system init daemon. If it can help someone, you should find the updated installer in attachment. You must unzip the file Code:
saian@n5110:displaylink$ unzip dl_installer_debian.zip Archive: dl_installer_debian.zip creating: displaylink-driver-1.0.68/ inflating: displaylink-driver-1.0.68/firefly-monitor-release.spkg creating: displaylink-driver-1.0.68/x86/ inflating: displaylink-driver-1.0.68/x86/DisplayLinkManager inflating: displaylink-driver-1.0.68/x86/libusb-1.0.so.0.1.0 inflating: displaylink-driver-1.0.68/x86/libevdi.so inflating: displaylink-driver-1.0.68/LICENSE creating: displaylink-driver-1.0.68/x64/ inflating: displaylink-driver-1.0.68/x64/DisplayLinkManager inflating: displaylink-driver-1.0.68/x64/libusb-1.0.so.0.1.0 inflating: displaylink-driver-1.0.68/x64/libevdi.so inflating: displaylink-driver-1.0.68/displaylink-installer.sh inflating: displaylink-driver-1.0.68/ella-dock-release.spkg extracting: displaylink-driver-1.0.68/evdi-1.0.68-src.tar.gz saian@n5110:displaylink$ cd displaylink-driver-1.0.68/ Code:
root@n5110:displaylink-driver-1.0.68# ./displaylink-installer.sh install DisplayLink Linux Software 1.0.68 install script called: install Distribution discovered: Debian GNU/Linux 8.1 (jessie) Init daemon detected : systemd Linux Headers found : linux-headers-3.16.0-4-amd64 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 Starting DLM systemd service Code:
root@n5110:displaylink-driver-1.0.68# xrandr --listproviders Providers: number : 2 Provider 0: id: 0x43 cap: 0xb, Source Output, Sink Output, Sink Offload crtcs: 2 outputs: 2 associated providers: 0 name:Intel Provider 1: id: 0xe9 cap: 0x2, Sink Output crtcs: 1 outputs: 1 associated providers: 0 name:modesetting Code:
root@n5110:displaylink-driver-1.0.68# xrandr --setprovideroutputsource 1 0 Thanks to DisplayLink Members to this driver ;-) EDIT : The script should be more efficient to detect the system init daemon. Thanks to @runejuhl for his patch. It seems that many users have problem to download the file. It could be useful that some admin talk about it. Waiting for that, I share the file with Drive. The link for the current version is : https://drive.google.com/file/d/0B5q...ew?usp=sharing Last edited by guerrierk; 09-02-2015 at 08:33 AM. Reason: Archive v1.1 / Drive link |
08-26-2015, 07:32 PM | #2 |
Member
Join Date: Aug 2015
Posts: 37
|
can't download - insufficient permissions.
Edit1: I found a work around for the kernel headers problem without modifying the installer. However, it won't install and start the dlm service. Is that issue related to the system init daemon you mentioned? Edit2: It is. You created some work around to plug in the displaylink.service in the /lib/system.d/system/ Care to share what it is? I have a debian 8.1 install thread and I would like to have a full procedure created without having to modify any downloads. CLI progressions only. Last edited by stuguy909; 08-26-2015 at 09:06 PM. Reason: #1 might as well #2 confirmed my question |
08-26-2015, 09:14 PM | #3 | |
Junior Member
Join Date: Jul 2015
Posts: 21
|
Quote:
I don't know why you can't download this file. I wil upload it to another server and post the link tomorrow. The problem with the system init deamon is thay the installer create the service only on ubuntu system. I modified the test that where it is checked and initialized, but you can simply specify "systemd" to the value of SYSTEMINITDAEMON. Currently I have a problem with the udev rules because it doesnt match with my EliteDisplay and the displaylink services doesnt start automatically. I had to run (as root) systemctl start displaylink.service before to set the new provider with xrandr. Tell me if that help you ;-) |
|
08-26-2015, 09:25 PM | #4 |
Member
Join Date: Aug 2015
Posts: 37
|
dlm installed...but
That certainly installed DLM, and crashed the PC. I rebooted and did as you said, the service failed to start because it is masked.
Code:
# systemctl start displaylink.service Failed to start displaylink.service: Unit displaylink.service is masked. Code:
# systemctl -a UNIT LOAD ACTIVE SUB DESCRIPTION ● display-manager.service not-found inactive dead display-manager.service Last edited by stuguy909; 08-26-2015 at 09:43 PM. Reason: found why |
08-26-2015, 09:43 PM | #5 | |
Junior Member
Join Date: Jul 2015
Posts: 21
|
Quote:
Does the installer has terminated correctly before thé PC crashed ? I don't know what the message "service is masked" mean... I will search about it and reply to you asap. Does anyone has this problem too ? Thx all |
|
08-27-2015, 02:46 PM | #6 | |
Member
Join Date: Aug 2015
Posts: 37
|
Quote:
|
|
09-01-2015, 09:43 PM | #7 |
Junior Member
Join Date: Sep 2015
Posts: 1
|
Minor fix for init system detection + thanks
Hi guerrierk,
Thanks for the script. Worked beautifully on Debian stretch. I noticed it didn't detect my init system, so I made a small patch for you. Any reason why you haven't used BitBucket/GitHub/own git/etc. for it? Anyway, thanks again. Now to figure out how to get my brand new ASUS MB168+ to fully work under Linux -- missing autorotate and brightness settings... Hm. For some reason the forum software chokes on the patch, so I'm unable to submit it in cleartext. I've base64-encoded the patch instead... Code:
ZGlmZiAtLWdpdCBhL2Rpc3BsYXlsaW5rLWluc3RhbGxlci5zaCBiL2Rpc3BsYXlsaW5rLWluc3Rh bGxlci5zaAppbmRleCAwNmM0YmI4Li42YWU3MjZhIDEwMDc1NQotLS0gYS9kaXNwbGF5bGluay1p bnN0YWxsZXIuc2gKKysrIGIvZGlzcGxheWxpbmstaW5zdGFsbGVyLnNoCkBAIC0yODIsNyArMjgy LDE0IEBAIHVzYWdlKCkKIAogZGV0ZWN0X2Rpc3RybygpCiB7Ci0gICAgaWYgd2hpY2ggbHNiX3Jl bGVhc2UgPi9kZXYvbnVsbDsgdGhlbgorICAgIHBpZDA9c3RhdCAkKGNhdCAvcHJvYy8xL2NtZGxp bmUpIHxoZWFkIC1uMQorICAgIGlmIFsgLXogJChncmVwICdzeXN0ZW1kJyA8KGVjaG8gJHBpZDAp KSBdOyB0aGVuCisgICAgICAgIFNZU1RFTUlOSVREQUVNT049c3lzdGVtZAorICAgIGVsaWYgWyAt eiAkKGdyZXAgJ3Vwc3RhcnQnIDwoZWNobyAkcGlkMCkpIF07IHRoZW4KKyAgICAgICAgU1lTVEVN SU5JVERBRU1PTj11cHN0YXJ0CisgICAgZmkKKworICAgIGlmIFsgISAtdiBTWVNURU1JTklUREFF TU9OIF0gJiYgd2hpY2ggbHNiX3JlbGVhc2UgPi9kZXYvbnVsbDsgdGhlbgogICAgICAgICBsb2Nh bCBSPSQobHNiX3JlbGVhc2UgLWQgLXMpCiAgICAgICAgIGVjaG8gIkRpc3RyaWJ1dGlvbiBkaXNj b3ZlcmVkOiAkUiIKICAgICAgICAgaWYgWyAteiAiJHtSIyNVYnVudHUgMTQuKn0iIF07IHRoZW4K QEAgLTI5Miw3ICsyOTksMTAgQEAgZGV0ZWN0X2Rpc3RybygpCiAgICAgICAgIGVsaWYgWyAteiAi JHtSIyNEZWJpYW4qOC4xKn0iIF07IHRoZW4KICAgICAgICAgICAgIFNZU1RFTUlOSVREQUVNT049 c3lzdGVtZAogICAgICAgICBmaQotICAgIGVsc2UKKworICAgIGZpCisKKyAgICBpZiBbIC16IFNZ U1RFTUlOSVREQUVNT04gXTsgdGhlbgogICAgICAgICBlY2hvICJXQVJOSU5HOiBVbmtub3duIGRp c3RyaWJ1dGlvbiwgYXNzdW1pbmcgZGVmYXVsdHMgLSB0aGlzIG1heSBmYWlsLiIgPiYyCiAgICAg ZmkKICAgICBlY2hvICJJbml0IGRhZW1vbiBkZXRlY3RlZCA6ICRTWVNURU1JTklUREFFTU9OIgo= |
09-02-2015, 07:29 AM | #8 | |
Junior Member
Join Date: Jul 2015
Posts: 21
|
Quote:
Thanks for your patch. I have updated my script and re-uploaded it. I'm still working on other features. |
|
09-02-2015, 08:21 AM | #9 |
Junior Member
Join Date: Sep 2015
Posts: 1
|
Has anyone worked out the permission problem on the download? Do you have to post before downloading?
|
09-02-2015, 08:37 AM | #10 | |
Junior Member
Join Date: Jul 2015
Posts: 21
|
Quote:
Maybe an admin will answer you to some rules / rights you must have to download... Bye |
|
Tags |
debian |
|
|