Is the Bios of the G9s up-to-date? Have a look on the below link
https://support.hp.com/us-en/document/ish_5789324-5789376-16
Could also be that the USB power saving is on.
When USBs are not connecting or are disconnecting, most of the times its from the Source/Laptop or PC USB configuration settings
I suggest to go to Device Manager and under USB – you could try disabling the USB Power Management Setting:
Also I suggest to Uninstall/ or disable USB Devices that are not longer used.
Note that USB devices will always be installed when needed but they need to be manually uninstalled or disable to avoid conflicts.

Insert Image