Opened 4 years ago

Closed 2 years ago

Last modified 8 days 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 Changed 4 years ago by Christian Franke

Keywords: nvme added

comment:2 Changed 3 years ago by Christian Franke

Keywords: usb added

comment:3 Changed 3 years ago by Christian Franke

Related: ticket #1315.

comment:4 Changed 3 years ago by White7561

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 Changed 3 years ago by Christian Franke

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 Changed 3 years ago by White7561

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 Changed 3 years ago by White7561

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 Changed 3 years ago by Christian Franke

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

comment:9 Changed 3 years ago by White7561

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 Changed 3 years ago by White7561

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 Changed 3 years ago by Christian Franke

"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 Changed 3 years ago by White7561

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

comment:13 Changed 3 years ago by White7561

ive emailed you. did it come through?

comment:14 Changed 3 years ago by Sabrent_Labs

Hello Christian,

Sabrent here saying hello.

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

  • Please email me for an ASM2362 enclosure.

comment:15 in reply to:  14 Changed 3 years ago by Christian Franke

  • Please email me for an ASM2362 enclosure.

Done.

comment:16 Changed 2 years ago by Christian Franke

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

comment:17 Changed 2 years ago by avenger

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

comment:18 Changed 2 years ago by Christian Franke

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 Changed 2 years ago by Christian Franke

Milestone: unscheduledRelease 7.3

comment:20 Changed 2 years ago by Christian Franke

Owner: set to Christian Franke
Status: newaccepted

comment:21 Changed 2 years ago by Christian Franke

Resolution: fixed
Status: acceptedclosed

comment:22 Changed 8 days ago by Christian Franke

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

Note: See TracTickets for help on using tickets.