For som reson my chrome box couldn't recognize. My 3 month old usb thumb drive. It is fix now but is their Diagnostics tools on chrombox . I can use to check if my port work like they have on phone. I know you can test internet, memmory and prossesor. but i cant find for usb port is ther som way. By progrom i men like this link to test usb port :)
What's the brand and model number of your Chromebox, and what version of ChromeOS is it on?
Are you certain it was the USB port that was faulty, rather than the USB drive itself? How did you fix the issue? In these kinds of situations, it's more likely for the USB drive to be faulty or corrupt (or perhaps formatted in a filesystem that isn't supported by ChromeOS: https://support.google.com/chromebook/answer/183093?hl=en).
I'm using asus chromebox 3 i7-8550U chrome os versjon 122.0.6261.118 (Offisiell delversjon) (64-bit). suddenly i got a message saying it couldn't recognise my flash drive. I tried to change to a different port but it didn't work. I tried to restart my Chromebox that didn't work. I thought maybe my usb flash drive was the problem. So I tested it on my android phone. It worked flawlessly with no problem seeing it work. I tried to plug my wireless mouse into the usb. That I first encountered the problem I noticed it also had a problem working. But know i'm sure it isnt my port that's defected as it. Didn't matter which port I plugged in. My wireless mouse had a problem and I know it wasn't the battery. As i'm using the same battery as always has. But for some odd reason it works flawlessly with no problem now. So maybe it was some bug in chrome os. Or it is my charging cable, motherboard or something. Honestly I'm unable to replicate the problem. So seeing my port work I'm just going to put your answer as helpful. Also i just wanted to know if there was a diagnostic tool to test usb ports. As if I'm going to file a complaint, I need to rule out it isnt the usb port. Also i just don't understand how I can test cpu, battery, internet and ram. But chrome os is unable to test usb port and storage. But i'm still glad i moved from windows to chrome os :)