I have been working with a self encrypting drive that I want to be able to send commands to identify and unlock in userspace. I've been able to send commands to NVMe and SATA drives with direct motherboard connections using the sg
and nvme_admin_cmd
structures and ioctls
, as well as with a USB->SATA adapter.
However, I can't seem to send commands to an NVMe drive over a USB bridge. Just as a sanity check, I used sedutil
to try and query the drive, and it can't send commands to it either.
Is there a certain driver I'm supposed to be using to handle the USB/NVMe use case? Any help is appreciated.