how_to_fix_trim_on_jms578_usb_to_sata_adapter
1. Firstly get comfortable with the Linux command-line.
2. Clone the repository
git clone https://github.com/BertoldVdb/jms578flash
3. Follow it's build guide and build it.
4. Backup it's firmware (in case you mess something up)
sudo ./jms578flash -extract -firmware backup.bin
5. Update to your desired firmware:
sudo ./jms578flash -flash -firmware firmware.bin
You can try out the two firmware's that are in this zip file: updated_jms578_firmware.zip
But if they don't work you also might need to force the device to be recognized as a UAS drive. Run AS ROOT.
echo "152d:0578:u" > /sys/module/usb_storage/parameters/quirks
To make this change permanent, put the following into /etc/modprobe.d/jms578-uas.conf
options usb_storage quirks="152d:0578:u"
In case you really messed up, here's the original firmware and bootrom from my drive.
how_to_fix_trim_on_jms578_usb_to_sata_adapter.txt · Last modified: by nikp123