1
1
Fork 0
mirror of https://github.com/pbatard/rufus.git synced 2024-08-14 23:57:05 +00:00

[usb] fix detection for some Innostor UFDs

This commit is contained in:
Pete Batard 2015-11-05 21:32:08 +00:00
parent b66401b355
commit 759599221c
3 changed files with 16 additions and 14 deletions

View file

@ -265,6 +265,8 @@ static vidpid_score_t vidpid_score[] = {
{ 0x0930, 0x653e, -20 }, { 0x0930, 0x653e, -20 },
{ 0x0930, 0x6544, -20 }, { 0x0930, 0x6544, -20 },
{ 0x0930, 0x6545, -20 }, { 0x0930, 0x6545, -20 },
// Innostor exceptions
{ 0x0BC2, 0x03312, -20 },
// Verbatim exceptions // Verbatim exceptions
{ 0x18a5, 0x0243, -20 }, { 0x18a5, 0x0243, -20 },
{ 0x18a5, 0x0245, -20 }, { 0x18a5, 0x0245, -20 },

View file

@ -32,7 +32,7 @@ LANGUAGE LANG_NEUTRAL, SUBLANG_NEUTRAL
IDD_DIALOG DIALOGEX 12, 12, 242, 376 IDD_DIALOG DIALOGEX 12, 12, 242, 376
STYLE DS_SETFONT | DS_MODALFRAME | DS_CENTER | WS_MINIMIZEBOX | WS_POPUP | WS_CAPTION | WS_SYSMENU STYLE DS_SETFONT | DS_MODALFRAME | DS_CENTER | WS_MINIMIZEBOX | WS_POPUP | WS_CAPTION | WS_SYSMENU
CAPTION "Rufus 2.6.802" CAPTION "Rufus 2.6.803"
FONT 8, "Segoe UI Symbol", 400, 0, 0x0 FONT 8, "Segoe UI Symbol", 400, 0, 0x0
BEGIN BEGIN
LTEXT "Device",IDS_DEVICE_TXT,9,6,200,8 LTEXT "Device",IDS_DEVICE_TXT,9,6,200,8
@ -319,8 +319,8 @@ END
// //
VS_VERSION_INFO VERSIONINFO VS_VERSION_INFO VERSIONINFO
FILEVERSION 2,6,802,0 FILEVERSION 2,6,803,0
PRODUCTVERSION 2,6,802,0 PRODUCTVERSION 2,6,803,0
FILEFLAGSMASK 0x3fL FILEFLAGSMASK 0x3fL
#ifdef _DEBUG #ifdef _DEBUG
FILEFLAGS 0x1L FILEFLAGS 0x1L
@ -337,13 +337,13 @@ BEGIN
BEGIN BEGIN
VALUE "CompanyName", "Akeo Consulting (http://akeo.ie)" VALUE "CompanyName", "Akeo Consulting (http://akeo.ie)"
VALUE "FileDescription", "Rufus" VALUE "FileDescription", "Rufus"
VALUE "FileVersion", "2.6.802" VALUE "FileVersion", "2.6.803"
VALUE "InternalName", "Rufus" VALUE "InternalName", "Rufus"
VALUE "LegalCopyright", "© 2011-2015 Pete Batard (GPL v3)" VALUE "LegalCopyright", "© 2011-2015 Pete Batard (GPL v3)"
VALUE "LegalTrademarks", "http://www.gnu.org/copyleft/gpl.html" VALUE "LegalTrademarks", "http://www.gnu.org/copyleft/gpl.html"
VALUE "OriginalFilename", "rufus.exe" VALUE "OriginalFilename", "rufus.exe"
VALUE "ProductName", "Rufus" VALUE "ProductName", "Rufus"
VALUE "ProductVersion", "2.6.802" VALUE "ProductVersion", "2.6.803"
END END
END END
BLOCK "VarFileInfo" BLOCK "VarFileInfo"

View file

@ -136,9 +136,9 @@ static __inline BOOL IsVHD(const char* buffer)
/* For debugging user reports of HDDs vs UFDs */ /* For debugging user reports of HDDs vs UFDs */
//#define FORCED_DEVICE //#define FORCED_DEVICE
#ifdef FORCED_DEVICE #ifdef FORCED_DEVICE
#define FORCED_VID 0x125F #define FORCED_VID 0x0BC2
#define FORCED_PID 0xA11A #define FORCED_PID 0x3312
#define FORCED_NAME "ABATA CH11 USB Device" #define FORCED_NAME "Innostor Innostor USB Device"
#endif #endif
/* /*