Hi Kai-Heng,
Attached output from 'make' - assume installed correctly. I'll reboot and let you know if it worked.
root@horace-P57:/mnt/Data/Linux_drivers/gigabyte-wmi# dir gigabyte-wmi.c Makefile root@horace-P57:/mnt/Data/Linux_drivers/gigabyte-wmi# sudo make make -C /lib/modules/4.11.0-041100rc2-lowlatency/build M=`pwd` make[1]: Entering directory '/usr/src/linux-headers-4.11.0-041100rc2-lowlatency' LD /mnt/Data/Linux_drivers/gigabyte-wmi/built-in.o CC [M] /mnt/Data/Linux_drivers/gigabyte-wmi/gigabyte-wmi.o /mnt/Data/Linux_drivers/gigabyte-wmi/gigabyte-wmi.c: In function ‘gigabyte_wmi_notify’: /mnt/Data/Linux_drivers/gigabyte-wmi/gigabyte-wmi.c:63:6: warning: unused variable ‘scancode’ [-Wunused-variable] u32 scancode; ^ /mnt/Data/Linux_drivers/gigabyte-wmi/gigabyte-wmi.c:62:26: warning: unused variable ‘key’ [-Wunused-variable] const struct key_entry *key; ^ /mnt/Data/Linux_drivers/gigabyte-wmi/gigabyte-wmi.c:61:6: warning: unused variable ‘device_state’ [-Wunused-variable] u16 device_state; ^ Building modules, stage 2. MODPOST 1 modules CC /mnt/Data/Linux_drivers/gigabyte-wmi/gigabyte-wmi.mod.o LD [M] /mnt/Data/Linux_drivers/gigabyte-wmi/gigabyte-wmi.ko make[1]: Leaving directory '/usr/src/linux-headers-4.11.0-041100rc2-lowlatency' root@horace-P57:/mnt/Data/Linux_drivers/gigabyte-wmi# sudo make install make: *** No rule to make target 'install'. Stop. root@horace-P57:/mnt/Data/Linux_drivers/gigabyte-wmi#
Hi Kai-Heng,
Attached output from 'make' - assume installed correctly. I'll reboot and let you know if it worked.
root@horace- P57:/mnt/ Data/Linux_ drivers/ gigabyte- wmi# dir P57:/mnt/ Data/Linux_ drivers/ gigabyte- wmi# sudo make 4.11.0- 041100rc2- lowlatency/ build M=`pwd` linux-headers- 4.11.0- 041100rc2- lowlatency' Linux_drivers/ gigabyte- wmi/built- in.o Linux_drivers/ gigabyte- wmi/gigabyte- wmi.o Linux_drivers/ gigabyte- wmi/gigabyte- wmi.c: In function ‘gigabyte_ wmi_notify’ : Linux_drivers/ gigabyte- wmi/gigabyte- wmi.c:63: 6: warning: unused variable ‘scancode’ [-Wunused-variable] Linux_drivers/ gigabyte- wmi/gigabyte- wmi.c:62: 26: warning: unused variable ‘key’ [-Wunused-variable]
^ Linux_drivers/ gigabyte- wmi/gigabyte- wmi.c:61: 6: warning: unused variable ‘device_state’ [-Wunused-variable] Linux_drivers/ gigabyte- wmi/gigabyte- wmi.mod. o Linux_drivers/ gigabyte- wmi/gigabyte- wmi.ko linux-headers- 4.11.0- 041100rc2- lowlatency' P57:/mnt/ Data/Linux_ drivers/ gigabyte- wmi# sudo make install P57:/mnt/ Data/Linux_ drivers/ gigabyte- wmi#
gigabyte-wmi.c Makefile
root@horace-
make -C /lib/modules/
make[1]: Entering directory '/usr/src/
LD /mnt/Data/
CC [M] /mnt/Data/
/mnt/Data/
/mnt/Data/
u32 scancode;
^
/mnt/Data/
const struct key_entry *key;
/mnt/Data/
u16 device_state;
^
Building modules, stage 2.
MODPOST 1 modules
CC /mnt/Data/
LD [M] /mnt/Data/
make[1]: Leaving directory '/usr/src/
root@horace-
make: *** No rule to make target 'install'. Stop.
root@horace-