The touchpad component of https://hackaday.io/project/179967-lcd-music-display grew to such a problem area, it got its own project.
An Elan 33059 extracted from a laptop is paired with a PIC18F14k50 to function as a USB input device. The touchpad uses the PS/2 protocol as an interface & the PIC is a PS/2 to USB converter with additional pins for the buttons.
It turns out the 18f14k50 being used is a 5V part so it doesn't need a voltage regulator at all. What still needs a voltage regulator is the touchpad. So the PS/2 signal was kept on 3.3V pullups while the 18f14k50 was reconnected directly to 5V.
It was probably browning out, since it needed 3.0V to run at 48Mhz & the brownout reset was disabled. Helas, it continued failing to enumerate after a certain amount of time. Verified it doesn't enumerate if the touchpad is disconnected. Trends pointed to the touchpad browning out or somehow getting wedged. Amazing how complicated & fussy something as primitive as the PS/2 protocol was. That was introduced in 1987 with the mighty 8Mhz IBM PS/2 & is probably still used in modern touchpads.
The next step would be making it more robust against touchpad glitches. Made it initialize USB without waiting for the touchpad & try to reinitialize the touchpad if it detects an error. Detecting an error is the tricky bit.