Opened 21 months ago
Closed 5 months ago
#1681 closed enhancement (fixed)
Support for Actions Microelectronics AM8180 USB to NVMe bridge (0x1de1:0xe101, RTL9210)
Reported by: | rs11 | Owned by: | Christian Franke |
---|---|---|---|
Priority: | minor | Milestone: | Release 7.5 |
Component: | drivedb | Version: | 7.3 |
Keywords: | usb | Cc: | rs11 |
Description
I have an Actions Microelectronics Co. AM8180 USB to NVMe bridge which does not work with smartmontools out-of-the-box.
./smartctl -x /dev/sdc smartctl 7.3 2022-02-28 r5338 [x86_64-linux-5.10.0-20-amd64] (local build) Copyright (C) 2002-22, Bruce Allen, Christian Franke, www.smartmontools.org /dev/sdc: Unknown USB bridge [0x1de1:0xe101 (0x2001)] Please specify device type with the -d option.
I did some research and found this post https://forums.anandtech.com/threads/stable-nvme-usb-adapter.2572973/post-40420233
which says the AM8180 is a rebranded Realtek RTL9210.
So i tried:
./smartctl -d sntrealtek -x /dev/sdc smartctl 7.3 2022-02-28 r5338 [x86_64-linux-5.10.0-20-amd64] (local build) Copyright (C) 2002-22, Bruce Allen, Christian Franke, www.smartmontools.org === START OF INFORMATION SECTION === Model Number: KBG40ZNV512G KIOXIA Serial Number: 111111111 Firmware Version: HP00AE00 PCI Vendor/Subsystem ID: 0x1e0f IEEE OUI Identifier: 0x8ce38e Total NVM Capacity: 512.110.190.592 [512 GB] Unallocated NVM Capacity: 0 Controller ID: 0 NVMe Version: 1.3 Number of Namespaces: 1 Namespace 1 Size/Capacity: 512.110.190.592 [512 GB] Namespace 1 Formatted LBA Size: 512 Namespace 1 IEEE EUI-64: 8ce38e 040242b3bf Local Time is: Fri Dec 30 11:33:10 2022 CET Firmware Updates (0x14): 2 Slots, no Reset required Optional Admin Commands (0x001f): Security Format Frmw_DL NS_Mngmt Self_Test Optional NVM Commands (0x005f): Comp Wr_Unc DS_Mngmt Wr_Zero Sav/Sel_Feat Timestmp Log Page Attributes (0x0e): Cmd_Eff_Lg Ext_Get_Lg Telmtry_Lg Maximum Data Transfer Size: 512 Pages Warning Comp. Temp. Threshold: 79 Celsius Critical Comp. Temp. Threshold: 84 Celsius Supported Power States St Op Max Active Idle RL RT WL WT Ent_Lat Ex_Lat 0 + 3.50W - - 0 0 0 0 1 1 1 + 2.60W - - 1 1 1 1 1 1 2 + 1.80W - - 2 2 2 2 1 1 3 - 0.0500W - - 4 4 4 4 800 1200 4 - 0.0050W - - 4 4 4 4 3000 32000 Supported LBA Sizes (NSID 0x1) Id Fmt Data Metadt Rel_Perf 0 + 512 0 3 1 - 4096 0 1 === START OF SMART DATA SECTION === SMART overall-health self-assessment test result: PASSED SMART/Health Information (NVMe Log 0x02) Critical Warning: 0x00 Temperature: 42 Celsius Available Spare: 100% Available Spare Threshold: 5% Percentage Used: 3% Data Units Read: 6.781.283 [3,47 TB] Data Units Written: 6.428.169 [3,29 TB] Host Read Commands: 45.513.654 Host Write Commands: 36.660.875 Controller Busy Time: 416 Power Cycles: 360 Power On Hours: 749 Unsafe Shutdowns: 49 Media and Data Integrity Errors: 0 Error Information Log Entries: 0 Warning Comp. Temperature Time: 0 Critical Comp. Temperature Time: 0 Temperature Sensor 1: 42 Celsius Warning: NVMe Get Log truncated to 0x200 bytes, 0x200 bytes zero filled Error Information (NVMe Log 0x01, 16 of 256 entries) No Errors Logged
I suggest adding it to the list of supported bridges.
lsusb -v output:
Bus 002 Device 002: ID 1de1:e101 Actions Microelectronics Co. AM8180 Device Descriptor: bLength 18 bDescriptorType 1 bcdUSB 3.20 bDeviceClass 0 bDeviceSubClass 0 bDeviceProtocol 0 bMaxPacketSize0 9 idVendor 0x1de1 Actions Microelectronics Co. idProduct 0xe101 bcdDevice 20.01 iManufacturer 1 AMicro iProduct 2 AM8180 iSerial 3 012345680000 bNumConfigurations 1 Configuration Descriptor: bLength 9 bDescriptorType 2 wTotalLength 0x0079 bNumInterfaces 1 bConfigurationValue 1 iConfiguration 0 bmAttributes 0x80 (Bus Powered) MaxPower 896mA Interface Descriptor: bLength 9 bDescriptorType 4 bInterfaceNumber 0 bAlternateSetting 0 bNumEndpoints 2 bInterfaceClass 8 Mass Storage bInterfaceSubClass 6 SCSI bInterfaceProtocol 80 Bulk-Only iInterface 0 Endpoint Descriptor: bLength 7 bDescriptorType 5 bEndpointAddress 0x81 EP 1 IN bmAttributes 2 Transfer Type Bulk Synch Type None Usage Type Data wMaxPacketSize 0x0400 1x 1024 bytes bInterval 0 bMaxBurst 15 Endpoint Descriptor: bLength 7 bDescriptorType 5 bEndpointAddress 0x02 EP 2 OUT bmAttributes 2 Transfer Type Bulk Synch Type None Usage Type Data wMaxPacketSize 0x0400 1x 1024 bytes bInterval 0 bMaxBurst 15 Interface Descriptor: bLength 9 bDescriptorType 4 bInterfaceNumber 0 bAlternateSetting 1 bNumEndpoints 4 bInterfaceClass 8 Mass Storage bInterfaceSubClass 6 SCSI bInterfaceProtocol 98 iInterface 0 Endpoint Descriptor: bLength 7 bDescriptorType 5 bEndpointAddress 0x81 EP 1 IN bmAttributes 2 Transfer Type Bulk Synch Type None Usage Type Data wMaxPacketSize 0x0400 1x 1024 bytes bInterval 0 bMaxBurst 15 MaxStreams 32 Data-in pipe (0x03) Endpoint Descriptor: bLength 7 bDescriptorType 5 bEndpointAddress 0x02 EP 2 OUT bmAttributes 2 Transfer Type Bulk Synch Type None Usage Type Data wMaxPacketSize 0x0400 1x 1024 bytes bInterval 0 bMaxBurst 15 MaxStreams 32 Data-out pipe (0x04) Endpoint Descriptor: bLength 7 bDescriptorType 5 bEndpointAddress 0x83 EP 3 IN bmAttributes 2 Transfer Type Bulk Synch Type None Usage Type Data wMaxPacketSize 0x0400 1x 1024 bytes bInterval 0 bMaxBurst 15 MaxStreams 64 Status pipe (0x02) Endpoint Descriptor: bLength 7 bDescriptorType 5 bEndpointAddress 0x04 EP 4 OUT bmAttributes 2 Transfer Type Bulk Synch Type None Usage Type Data wMaxPacketSize 0x0400 1x 1024 bytes bInterval 0 bMaxBurst 0 Command pipe (0x01) Binary Object Store Descriptor: bLength 5 bDescriptorType 15 wTotalLength 0x002a bNumDeviceCaps 3 USB 2.0 Extension Device Capability: bLength 7 bDescriptorType 16 bDevCapabilityType 2 bmAttributes 0x00000006 BESL Link Power Management (LPM) Supported SuperSpeed USB Device Capability: bLength 10 bDescriptorType 16 bDevCapabilityType 3 bmAttributes 0x00 wSpeedsSupported 0x000e Device can operate at Full Speed (12Mbps) Device can operate at High Speed (480Mbps) Device can operate at SuperSpeed (5Gbps) bFunctionalitySupport 1 Lowest fully-functional device speed is Full Speed (12Mbps) bU1DevExitLat 10 micro seconds bU2DevExitLat 2047 micro seconds Container ID Device Capability: bLength 20 bDescriptorType 16 bDevCapabilityType 4 bReserved 0 ContainerID {03020100-0504-0706-0002-020200020202} can't get debug descriptor: Resource temporarily unavailable Device Status: 0x0000 (Bus Powered)
Change History (6)
comment:1 by , 21 months ago
comment:2 by , 21 months ago
Cc: | added |
---|
comment:3 by , 21 months ago
Component: | all → drivedb |
---|---|
Keywords: | usb added |
Milestone: | Release 7.4 → undecided |
Summary: | Add support for Actions Microelectronics Co. AM8180 USB to NVMe bridge → Support for Actions Microelectronics AM8180 USB to NVMe bridge (0x1de1:0xe101, RTL9210) |
Newer versions of the RTL9210 may also support SATA SSDs and would require -d sat
then. Is this the case here?
PS: Please do not set the Milestone in future submissions.
comment:4 by , 21 months ago
The adapter is NVME only, so I can't test this.
./smartctl -d sat -x /dev/sdc smartctl 7.3 2022-02-28 r5338 [x86_64-linux-5.10.0-20-amd64] (local build) Copyright (C) 2002-22, Bruce Allen, Christian Franke, www.smartmontools.org === START OF INFORMATION SECTION === Device Model: KBG40ZNV512G KIOXIA Serial Number: 11111111111 Firmware Version: HP00AE00 Device is: Not in smartctl database 7.3/5319 ATA Version is: [No Information Found] Local Time is: Fri Dec 30 13:18:26 2022 CET SMART support is: Ambiguous - ATA IDENTIFY DEVICE words 82-83 don't show if SMART supported. SMART support is: Ambiguous - ATA IDENTIFY DEVICE words 85-87 don't show if SMART is enabled. A mandatory SMART command failed: exiting. To continue, add one or more '-T permissive' options.
comment:5 by , 5 months ago
Milestone: | undecided → Release 7.5 |
---|---|
Owner: | set to |
Status: | new → accepted |
Note:
See TracTickets
for help on using tickets.
References to #1315