[misc] add an exception for 23A9:EF18 UFDs

* Closes #2247
This commit is contained in:
Pete Batard 2023-05-29 18:04:42 +01:00
parent 4d89e83b5d
commit 109df708b4
No known key found for this signature in database
GPG Key ID: 38E0CF5E69EDD671
3 changed files with 12 additions and 10 deletions

View File

@ -416,9 +416,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 0x55AE
#define FORCED_NAME "SanDisk Extreme 55AE SCSI Disk Device"
#define FORCED_VID 0x23A9
#define FORCED_PID 0xEF18
#define FORCED_NAME "SCSI DISK USB Device"
#endif
void ClearDrives(void)

View File

@ -269,8 +269,6 @@ static vidpid_score_t vidpid_score[] = {
{ 0x05ac, 0x8405, -20},
{ 0x05ac, 0x8406, -20},
{ 0x05ac, 0x8407, -20},
// No idea who these guys are. They don't exist in usb.ids.
{ 0x6557, 0x0021, -5},
// Prolific exceptions
{ 0x067b, 0x2506, -20 }, // 8 GB Micro Hard Drive
{ 0x067b, 0x2517, -20 }, // 1 GB UFD
@ -303,4 +301,8 @@ static vidpid_score_t vidpid_score[] = {
{ 0x18a5, 0x3327, -20 },
// More Innostor
{ 0x1f75, 0x0917, -10 }, // Intenso Speed Line USB Device
// ??? (https://github.com/pbatard/rufus/issues/2247)
{ 0x23a9, 0xef18, -10 },
// No idea who these guys are. They don't exist in usb.ids.
{ 0x6557, 0x0021, -5 },
};

View File

@ -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 4.1.2042"
CAPTION "Rufus 4.1.2043"
FONT 9, "Segoe UI Symbol", 400, 0, 0x0
BEGIN
LTEXT "Drive Properties",IDS_DRIVE_PROPERTIES_TXT,8,6,53,12,NOT WS_GROUP
@ -392,8 +392,8 @@ END
//
VS_VERSION_INFO VERSIONINFO
FILEVERSION 4,1,2042,0
PRODUCTVERSION 4,1,2042,0
FILEVERSION 4,1,2043,0
PRODUCTVERSION 4,1,2043,0
FILEFLAGSMASK 0x3fL
#ifdef _DEBUG
FILEFLAGS 0x1L
@ -411,13 +411,13 @@ BEGIN
VALUE "Comments", "https://rufus.ie"
VALUE "CompanyName", "Akeo Consulting"
VALUE "FileDescription", "Rufus"
VALUE "FileVersion", "4.1.2042"
VALUE "FileVersion", "4.1.2043"
VALUE "InternalName", "Rufus"
VALUE "LegalCopyright", "© 2011-2023 Pete Batard (GPL v3)"
VALUE "LegalTrademarks", "https://www.gnu.org/licenses/gpl-3.0.html"
VALUE "OriginalFilename", "rufus-4.1.exe"
VALUE "ProductName", "Rufus"
VALUE "ProductVersion", "4.1.2042"
VALUE "ProductVersion", "4.1.2043"
END
END
BLOCK "VarFileInfo"