从源代码安装 Huion h580 平板电脑驱动程序

从源代码安装 Huion h580 平板电脑驱动程序

我有一台 Huion h580 平板电脑,是从 dx.com 购买的,但它在 ubuntu 上无法使用。我找到了这个驱动程序:https://github.com/DIGImend/huion-driver 它应该从源代码安装,但我所做的没有起作用:

paulo@paulo-mccartney:~/Downloads/huion-driver-master$ make
make -C /lib/modules/3.13.0-24-generic/build SUBDIRS=/home/paulo/Downloads/huion-driver-master modules
make[1]: Entering directory `/usr/src/linux-headers-3.13.0-24-generic'
CC [M] /home/paulo/Downloads/huion-driver-master/hid-huion.o
Building modules, stage 2.
MODPOST 1 modules
CC /home/paulo/Downloads/huion-driver-master/hid-huion.mod.o
LD [M] /home/paulo/Downloads/huion-driver-master/hid-huion.ko
make[1]: Leaving directory `/usr/src/linux-headers-3.13.0-24-generic'
paulo@paulo-mccartney:~/Downloads/huion-driver-master$ cd /usr/src/linux-headers-3.13.0-24

paulo@paulo-mccartney:~/Downloads/huion-driver-master$ sudo make install
[sudo] password for paulo:
make -C /lib/modules/3.13.0-24-generic/build SUBDIRS=/home/paulo/Downloads/huion-driver-master modules_install
make[1]: Entering directory `/usr/src/linux-headers-3.13.0-24-generic'
INSTALL /home/paulo/Downloads/huion-driver-master/hid-huion.ko
Can't read private key
DEPMOD 3.13.0-24-generic
make[1]: Leaving directory `/usr/src/linux-headers-3.13.0-24-generic'
install -D -m 0644 hid-huion.conf /etc/depmod.d/hid-huion.conf
depmod -a
install hid-rebind /sbin
install -m 0644 hid-rebind.rules /lib/udev/rules.d/70-hid-rebind.rules
udevadm control --reload


paulo@paulo-mccartney:~/Downloads/huion-driver-master$ rmmod hid-huion
rmmod: ERROR: Module hid_huion is not currently loaded

还发现了这个在 Debian 中安装此平板电脑的视频: https://www.youtube.com/watch?v=wJ0-N0GMeXw 但我不知道如何编译内核来支持平板电脑。

我该如何安装这个驱动程序?谢谢

答案1

数字化修复发布新驱动程序https://github.com/DIGImend/digimend-kernel-drivers。您还可以使用modprobe hid-huion强制加载,这可能会对您有所帮助。您的评论者关于检查 dmesg 输出以获取更多信息的说法是正确的。

相关内容