paul- wrote: 
> If you read the threads, the Asmedia adapters are going to be dependent
> on the firmware loaded on the adapter.
> 

This seems to be the key.  I downloaded the 141126_A1_EE_82 firmware
(from 'here'
(https://www.station-drivers.com/index.php?option=com_remository&Itemid=353&func=startdown&id=4053&lang=en)),
and the zip file includes a Windows executable to flash the firmware. 
The executable also tells you what version is already on the device.

It told me that the old SATA adapter (which supports trim with my
Sandisk SATA SSD) is (was*) at firmware 141126_A1_EE_83, whereas my new
Argon 40 M.2 SSD adapter was as 140704_A1_00_00.  If the lower number
corresponds to an earlier version, it seemed possible that an update to
a higher number might enable trim.

So I took a brave pill and decided that if I bricked the adapter then
I'm only out £18.  I updated the M.2 adapter to 141126_A1_EE_82.  (Note
that the update will FAIL if there's a disk drive attached - this is
what I tried first, because detaching the drive requires a small amount
of disassembly, and I was being lazy). 

Now when I inspect the adapter+drive as before under pCP I see:


Code:
--------------------
    tc@pCPServer:/mnt/sdb2/tce$ sg_vpd -p lbpv /dev/sda | grep Unmap
  Unmap command supported (LBPU): 1
  
  and
  
  tc@pCPServer:/mnt/sdb2/tce$ sg_vpd -p bl /dev/sda | grep unmap
  Maximum unmap LBA count: 4194240
  Maximum unmap block descriptor count: 1
  Optimal unmap granularity: 1 blocks
  
--------------------


So now it looks as though the adapter supports trim and I can press on
and enable it.  It's odd that the Argon M.2 adapter, which I purchased
~18 months after the old SATA adapter, should have an apparently older
firmware.  I hope the update hasn't broken anything else, because I
can't find the 140704_A1_00_00 version to revert it. 

*I 'accidentally' loaded the 82 firmware over the 83 version that was
already on my old SATA adapter, so now of course I'm worried what
feature was added/fixed in that single digit increment!


------------------------------------------------------------------------
chill's Profile: http://forums.slimdevices.com/member.php?userid=10839
View this thread: http://forums.slimdevices.com/showthread.php?t=113575

_______________________________________________
unix mailing list
unix@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/unix

Reply via email to