Describe the bug
DeviceList() is returning following error:
>>> from pySMART import DeviceList
>>> d = DeviceList()
Traceback (most recent call last):
File "<python-input-1>", line 1, in <module>
d = DeviceList()
File "/home/hille/.venv/lib64/python3.13/site-packages/pySMART/device_list.py", line 64, in __init__
self.initialize(catch_errors)
~~~~~~~~~~~~~~~^^^^^^^^^^^^^^
File "/home/hille/.venv/lib64/python3.13/site-packages/pySMART/device_list.py", line 139, in initialize
raise e
File "/home/hille/.venv/lib64/python3.13/site-packages/pySMART/device_list.py", line 128, in initialize
Device(name, interface=interface, smartctl=self.smartctl))
~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/hille/.venv/lib64/python3.13/site-packages/pySMART/device.py", line 93, in __init__
raise ValueError(
'Unknown interface: {0} specified for {1}'.format(interface, name))
ValueError: Unknown interface: sntasmedia specified for /dev/sda
Raw outputs
Please, provide the following raw command outputs to be added to our test-base. Notify explicitly if you don't want them to be incorporated. In any case, they are "mostly required" to check and verify your issue/bug.
/dev/sda -d sntasmedia # /dev/sda [USB NVMe ASMedia], NVMe device
smartctl --all <problematic device> # Example: smartctl --all /dev/nvme0
smartctl 7.5 2025-04-30 r5714 [aarch64-linux-6.16.8-200.fc42.aarch64] (local build)
Copyright (C) 2002-25, Bruce Allen, Christian Franke, www.smartmontools.org
=== START OF INFORMATION SECTION ===
Model Number: Samsung Portable SSD T7
Serial Number: S7MNNS0Y828393V
Firmware Version: FXG44P2Q
PCI Vendor/Subsystem ID: 0x144d
IEEE OUI Identifier: 0x002538
Total NVM Capacity: 2,000,398,934,016 [2.00 TB]
Unallocated NVM Capacity: 0
Controller ID: 5
NVMe Version: 1.4
Number of Namespaces: 1
Namespace 1 Size/Capacity: 2,000,398,934,016 [2.00 TB]
Namespace 1 Utilization: 1,000,205,254,656 [1.00 TB]
Namespace 1 Formatted LBA Size: 512
Local Time is: Wed Oct 1 10:46:20 2025 UTC
Firmware Updates (0x16): 3 Slots, no Reset required
Optional Admin Commands (0x0007): Security Format Frmw_DL
Optional NVM Commands (0x0015): Comp DS_Mngmt Sav/Sel_Feat
Log Page Attributes (0x0f): S/H_per_NS Cmd_Eff_Lg Ext_Get_Lg Telmtry_Lg
Maximum Data Transfer Size: 512 Pages
Warning Comp. Temp. Threshold: 52 Celsius
Critical Comp. Temp. Threshold: 54 Celsius
Namespace 1 Features (0x10): NP_Fields
Supported Power States
St Op Max Active Idle RL RT WL WT Ent_Lat Ex_Lat
0 + 4.83W - - 0 0 0 0 0 0
1 + 3.54W - - 1 1 1 1 0 0
2 + 3.04W - - 2 2 2 2 0 6000
3 - 0.0500W - - 3 3 3 3 6000 1500
Supported LBA Sizes (NSID 0x1)
Id Fmt Data Metadt Rel_Perf
0 + 512 0 0
=== START OF SMART DATA SECTION ===
SMART overall-health self-assessment test result: PASSED
SMART/Health Information (NVMe Log 0x02, NSID 0xffffffff)
Critical Warning: 0x00
Temperature: 29 Celsius
Available Spare: 100%
Available Spare Threshold: 10%
Percentage Used: 0%
Data Units Read: 111,357 [57.0 GB]
Data Units Written: 2,065,461 [1.05 TB]
Host Read Commands: 815,747
Host Write Commands: 8,456,955
Controller Busy Time: 15
Power Cycles: 11
Power On Hours: 9
Unsafe Shutdowns: 10
Media and Data Integrity Errors: 0
Error Information Log Entries: 0
Warning Comp. Temperature Time: 0
Critical Comp. Temperature Time: 0
Temperature Sensor 1: 29 Celsius
Temperature Sensor 2: 36 Celsius
Error Information (NVMe Log 0x01, 16 of 64 entries)
No Errors Logged
Self-tests not supported
Environmental setup:
- Complete smartctl version
smartctl 7.5 2025-04-30 r5714 [aarch64-linux-6.16.8-200.fc42.aarch64]
Describe the bug
DeviceList()is returning following error:Raw outputs
Please, provide the following raw command outputs to be added to our test-base. Notify explicitly if you don't want them to be incorporated. In any case, they are "mostly required" to check and verify your issue/bug.
smartctl --scan-opensmartctl --all <problematic device> # Example: smartctl --all /dev/nvme0Environmental setup: