我一直在尝试通过 ThinkPad USB 3 Pro 扩展坞(具有 DisplayLink 标签)的 DVI 端口将额外的显示器与具有 Ubuntu 18.04 的 Lenovo IdeaPad L340 连接。所有其他驱动程序(声音、USB)都是开箱即用的,但不是显示器。
我遵循了 Ubuntu 18.04 驱动程序版本的安装步骤:5.1 https://support.displaylink.com/knowledgebase/articles/684649
但是在运行脚本的步骤中失败了:
sudo ./displaylink-driver-5.1.26.run
Verifying archive integrity... 100% All good.
Uncompressing DisplayLink Linux Driver 5.1.26 100%
DisplayLink Linux Software 5.1.26 install script called: install
Distribution discovered: Ubuntu 18.04.4 LTS
WARNING: Version 1.7.0 of EVDI kernel module is already running.
Please reboot before attempting to re-install DisplayLink Linux Software.
Installation terminated.
经过一番谷歌搜索;我做了以下事情:
$ sudo ./displaylink-driver-5.1.26.run --keep --noexec
displaylink-driver-5.1.26$ sudo ./displaylink-installer.sh uninstall
DisplayLink Linux Software 5.1.26 install script called: uninstall
Distribution discovered: Ubuntu 18.04.4 LTS
Uninstalling
Removing EVDI from kernel tree, DKMS, and removing sources.
Stopping displaylink-driver systemd service
Failed to stop displaylink-driver.service: Unit displaylink-driver.service not loaded.
Failed to disable unit: Unit file displaylink-driver.service does not exist.
Removing suspend-resume hooks
Removing udev rule
Removing Core folder
Uninstallation steps complete.
Please note that the evdi kernel module is still in the memory.
A reboot is required to fully complete the uninstallation process.
由于 displaylink-driver.service 不存在,因此卸载似乎没有进行。我重新启动了几次;我什至尝试在控制台模式下运行 Ubuntu,以避免 X 服务器出现任何问题。
按照此处的步骤更改 X 服务器的配置没有帮助: https: //support.displaylink.com/knowledgebase/articles/1181623-displaylink-ubuntu-driver-after-recent-x-upgrades
这里提到的构建 DisplayLink / EVDI 都没有帮助: https ://forums.developer.nvidia.com/t/building-displaylink-evdi/73626
- lsusb 命令结果:
$lsusb
Bus 002 Device 004: ID 17ef:1017 Lenovo
Bus 002 Device 003: ID 17e9:433f DisplayLink
Bus 002 Device 002: ID 17ef:1016 Lenovo
Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 001 Device 005: ID 174f:1176 Syntek
Bus 001 Device 003: ID 046d:c52b Logitech, Inc. Unifying Receiver
Bus 001 Device 006: ID 0cf3:e500 Atheros Communications, Inc.
Bus 001 Device 004: ID 17ef:1017 Lenovo
Bus 001 Device 008: ID 04e8:6860 Samsung Electronics Co., Ltd Galaxy (MTP)
Bus 001 Device 002: ID 17ef:1016 Lenovo
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
- dkms 初始状态:
$dkms status
nvidia, 440.59, 5.3.0-59-generic, x86_64: installed
- 构建 DisplayLink / EVDI 后的 dkms 状态
$ dkms status
evdi, devel, 5.3.0-59-generic, x86_64: installed (WARNING! Diff between built and installed module!)
nvidia, 440.59, 5.3.0-59-generic, x86_64: installed
- 内核版本
$uname -a
Linux 5.3.0-59-generic #53~18.04.1-Ubuntu
我将不胜感激任何帮助;如果需要更多信息,请告诉我。
谢谢。
安装成功……终于。
万一有人遇到同样的问题;这就是我所做的。不知道我是如何准确修复它的,但我尝试了不同的方法:
我运行脚本 displaylink-debian.sh 和脚本 evdi.sh 最终得到相同的结果,但它安装了更多可能有帮助的库。
重启后;安装虽然进行了(使用问题中的第一个命令)并且检测到显示但显示为黑色;再次重新启动修复了黑屏。