So, I have this old JBL Flip 2, it didn't turn on, that was an easy fix, however, it stopped producing audio, I hooked up the speakers directly to my headphone jack
Genuine JBL Charge 2 Portable Speaker Motherboard Main Unit Control Board for sale online | eBay