If your HP EliteBook 840 G4 trackpad isn't working, first check if it's accidentally disabled by double-tapping the top-left corner of the touchpad or using the Fn key combination (Fn + F7 or similar). If that doesn't work, try updating your drivers or restarting your system.