Skip to content
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

SSK USB adapter HE-G3001 reports drive model as SSK and not the drive attached. #610

Open
PartialVolume opened this issue Sep 19, 2024 · 0 comments
Assignees

Comments

@PartialVolume
Copy link
Collaborator

PartialVolume commented Sep 19, 2024

Drive model is normally obtained via libata and this generally works fine for SATA/SAS/NVME and often USB but for the SSK HE-G3001 (chipset Jmicron JMS578) adapter libata returns `ssk' as the drive model. Smartctl and hdparm return the drive model correctly so why libata returns SSK I'm not sure.

The drive serial number is obtained correctly.

One way around this is to write a IOCTL function that obtains drive model directly from the drive, for both SATA and SCSI command sets depending upon the bus. If a illegal request is returned by the drive, nwipe falls back to using the data libata returns for model no.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant