我在 Dell XPS 13 9360 上安装 DisplayLink 驱动程序(特别是 Dell DA100 适配器)时遇到严重问题。我从官方网站。
然后我照做了sudo displaylink-driver-1.3.54.run
,得到了这个:
Verifying archive integrity... All good.
Uncompressing DisplayLink Linux Driver 1.3.54 100%
DisplayLink Linux Software 1.3.54 install script called: install
Distribution discovered: Ubuntu 16.04.2 LTS
Installing
Configuring EVDI DKMS module
Registering EVDI kernel module with DKMS
Building EVDI kernel module with DKMS
ERROR (code 3): Failed to build evdi/1.3.54. Consult /var/lib/dkms/evdi/1.3.54/build/make.log for details..
我正在使用 Ubuntu 16.04 LTS。请帮助我,我需要使适配器工作才能使用我的外接显示器。
更新
我们一直与@EliahKagan 一起致力于此事。我在这里发布了一些主要输出,如果遇到同样的问题可以看看。
输出lsb_release -a
:
No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 16.04.3 LTS
Release: 16.04
Codename: xenial
输出uname -a
:
Linux nyname-XPS-13-9360 4.4.0-91-generic #114-Ubuntu SMP Tue Aug 8 11:56:56 UTC 2017 x86_64 x86_64 x86_64 GNU/Linux
输出apt list --installed build-essential dkms\* gcc\* linux\*{generic,headers}\*
:
Elencazione... Fatto
build-essential/xenial,now 12.1ubuntu2 amd64 [installato]
dkms/xenial-updates,xenial-updates,now 2.2.0.3-2ubuntu11.3 all [installato]
gcc/xenial,now 4:5.3.1-1ubuntu1 amd64 [installato]
gcc-4.4/xenial,now 4.4.7-8ubuntu7 amd64 [installato]
gcc-4.4-base/xenial,now 4.4.7-8ubuntu7 amd64 [installato, automatico]
gcc-4.8/xenial,now 4.8.5-4ubuntu2 amd64 [installato]
gcc-4.8-base/xenial,now 4.8.5-4ubuntu2 amd64 [installato, automatico]
gcc-4.9/xenial,now 4.9.4-2ubuntu1~16.04 amd64 [installato]
gcc-4.9-base/xenial,now 4.9.4-2ubuntu1~16.04 amd64 [installato, automatico]
gcc-5/xenial,now 5.4.1-2ubuntu1~16.04 amd64 [installato]
gcc-5-base/xenial,now 5.4.1-2ubuntu1~16.04 amd64 [installato]
gcc-6/xenial,now 6.3.0-18ubuntu2~16.04 amd64 [installato]
gcc-6-base/xenial,now 6.3.0-18ubuntu2~16.04 amd64 [installato]
gcc-7-base/xenial,now 7.1.0-5ubuntu2~16.04 amd64 [installato, automatico]
linux-generic/xenial-updates,xenial-security,now 4.4.0.91.96 amd64 [installato]
linux-headers-4.4.0-23/now 4.4.0-23.41 all [installato, locale]
linux-headers-4.4.0-23-generic/now 4.4.0-23.41 amd64 [installato, locale]
linux-headers-4.4.0-53/xenial-updates,xenial-updates,xenial-security,xenial-security,now 4.4.0-53.74 all [installato, auto-rimovibile]
linux-headers-4.4.0-53-generic/xenial-updates,xenial-security,now 4.4.0-53.74 amd64 [installato, auto-rimovibile]
linux-headers-4.4.0-57/xenial-updates,xenial-updates,xenial-security,xenial-security,now 4.4.0-57.78 all [installato, auto-rimovibile]
linux-headers-4.4.0-57-generic/xenial-updates,xenial-security,now 4.4.0-57.78 amd64 [installato, auto-rimovibile]
linux-headers-4.4.0-59/xenial-updates,xenial-updates,xenial-security,xenial-security,now 4.4.0-59.80 all [installato, auto-rimovibile]
linux-headers-4.4.0-59-generic/xenial-updates,xenial-security,now 4.4.0-59.80 amd64 [installato, auto-rimovibile]
linux-headers-4.4.0-66/xenial-updates,xenial-updates,xenial-security,xenial-security,now 4.4.0-66.87 all [installato, auto-rimovibile]
linux-headers-4.4.0-66-generic/xenial-updates,xenial-security,now 4.4.0-66.87 amd64 [installato, auto-rimovibile]
linux-headers-4.4.0-72/xenial-updates,xenial-updates,xenial-security,xenial-security,now 4.4.0-72.93 all [installato, auto-rimovibile]
linux-headers-4.4.0-72-generic/xenial-updates,xenial-security,now 4.4.0-72.93 amd64 [installato, auto-rimovibile]
linux-headers-4.4.0-75/xenial-updates,xenial-updates,xenial-security,xenial-security,now 4.4.0-75.96 all [installato, automatico]
linux-headers-4.4.0-75-generic/xenial-updates,xenial-security,now 4.4.0-75.96 amd64 [installato]
linux-headers-4.4.0-78/xenial-updates,xenial-updates,xenial-security,xenial-security,now 4.4.0-78.99 all [installato, auto-rimovibile]
linux-headers-4.4.0-78-generic/xenial-updates,xenial-security,now 4.4.0-78.99 amd64 [installato, auto-rimovibile]
linux-headers-4.4.0-79/xenial-updates,xenial-updates,xenial-security,xenial-security,now 4.4.0-79.100 all [installato, auto-rimovibile]
linux-headers-4.4.0-79-generic/xenial-updates,xenial-security,now 4.4.0-79.100 amd64 [installato, auto-rimovibile]
linux-headers-4.4.0-81/xenial-updates,xenial-updates,xenial-security,xenial-security,now 4.4.0-81.104 all [installato, auto-rimovibile]
linux-headers-4.4.0-81-generic/xenial-updates,xenial-security,now 4.4.0-81.104 amd64 [installato, auto-rimovibile]
linux-headers-4.4.0-83/xenial-updates,xenial-updates,xenial-security,xenial-security,now 4.4.0-83.106 all [installato, auto-rimovibile]
linux-headers-4.4.0-83-generic/xenial-updates,xenial-security,now 4.4.0-83.106 amd64 [installato, auto-rimovibile]
linux-headers-4.4.0-87/xenial-updates,xenial-updates,xenial-security,xenial-security,now 4.4.0-87.110 all [installato, auto-rimovibile]
linux-headers-4.4.0-87-generic/xenial-updates,xenial-security,now 4.4.0-87.110 amd64 [installato, auto-rimovibile]
linux-headers-4.4.0-89/xenial-updates,xenial-updates,xenial-security,xenial-security,now 4.4.0-89.112 all [installato, automatico]
linux-headers-4.4.0-89-generic/xenial-updates,xenial-security,now 4.4.0-89.112 amd64 [installato, automatico]
linux-headers-4.4.0-91/xenial-updates,xenial-updates,xenial-security,xenial-security,now 4.4.0-91.114 all [installato, automatico]
linux-headers-4.4.0-91-generic/xenial-updates,xenial-security,now 4.4.0-91.114 amd64 [installato, automatico]
linux-headers-generic/xenial-updates,xenial-security,now 4.4.0.91.96 amd64 [installato]
linux-image-4.4.0-23-generic/now 4.4.0-23.41 amd64 [installato, locale]
linux-image-4.4.0-53-generic/xenial-updates,xenial-security,now 4.4.0-53.74 amd64 [installato, auto-rimovibile]
linux-image-4.4.0-57-generic/xenial-updates,xenial-security,now 4.4.0-57.78 amd64 [installato, auto-rimovibile]
linux-image-4.4.0-59-generic/xenial-updates,xenial-security,now 4.4.0-59.80 amd64 [installato, auto-rimovibile]
linux-image-4.4.0-66-generic/xenial-updates,xenial-security,now 4.4.0-66.87 amd64 [installato, auto-rimovibile]
linux-image-4.4.0-72-generic/xenial-updates,xenial-security,now 4.4.0-72.93 amd64 [installato, auto-rimovibile]
linux-image-4.4.0-75-generic/xenial-updates,xenial-security,now 4.4.0-75.96 amd64 [installato, auto-rimovibile]
linux-image-4.4.0-78-generic/xenial-updates,xenial-security,now 4.4.0-78.99 amd64 [installato, auto-rimovibile]
linux-image-4.4.0-79-generic/xenial-updates,xenial-security,now 4.4.0-79.100 amd64 [installato, auto-rimovibile]
linux-image-4.4.0-81-generic/xenial-updates,xenial-security,now 4.4.0-81.104 amd64 [installato, auto-rimovibile]
linux-image-4.4.0-83-generic/xenial-updates,xenial-security,now 4.4.0-83.106 amd64 [installato, auto-rimovibile]
linux-image-4.4.0-87-generic/xenial-updates,xenial-security,now 4.4.0-87.110 amd64 [installato, auto-rimovibile]
linux-image-4.4.0-89-generic/xenial-updates,xenial-security,now 4.4.0-89.112 amd64 [installato, automatico]
linux-image-4.4.0-91-generic/xenial-updates,xenial-security,now 4.4.0-91.114 amd64 [installato, automatico]
linux-image-extra-4.4.0-23-generic/now 4.4.0-23.41 amd64 [installato, locale]
linux-image-extra-4.4.0-53-generic/xenial-updates,xenial-security,now 4.4.0-53.74 amd64 [installato, auto-rimovibile]
linux-image-extra-4.4.0-57-generic/xenial-updates,xenial-security,now 4.4.0-57.78 amd64 [installato, auto-rimovibile]
linux-image-extra-4.4.0-59-generic/xenial-updates,xenial-security,now 4.4.0-59.80 amd64 [installato, auto-rimovibile]
linux-image-extra-4.4.0-66-generic/xenial-updates,xenial-security,now 4.4.0-66.87 amd64 [installato, auto-rimovibile]
linux-image-extra-4.4.0-72-generic/xenial-updates,xenial-security,now 4.4.0-72.93 amd64 [installato, auto-rimovibile]
linux-image-extra-4.4.0-75-generic/xenial-updates,xenial-security,now 4.4.0-75.96 amd64 [installato, auto-rimovibile]
linux-image-extra-4.4.0-78-generic/xenial-updates,xenial-security,now 4.4.0-78.99 amd64 [installato, auto-rimovibile]
linux-image-extra-4.4.0-79-generic/xenial-updates,xenial-security,now 4.4.0-79.100 amd64 [installato, auto-rimovibile]
linux-image-extra-4.4.0-81-generic/xenial-updates,xenial-security,now 4.4.0-81.104 amd64 [installato, auto-rimovibile]
linux-image-extra-4.4.0-83-generic/xenial-updates,xenial-security,now 4.4.0-83.106 amd64 [installato, auto-rimovibile]
linux-image-extra-4.4.0-87-generic/xenial-updates,xenial-security,now 4.4.0-87.110 amd64 [installato, auto-rimovibile]
linux-image-extra-4.4.0-89-generic/xenial-updates,xenial-security,now 4.4.0-89.112 amd64 [installato, automatico]
linux-image-extra-4.4.0-91-generic/xenial-updates,xenial-security,now 4.4.0-91.114 amd64 [installato, automatico]
linux-image-generic/xenial-updates,xenial-security,now 4.4.0.91.96 amd64 [installato, automatico]
linux-signed-generic/xenial-updates,xenial-security,now 4.4.0.91.96 amd64 [installato]
linux-signed-image-4.4.0-23-generic/now 4.4.0-23.41 amd64 [installato, locale]
linux-signed-image-4.4.0-53-generic/xenial-updates,xenial-security,now 4.4.0-53.74 amd64 [installato, auto-rimovibile]
linux-signed-image-4.4.0-57-generic/xenial-updates,xenial-security,now 4.4.0-57.78 amd64 [installato, auto-rimovibile]
linux-signed-image-4.4.0-59-generic/xenial-updates,xenial-security,now 4.4.0-59.80 amd64 [installato, auto-rimovibile]
linux-signed-image-4.4.0-66-generic/xenial-updates,xenial-security,now 4.4.0-66.87 amd64 [installato, auto-rimovibile]
linux-signed-image-4.4.0-72-generic/xenial-updates,xenial-security,now 4.4.0-72.93 amd64 [installato, auto-rimovibile]
linux-signed-image-4.4.0-78-generic/xenial-updates,xenial-security,now 4.4.0-78.99 amd64 [installato, auto-rimovibile]
linux-signed-image-4.4.0-79-generic/xenial-updates,xenial-security,now 4.4.0-79.100 amd64 [installato, auto-rimovibile]
linux-signed-image-4.4.0-81-generic/xenial-updates,xenial-security,now 4.4.0-81.104 amd64 [installato, auto-rimovibile]
linux-signed-image-4.4.0-83-generic/xenial-updates,xenial-security,now 4.4.0-83.106 amd64 [installato, auto-rimovibile]
linux-signed-image-4.4.0-87-generic/xenial-updates,xenial-security,now 4.4.0-87.110 amd64 [installato, auto-rimovibile]
linux-signed-image-4.4.0-89-generic/xenial-updates,xenial-security,now 4.4.0-89.112 amd64 [installato, automatico]
linux-signed-image-4.4.0-91-generic/xenial-updates,xenial-security,now 4.4.0-91.114 amd64 [installato, automatico]
linux-signed-image-generic/xenial-updates,xenial-security,now 4.4.0.91.96 amd64 [installato, automatico]
linux-tools-4.4.0-23-generic/now 4.4.0-23.41 amd64 [installato, locale]
linux-tools-4.4.0-53-generic/xenial-updates,xenial-security,now 4.4.0-53.74 amd64 [installato, auto-rimovibile]
linux-tools-4.4.0-57-generic/xenial-updates,xenial-security,now 4.4.0-57.78 amd64 [installato, auto-rimovibile]
linux-tools-4.4.0-59-generic/xenial-updates,xenial-security,now 4.4.0-59.80 amd64 [installato, auto-rimovibile]
linux-tools-4.4.0-66-generic/xenial-updates,xenial-security,now 4.4.0-66.87 amd64 [installato, auto-rimovibile]
linux-tools-4.4.0-72-generic/xenial-updates,xenial-security,now 4.4.0-72.93 amd64 [installato, auto-rimovibile]
linux-tools-4.4.0-78-generic/xenial-updates,xenial-security,now 4.4.0-78.99 amd64 [installato, auto-rimovibile]
linux-tools-4.4.0-79-generic/xenial-updates,xenial-security,now 4.4.0-79.100 amd64 [installato, auto-rimovibile]
linux-tools-4.4.0-81-generic/xenial-updates,xenial-security,now 4.4.0-81.104 amd64 [installato, auto-rimovibile]
linux-tools-4.4.0-83-generic/xenial-updates,xenial-security,now 4.4.0-83.106 amd64 [installato, auto-rimovibile]
linux-tools-4.4.0-87-generic/xenial-updates,xenial-security,now 4.4.0-87.110 amd64 [installato, auto-rimovibile]
linux-tools-4.4.0-89-generic/xenial-updates,xenial-security,now 4.4.0-89.112 amd64 [installato, automatico]
linux-tools-4.4.0-91-generic/xenial-updates,xenial-security,now 4.4.0-91.114 amd64 [installato, automatico]
输出type -a cc gcc
:
cc è /usr/bin/cc
gcc è /usr/bin/gcc
输出gcc --version
:
gcc (Ubuntu/Linaro 4.4.7-8ubuntu7) 4.4.7
Copyright (C) 2010 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
输出ls usr/bin/gcc*
:
/usr/bin/gcc /usr/bin/gcc-4.8 /usr/bin/gcc-5 /usr/bin/gcc-ar /usr/bin/gcc-ar-4.9 /usr/bin/gcc-ar-6 /usr/bin/gcc-nm-4.8 /usr/bin/gcc-nm-5 /usr/bin/gcc-ranlib /usr/bin/gcc-ranlib-4.9 /usr/bin/gcc-ranlib-6
/usr/bin/gcc-4.4 /usr/bin/gcc-4.9 /usr/bin/gcc-6 /usr/bin/gcc-ar-4.8 /usr/bin/gcc-ar-5 /usr/bin/gcc-nm /usr/bin/gcc-nm-4.9 /usr/bin/gcc-nm-6 /usr/bin/gcc-ranlib-4.8 /usr/bin/gcc-ranlib-5
问题是我有gcc 4.4.7
,而且显然 DispalyLink 至少需要gcc 4.9
。我通过升级到 解决了这个问题gcc6.3
,现在驱动程序安装成功了,但外接显示器的表现非常糟糕!它非常慢。
答案1
请点击此处:
https://github.com/DisplayLink/evdi/issues/215
我的 makefile 结果是:没有规则来生成目标“arch/x86/tools/relocs.c”,需要
同样,找到了解决方案(用 替换pwd
)shell pwd
或用su && make
代替sudo make
,但由于完整性检查,无法修改“运行”文件。仍在挖掘。也请检查此处(可能需要自己重建 edvi):