Raedwulf, I have a laptop with the BYD Trackpad and wanted to test your patch. I applied your changes to the ubuntu-wily kernel source but encountered the following error while rebuilding:
CC [M] drivers/input/mouse/byd.o
/home/martin/Kernel/ubuntu-wily/drivers/input/mouse/byd.c:159:5: error: redefinition of ‘byd_init’
int byd_init(struct psmouse *psmouse)
^
In file included from /home/martin/Kernel/ubuntu-wily/drivers/input/mouse/byd.c:33:0:
/home/martin/Kernel/ubuntu-wily/drivers/input/mouse/byd.h:23:19: note: previous definition of ‘byd_init’ was here
static inline int byd_init(struct psmouse *psmouse) ^
/home/martin/Kernel/ubuntu-wily/drivers/input/mouse/byd.c:284:5: error: redefinition of ‘byd_detect’
int byd_detect(struct psmouse *psmouse, bool set_properties)
^
In file included from /home/martin/Kernel/ubuntu-wily/drivers/input/mouse/byd.c:33:0:
/home/martin/Kernel/ubuntu-wily/drivers/input/mouse/byd.h:18:19: note: previous definition of ‘byd_detect’ was here
static inline int byd_detect(struct psmouse *psmouse, ^
/home/martin/Kernel/ubuntu-wily/scripts/Makefile.build:258: recipe for target 'drivers/input/mouse/byd.o' failed
make[5]: *** [drivers/input/mouse/byd.o] Error 1
/home/martin/Kernel/ubuntu-wily/scripts/Makefile.build:403: recipe for target 'drivers/input/mouse' failed
make[4]: *** [drivers/input/mouse] Error 2
/home/martin/Kernel/ubuntu-wily/scripts/Makefile.build:403: recipe for target 'drivers/input' failed
make[3]: *** [drivers/input] Error 2
I'm building the kernel as per these instructions.
Raedwulf, I have a laptop with the BYD Trackpad and wanted to test your patch. I applied your changes to the ubuntu-wily kernel source but encountered the following error while rebuilding:
CC [M] drivers/ input/mouse/ byd.o Kernel/ ubuntu- wily/drivers/ input/mouse/ byd.c:159: 5: error: redefinition of ‘byd_init’ Kernel/ ubuntu- wily/drivers/ input/mouse/ byd.c:33: 0: Kernel/ ubuntu- wily/drivers/ input/mouse/ byd.h:23: 19: note: previous definition of ‘byd_init’ was here
^ Kernel/ ubuntu- wily/drivers/ input/mouse/ byd.c:284: 5: error: redefinition of ‘byd_detect’ Kernel/ ubuntu- wily/drivers/ input/mouse/ byd.c:33: 0: Kernel/ ubuntu- wily/drivers/ input/mouse/ byd.h:18: 19: note: previous definition of ‘byd_detect’ was here
^ Kernel/ ubuntu- wily/scripts/ Makefile. build:258: recipe for target 'drivers/ input/mouse/ byd.o' failed input/mouse/ byd.o] Error 1 Kernel/ ubuntu- wily/scripts/ Makefile. build:403: recipe for target 'drivers/ input/mouse' failed input/mouse] Error 2 Kernel/ ubuntu- wily/scripts/ Makefile. build:403: recipe for target 'drivers/input' failed
/home/martin/
int byd_init(struct psmouse *psmouse)
^
In file included from /home/martin/
/home/martin/
static inline int byd_init(struct psmouse *psmouse)
/home/martin/
int byd_detect(struct psmouse *psmouse, bool set_properties)
^
In file included from /home/martin/
/home/martin/
static inline int byd_detect(struct psmouse *psmouse,
/home/martin/
make[5]: *** [drivers/
/home/martin/
make[4]: *** [drivers/
/home/martin/
make[3]: *** [drivers/input] Error 2
I'm building the kernel as per these instructions.
* https:/ /wiki.ubuntu. com/Kernel/ BuildYourOwnKer nel
Any chance you can shed some light on this please?