I'm using 2014 Razer Blade 14", tried the files from git and the link from Matthew Williams, but when I did sudo make they both gave me the following error:
=================================================================
make -C /lib/modules/3.13.0-32-generic/build SUBDIRS=/home/zhe/Downloads/hid-rmi-rb14 modules
make[1]: Entering directory `/usr/src/linux-headers-3.13.0-32-generic'
CC [M] /home/zhe/Downloads/hid-rmi-rb14/hid-rmi.o
In file included from /home/zhe/Downloads/hid-rmi-rb14/hid-rmi.c:25:0:
/home/zhe/Downloads/hid-rmi-rb14/compat.h:24:19: error: redefinition of ‘hid_hw_raw_request’
static inline int hid_hw_raw_request(struct hid_device *hdev, ^
In file included from /home/zhe/Downloads/hid-rmi-rb14/hid-rmi.c:14:0:
include/linux/hid.h:999:19: note: previous definition of ‘hid_hw_raw_request’ was here
static inline int hid_hw_raw_request(struct hid_device *hdev, ^
In file included from /home/zhe/Downloads/hid-rmi-rb14/hid-rmi.c:25:0:
/home/zhe/Downloads/hid-rmi-rb14/compat.h: In function ‘hid_hw_raw_request’:
/home/zhe/Downloads/hid-rmi-rb14/compat.h:37:14: error: ‘struct hid_device’ has no member named ‘hid_get_raw_report’
return hdev->hid_get_raw_report(hdev, reportnum, buf, len, rtype);
^
/home/zhe/Downloads/hid-rmi-rb14/compat.h: At top level:
/home/zhe/Downloads/hid-rmi-rb14/compat.h:43:19: error: redefinition of ‘hid_hw_output_report’
static inline int hid_hw_output_report(struct hid_device *hdev, __u8 *buf, ^
In file included from /home/zhe/Downloads/hid-rmi-rb14/hid-rmi.c:14:0:
include/linux/hid.h:1019:19: note: previous definition of ‘hid_hw_output_report’ was here
static inline int hid_hw_output_report(struct hid_device *hdev, __u8 *buf, ^
make[2]: *** [/home/zhe/Downloads/hid-rmi-rb14/hid-rmi.o] Error 1
make[1]: *** [_module_/home/zhe/Downloads/hid-rmi-rb14] Error 2
make[1]: Leaving directory `/usr/src/linux-headers-3.13.0-32-generic'
make: *** [default] Error 2
=================================================================
This happened in Ubuntu 14.04 and now I'm using Lubuntu 14.04 with kernel 3.13.0-32-generic. Any ideas how to solve this?
I'm using 2014 Razer Blade 14", tried the files from git and the link from Matthew Williams, but when I did sudo make they both gave me the following error:
======= ======= ======= ======= ======= ======= ======= ======= ======= == 3.13.0- 32-generic/ build SUBDIRS= /home/zhe/ Downloads/ hid-rmi- rb14 modules linux-headers- 3.13.0- 32-generic' Downloads/ hid-rmi- rb14/hid- rmi.o Downloads/ hid-rmi- rb14/hid- rmi.c:25: 0: Downloads/ hid-rmi- rb14/compat. h:24:19: error: redefinition of ‘hid_hw_ raw_request’ raw_request( struct hid_device *hdev,
^ Downloads/ hid-rmi- rb14/hid- rmi.c:14: 0: linux/hid. h:999:19: note: previous definition of ‘hid_hw_ raw_request’ was here raw_request( struct hid_device *hdev,
^ Downloads/ hid-rmi- rb14/hid- rmi.c:25: 0: Downloads/ hid-rmi- rb14/compat. h: In function ‘hid_hw_ raw_request’ : Downloads/ hid-rmi- rb14/compat. h:37:14: error: ‘struct hid_device’ has no member named ‘hid_get_ raw_report’ get_raw_ report( hdev, reportnum, buf, len, rtype); Downloads/ hid-rmi- rb14/compat. h: At top level: Downloads/ hid-rmi- rb14/compat. h:43:19: error: redefinition of ‘hid_hw_ output_ report’ output_ report( struct hid_device *hdev, __u8 *buf,
^ Downloads/ hid-rmi- rb14/hid- rmi.c:14: 0: linux/hid. h:1019: 19: note: previous definition of ‘hid_hw_ output_ report’ was here output_ report( struct hid_device *hdev, __u8 *buf,
^ zhe/Downloads/ hid-rmi- rb14/hid- rmi.o] Error 1 /home/zhe/ Downloads/ hid-rmi- rb14] Error 2 linux-headers- 3.13.0- 32-generic' ======= ======= ======= ======= ======= ======= ======= ======= ==
make -C /lib/modules/
make[1]: Entering directory `/usr/src/
CC [M] /home/zhe/
In file included from /home/zhe/
/home/zhe/
static inline int hid_hw_
In file included from /home/zhe/
include/
static inline int hid_hw_
In file included from /home/zhe/
/home/zhe/
/home/zhe/
return hdev->hid_
^
/home/zhe/
/home/zhe/
static inline int hid_hw_
In file included from /home/zhe/
include/
static inline int hid_hw_
make[2]: *** [/home/
make[1]: *** [_module_
make[1]: Leaving directory `/usr/src/
make: *** [default] Error 2
=======
This happened in Ubuntu 14.04 and now I'm using Lubuntu 14.04 with kernel 3.13.0-32-generic. Any ideas how to solve this?