Skip to contentSkip to conversation

Add various SD/eMMC vendors to table

PATCH Ulf Hansson 1 participant 1 message Mar 31, 2021 2 messages not in the archive MMC, SD and SDIO

lore
Share & tools
lore

A message that is not in the archive (sent off-list or not yet received): 761908730.16636212.1547560102824.JavaMail.root@zimbra64-e11.priv.proxad.net

A message that is not in the archive (sent off-list or not yet received): 886907785.16708970.1547560575203.JavaMail.root@zimbra64-e11.priv.proxad.net

Ulf Hansson

author Applied
#2 lore raw

+ Avri, Luca

Quoted 6 lines · Stephane Fillod

Part if this list update comes from a compilation of this web site[1].

[1] https://www.cameramemoryspeed.com/sd-memory-card-faq/reading-sd-card-cid-serial-psn-internal-numbers/

Applied to git.kernel.org/pub/scm/utils/mmc/mmc-utils.git master, thanks!

Kind regards
Uffe

Quoted 87 lines

---

Apparently, the list of Manufacturer ID's (MID) is kind of "not public". To make things confusing, one MID may be used by several manufacturer's (unless reading oid, etc. ?).
Hence the table has to be compiled manually.

lsmmc.c +32 -2
index 9737b37..98c0c4d 100644
@@ -112,7 +112,7 @@ struct ids_database database[] = {
        {
                .type = "sd",
                .id = 0x1b,
-               .manufacturer = "Transcend",
+               .manufacturer = "Transcend/Samsung",
        },
        {
                .type = "sd",
@@ -122,7 +122,7 @@ struct ids_database database[] = {
        {
                .type = "sd",
                .id = 0x1d,
-               .manufacturer = "Corsair",
+               .manufacturer = "Corsair/AData",
        },
        {
                .type = "sd",
@@ -134,6 +134,11 @@ struct ids_database database[] = {
                .id = 0x1f,
                .manufacturer = "Kingston",
        },
+       {
+               .type = "sd",
+               .id = 0x27,
+               .manufacturer = "Delkin/Phison",
+       },
        {
                .type = "sd",
                .id = 0x28,
@@ -144,6 +149,11 @@ struct ids_database database[] = {
                .id = 0x30,
                .manufacturer = "SanDisk",
        },
+       {
+               .type = "sd",
+               .id = 0x31,
+               .manufacturer = "Silicon Power",
+       },
        {
                .type = "sd",
                .id = 0x33,
@@ -159,6 +169,21 @@ struct ids_database database[] = {
                .id = 0x6f,
                .manufacturer = "STMicroelectronics",
        },
+       {
+               .type = "sd",
+               .id = 0x74,
+               .manufacturer = "Transcend",
+       },
+       {
+               .type = "sd",
+               .id = 0x76,
+               .manufacturer = "Patriot",
+       },
+       {
+               .type = "sd",
+               .id = 0x82,
+               .manufacturer = "Gobe/Sony",
+       },
        {
                .type = "sd",
                .id = 0x89,
@@ -219,6 +244,11 @@ struct ids_database database[] = {
                .id = 0x70,
                .manufacturer = "Kingston",
        },
+       {
+               .type = "mmc",
+               .id = 0xfe,
+               .manufacturer = "Micron",
+       },
 };
 
 /* Command line parsing functions */