diff options
-rw-r--r-- | .SRCINFO | 7 | ||||
-rw-r--r-- | 99-displaylink.rules | 2 | ||||
-rw-r--r-- | DisplayLink_Ubuntu_1.0.68_release-note.txt | 102 | ||||
-rw-r--r-- | PKGBUILD | 61 | ||||
-rw-r--r-- | displaylink.service | 2 |
5 files changed, 126 insertions, 48 deletions
@@ -1,9 +1,10 @@ pkgbase = displaylink pkgdesc = DisplayLink DL-5xxx, DL-41xx and DL-3x00 Driver for Linux pkgver = 1.0.68 - pkgrel = 1 + pkgrel = 2 url = http://www.displaylink.com/downloads/ubuntu.php install = displaylink.install + changelog = DisplayLink_Ubuntu_1.0.68_release-note.txt arch = i686 arch = x86_64 license = custom @@ -14,8 +15,8 @@ pkgbase = displaylink source = 99-displaylink.rules source = displaylink.service md5sums = 3589332fd5ad70b3d24d9bc512d78b48 - md5sums = b3919af46369e551f94589e1d1c799ec - md5sums = 7e18667b7c0ca55d977a6a3ebbe1cbfe + md5sums = d41c68cfd521336218b549cdf48779c0 + md5sums = c141a15e973481c7d961f8e135627ca4 pkgname = displaylink diff --git a/99-displaylink.rules b/99-displaylink.rules index e9fd032de8b7..8639fe0da531 100644 --- a/99-displaylink.rules +++ b/99-displaylink.rules @@ -1 +1 @@ -ACTION=="add", SUBSYSTEM=="usb", ATTR{idVendor}=="179", ATTR{bNumInterfaces}=="*5", GROUP="plugdev", MODE="0660" +ACTION=="add", SUBSYSTEM=="usb", ATTR{idVendor}=="179", ATTR{bNumInterfaces}=="*5", TAG+="uaccess" diff --git a/DisplayLink_Ubuntu_1.0.68_release-note.txt b/DisplayLink_Ubuntu_1.0.68_release-note.txt new file mode 100644 index 000000000000..87bf390a33d1 --- /dev/null +++ b/DisplayLink_Ubuntu_1.0.68_release-note.txt @@ -0,0 +1,102 @@ +=============================================================================
+=============================================================================
+
+DisplayLink Ubuntu Software Release Note
+
+Version: 1.0.68
+Date: 17th July 2015
+
+DisplayLink DL-5xxx, DL-3x00 Firmware Version: 8.12.4.73304
+DisplayLink DL-41xx Firmware Version: 8.12.4.73304
+Extensible Virtual Display Interface version included: 1.0.68
+
+=============================================================================
+=============================================================================
+
+
+A. Introduction
+===============
+
+This is the first release of DisplayLink Driver Software v1.0 for Ubuntu. It provides initial, beta quality support for DisplayLink USB 3.0 devices on specific variants of desktop Ubuntu Linux.
+
+The driver enables video support for products using DisplayLink USB 3.0 technology. Standard native ubuntu drivers provide support for DisplayLink audio and Ethernet interfaces.
+
+
+A1. Important notes about DL5xxx, DL-3x00 and DL-41xx Firmware
+==============================================================
+
+This software release contains an embedded firmware image. DL-5xxx, DL-3xxx and DL-41xx devices will be automatically upgraded with this firmware upon connection if required.
+
+The upgrade is silent, therefore screens connected to DL-5xxx, DL-3xxx or DL-41xx devices may require a few seconds to appear when devices are connected for the first time, or after devices have been used on other platforms and OSes.
+
+B. Contents
+===========
+
+A. Introduction
+A1. Important notes about DL-5xxx, DL-3xxx and DL-41xx Firmware
+B. Contents
+C. Supported O/S variants
+D. Release components
+E. How to Install
+F. Supported Features & Hardware
+G. Limitations
+G1. Future Development
+H. Known Issues
+
+C. Supported O/S variants
+=========================
+
+This release has been prepared to be compatible with Ubuntu 14.04.2 LTS. Other variants and editions may be compatible if they meet minimum O/S requirements, but are not supported by DisplayLink.
+
+The Software contains binaries which work on Intel x86 platform (32 bit and 64 bit).
+Minimum supported Linux Kernel version is 3.16.
+Minimum supported Xorg version is 1.16.
+
+D. Release components
+=====================
+The Software consists of an open-source kernel mode driver (EVDI) with an accompanying library (libevdi), and a supporting binary application compatible with Intel x86 platform.
+Source code for the open-source components can be found at DisplayLink's GitHub, https://github.com/DisplayLink
+
+E. How to Install
+=================
+
+To install the release, from a terminal window, with root permissions use the command:
+
+sudo ./displaylink-driver-XXXX.run
+
+Where displaylink-driver-XXXX.run is the name of the extracted DisplayLink driver.
+
+The dkms framework is required for installation of DisplayLink. This can be installed with the command: sudo apt-get install dkms
+
+More detailed information on installation can be found at http://support.displaylink.com/knowledgebase/articles/615714#ubuntu
+
+F. Supported Features & Hardware
+================================
+
+This driver will support up to 2 displays connected to DisplayLink devices. More than 2 DisplayLink displays may work, but not supported or tested by DisplayLink.
+
+Resolutions up to 4K are supported on the appropriate DisplayLink hardware.
+
+Device families supported:
+- DL-5xxx
+- DL-41xx
+- DL-3xxx
+
+Support for DL-1x5 and DL-1x0 devices is provided by the open source udl driver.
+
+G. Limitations & Known issues
+=============================
+
+A list of limitations and known issues can be found here:
+http://support.displaylink.com/knowledgebase/articles/641668
+
+H. Future Development
+======================
+
+This is a first release. DisplayLink are open to suggestions and feedback on improving the proposed architecture and will gladly review patches or proposals from the developer community. Please find a current list of areas we identify as requiring attention below.
+
+- In this preview release, the user mode driver service is running with root permissions. In future versions, we would like to reduce the privilege level required for this process – e.g. by using a separate low-privileged user and a separate group, to ensure the permissions needed for driving DisplayLink screens are as low as possible.
+
+- The communication between the EVDI kernel module and the wrapper libevdi library is not access-controlled or authenticated. This could be improved in future releases, making it harder to compromise the data EVDI is sending and receiving.
+
+- EVDI kernel module driver is currently a platform_driver, for multiple reasons; most importantly because virtual displays are not discoverable, i.e. cannot be enumerated at the hardware level. EVDI is also a generic device, not tied to any particular kind of device, transport layer or a bus.
\ No newline at end of file @@ -1,27 +1,18 @@ # Maintainer: Ivan <hideaki02@gmail.com> pkgname=displaylink pkgver=1.0.68 -pkgrel=1 +pkgrel=2 pkgdesc="DisplayLink DL-5xxx, DL-41xx and DL-3x00 Driver for Linux" arch=('i686' 'x86_64') url="http://www.displaylink.com/downloads/ubuntu.php" license=('custom' 'GPL2' 'LGPL2.1') -groups=() depends=('dkms') -makedepends=() -optdepends=() -provides=() -conflicts=() -replaces=() -backup=() -options=() install=${pkgname}.install -changelog= +changelog="DisplayLink_Ubuntu_1.0.68_release-note.txt" source=(http://downloads.displaylink.com/publicsoftware/DisplayLink-Ubuntu-$pkgver.zip 99-displaylink.rules displaylink.service) -noextract=() md5sums=('3589332fd5ad70b3d24d9bc512d78b48' - 'b3919af46369e551f94589e1d1c799ec' - '7e18667b7c0ca55d977a6a3ebbe1cbfe') + 'd41c68cfd521336218b549cdf48779c0' + 'c141a15e973481c7d961f8e135627ca4') build() { chmod +x displaylink-driver-$pkgver.run @@ -33,56 +24,40 @@ build() { package() { cd "$pkgname-$pkgver" - COREDIR=$pkgdir/usr/lib/displaylink - LOGSDIR=$pkgdir/var/log/displaylink - mkdir -p $COREDIR - mkdir -p $LOGSDIR - chmod 0755 $COREDIR - chmod 0750 $LOGSDIR + COREDIR="$pkgdir/usr/lib/displaylink" + install -d -m755 $COREDIR + install -d -m750 "$pkgdir/var/log/displaylink" echo "Configuring EVDI DKMS module" - SRCDIR=$pkgdir/usr/src/evdi-$pkgver - mkdir -p "$SRCDIR" - tar xf "evdi-$pkgver-src.tar.gz" -C "$SRCDIR" + SRCDIR="$pkgdir/usr/src/evdi-$pkgver" + mkdir -p $SRCDIR + tar xf evdi-$pkgver-src.tar.gz -C $SRCDIR if [ "$CARCH" == "i686" ]; then ARCH="x86" elif [ "$CARCH" == "x86_64" ]; then ARCH="x64" fi - local DLM="$ARCH/DisplayLinkManager" - echo "Installing $DLM" - cp -f $DLM $COREDIR + echo "Installing DisplayLink Manager $ARCH" + install -D -m755 $ARCH/DisplayLinkManager $COREDIR/DisplayLinkManager echo "Installing libraries" - local LIBEVDI="$ARCH/libevdi.so" - local LIBUSB="$ARCH/libusb-1.0.so.0.1.0" + install -D -m755 $ARCH/libevdi.so $COREDIR/libevdi.so + install -D -m755 $ARCH/libusb-1.0.so.0.1.0 $COREDIR/libusb-1.0.so.0.1.0 - mv -f $LIBEVDI $COREDIR - mv -f $LIBUSB $COREDIR ln -s /usr/lib/displaylink/libusb-1.0.so.0.1.0 $COREDIR/libusb-1.0.so.0 ln -s /usr/lib/displaylink/libusb-1.0.so.0.1.0 $COREDIR/libusb-1.0.so - chmod 0755 $COREDIR/DisplayLinkManager - chmod 0755 $COREDIR/libevdi.so - chmod 0755 $COREDIR/libusb-1.0.so.0.1.0 - echo "Installing firmware packages" - cp -f *.spkg $COREDIR - chmod 0644 $COREDIR/*.spkg + install -D -m644 *.spkg $COREDIR echo "Installing license file" - cp -f LICENSE $COREDIR - chmod 0644 $COREDIR/LICENSE + install -D -m644 LICENSE "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE" echo "Adding udev rule for DisplayLink DL-3xxx/5xxx devices" - mkdir -p $pkgdir/etc/udev/rules.d/ - cp 99-displaylink.rules $pkgdir/etc/udev/rules.d/ - chmod 0644 $pkgdir/etc/udev/rules.d/99-displaylink.rules + install -D -m644 99-displaylink.rules "$pkgdir/etc/udev/rules.d/99-displaylink.rules" echo "Installing DLM systemd service" - mkdir -p $pkgdir/usr/lib/systemd/system/ - cp displaylink.service $pkgdir/usr/lib/systemd/system/ - chmod 0644 $pkgdir/usr/lib/systemd/system/displaylink.service + install -D -m644 displaylink.service "$pkgdir/usr/lib/systemd/system/displaylink.service" } diff --git a/displaylink.service b/displaylink.service index 8357cadc1507..a67491f134e5 100644 --- a/displaylink.service +++ b/displaylink.service @@ -11,4 +11,4 @@ WorkingDirectory=/usr/lib/displaylink RestartSec=5 [Install] -WantedBy=multi-user.target +WantedBy=graphical.target |