Ubuntu 16.04 Displaylink 驱动程序问题

Ubuntu 16.04 Displaylink 驱动程序问题

我对 ubuntu 还很陌生,我刚刚在笔记本电脑上安装了它,并试图让我的集线器工作,以便我可以使用我的显示器。当我尝试安装 displaylink 驱动程序时,我收到以下错误:

ERROR (code 3): Failed to build evdi/1.2.65. Consult /var/lib/dkms/evdi/1.2.65/build/make.log for details..

这是make.log的内容:

DKMS make.log for evdi-1.2.65 for kernel 4.10.0-33-generic (x86_64)
Tuesday 19 September  09:57:27 AEST 2017
make KBUILD_VERBOSE=1 SUBDIRS=/var/lib/dkms/evdi/1.2.65/build SRCROOT=/var/lib/dkms/evdi/1.2.65/build CONFIG_MODULE_SIG= -C /lib/modul$
make[1]: Entering directory '/usr/src/linux-headers-4.10.0-33-generic'
test -e include/generated/autoconf.h -a -e include/config/auto.conf || (                \
echo >&2;                                                       \
echo >&2 "  ERROR: Kernel configuration is invalid.";           \
echo >&2 "         include/generated/autoconf.h or include/config/auto.conf are missing.";\
echo >&2 "         Run 'make oldconfig && make prepare' on kernel src to fix it.";      \
echo >&2 ;                                                      \
/bin/false)
mkdir -p /var/lib/dkms/evdi/1.2.65/build/.tmp_versions ; rm -f /var/lib/dkms/evdi/1.2.65/build/.tmp_versions/*
make -f ./scripts/Makefile.build obj=/var/lib/dkms/evdi/1.2.65/build
gcc -Wp,-MD,/var/lib/dkms/evdi/1.2.65/build/.evdi_drv.o.d  -nostdinc -isystem /usr/lib/gcc/x86_64-linux-gnu/5/include  -I./arch/x86/$
if [ "-pg" = "-pg" ]; then if [ /var/lib/dkms/evdi/1.2.65/build/evdi_drv.o != "scripts/mod/empty.o" ]; then ./scripts/recordmcount  $
gcc -Wp,-MD,/var/lib/dkms/evdi/1.2.65/build/.evdi_modeset.o.d  -nostdinc -isystem /usr/lib/gcc/x86_64-linux-gnu/5/include  -I./arch/$
/var/lib/dkms/evdi/1.2.65/build/evdi_modeset.c: In function ‘evdi_modeset_init’:
/var/lib/dkms/evdi/1.2.65/build/evdi_modeset.c:375:2: error: implicit declaration of function ‘drm_mode_create_dirty_info_property’ [-$
drm_mode_create_dirty_info_property(dev);
^
cc1: some warnings being treated as errors
scripts/Makefile.build:294: recipe for target '/var/lib/dkms/evdi/1.2.65/build/evdi_modeset.o' failed
make[2]: *** [/var/lib/dkms/evdi/1.2.65/build/evdi_modeset.o] Error 1
Makefile:1524: recipe for target '_module_/var/lib/dkms/evdi/1.2.65/build' failed
make[1]: *** [_module_/var/lib/dkms/evdi/1.2.65/build] Error 2
make[1]: Leaving directory '/usr/src/linux-headers-4.10.0-33-generic'
Makefile:21: recipe for target 'all' failed
make: *** [all] Error 2

但是我不知道如何在内核源上运行 make oldconfig $$ make prepare。

编辑:上述问题可以通过下载最新版本来解决,但最新版本不是您转到 displaylink 网站上的 downloads/ubuntu 网址时链接的版本。您需要的内容如下:http://www.displaylink.com/downloads/file?id=993

然而,虽然已经安装了驱动程序,但我的 DisplayLink 仍然无法与我的第二台显示器一起工作。

答案1

获取更新的驱动程序后,我发现必须在此处编辑配置文件http://support.displaylink.com/knowledgebase/articles/1181623-displaylink-ubuntu-driver-after-recent-x-upgrades

然而,这并没有解决问题,因为现在让它与显示器一起工作会导致我的鼠标闪烁(尽管第二个屏幕确实工作)。我将其标记为已解决,因为该问题是 xorg 驱动程序的一个已知问题,应该通过发布更新来修复,我无能为力。

相关内容