我有一个 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 但我不知道如何编译内核以支持平板电脑。
我怎样才能安装这个驱动程序?谢谢
DIGIMend在https://github.com/DIGImend/digimend-kernel-drivers上发布了一个新的驱动程序。您也可以使用
modprobe hid-huion
强制加载,这可能对您有所帮助。您的评论者关于检查 dmesg 输出以获取更多信息是正确的。