You are not logged in.

#1 2024-11-26 07:41:52

cwo2
Member
Registered: 2024-09-02
Posts: 6

USB Dockingstation with Displaylink & external monitors not working

Hi.

Since a few days, my two HDMI monitors, connected to my good old Lenovo "Thinkpad Hybrid USB-C with USB-A" dock does not work anymore. They gets not recognized on KDE. It was related to a pacman -Syu with a reboot a few days ago.

Everything else on this dock works as expeced: I have some USB devices and a network interface on this dock.

When searching through the output of journalctl, I found this:

Nov 26 06:55:18 archiboldi (udev-worker)[523]: 5-1.2:1.0: Process '/opt/displaylink/udev.sh /dev /devices/pci0000:00/0000:00:08.3/0000:05:00.3/usb5/5-1/5-1.2/5-1.2:1.0 usb-005-004-DisplayLink_ThinkPad_Hybrid_USB-C_with_USB-A_Dock_13253054 /dev/bus/usb/005/004' failed with exit code 2.

Does anybody know, what exit code 2 means?

I am on a TUXEDO Pulse 14 Gen4, with 6.12.1-arch1-1 and the Notebook runs on a Ryzen 7 8845HS with a Radeon 780M. When plugging one of the two monitors directly to the HDMI output of the Notebook, the display comes up as expected.

Best regards, Christian

Offline

#2 2024-11-26 09:13:44

V1del
Forum Moderator
Registered: 2012-10-16
Posts: 23,436

Re: USB Dockingstation with Displaylink & external monitors not working

most likely the kernel and particularly incompatibility with the displaylink driver with the 6.12 ABI break. Did it build correctly, did you check pacman's output? What's in your pacman log for the transaction that brought this?

sudo dkms status

please use [ code ] and not [ quote ] for posting outputs.

Someone posted a patch for evdi-git in the comments: https://aur.archlinux.org/packages/evdi … ent-996031

Moving to AUR issues

Last edited by V1del (2024-11-26 09:18:00)

Offline

#3 2024-11-27 12:03:45

cwo2
Member
Registered: 2024-09-02
Posts: 6

Re: USB Dockingstation with Displaylink & external monitors not working

Hi V1del.

Thank you for your reply :-) Here is my output of dkms:

evdi/1.14.7, 6.12.1-arch1-1, x86_64: installed

I will check the output of the pacman.log later. Instead I will check the link you provided.

Best regards,
Christian

Offline

#4 2024-11-27 14:47:19

cwo2
Member
Registered: 2024-09-02
Posts: 6

Re: USB Dockingstation with Displaylink & external monitors not working

I have no luck in getting evdi/displaylink working again. I tried to follow the patch in the comments but without success.

I removed evdi-git and displaylink, reinstalled both, applied the patch to the source, reinstalled it, rebootet the machine several times.

When booting, I get

Nov 27 15:06:05 archiboldi (udev-worker)[544]: 6-1.2:1.0: Process '/opt/displaylink/udev.sh /dev /devices/pci0000:00/0000:00:08.3/0000:05:00.3/usb6/6-1/6-1.2/6-1.2:1.0 usb-006-003-DisplayLink_ThinkPad_Hybrid_USB-C_with_USB-A_Dock_13253003 /dev/bus/usb/006/003' failed with exit code 2.

and when doing a "yay -S evdi-git displaylink", I get

(...)
[2024-11-27T14:58:10+0100] [PACMAN] Running 'pacman -U --config /etc/pacman.conf -- /home/cwo/.cache/yay/evdi-git/evdi-git-1.14.7.r3.
g59a3a86-1-x86_64.pkg.tar.zst /home/cwo/.cache/yay/evdi-git/evdi-git-debug-1.14.7.r3.g59a3a86-1-x86_64.pkg.tar.zst'
[2024-11-27T15:01:01+0100] [PACMAN] Running 'pacman -U --config /etc/pacman.conf -- /home/cwo/.cache/yay/evdi-git/evdi-git-1.14.7.r3.
g59a3a86-1-x86_64.pkg.tar.zst /home/cwo/.cache/yay/evdi-git/evdi-git-debug-1.14.7.r3.g59a3a86-1-x86_64.pkg.tar.zst'
[2024-11-27T15:01:03+0100] [ALPM] transaction started
[2024-11-27T15:01:03+0100] [ALPM] installed evdi-git (1.14.7.r3.g59a3a86-1)
[2024-11-27T15:01:03+0100] [ALPM] reinstalled evdi-git-debug (1.14.7.r3.g59a3a86-1)
[2024-11-27T15:01:03+0100] [ALPM] transaction completed
[2024-11-27T15:01:03+0100] [ALPM] running '30-systemd-update.hook'...
[2024-11-27T15:01:03+0100] [ALPM] running '70-dkms-install.hook'...
[2024-11-27T15:01:03+0100] [ALPM-SCRIPTLET] ==> dkms install --no-depmod evdi/1.14.7 -k 6.12.1-arch1-1
[2024-11-27T15:01:06+0100] [ALPM-SCRIPTLET] ==> depmod 6.12.1-arch1-1
[2024-11-27T15:01:09+0100] [ALPM] running '90-mkinitcpio-install.hook'...
(...)

What do I miss here? What I am doing wrong?

Regards,
Christian

Offline

#5 2024-11-27 14:49:02

cwo2
Member
Registered: 2024-09-02
Posts: 6

Re: USB Dockingstation with Displaylink & external monitors not working

Just to add this: I do -not- get an error when building / installing the evdi-git package with yay.

Regards, Christian

Offline

#6 2024-11-28 04:41:52

mrspeaker
Member
Registered: 2023-10-10
Posts: 1

Re: USB Dockingstation with Displaylink & external monitors not working

I have the same issue: since I updated a couple of days ago, monitors connected to my displaylink hub no longer work. My logs show the same message as you see. But if I grep the logs, the same message appears many times from BEFORE the monitors stopped working too - so I think it might be a red herring!

Nov 28 12:15:59 lappy (udev-worker)[409]: 2-3.1.4:1.0: Process '/opt/displaylink/udev.sh /dev /devices/pci0000:00/0000:00:0d.0/usb2/2-3/2-3.1/2-3.1.4/2-3.1.4:1.0 usb-002-004-DisplayLink_Targus_USB3_DV4K_DOCK_w_PD100W_00249B72C1BA /dev/bus/usb/002/004' failed with exit code 2.

I tried using the evdi aur (previously I was using evdi-git) with the patch mentioned here: https://aur.archlinux.org/packages/evdi, but no go.

Last edited by mrspeaker (2024-11-28 05:41:33)

Offline

#7 2024-11-28 07:38:29

cwo2
Member
Registered: 2024-09-02
Posts: 6

Re: USB Dockingstation with Displaylink & external monitors not working

Hi mrspeaker.

Indeed, I did not checked if this message came up before the update. Sorry, my fault. I checked journalctl for evdi-related messages and found this (sorry for the long output - I truncated it already):

Nov 27 13:27:41 archiboldi kernel: [drm] Initialized evdi 1.14.7 for evdi.0 on minor 0
Nov 27 13:27:41 archiboldi kernel: evdi: [I] Evdi platform_device create
Nov 27 13:27:41 archiboldi kernel: evdi: [I] Attaching to usb:6-1.2
Nov 27 13:27:41 archiboldi kernel: Modules linked in: evdi(OE) snd_seq_dummy snd_hrtimer snd_seq rfcomm ccm nft_reject_ipv4 tun bridge stp llc nft_masq nftnft_chain_nat nf_nat nft_reject_inet nf_reject_ipv4 nf_reject_ipv6 nft_reject nft_limit nft_ct nf_conntrack nf_defrag_ipv6 nf_defrag_ipv4 cmac algif_hash algif_hash algif_skcipher af_alg bnep nf_tables libcrc32c vfat fat amd_atl intel_rapl_msr intel_rapl_msr intel_rapl_common iwlmvm mac80211 snd_hda_codec_conexant libarc4 snd_hda_codec_generic ptp snd_hda_codec_hdmi pps_core snd_hda_intel snd_intel_dspcfg snd_intel_dspcfg snd_intel_sdw_acpi snd_usb_audio snd_hda_codec iwlwifi uvcvideo snd_usbmidi_lib kvm_amd snd_hda_core btusb snd_ump videobuf2_vmalloc snd_rawmidi uvc btrtl snd_hwdep snd_seq_device videobuf2_memops kvm cfg80211 btintel sp5100_tco snd_pcm videobuf2_v4l2 joydev btbcm hid_multitouch cdc_ether mousedev videobuf2_common btmtk >
Nov 27 13:27:53 archiboldi systemd-coredump[40050]: [?] Process 39881 (DisplayLinkMana) of user 0 dumped core.

Stack trace of thread 39897:
#0  0x0000732e91e9f61c n/a (libc.so.6 + 0x17f61c)
#1  0x0000732e922acb25 evdi_open_attached_to (libevdi.so + 0x4b25)
#2  0x0000643c9e9edf99 n/a (DisplayLinkManager + 0x25ff99)
#3  0x0000643c9e9fb087 n/a (DisplayLinkManager + 0x26d087)
#4  0x0000643c9e9f2bc2 n/a (DisplayLinkManager + 0x264bc2)
#5  0x0000643c9e9e7c5f n/a (DisplayLinkManager + 0x259c5f)
#6  0x0000643c9e9e8a68 n/a (DisplayLinkManager + 0x25aa68)
#7  0x0000643c9e9ea7bf n/a (DisplayLinkManager + 0x25c7bf)
#8  0x0000643c9e986533 n/a (DisplayLinkManager + 0x1f8533)
#9  0x0000643c9e97b094 n/a (DisplayLinkManager + 0x1ed094)
#10 0x0000643c9e978ea9 n/a (DisplayLinkManager + 0x1eaea9)
#11 0x0000643c9e9781f0 n/a (DisplayLinkManager + 0x1ea1f0)
#12 0x0000643c9e8ca9b8 n/a (DisplayLinkManager + 0x13c9b8)
#13 0x0000643c9e94a243 n/a (DisplayLinkManager + 0x1bc243)
#14 0x0000732e91db439d n/a (libc.so.6 + 0x9439d)
#15 0x0000732e91e3949c n/a (libc.so.6 + 0x11949c)

Stack trace of thread 39890:
#0  0x0000732e91e2b63d __poll (libc.so.6 + 0x10b63d)
#1  0x0000732e92309ab5 n/a (libusb-1.0.so.0 + 0xdab5)
#2  0x0000732e9230cbd8 libusb_handle_events_timeout_completed (libusb-1.0.so.0 + 0x10bd8)
#3  0x0000643c9eb5c7f8 n/a (DisplayLinkManager + 0x3ce7f8)
#4  0x0000643c9e94a243 n/a (DisplayLinkManager + 0x1bc243)
#5  0x0000732e91db439d n/a (libc.so.6 + 0x9439d)
#6  0x0000732e91e3949c n/a (libc.so.6 + 0x11949c)

Stack trace of thread 39900:
#0  0x0000732e91e36c57 __select (libc.so.6 + 0x116c57)
#1  0x0000643c9e94adbe n/a (DisplayLinkManager + 0x1bcdbe)
#2  0x0000643c9ea9c90e n/a (DisplayLinkManager + 0x30e90e)
#3  0x0000643c9e8d3d7d n/a (DisplayLinkManager + 0x145d7d)
#4  0x0000643c9e94a243 n/a (DisplayLinkManager + 0x1bc243)
#5  0x0000732e91db439d n/a (libc.so.6 + 0x9439d)
#6  0x0000732e91e3949c n/a (libc.so.6 + 0x11949c)

(...tons of more output...)

Nov 27 13:40:54 archiboldi systemd-coredump[62226]: [?] Process 62034 (DisplayLinkMana) of user 0 dumped core.

Stack trace of thread 62044:
#0  0x00007cf4e9e9f61c n/a (libc.so.6 + 0x17f61c)
#1  0x00007cf4ea2a3b25 evdi_open_attached_to (libevdi.so + 0x4b25)
#2  0x00005c39a6439f99 n/a (DisplayLinkManager + 0x25ff99)
#3  0x00005c39a6447087 n/a (DisplayLinkManager + 0x26d087)
#4  0x00005c39a643ebc2 n/a (DisplayLinkManager + 0x264bc2)

(...tons of more output...)

So could the problem be related to the "displaylink" package and not to evdi-git?

Best regards, Christian

Offline

#8 2024-11-28 09:41:13

cwo2
Member
Registered: 2024-09-02
Posts: 6

Re: USB Dockingstation with Displaylink & external monitors not working

I remove all evdi* and displaylink* related packages and tried several combinations:

- evdi + displaylink
- evdi-git + displaylink
- evdi-compat-git + displaylink

none worked. When plugging in a display to my internal HDMI port, it worked perfectly. Maybe it is because, it then don't use displaylink.

Back to displaylink: The

yay -S displaylink

installs Displaylink in version 6.0.0. According to a comment from displaylink, there is a version 6.1. But - I cant find a way to install this... can anybody tell me, how I can install 6.1?

Thank you and best regrads,

Christian

Offline

Board footer

Powered by FluxBB