Custom RPM created for Fedora and others
I modified and repackaged the Ubuntu installer in rpm format. Also added a udev rule so that the displaylink unit is started when the device is plugged in, and stopped when it's plugged out. It still uses dkms to keep it working after kernel updates.
So far I've tested it in Fedora 22, with kernels 4.1.4-200.fc22.x86_64 and 4.1.3-201.fc22.x86_64, and it works quite well. Download and step-by-step available: http://nothen.com.ar/en/support-for-...ters-on-linux/ Eric |
Awesome, thanks so much for putting this together. I'll report any bugs if I find any.
|
Hiya,
Just undid my previous installation in favor of your more future proof and more efficient RPM. I like that it auto-detects the USB module. However, I actually own two different usb modules. The one that you own (the 4 in 1) is the one I use when mobile, but I use this more complete docking station when I'm at home and plugged into my monitor. It seems your script doesn't detect the docking station as a displaylink device and thus doesn't start the driver when it's plugged in. As a workaround, right now, I've plugged in the 4 in 1 into the docking station, which ironically enough, works. Can I help you provide the right info to update the script to detect the docking station properly? Also completely unrelated to the driver, but I was wondering if you had any tips on how to get Fedora/Gnome to remember display arrangement settings after a reboot. It doesn't seem to remember that the monitor is set to the left of my laptop. Thanks for all your help! |
Yes, the rule works when you plug one into the other because the 4-in-1 is detected, no mather where on the usb tree. You have 2 issues then, first one is broadening the detection of DisplayLink devices, the second one issomething I haven't thought before: someone plugging two devices. Issue has to do with stopping the service only when the last device has been unplugged. I don't have two devices to test this, but I imagine my rule will stop the service when you unplug the first one, hence stopping a valid monitor from working.
Ideally, I would use "/bin/lsusb -d 17e9: 2>/dev/null || /bin/systemctl stop displaylink.service", which serves as validation of a remaining DisplayLink device plugged in, but udev does not allow for piped commands on RUN, so I would have to go with an external script, which is not what I like the most, but I understand it helps on a broader set of configurations. For now, I've updated my rpm with a udev rule that detects devices based on vendor, which should work for you. I've also fixed an issue when upgrading the rpm, so please remove the current version, then install the new one (this version will manage upgrades ok). Try using one device, using both, then removing one, and let me know. http://nothen.com.ar/resources/displ...8-2.x86_64.rpm As of your other question, yes, I'm running into the same. Every time I plug a monitor I have to configure it. Don't know yet where this information is saved. I thought about leaving the DisplayLinkManager service running all the time, but that didn't work either. Thanks, Eric |
I've tried this out on my setup, but it's not working.
Laptop: Lenovo ThinkPad W520 DisplayLink adapter: Lenovo ThinkPad USB 3.0 Dock OS: Fedora 22 Kernel: 4.1.3-201.fc22.x86_64 The module is present for my kernel: Code:
/lib/modules/4.1.5-200.fc22.x86_64/extra/evdi.ko Code:
kernel: usb 2-1.4.1: Manufacturer: DisplayLink Code:
● displaylink.service - DisplayLink Manager Service Code:
/usr/lib/displaylink/DisplayLinkManager dmesg does show some evdi entries, but I think they're normal: Code:
[ 409.913339] evdi: module verification failed: signature and/or required key missing - tainting kernel |
Did you plug a monitor on the hdmi or vga ports, or did you just plug the adapter? Asking because nothing shows up on the display configuration menu if I just plug the adapter. It only shows when I actually plug a display on the hdmi port of the adapter. Also make sure to install the rpm version (release 2) that I uploaded yesterday, as it handles a wider set of devices.
|
I tried plugging the adapter into the USB 3.0 port on the laptop first, and then the DVI monitor cables into the adapter (and the monitors are powered and turned on). I've also tried plugging the monitors into the adapter first, and then the adapter into the laptop. And the adapter has external power and a power button, so I've tried having that on and off in various ways too.
I have been using your RPM version 1.0.68-2 from the beginning. How much does this depend on the graphics driver being used to run the integrated display and the VGA and DisplayPort ports (not currently being used)? This laptop has NVIDIA Optimus hardware which does some kind of mixing of Intel integrated and NVIDIA card graphics, but I don't have Bumblebee installed to drive that, so it's disabled in the BIOS. I am using Nouveau as the graphics driver, as the NVIDIA binary blob has given me trouble. |
I am finding some other people using Ubuntu and Debian and having the same issues with the Lenovo ThinkPad USB 3.0 Dock: Everything seems to work fine, but no displays are detected.
I checked xrandr, and that doesn't show the displays either. I have increased the DisplayLink encrypted logging level and then plugged in the dock. If anyone from DisplayLink would like to see the log files, let me know. |
Quote:
|
I had to sign the kernel mod with a private/public key pair to get it to run on my Lenovo because I dual boot with Windows 10 and it uses secure boot. I guess you could disable secure boot if that's easier.
|
Thanks for the info, good to know. I have secure boot disabled so didn't notice that was needed.
|
@enothen sorry for the delayed reply. your latest rpm works perfectly for me, no more need to have 2 adapters daisy-chained.
thanks so much! |
Quote:
Can I ask you (and anyone else giving a try to this rpm) please let me know the hardware and OS combination you are using (Adapter model, Laptop brand/model, OS version) so that I can have a list where this is working and not working? Might help others. Thanks, Eric |
RPM updated to version 1.0.138
The rpm I created for Fedora has been updated with version 1.0.138, as released few days ago by Displaylink. Available here:
http://nothen.com.ar/resources/displ...8-1.x86_64.rpm Driver is recompiled on the new version of evdi when the rpm is upgraded. Also note that when you plug your adapter for the first time after this upgrade, it may take some seconds to bring the display up, as a firmware upgrade has been included (or at least it looks that way for Dell's DA100 adapter). Eric |
Quote:
Dell Docking Station D3000. 2 external Dell E2214H displays Fedora 22 4.1.6-200.fc22.x86_64 At the beginning additional screens were black with no signal. Gnome settings > Displays didn't show them either. It started to work after a while. Unfortunately I don't know after what rpm's it started to work as I installed a lot of software after display link driver installation (1.0.68-2). Now they need to be set up in Gnome Settings > Display every time I plug dock station in. BTW: I installed your new release of 1.0.138-1 today - it works for me in the same way as previous release. |
My hardware combination is:
Dell XPS 13 Developer Edition, running Fedora 22 Dell UltraHD 4K USB 3.0 Docking Station (D3100) Dell 27 Ultra HD 4K Monitor – P2715Q I have also tested with Dell DA100 works perfectly. |
enothen would you be willing to put this up as a project on Github or similar?
|
|
Has anyone figured out how to get Fedora 22 to save the monitor arrangement?
|
Quote:
|
I have a good solid 2 minutes of wait-time for udev at boot with the dell 3100, anyone else seeing this?
Lately I can't quit X at all either, the devices aren't recognized. So no logging out - only full reboots. Every. time. Fedora 22 to Fedora 23 upgraded |
Enothen can you please update your RPM for F23 / 1.0.335
|
Awesome, didn't noticed the driver was updated this week. Yes, we'll do soon and post in here.
|
RPM has now been updated with driver version 1.0.335 released by DisplayLink on Dec 14th.
Altough release notes don't mention it, this release now remembers the position configured for the screen, so that it stays configured after unplugging - replugging. Other than that, there still are some minor issues with the mouse pointer flickering and with initial screen setup. If you have an older version installed, simply issue: sudo dnf update http://nothen.com.ar/resources/displ...5-1.x86_64.rpm Regards, Eric |
Works like a charm and the 2min timeout at boot is gone as well -
Just wanted to say "Thank you very much" for your efforts - Now F23 just needs to fix the Xorg-X-Server on multi-monitor setups - But with the downgraded X-Server ('' dnf --showduplicates --allowerasing --releasever=22 downgrade xorg-x11-server-Xorg '' ) it actually works like a charm on F23 for me ... |
Awesome, thanks for letting me know. There was someone else having that 2min issue as well, so maybe the upgrade will take care of that. I didn't have that on my laptop.
Eric |
Quote:
Your site seems to be down at the moment, I keep getting server not found. Is there a mirror of the RPMs? Phil |
I don't know if it was a blip or what, I see it's all up now and have downloaded the rpm. I do not have a mirror, but eventually I'll put this on copr.fedoraproject.org (I was just introduced to it recently).
Eric |
Quote:
It is working now, just trying to install on my XPS13 9350 which arrived this morning. I'm running into an error: [root@phillaptop phil]# modprobe evdi modprobe: ERROR: could not insert 'evdi': Exec format error I have the following kernel installed: [root@phillaptop phil]# rpm -q kernel kernel-4.4.0-0.rc6.git1.2.fc24.x86_64 This is what I get in the log: [root@phillaptop phil]# more /var/log/displaylink/displaylink.log Creating symlink /var/lib/dkms/evdi/1.0.335/source -> /usr/src/evdi-1.0.335 DKMS: add completed. Error! echo Your kernel headers for kernel 4.2.3-300.fc23.x86_64 cannot be found at /lib/modules/4.2.3-300.fc23.x86_64/build or /lib/modules/4.2.3-300.fc23.x86_64/source. Error! echo Your kernel headers for kernel 4.4.0-0.rc6.git1.2.fc24.x86_64 cannot be found at /lib/modules/4.4.0-0.rc6.git1.2.fc24.x86_64/build or /lib/modules/4.4.0-0.rc6.git1.2.fc24.x86_64/source. ------------------------------ Deleting module version: 1.0.335 completely from the DKMS tree. ------------------------------ Done. Creating symlink /var/lib/dkms/evdi/1.0.335/source -> /usr/src/evdi-1.0.335 DKMS: add completed. Error! echo Your kernel headers for kernel 4.4.0-0.rc6.git1.2.fc24.x86_64 cannot be found at /lib/modules/4.4.0-0.rc6.git1.2.fc24.x86_64/build or /lib/modules/4.4.0-0.rc6.git1.2.fc24.x86_64/source. Any ideas? Phil |
Looks like you're missing kernel-headers. Run "rpm -q kernel kernel-core kernel-devel kernel-headers | sort" and check that you have matching versions. I'm running the lastest on F24, so it looks like this:
# rpm -q kernel kernel-core kernel-devel kernel-headers | sort kernel-4.2.8-300.fc23.x86_64 kernel-core-4.2.8-300.fc23.x86_64 kernel-devel-4.2.8-300.fc23.x86_64 kernel-headers-4.2.8-300.fc23.x86_64 Eric |
Quote:
Thanks for the reply, I ended up uninstalling the kernel-headers and kernel devel and then re-installing, it works fine now. All I have to do is figure out why the VGA port works but the HDMI port doesn't. Phil |
Update: I followed Coldfire's suggestion earlier in this thread and downgraded xorg (dnf --showduplicates --allowerasing --releasever=22 downgrade xorg-x11-server-Xorg). Everything is now working again and the menus actually show up in the correct monitors this time.
Been using this RPM for about 3 weeks now with no issues other than the menus(right click, file, edit, etc etc) refusing to open up on the display-link monitors and having to reconfigure the monitor positions on boot. Fedora had some upgrades earlier today and as of right now I can't seem to be able to get the ports on the dock to work. They're recognized and I can see them inside the "configure displays" section of gnome, but I only see static on either monitor. No change if I move the mouse to the displays. If I restart gnome, I get to see my background, but still no update if I move my mouse to the dock monitors. There's also artifacts on my main monitor wherever my cursor ends up. Details: Laptop: XPS 13 9343 Dock: D3100 OS: Fedora 23 Workstation Kernel: 4.3.5-300.fc23.x86_64 Quote:
Quote:
Quote:
|
Is there a RPM for Fedora 24?
Hey guys,
I downloaded and installed the latest version of this driver on my Fedora 24, but from time to time the screens connected to the docking station start flickering, this did not happen when I had Fedora 23 with the same driver. Any ideas? Thanks. |
Fedora 24 4.6.3-300.fc24.x86_64 & Displaylink-1.1.65-2.x86_64
I am able to compile, install and get the service running, but when I do plug a monitor, nothing happen.
(was working previously with f23) Was anybody successful with f24 4.6.3 and displaylink ? Thx for your help Laurent |
Quote:
|
|
I'm using fedora 24 workstation, which is currently running a 4.7 kernel. I reinstalled the package:
Code:
# dnf reinstall displaylink-1.0.335-1.x86_64.rpm Code:
gcc -Wp,-MD,/var/lib/dkms/evdi/1.0.335/build/.evdi_encoder.o.d -nostdinc -isystem /usr/lib/gcc/x86_64-redhat-linux/6.1.1/include -I./arch/x86/include -Iarch/x86/include/generated/uapi -Iarch/x86/include/generated -Iinclude -I./arch/x86/include/uapi -Iarch/x86/include/generated/uapi -I./include/uapi -Iinclude/generated/uapi -include ./include/linux/kconfig.h -D__KERNEL__ -Wall -Wundef -Wstrict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -Werror-implicit-function-declaration -Wno-format-security -std=gnu89 -mno-sse -mno-mmx -mno-sse2 -mno-3dnow -mno-avx -m64 -falign-jumps=1 -falign-loops=1 -mno-80387 -mno-fp-ret-in-387 -mpreferred-stack-boundary=3 -mskip-rax-setup -mtune=generic -mno-red-zone -mcmodel=kernel -funit-at-a-time -maccumulate-outgoing-args -DCONFIG_AS_CFI=1 -DCONFIG_AS_CFI_SIGNAL_FRAME=1 -DCONFIG_AS_CFI_SECTIONS=1 -DCONFIG_AS_FXSAVEQ=1 -DCONFIG_AS_SSSE3=1 -DCONFIG_AS_CRC32=1 -DCONFIG_AS_AVX=1 -DCONFIG_AS_AVX2=1 -DCONFIG_AS_SHA1_NI=1 -DCONFIG_AS_SHA256_NI=1 -pipe -Wno-sign-compare -fno-asynchronous-unwind-tables -fno-delete-null-pointer-checks -O2 --param=allow-store-data-races=0 -Wframe-larger-than=2048 -fstack-protector-strong -Wno-unused-but-set-variable -Wno-unused-const-variable -fno-omit-frame-pointer -fno-optimize-sibling-calls -fvar-tracking-assignments -g -pg -mfentry -DCC_USING_FENTRY -Wdeclaration-after-statement -Wno-pointer-sign -fno-strict-overflow -fconserve-stack -Werror=implicit-int -Werror=strict-prototypes -Werror=date-time -Werror=incompatible-pointer-types -DCC_HAVE_ASM_GOTO -Iinclude/drm -DMODULE -DKBUILD_BASENAME='"evdi_encoder"' -DKBUILD_MODNAME='"evdi"' -c -o /var/lib/dkms/evdi/1.0.335/build/evdi_encoder.o /var/lib/dkms/evdi/1.0.335/build/evdi_encoder.c |
The evdi module included in this package does not support 4.7.x or greater series kernels. You will have to build evdi and libevdi from source, or wait for an updated package.
|
Thanks! After installing libdrm-devel I could compile the latest code which I downloaded from the GIT repository. I copied the module to the /lib/modules/kernel/misc directory and ran depmod. Finally I reinstalled the displaylink rpm.
Will test the result tomorrow at work! |
Test, disconnect and reconnect the dock:
Code:
[16893.602902] usb 2-2: USB disconnect, device number 8 Code:
lsmod | grep evdi Code:
uname -r Any ideas? |
All times are GMT. The time now is 08:57 PM. |
Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2024, vBulletin Solutions, Inc.