Score:0

How to install driver for Huion hs610 graphic tablet

gr flag

I recently purchased a Huion Hs610 Graphic tablet, and when I try to install the driver it shows the following error:

(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 file details

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

How do I fix this?

galexite avatar
pk flag
Could you update your question with the contents of `/var/lib/dkms/digimend/10/build/make.log` as listed in the output? This might be useful in determing where the problem lies.
Score:0
pk flag

Can you make sure you have the build-essential package and the correct headers for your kernel are installed, before trying to install that package again?

Try these commands to install those packages.

$ sudo apt update
$ sudo apt install build-essential linux-headers-$(uname -r)
AnandhaRaja avatar
gr flag
Now got this error `code` 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 (--configure): installed digimend-dkms package post-installation script subprocess returned er ror exit status 10 Errors were encountered while processing: digimend-dkms E: Sub-process /usr/bin/dpkg returned an error code (1) `code`
galexite avatar
pk flag
If the `make.log` is same as the one you’ve posted to the question, you need to install the `flex` and `bison` packages.
mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.