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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxx>
---

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 */



[Index of Archives]     [Linux Memonry Technology]     [Linux USB Devel]     [Linux Media]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux