my focusrite scarlett 2i2 has started buzzing. grr.
i am powering it via probably the shittiest possible usb-c cable. i wonder if getting a better cable would fix it.

adding a powered usb hub did not fix it. so i modified a usb cable to let me splice in power from an external 5v psu.

*that* fixed it.

this is a *server motherboard* ASRock. what are you even doing. why is there noise on the USB power rails.
2oz copper seems like a lot for a PCB, but maybe it isn't
@ariadne 2oz is generally the minimum for motherboards, has been since the late 2000s.

@gsuberland @ariadne ah yes, the single-worst unit in electronics.

2 ounces (weight) of copper (volume) per square foot (area) - it's a linear dimension, approximately 70um

@ariadne

My experience is that ASRock sucks, generally speaking, and if they put out any actually good mobo it is by accident.

@ariadne asrock are terrible at this. every board I've had from them has noisy USB with audio frequency garbage coupled from the CPU power rails. my guess is they run 4 layer and let return currents flow right under the USB bucks and I2S DAC in most of their designs.
@gsuberland @ariadne that, and USB VBUS is the second-worst voltage source that most people will use - the worst being automotive “12” volt
@jpm @ariadne true, but still, I've seen >400mVp-p audio frequency noise across VUSB/GND on one of their boards. no common mode filtering either. hot garbage.
@gsuberland @ariadne USB VBUS go eeeeeeeeeeeeeeeeeeee
@gsuberland @ariadne and I'm still seriously considering designing and building a USB VBUS fixer (as big an input cap as I can get away with, a 1MHz-class buck-boost converter in the middle, and as big an output capacitor as I can afford)
@jpm @gsuberland @ariadne the irony is we have this issue specifically with the server motherboards that a certain high end audio console manufacturer uses in their consoles (no actual USB audio devices, but issues with USB HID and MIDI devices due to noisy/saggy VBUS)
@s0 @gsuberland @ariadne speaking of your $DAYJOB, do you reckon they’d pay for a device called “The USB Power Unfuckenator” or should I workshop some more names?
@jpm @s0 @gsuberland @ariadne In a heartbeat. But my $DAYJOB folks are unusual (in a good way).

@jpm @s0 @gsuberland @ariadne

LOL.

depends. if you're selling directly to the engineering folks, it's perfect. if you're trying to get to a company big enough to have a purchasing department, you might need something a bit more... polished? :)

@ariadne to be fair, I think most servers will use USB for initial os install and like.. that's it? Not sure what else you'd use it for, kvm?
@rpgwaiter scientific equipment? professional AV equipment?

@ariadne

Get yourself an USB Opto-isolator. The latest ones out of china that I've seen ship with a DC-DC isolator making it unnecessary to splice in an external 5v and it is still isolated up to 10kV or something like that.

I use it for my CNC as the motor causes the USB to drop so low that the host circuit kept detecting it as a reconnect signal. (Also I had to find a 2.0 only host controller as all of the 3.0's when downgraded were not "lenient enough" for this thing...)

@agowa338 already done. it arrives later this week.

@ariadne

the DC-DC isolator is basically a dc-ac converter + transformer + ac-dc converter but all in one small component. Hence it should be good enough to smooth out the unclean power.

And this one here is the cheap one I have. It is good up to 2.5kV (according to the seller): https://de.aliexpress.com/item/1005007254879252.html

1pcs 1500v adum3160 digitales Signal Audio-Leistungs isolator USB zu USB-Audiosignal isolator 12 MBit/s 1,5 MBit/s - AliExpress

Smarter Shopping, Better Living! Aliexpress.com

aliexpress.
@ariadne You sure it wasn't a ground loop ? :0
@theodora yes. 100% positive. my power is clean, i have three-phase service

@ariadne Maybe

It's a pretty simple device, and cables do seem to wear out faster than you'd expect

@ariadne

USB power sucks ass for ground loop isolation/noise, genuinely.

It took me weeks to get buzzing out of my computer audio stack.

@dadregga yeah I bought a powered USB hub. that should fix it, I think that there is ripple current on the USB power rail
@dadregga I think I also only notice the buzzing now because instead of reinstalling the passive monitors I brought to the $dayjob thingy, I elected to switch to the active monitors I was previously using with my Mac Studio (which I don't use anymore except as a server).

@dadregga though you would think ASRock Rack boards would have clean power distribution... haha nevermind.

I probably wouldn't buy another ASRock Rack board after some of the weird shit my threadripper machine has done.