This is an installation port for Fedora 41/42 Linux of the Wavlink WL-UG6902H. The device works (is supported) on Ubuntu 24.04, by just running the installation script provided by Wavlink (check my Gist about this).
To make it work on Fedora, follow the steps below.
Any damage to your hardware or software is your sole responsability. Run the steps below at your own risk.
I have throughly tested this with the aforementioned device and distro and it worked, but I do not guarantee it will work on your settup.
Clone this repo:
git clone https://github.com/thehaniak/wavlink-fedora.git
cd wavlink-fedoraAdd run permissions and run the install.sh script as root:
chmod +x install.sh
sudo ./install.sh installThe install script will prompt if you want to install the EVDI driver. If you select Yes, it will also install the SMI USB driver and service.
If the device is plugged in and not working straight away, plug it in and try starting smiusbdisplay.service.
systemctl start smiusbdisplay.serviceAfter installation, you shoud reboot your system to make sure everything is working properly.
If you're too lazy to check the code 😜 ...
- Downloads and installs the latest EVDI driver RPM from displaylink-rpm
- Copies the binaries (firmware and driver(?)) to /opt/siliconmotion.
- Installs systemd smiusbdisplay.service.
- Make it possible to uninstall the SMI and EVDI drivers.
- Remove upstart script support, as it's no longer necessary on Fedora>=41.
- Keep cleaning up the install script.
//Copyright (c) 2020, SiliconMotion Inc.
//All rights reserved.
//
//Redistribution and use in source and binary forms, with or without
//modification, are permitted provided that the following conditions are met:
// * Redistributions of source code must retain the above copyright
// notice, this list of conditions and the following disclaimer.
// * Redistributions in binary form must reproduce the above copyright
// notice, this list of conditions and the following disclaimer in the
// documentation and/or other materials provided with the distribution.
// * Neither the name of the <organization> nor the
// names of its contributors may be used to endorse or promote products
// derived from this software without specific prior written permission.
//
//THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND
//ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
//WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
//DISCLAIMED. IN NO EVENT SHALL <COPYRIGHT HOLDER> BE LIABLE FOR ANY
//DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
//(INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
//LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
//ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
//(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
//SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
3rd party components
====================
evdi (Extensible Virtual Display Interface) Linux Kernel Module
===============================================================
The evdi kernel module is licensed under the GNU General Public License, version 2.0.
The GPL v2.0 license text for the module can be found next to the source code in a separate LICENSE file.
libevdi wrapper library
=======================
The libevdi wrapper library is licensed under the GNU Lesser General Public License, version 2.1.
The LGPL v2.1 license text can be found below.
libusb library
=======================
The Software uses libusb, which is licensed under LGPL v2.1.