Closed pepa65 closed 7 years ago
I believe that the inquiry request got an incorrect format report. master branch has a fix to remove this check and then things should work. Can you please verify this?
I was using the master branch...
I have now commented out the if clause that gives this error, and it appears to be doing something. I'll report back.
Now it is working well. Would you like a patch or PR?
This is already in master, so no need for it. I need to see if I have any more fixes pending and maybe just release a new version so this will stop being an issue to people installing the latest version.
Thanks for the verification!
No, current master doesn't work. You have to remove the line return false
that comes after fprintf(stderr, "Data not in standard format (%d but expected 2)\n", fmt);
in file libscsicmd/src/parse_inquiry.c
.
OK. libscsicmd is another project of mine. I'll update that as well as this project. Thanks!
I pushed a fix now in commit 18b68bf9ef00159359c9d7e3bb8e4a561b8f16f3
Repo builds fine, but running it like
diskscan /dev/sdb
gives:What is happening here??
This happened with a 2.5" SATA drive, and then also with a 3.5" SATA drive. Is it because of the reader hardware? (Must the drives be directly plugged into a SATA port??)