AdnanHodzic / displaylink-debian

DisplayLink driver installer for Debian and Ubuntu based Linux distributions.
https://foolcontrol.org/?p=1777
GNU General Public License v3.0
1.29k stars 229 forks source link

Please add support for devuan Chimaera #735

Closed wfdudley closed 2 years ago

wfdudley commented 2 years ago

Your script supports only Devuan ASCII which is very old. I'm willing to contribute $$ for the effort to fix this.

Also, your script installs a LOT of software before deciding that I'm on an unsupported platform. Couldn't that check be done up front so as to avoid installing source etc. if not used?

Thanks, William F. Dudley

Barabazs commented 2 years ago

Hi @wfdudley, can you post the output of sudo ./displaylink-debian.sh --debug please? That should give me the information needed to add the requested platfrom.

I'll look into your second question. It's a valid concern.

wfdudley commented 2 years ago

Thanks for the prompt reply.

Please find that debug output below.

The following message was also sent to stdout:

"./displaylink-debian.sh: line 369: /etc/init.d/displaylink.sh: No such file or directory cat: /etc/X11/xorg.conf.d/20-displaylink.conf: No such file or directory"

I note that the script did NOT complain about unsupported version when I ran it this time.

Note that this is a fresh install of Devuan Chimaera on an Intel i7 machine.

Thanks, Bill Dudley

------------------- output of --debug ---------------------------------

Starting Debug ...

--------------- Linux system info ----------------

Distro: Devuan Release: chimaera Kernel: 5.10.0-16-amd64

---------------- DisplayLink info ----------------

Driver version: DisplayLink service status: EVDI service version: /sys/devices/evdi/version not found

------------------ Graphics card -----------------

Vendor: i915 Subsystem: E3-1200 VGA: Intel Corporation Xeon E3-1200 v2/3rd Gen Core processor Graphics Controller (rev 09) VGA (3D): X11 version: 1.20.11-1+deb11u2

-------------- DisplayLink xorg.conf -------------

File: /etc/X11/xorg.conf.d/20-displaylink.conf Contents:

-------------------- Monitors --------------------

Providers: number : 1 Provider 0: id: 0x45 cap: 0xf, Source Output, Sink Output, Source Offload, Sink Offload crtcs: 3 outputs: 3 associated providers: 0 name:modesetting


