ploopyco / headphones

A set of 3D-printed headphones, alongside a DAC/amp/EQ board powered by a Raspberry Pico.
833 stars 43 forks source link

DAC loses connection every ~15minutes #20

Closed ploopyco closed 3 months ago

ploopyco commented 11 months ago

We have a user report of the DAC disconnecting from the PC.

Some notes:

randomlongname commented 8 months ago

I am having the same problem with the headphones I just finished assembling yesterday (10/25/23). I have found the more I play the more frequent it resets, to the point it resets immediately. It does not reset with only one head phone attached. Most importantly if I turn the volume down one notch from max the problem goes away completely. :)

qoh commented 8 months ago

I find that this is strongly correlated with volume. I can reliably reproduce it by setting my OS volume level above 87% (-3.63 dB) and playing Cleaning Apartment - Clint Mansell on Spotify, and waiting for the 00:04 low frequency "thunk" hit. That is, if I do this with a volume level of 88% (-3.33) dB, then the DAC disconnects at 00:04.

Future testing suggestion: Try it with a public raw audio file.

Other anecdata:

qoh commented 8 months ago

A few more observations:

It is not in the input: Lowering Pre-EQ Gain from -4.1 dB to -8 dB lets me crank OS volume to 100% without reset. It occurs after the EQ: Raising Post-EQ Gain from +3 dB to +6 dB causes it to reset there even at 87%. It is not in the EQ: Using both changes at once brings back the original behavior.

In other words, in my experience, the DAC disconnects when a sample is too loud somewhere after the Post-EQ Gain step; its value does not matter anywhere before that.

rheaplex commented 5 months ago

I'm getting the same issue (fedora ppc64le). It seems better with a direct usb connection rather than a hub. Is it a usb bandwidth or timing issue? Unplugging and re-plugging does fix it temporarily.

ploopyco commented 3 months ago

The root cause of this problem appears to be too much power draw resulting in the upstream USB host cutting power to the device. Reducing power draw by lowering the volume is a possible fix (though not ideal). Finding a USB power with higher power capacity (or no overcurrent protections) is another. Closing for now; if you're still having problems, please email us at contact@ploopy.co