Opened 5 years ago

Closed 3 years ago

Last modified 10 months ago

#1221 closed enhancement (fixed)

Add support for ASMedia ASM2362 USB to NVMe bridge

Reported by: Christian Franke Owned by: Christian Franke
Priority: minor Milestone: Release 7.3
Component: all Version:
Keywords: nvme usb Cc:

Description

ASMedia ASM2362 provides a vendor specific NVMe pass-through SCSI command. This should be supported by smartmontools via a new -d TYPE option (e.g. -d sntasmedia). A possible USB-Id is 0x174c:0x2362.

See also the original report on smartmontools-database list.

The commit 6dc489 from CrystalDiskInfo source code (SPDX-License-Identifier: MIT), shows the following CDB settings:

CDB Id_Ctrl Smart Comment
0 0xe6 0xe6 NVMe pass-through command
1 0x06 0x02 CDW0.byte0
2 0 0 ?
3 0x01 0x02 CDW10.byte0
4 0 0 ?
5 0 0 ?
6 0 0 ?
7 0 0x7f CDW10.byte2
8..15 0 0 ?

CDW10 = 0x00000001 for Identify Controller
CDW10 = 0x007F0002 for Get SMART/Health Log (always 512 bytes)
CDW10 = 0x01FF0001 for Get Error Log with 2048 bytes.
Assignments of CDW10.byte3 and NSID are not obvious.

Change History (22)

comment:1 by Christian Franke, 5 years ago

Keywords: nvme added

comment:2 by Christian Franke, 4 years ago

Keywords: usb added

comment:3 by Christian Franke, 4 years ago

Related: ticket #1315.

comment:4 by White7561, 4 years ago

Hi there. Is there any news about ASM2362 implementation? Also is it possible to do self test? Thanks!! .

I'm currently using ugreen enclosure and I am on Mac. So to see smart data I need to go to windows. Which is a bummer. Anyways if I can help anything. Pls let me know. I'll definitely try to help! Thanks!!

comment:5 by Christian Franke, 4 years ago

Is there any news about ASM2362 implementation?

Sorry, no. Ticket will be left open as unscheduled until someone with access to such hardware and enough spare time is willing to work on this.

Also is it possible to do self test?

NVMe Self-tests are not yet implemented, regardless of access path, see ticket #894.

comment:6 by White7561, 4 years ago

Anything I can do to help? Since I have the enclosure with an nvme drive . I would love to help if it means getting it working so I can check for temperature etc. Cheers!!

comment:7 by White7561, 4 years ago

Oh also I'm using Addlink S70 SSD . So please tell me what to do to help make this a reality. Thank you again..

comment:8 by Christian Franke, 4 years ago

Convince some vendor to donate hardware for testing. This helped to speed up closing ticket #1315.

comment:9 by White7561, 4 years ago

I'm trying to think of vendors that want to donate. But I don't think ugreen will. Any ways for me to help? By running some tests on my unit here?

comment:10 by White7561, 4 years ago

Yeah just searched for popular vendors that use asm2362 and ugreen is the only one as far as I can see. I'm on their website and I can't find the nvme m2 enclosure. Just the normal B+M key one. Not the nvme one. So I guess no go on em. Anyways I can help? I can try debugging it if that helps. Just tell me what to do and I'll try my best !! But yeah on windows. Hard disk Sentinel works too it can see everything about the drive. The capabilities, the smart status, etc. Please let me know if I can help. Thanks!!

comment:11 by Christian Franke, 4 years ago

"Offline remote debugging" is costly and my unpaid open source spare time is very limited. I need direct access to test error handling, corner cases, ...

An alternative would be ssh access to a Linux test machine with such hardware connected. This helped to close ticket #705 (r4979). Feel free to send me a private mail if you are willing to provide this.

comment:12 by White7561, 4 years ago

Ok I'm gonna contact you via email. Thanks!

comment:13 by White7561, 4 years ago

ive emailed you. did it come through?

comment:14 by Sabrent_Labs, 4 years ago

Hello Christian,

Sabrent here saying hello.

Oh what a wonderful piece of software. THANK YOU!!!

  • Please email me for an ASM2362 enclosure.

in reply to:  14 comment:15 by Christian Franke, 4 years ago

  • Please email me for an ASM2362 enclosure.

Done.

comment:16 by Christian Franke, 3 years ago

Ticket #1403 has been marked as a duplicate of this ticket.

comment:17 by avenger, 3 years ago

Hi there. Is there any news about ASM2362 implementation? Also is it possible to do self test? Thanks!!

comment:18 by Christian Franke, 3 years ago

ASM2362 (this ticket) and NVMe self-tests (ticket #894) will possibly be addressed next year. Note that it is still unknown whether NVMe self-tests are supported by ASM2362 NVMe pass-through.

comment:19 by Christian Franke, 3 years ago

Milestone: unscheduledRelease 7.3

comment:20 by Christian Franke, 3 years ago

Owner: set to Christian Franke
Status: newaccepted

comment:21 by Christian Franke, 3 years ago

Resolution: fixed
Status: acceptedclosed

comment:22 by Christian Franke, 10 months ago

Ticket #1725 has been marked as a duplicate of this ticket.

Note: See TracTickets for help on using tickets.