Use this information when submitting an issue (http://bit.ly/2GLDlpY)


-------------------- end of --debug output -----------------------

On Mon, Aug 8, 2022 at 10:07 AM Barabazs @.***> wrote:

Hi @wfdudley https://github.com/wfdudley, can you post the output of sudo ./displaylink-debian.sh --debug please? That should give me the information needed to add the requested platfrom.

I'll look into your second question. It's a valid concern.

— Reply to this email directly, view it on GitHub https://github.com/AdnanHodzic/displaylink-debian/issues/735#issuecomment-1208178384, or unsubscribe https://github.com/notifications/unsubscribe-auth/AI4VYU6XHLWN5QZW32NCM33VYEIDFANCNFSM553FTZGQ . You are receiving this because you were mentioned.Message ID: @.***>

wfdudley commented 2 years ago

I can give you a login to a Devuan Chimaera machine with DisplayLink installed, and I can give you root access if you like, should you need a development machine.

Bill Dudley This email is free of malware because I run Linux.

On Mon, Aug 8, 2022 at 10:38 AM William Dudley @.***> wrote:

Thanks for the prompt reply.

Please find that debug output below.

The following message was also sent to stdout:

"./displaylink-debian.sh: line 369: /etc/init.d/displaylink.sh: No such file or directory cat: /etc/X11/xorg.conf.d/20-displaylink.conf: No such file or directory"

I note that the script did NOT complain about unsupported version when I ran it this time.

Note that this is a fresh install of Devuan Chimaera on an Intel i7 machine.

Thanks, Bill Dudley

------------------- output of --debug ---------------------------------

Starting Debug ...

--------------- Linux system info ----------------

Distro: Devuan Release: chimaera Kernel: 5.10.0-16-amd64

---------------- DisplayLink info ----------------

Driver version: DisplayLink service status: EVDI service version: /sys/devices/evdi/version not found

------------------ Graphics card -----------------

Vendor: i915 Subsystem: E3-1200 VGA: Intel Corporation Xeon E3-1200 v2/3rd Gen Core processor Graphics Controller (rev 09) VGA (3D): X11 version: 1.20.11-1+deb11u2

-------------- DisplayLink xorg.conf -------------

File: /etc/X11/xorg.conf.d/20-displaylink.conf Contents:

-------------------- Monitors --------------------

Providers: number : 1 Provider 0: id: 0x45 cap: 0xf, Source Output, Sink Output, Source Offload, Sink Offload crtcs: 3 outputs: 3 associated providers: 0 name:modesetting


Use this information when submitting an issue (http://bit.ly/2GLDlpY)


-------------------- end of --debug output -----------------------

On Mon, Aug 8, 2022 at 10:07 AM Barabazs @.***> wrote:

Hi @wfdudley https://github.com/wfdudley, can you post the output of sudo ./displaylink-debian.sh --debug please? That should give me the information needed to add the requested platfrom.

I'll look into your second question. It's a valid concern.

— Reply to this email directly, view it on GitHub https://github.com/AdnanHodzic/displaylink-debian/issues/735#issuecomment-1208178384, or unsubscribe https://github.com/notifications/unsubscribe-auth/AI4VYU6XHLWN5QZW32NCM33VYEIDFANCNFSM553FTZGQ . You are receiving this because you were mentioned.Message ID: @.***>

Barabazs commented 2 years ago

This release has now been added to supported platforms in #736 Could you try to pull the latest changes and retry please?

wfdudley commented 2 years ago

Why is this completed? The script still fails to install the driver.

Thanks, Bill Dudley This email is free of malware because I run Linux.

On Tue, Aug 30, 2022 at 3:08 AM Barabazs @.***> wrote:

Closed #735 https://github.com/AdnanHodzic/displaylink-debian/issues/735 as completed.

— Reply to this email directly, view it on GitHub https://github.com/AdnanHodzic/displaylink-debian/issues/735#event-7284539203, or unsubscribe https://github.com/notifications/unsubscribe-auth/AI4VYU7HHZJHKSACFH27OX3V3WXN5ANCNFSM553FTZGQ . You are receiving this because you were mentioned.Message ID: @.*** com>

wfdudley commented 2 years ago

I did a git clone to get latest, and ran as root.

Result was this:

Preparing for install

Archive: DisplayLink_Ubuntu_5.6.1.zip inflating: 5.6.1/displaylink-driver-5.6.1-59.184.run inflating: 5.6.1/DisplayLink USB Graphics Software for Ubuntu 5.6.1-59.185-Release Notes.txt inflating: 5.6.1/__MACOSX/._DisplayLink USB Graphics Software for Ubuntu 5.6.1-59.185-Release Notes.txt chmod: cannot access '5.6.1/displaylink-driver-5.6.1.[0-9]-[0-9]*.run': No such file or directory

The file that the chmod is looking for is this: displaylink-driver-5.6.0-59.176.run

So I changed the chmod line (and the two following) to this: chmod +x $driver_dir/displaylink-driver-${version}[-.0-9].run ./$driver_dir/displaylink-driver-${version}[-.0-9].run --keep --noexec mv displaylink-driver-${version}[-.0-9]*/ $driver_dir/displaylink-driver-${version}

This solved the "chmod: cannot access" problem. Script is still failing:

Preparing for install

Archive: DisplayLink_Ubuntu_5.6.1.zip inflating: 5.6.1/displaylink-driver-5.6.1-59.184.run inflating: 5.6.1/DisplayLink USB Graphics Software for Ubuntu 5.6.1-59.185-Release Notes.txt inflating: 5.6.1/__MACOSX/._DisplayLink USB Graphics Software for Ubuntu 5.6.1-59.185-Release Notes.txt Creating directory displaylink-driver-5.6.1-59.184 Verifying archive integrity... 100% MD5 checksums are OK. All good. Uncompressing DisplayLink Linux Driver 5.6.1-59.184 100% patching file 5.6.1/displaylink-driver-5.6.1/displaylink-installer.sh patch unexpectedly ends in middle of line Hunk #1 succeeded at 526 (offset 24 lines).

Installing driver version: 5.6.1

ERROR: the installer script is unable to find out how to start DisplayLinkManager service automatically on your system. Please set an environment variable SYSTEMINITDAEMON to 'upstart', 'systemd' or 'runit' before running the installation script to force one of the options. Installation terminated.

output of displaylink-debian.sh --debug below:

Starting Debug ...

Did you read Post Installation Guide? http://bit.ly/2TbZleK [y/N] y

Did you read Troubleshooting most common issues? http://bit.ly/2Rofd0x [y/N] y

--------------- Linux system info ----------------

Distro: Devuan Release: chimaera Kernel: 5.10.0-16-amd64

---------------- DisplayLink info ----------------

Driver version: ./displaylink-debian.sh: line 369: /etc/init.d/displaylink.sh: No such file or directory DisplayLink service status: EVDI service version: /sys/devices/evdi/version not found

------------------ Graphics card -----------------

Vendor: i915 Subsystem: E3-1200 VGA: Intel Corporation Xeon E3-1200 v2/3rd Gen Core processor Graphics Controller (rev 09) VGA (3D): X11 version: 1.20.11-1+deb11u2

-------------- DisplayLink xorg.conf -------------

File: /etc/X11/xorg.conf.d/20-displaylink.conf cat: /etc/X11/xorg.conf.d/20-displaylink.conf: No such file or directory Contents:

-------------------- Monitors --------------------

Providers: number : 1 Provider 0: id: 0x45 cap: 0xf, Source Output, Sink Output, Source Offload, Sink Offload crtcs: 3 outputs: 3 associated providers: 0 name:modesetting


Use this information when submitting an issue (http://bit.ly/2GLDlpY)


Bill Dudley This email is free of malware because I run Linux.

On Fri, Aug 12, 2022 at 3:14 AM Barabazs @.***> wrote:

This release has now been added to supported platforms in #736 https://github.com/AdnanHodzic/displaylink-debian/pull/736 Could you try to pull the latest changes and retry please?

— Reply to this email directly, view it on GitHub https://github.com/AdnanHodzic/displaylink-debian/issues/735#issuecomment-1212802214, or unsubscribe https://github.com/notifications/unsubscribe-auth/AI4VYU5BKW65BPERHW6PKQ3VYX2VDANCNFSM553FTZGQ . You are receiving this because you were mentioned.Message ID: @.***>