File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -5,7 +5,9 @@ KDIR := /lib/modules/$(shell uname -r)/build
55PWD := $(shell pwd)
66modules modules_install clean :
77 $(MAKE ) -C $(KDIR ) SUBDIRS=$(PWD ) $@
8- modules_depmod : modules_install
8+ conf_install :
9+ install -D -m 0644 hid-huion.conf /etc/depmod.d/hid-huion.conf
10+ modules_depmod : modules_install conf_install
911 depmod -a
1012udev_install :
1113 install hid-rebind /sbin
Original file line number Diff line number Diff line change @@ -29,15 +29,6 @@ installing appropriate version of "linux-headers" package.
2929
3030To build the driver run "make" in the driver's source directory.
3131
32- If you run Ubuntu or a derived distro, you might need to prepend "extra" to
33- the directory search list in /etc/depmod/ubuntu.conf before installation. Put
34- it right after the "search" command word and before any other directories, so
35- the installed driver takes precedence over the stock driver in v3.11 and later
36- kernels. For example, on Ubuntu 13.10 /etc/depmod/ubuntu.conf would have to
37- become this:
38-
39- search extra updates ubuntu built-in
40-
4132To install the driver and the associated rebinding script run "make install"
4233as root in the source directory.
4334
Original file line number Diff line number Diff line change 1+ # Depmod(8) configuration for hid-huion driver
2+ #
3+ # Load hid-huion driver from the "extra" module subdirectory
4+ override hid-huion * extra
You can’t perform that action at this time.
0 commit comments