PDA

View Full Version : Displaylink on Fedora 22


jkudish
08-13-2015, 04:57 AM
I got the new DisplayLink driver working for Fedora 22 with Kernel 4.1.3. Had to make a few changes to the install script. Here is the modified script (https://gist.github.com/jkudish/ec9a882f8b2f028b7481).

It's working perfectly, but I have to re-run the install script to get the displaylink service running after every boot. I tried to use Fedora's built-in systemcl command to get it to run the service on startup, but it fails:


$ sudo systemctl enable displaylink.service
The unit files have no [Install] section. They are not meant to be enabled
using systemctl.
Possible reasons for having this kind of units are:
1) A unit may be statically enabled by being symlinked from another unit's
.wants/ or .requires/ directory.
2) A unit's purpose may be to act as a helper for some other unit which has
a requirement dependency on it.
3) A unit may be started when needed via activation (socket, path, timer,
D-Bus, udev, scripted systemctl call, ...).


Anyone have any ideas?

mlukaszek
08-13-2015, 08:31 AM
Hi,

See http://displaylink.org/forum/showthread.php?t=63994

Thanks,
Michal

azothforgotten
08-14-2015, 11:54 PM
I can confirm that this works on Fedora 22 with the 4.1.4 kernel. My system uses efi so I had to sign the kernel mod. There are a few guides on how to do it for Virtualbox, the same principles apply with this.

enothen
08-15-2015, 02:20 AM
I got the new DisplayLink driver working for Fedora 22 with Kernel 4.1.3. Had to make a few changes to the install script. Here is the modified script (https://gist.github.com/jkudish/ec9a882f8b2f028b7481).

It's working perfectly, but I have to re-run the install script to get the displaylink service running after every boot. I tried to use Fedora's built-in systemcl command to get it to run the service on startup, but it fails:


$ sudo systemctl enable displaylink.service
The unit files have no [Install] section. They are not meant to be enabled
using systemctl.
Possible reasons for having this kind of units are:
1) A unit may be statically enabled by being symlinked from another unit's
.wants/ or .requires/ directory.
2) A unit's purpose may be to act as a helper for some other unit which has
a requirement dependency on it.
3) A unit may be started when needed via activation (socket, path, timer,
D-Bus, udev, scripted systemctl call, ...).


Anyone have any ideas?

I created my own rpm for Fedora 22, and added a udev rule so that the service is started when the device is plugged in, and stopped when plugged out. Also keeps dkms so that kernel updates won't break it.

http://nothen.com.ar/en/support-for-displaylink-adapters-on-linux/

Eric