I also run only an SSD, so I also did it in-place. This is what I did:
SSH into HassOS, that’s port 22222 (not the HA container on port 22), I used this to enable 22222
run dmesg | usb And examine the Vendor ID (vid), Product ID (pid) As per the RPi forum post. Just have a look carefully here, my ConBee and ZStick were clearly marked as such on the usb1-1, so the only one left for me was the one on usb-2-2 (if you’re really unsure, maybe unplug all other usb devices and reboot the host, then check dmesg again). Example of mine:
[ 1.990062] usb 2-2: new SuperSpeed Gen 1 USB device number 2 using xhci_hcd
[ 2.011145] usb 2-2: New USB device found, idVendor=174c, idProduct=55aa, bcdDevice= 1.00
[ 2.011179] usb 2-2: New USB device strings: Mfr=2, Product=3, SerialNumber=1
[ 2.011205] usb 2-2: Product: Forty
[ 2.011228] usb 2-2: Manufacturer: Argon
[ 2.011251] usb 2-2: SerialNumber: 0000000000XX
Edit the cmdline: vi /mnt/boot/cmdline.txt And add the storage quirk at the beginning of the line, mine looked like this: usb-storage.quirks=174c:55aa:u dwc_otg.lpm_enable=0 console=tty1
Save the file and reboot the host
finished, if you SSH to 22222 again and run dmesg | grep usb again, you should see something like the below
[ 2.014012] usb 2-2: UAS is ignored for this device, using usb-storage instead
[ 2.014137] usb 2-2: UAS is ignored for this device, using usb-storage instead
[ 2.014169] usb-storage 2-2:1.0: USB Mass Storage device detected
[ 2.014740] usb-storage 2-2:1.0: Quirks match for vid 174c pid 55aa: c00000
But what is not clear to me is the reason that activated UAS is slower than deactivated UAS! And the strange thing is that it was fast with activated UAS with the first betas of Home Assistant OS 5 and also with later versions.
same question. it worked for a long time (at least the last half year). Could not read something in release notes to HA OS 6.6 but it seemed it was the starting point of problems
Thanks for all the explanations in here. One thing I’m wondering about though: Why is my SSD now faster than before when people write it’s supposed to be the opposite?
UAS enabled: Timing buffered disk reads: 437 MB in 3.08 seconds = 144960 kB/s
UAS disabled Timing buffered disk reads: 618 MB in 3.00 seconds = 210829 kB/s
yes, I tried the UAS setting and it works. I am wondering why and when the problem started. It worked for a long time without any problems and now (assuming coming with 6.6 of HA OS) I need the setting to switch of the UAS mode.
If, like me, you have a powered hub in the mix - make sure you boot into Raspian, update the install and reboot. That will make sure the EEPROMS are updated. My drive was running at 82mb - after the update it’s at 900mb+
So I’ve managed to ssh into hassio:22222 and find my VID + PID but I can’t find the folder or file I’m suppsoed to change ( /mnt/boot/cmdline.txt). When I run ls all i get is
addons backup config media share ssl
Took me a while (had issues getting 22222 to work) but I managed to sort it thanks to your post, now the logs show instantly & who knows what else it’s improved.
Thanks for posting this, worked like a charm for me, with a couple of small differences. For any who might be doing this in HA 2022.12.x, the cmdline.txt file format seems to have changed. Mine already had the following line at the beginning of the file: dwc_otg.lpm_enable=0 console=tty1 usb-storage.quirks=<a bunch of idVendor:idProduct combos>, so I just added those for my Argon controller, which was “174c:1156”, to the very end of the line. like so: ,174c:1156:u, saved the file, rebooted and voila!, logs no longer hang, and system seems overall more responsive. I still have an odd issue in that the Argon controller takes around 40 seconds to “initialize” after powering up the Pi, but once it actually starts loading, the system boots fast. Overall boot time is slower than SD but still boots to HA Supervisor screen in about 1:40, so not bad.