diff --git a/src/dev.c b/src/dev.c index 2d1c15f9..c4a0312b 100644 --- a/src/dev.c +++ b/src/dev.c @@ -419,9 +419,9 @@ BOOL GetOpticalMedia(IMG_SAVE* img_save) /* For debugging user reports of HDDs vs UFDs */ //#define FORCED_DEVICE #ifdef FORCED_DEVICE -#define FORCED_VID 0x0781 -#define FORCED_PID 0x5580 -#define FORCED_NAME "SanDisk SSD U100 16GB 1 USB Device" +#define FORCED_VID 0x2109 +#define FORCED_PID 0x0715 +#define FORCED_NAME "KINGSTON SA400S37960 USB Device" #endif /* diff --git a/src/hdd_vs_ufd.h b/src/hdd_vs_ufd.h index 1c0cb6ce..f375d5ae 100644 --- a/src/hdd_vs_ufd.h +++ b/src/hdd_vs_ufd.h @@ -168,6 +168,7 @@ static vid_score_t vid_score[] = { { 0x1f75, -2 }, // Innostor { 0x2001, -5 }, // Micov { 0x201e, -5 }, // Evdo + { 0x2109, 10 }, // VIA Labs { 0x2188, -5 }, // SMI { 0x3538, -5 }, // PQI { 0x413c, -5 }, // Ameco diff --git a/src/rufus.rc b/src/rufus.rc index 753c713e..db48fb86 100644 --- a/src/rufus.rc +++ b/src/rufus.rc @@ -33,7 +33,7 @@ LANGUAGE LANG_NEUTRAL, SUBLANG_NEUTRAL IDD_DIALOG DIALOGEX 12, 12, 232, 326 STYLE DS_SETFONT | DS_MODALFRAME | DS_CENTER | WS_MINIMIZEBOX | WS_POPUP | WS_CAPTION | WS_SYSMENU EXSTYLE WS_EX_ACCEPTFILES -CAPTION "Rufus 3.12.1692" +CAPTION "Rufus 3.12.1693" FONT 9, "Segoe UI Symbol", 400, 0, 0x0 BEGIN LTEXT "Drive Properties",IDS_DRIVE_PROPERTIES_TXT,8,6,53,12,NOT WS_GROUP @@ -395,8 +395,8 @@ END // VS_VERSION_INFO VERSIONINFO - FILEVERSION 3,12,1692,0 - PRODUCTVERSION 3,12,1692,0 + FILEVERSION 3,12,1693,0 + PRODUCTVERSION 3,12,1693,0 FILEFLAGSMASK 0x3fL #ifdef _DEBUG FILEFLAGS 0x1L @@ -414,13 +414,13 @@ BEGIN VALUE "Comments", "https://rufus.ie" VALUE "CompanyName", "Akeo Consulting" VALUE "FileDescription", "Rufus" - VALUE "FileVersion", "3.12.1692" + VALUE "FileVersion", "3.12.1693" VALUE "InternalName", "Rufus" VALUE "LegalCopyright", "© 2011-2020 Pete Batard (GPL v3)" VALUE "LegalTrademarks", "https://www.gnu.org/licenses/gpl-3.0.html" VALUE "OriginalFilename", "rufus-3.12.exe" VALUE "ProductName", "Rufus" - VALUE "ProductVersion", "3.12.1692" + VALUE "ProductVersion", "3.12.1693" END END BLOCK "VarFileInfo" diff --git a/src/smart.c b/src/smart.c index d67411ba..eb2a8253 100644 --- a/src/smart.c +++ b/src/smart.c @@ -432,7 +432,7 @@ BOOL SmartGetVersion(HANDLE hdevice) * USB<->(S)ATA bridge seem to have their own method of implementing passthrough. * - SSDs have also changed the deal completely, as you can get something that looks * like Flash but that is really an HDD. - * - Some manufacturers (eg. verbatim) provide both USB Flash Drives and USB HDDs, so + * - Some manufacturers (eg. Verbatim) provide both USB Flash Drives and USB HDDs, so * we can't exactly use the VID to say for sure what we're looking at. * - Finally, Microsoft is absolutely no help either (which is kind of understandable * from the above) => there is no magic API we can query that will tell us what we're @@ -451,9 +451,9 @@ int IsHDD(DWORD DriveIndex, uint16_t vid, uint16_t pid, const char* strid) // Adjust the score depending on the size drive_size = GetDriveSize(DriveIndex); - if (drive_size > 512*GB) + if (drive_size > 400 * GB) score += 10; - else if (drive_size < 8*GB) + else if (drive_size < 32 * GB) score -= 10; // Check the string against well known HDD identifiers