如何安装绘王 hs610 手写板驱动程序

如何安装绘王 hs610 手写板驱动程序

我最近购买了一台 Huion Hs610 图形输入板,当我尝试安装驱动程序时,显示以下错误:

(Reading database ... 336798 files and directories currently installed.)
Preparing to unpack digimend-dkms_10_all.deb ...

------------------------------
Deleting module version: 10
completely from the DKMS tree.
------------------------------
Done.

Unpacking digimend-dkms (10) over (10) ...

Setting up digimend-dkms (10) ...

Loading new digimend-10 DKMS files...

Building for 5.11.0-25-generic

Building initial module for 5.11.0-25-generic

Error! Bad return status for module build on kernel: 5.11.0-25-generic (x86_64)

Consult /var/lib/dkms/digimend/10/build/make.log for more information.
dpkg: error processing package digimend-dkms (--install):

 installed digimend-dkms package post-installation script subprocess returned error exit status 10

Errors were encountered while processing:
 digimend-dkms

make.log 文件详细信息

DKMS make.log for digimend-10 for kernel 5.11.0-25-generic (x86_64)
Tue Aug 10 12:53:16 AM IST 2021
make -C /lib/modules/5.11.0-25-generic/build SUBDIRS=/var/lib/dkms/digimend/10/build modules
make[1]: Entering directory '/usr/src/linux-headers-5.11.0-25-generic'
  SYNC    include/config/auto.conf.cmd
  LEX     scripts/kconfig/lexer.lex.c
/bin/sh: 1: flex: not found
make[3]: *** [scripts/Makefile.host:9: scripts/kconfig/lexer.lex.c] Error 127
make[3]: *** Waiting for unfinished jobs....
  YACC    scripts/kconfig/parser.tab.[ch]
/bin/sh: 1: bison: not found
make[3]: *** [scripts/Makefile.host:17: scripts/kconfig/parser.tab.h] Error 127
make[2]: *** [Makefile:629: syncconfig] Error 2
make[1]: *** [Makefile:737: include/config/auto.conf.cmd] Error 2
make[1]: Leaving directory '/usr/src/linux-headers-5.11.0-25-generic'
make: *** [Makefile:22: modules] Error 2

我该如何解决?

答案1

在尝试再次安装该软件包之前,您能否确保已安装该build-essential软件包并安装了内核的正确标头?

尝试这些命令来安装这些包。

$ sudo apt update
$ sudo apt install build-essential linux-headers-$(uname -r)

答案2

您可以从 Huion 下载 HS610 驱动程序在本页

向下滚动到页面底部并单击下载列出的最新“deb”文件版本。

在此处输入图片描述

下一个,运行以下命令创建工作目录:

mkdir ~/HUION

然后,将下载的文件移动或复制到该~/HUION目录中。

最后,运行以下命令安装驱动:

sudo apt update
sudo apt upgrade
sudo apt install ~/HUION/*.deb

相关内容