3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs
Florian Klink 43f74794de displaylink: manually activate dlm.service
The shell script coming with the vendor-provided udev rule simply
starts dlm.service (and sets up some symlinks), and stops dlm.service if
that was the last card plugged in.

On NixOS, some of the cat/grep/sed commands are not available, causing
the script to fail.

Turns out, the symlinks aren't needed at all. Archlinux ships their own
script
(https://aur.archlinux.org/cgit/aur.git/plain/udev.sh?h=displaylink),
which only starts and stops dlm.service, depending on whether there's
cards left or not.

We can further optimize this by simply starting dlm.service on the first
card, and not stopping it at all. Considering dlm won't get stopped if
one of multiple cards is unplugged, it seems to handle disconnects.
2020-12-21 00:34:31 +01:00
..
applications Merge pull request #107264 from dywedir/pijul 2020-12-20 16:46:29 -05:00
build-support tests.buildRustCrate: Fix after hashing method change 2020-12-19 19:05:07 +00:00
common-updater
data stix-two: 2.0.2 -> 2.10 2020-12-20 12:21:17 +01:00
desktops gnome3.gnome-calendar: 3.38.1 -> 3.38.2 2020-12-17 19:56:03 +01:00
development Merge pull request #106967 from siraben/knightos-update 2020-12-21 00:07:57 +01:00
games Merge pull request #105391 from reedrw/r2mod 2020-12-21 00:01:41 +01:00
misc Merge pull request #106359 from AndersonTorres/wip-dgen 2020-12-17 12:18:36 -03:00
os-specific displaylink: manually activate dlm.service 2020-12-21 00:34:31 +01:00
pkgs-lib
servers Merge pull request #102034 from spacefrogg/fusionInventory 2020-12-20 17:37:55 +01:00
shells oh-my-zsh: 2020-12-14 → 2020-12-16 2020-12-17 09:02:46 -05:00
stdenv
test buildRustCrateTests: Move to tests.buildRustCrate 2020-12-19 18:56:06 +00:00
tools Merge pull request #107166 from mohe2015/update-sudo 2020-12-20 17:24:01 -05:00
top-level Merge pull request #105391 from reedrw/r2mod 2020-12-21 00:01:41 +01:00