diff mbox series

[mmc-utils] Add various SD/eMMC vendors to table

Message ID 886907785.16708970.1547560575203.JavaMail.root@zimbra64-e11.priv.proxad.net (mailing list archive)
State New, archived
Headers show
Series [mmc-utils] Add various SD/eMMC vendors to table | expand

Commit Message

Stephane Fillod Jan. 15, 2019, 1:56 p.m. UTC
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/

Signed-off-by: Stephane Fillod <f8cfe@free.fr>
---

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.

Comments

Ulf Hansson March 31, 2021, 9:41 a.m. UTC | #1
+ Avri, Luca


On Tue, 15 Jan 2019 at 14:56, Stephane Fillod <f8cfe@free.fr> wrote:
>
> 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/
>
> Signed-off-by: Stephane Fillod <f8cfe@free.fr>

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

Kind regards
Uffe


> ---
>
> 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.
>
> diff --git a/lsmmc.c b/lsmmc.c
> index 9737b37..98c0c4d 100644
> --- a/lsmmc.c
> +++ b/lsmmc.c
> @@ -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 */
diff mbox series

Patch

diff --git a/lsmmc.c b/lsmmc.c
index 9737b37..98c0c4d 100644
--- a/lsmmc.c
+++ b/lsmmc.c
@@ -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 */