Keyboard/trackpad OR wifi but not both!

Hi, I've only dabbled in linux so consider me a noob...
I've an old HP Pavilion x360 with dual boot windows and ubuntu MATE.
When I ran from the installation media, everything worked perfectly well. Once mounted on the hard drive, I lost use of the keyboard and trackpad. After some digging I found that disabling acpi in grub (acpi=off) brought the keyboard and trackpad back...but made the wifi inoperable. If I change the line to acpi=force (or delete it) then I get the wifi back but of course keyboard/trackpad don't work. Any suggestions?
PS wifi adapter is qualcomm atheros qca9565 and I've checked that the driver ath9k is there and updated