-
Notifications
You must be signed in to change notification settings - Fork 35
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
External drive connected via USB does not work #83
Comments
Not saying anything about py-SMART, but smartctl has been known for using bridge specific commands to access SMART data behind USB bridges. There is no NVMe to SCSI command pass-through standard, so if the USB bridge does not emulate SCSI SMART, there is no standard way to get SMART from the NVMe device behind a USB bridge. |
Hi @Galdanwing , The function you are trying to call is this: Lines 563 to 579 in fbe13ae
This function should be deprecated already as what it does is to print old ATA attributes. I don't know if that kind of error should happen anyway, but, normally, in a non-ATA device what you will get is an empty printed list. I'll try to check your output anyway |
Hi, I'm kind of confused. Am I not showing that I am able to get the data via just calling it directly showing that it is able to get that data? |
If you point me in the right way, I could try and contribute support for it, if you think that's valuable |
AFAIK the output should be getting correctly readed. See the section You can try to get this info by accessing this: Lines 246 to 250 in fbe13ae
An then, this: py-SMART/pySMART/interface/nvme/__init__.py Lines 501 to 526 in fbe13ae
|
Describe the bug
I tried to connect an external ssd via USB, but it does not get detected. calling smartctl from the cmdline does detect it.
Raw outputs
smartctl --scan-open
smartctl --all <problematic device> # Example: smartctl --all /dev/nvme0
Environmental setup:
Additional context
Add any other context about the problem here.
The text was updated successfully, but these errors were encountered: