nyx: add many SD manufacturers

This will now properly identify many more manufacturers.
As a reminder, it shows who made the sd card, even if the SD card has another vendor name.

In that case, it's normally because the manufacturing is outsourced and vendor only puts a label on it.
For example, now lexar, transcend and sony do not exist in the list as they don't manufacture sd card nands and microcontrollers
This commit is contained in:
CTCaer 2021-09-17 23:45:48 +03:00
parent da08d00d21
commit 983d661da5

View file

@ -1822,6 +1822,21 @@ static lv_res_t _create_window_sdcard_info_status(lv_obj_t *btn)
case 0x03: case 0x03:
strcat(txt_buf, "SanDisk "); strcat(txt_buf, "SanDisk ");
break; break;
case 0x06:
strcat(txt_buf, "Ritek ");
break;
case 0x09:
strcat(txt_buf, "ATP ");
break;
case 0x13:
strcat(txt_buf, "Kingmax ");
break;
case 0x19:
strcat(txt_buf, "Dynacard ");
break;
case 0x1A:
strcat(txt_buf, "Power Quotient ");
break;
case 0x1B: case 0x1B:
strcat(txt_buf, "Samsung "); strcat(txt_buf, "Samsung ");
break; break;
@ -1832,7 +1847,7 @@ static lv_res_t _create_window_sdcard_info_status(lv_obj_t *btn)
strcat(txt_buf, "Phison "); strcat(txt_buf, "Phison ");
break; break;
case 0x28: case 0x28:
strcat(txt_buf, "Lexar "); strcat(txt_buf, "Barun Electronics ");
break; break;
case 0x31: case 0x31:
strcat(txt_buf, "Silicon Power "); strcat(txt_buf, "Silicon Power ");
@ -1840,20 +1855,47 @@ static lv_res_t _create_window_sdcard_info_status(lv_obj_t *btn)
case 0x41: case 0x41:
strcat(txt_buf, "Kingston "); strcat(txt_buf, "Kingston ");
break; break;
case 0x51:
strcat(txt_buf, "STEC ");
break;
case 0x5D:
strcat(txt_buf, "SwissBit ");
break;
case 0x61:
strcat(txt_buf, "Netlist ");
break;
case 0x63:
strcat(txt_buf, "Cactus ");
break;
case 0x73:
strcat(txt_buf, "Bongiovi ");
break;
case 0x74: case 0x74:
strcat(txt_buf, "Transcend "); strcat(txt_buf, "Jiaelec ");
break; break;
case 0x76: case 0x76:
strcat(txt_buf, "Patriot "); strcat(txt_buf, "Patriot ");
break; break;
case 0x82: case 0x82:
strcat(txt_buf, "Sony "); strcat(txt_buf, "Jiang Tay ");
break;
case 0x83:
strcat(txt_buf, "Netcom ");
break;
case 0x84:
strcat(txt_buf, "Strontium ");
break; break;
//TODO: Investigate which OEM/ODM makes these. //TODO: Investigate which OEM/ODM makes these.
// case 0x9C: // LX512 SO case 0x9C: // BE, Angelbird | Barun Electronics? What about 0x28?
// case 0xAD: // LX512 LS. Longsys ? // LX512 SO, Lexar, Angelbird, Hoodman, Sony | Solidgear?
// strcat(txt_buf, "Lexar "); strcat(txt_buf, "Solidgear ");
// break; break;
case 0x9F:
strcat(txt_buf, "Taishin ");
break;
case 0xAD: // Lexar LX512 LS. Longsys?
strcat(txt_buf, "Longsys ");
break;
default: default:
strcat(txt_buf, "Unknown "); strcat(txt_buf, "Unknown ");
break; break;