-
Notifications
You must be signed in to change notification settings - Fork 10
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
OS Not supported on Ubuntu #16
Comments
After investigation it seems the issue might be that the library does not send the USB passthrought flag when required. I can see my disk SMART from CLI with
Is there any equivalant with the lib? |
Thank you for the report. How to reproduce this problem? Is there anything special about your drives? Could you please share more information about your disk configuration? |
It's a DAS connected via USB. So when you do
You will see that some disks are connected via USB (Transport is USB)
In that case, in order to access their SMART data, an additional flag has to be passed to the smartclt command
,12 or ,16 are flags to use the SAT protocol which allows the SMART data to flow via the USB controller |
Thank you for the information. It sounds like this parameter affects passthrough variant here Line 94 in be6d752
I would like to reproduce the problem with the integration test here https://github.com/anatol/smart.go/blob/be6d7524480a17a9a44d73fb6cac1edb565cdf9c/integration_test.go @azukaar do you know if QEMU supports the configuration you have problem with? |
OK that's weird... Then may be that is not the issue? But then it should just work even with USB if you are sending ATA over SCSI already |
I think we deal with special case here (SATA over USB) that seems require different protocol. But I need to be able to reproduce the issue to understand what are the protocol changes required. |
Hello I am getting a "OS not supported" on Ubuntu Desktop where smarttools are installed.
Thanks
The text was updated successfully, but these errors were encountered: