安装 Community DisplayLink 驱动程序 Ubuntu 20.04 时出错

安装 Community DisplayLink 驱动程序 Ubuntu 20.04 时出错

我在安装 Community DisplayLink 驱动程序时遇到问题

https://github.com/AdnanHodzic/displaylink-debian

当 evdi 包必须在内核上构建时,我特别失败

我使用的是 20.04 和内核 5.13

以下是额外的日志输出:

Preparing for install

Archive:  DisplayLink_Ubuntu_5.5.zip
  inflating: 5.5/DisplayLink USB Graphics Software for Ubuntu 5.5.0-59.151-Release Notes.txt  
  inflating: 5.5/displaylink-driver-5.5.0-59.151.run  
Creating directory displaylink-driver-5.5.0-59.151
Verifying archive integrity...  100%   MD5 checksums are OK. All good.
Uncompressing DisplayLink Linux Driver 5.5.0-59.151  100%  
patching file 5.5/displaylink-driver-5.5/displaylink-installer.sh
patch unexpectedly ends in middle of line

Installing driver version: 5.5

Distribution discovered: Ubuntu 20.04.4 LTS

Installing
[ Installing EVDI ]
[[ Installing EVDI DKMS module ]]

Creating symlink /var/lib/dkms/evdi/1.10.1/source ->
                 /usr/src/evdi-1.10.1

DKMS: add completed.

Kernel preparation unnecessary for this kernel.  Skipping...

Building module:
cleaning build area...
make -j16 KERNELRELEASE=5.13.0-43-generic all INCLUDEDIR=/lib/modules/5.13.0-43-generic/build/include KVERSION=5.13.0-43-generic DKMS_BUILD=1...(bad exit status: 2)
ERROR (dkms apport): binary package for evdi: 1.10.1 not found
Error! Bad return status for module build on kernel: 5.13.0-43-generic (x86_64)
Consult /var/lib/dkms/evdi/1.10.1/build/make.log for more information.

------------------------------
Deleting module version: 1.10.1
completely from the DKMS tree.
------------------------------
Done.
ERROR: Failed to install evdi to the kernel tree.

我也禁用了安全启动……我真的被困在这个问题上了,我想通过我的 USB 端口使用另一个外接显示器

运行的附加输出./displaylink-debian.sh --debug

Starting Debug ...

Did you read Post Installation Guide? http://bit.ly/2TbZleK [y/N] y

Did you read Troubleshooting most common issues? http://bit.ly/2Rofd0x [y/N] y

--------------- Linux system info ----------------

Distro: Ubuntu
Release: focal
Kernel: 5.13.0-43-generic

---------------- DisplayLink info ----------------

Driver version: 5.1.26
DisplayLink service status: 
EVDI service version: /sys/devices/evdi/version not found

------------------ Graphics card -----------------

Vendor: i915
Subsystem: Ltd.
VGA: Intel Corporation Device 9a60 (rev 01)
VGA (3D): NVIDIA Corporation Device 25a5 (rev a1)
X11 version: 1.20.13-1ubuntu1~20.04.2

-------------- DisplayLink xorg.conf -------------

File: /etc/X11/xorg.conf.d/20-displaylink.conf
cat: /etc/X11/xorg.conf.d/20-displaylink.conf: No such file or directory
Contents:
 

-------------------- Monitors --------------------

Providers: number : 1
Provider 0: id: 0x45 cap: 0x9, Source Output, Sink Offload crtcs: 4 outputs: 2 associated providers: 0 name:modesetting

-------------------------------------------------------------------

Use this information when submitting an issue (http://bit.ly/2GLDlpY)

-------------------------------------------------------------------

答案1

安装后我遇到了同样的问题DisplayLink 驱动程序经过一些内核更新后,适用于 Dell D3100 扩展坞。

ERROR (dkms apport): binary package for evdi: 1.10.1 not found

通过 Aptitude 安装 DKMS 后,一切就解决了。

sudo aptitude install dkms

希望能帮助到你。

相关内容