Skip to contentSkip to conversation

platform/x86: intel-hid: Add Dell 14 Plus 2-in-1 to dmi_vgbs_allow_list

PATCH In review Peter Metz 3 participants 7 messages Feb 13 – Feb 27

Subsystems (2)
lore
Share & tools
lore

Peter Metz

author
#0 lore raw

PATCH 1/1 platform/x86: intel-hid: Add Dell 14 Plus 2-in-1 to dmi_vgbs_allow_list

The Dell 14 Plus 2-in-1 (model DB04250) requires the VGBS allow list entry to correctly enable the tablet mode switch. Without this, the chassis state is not reported, and the hinge rotation only emits unknown scancodes.

Verified on Dell 14 Plus 2-in-1 DB04250.

---
 drivers/platform/x86/intel/hid.c | 6 ++++++
 1 file changed, 6 insertions(+)
drivers/platform/x86/intel/hid.c +6 -0
index 560cc0631..5b475a096 100644
@@ -189,6 +189,12 @@ static const struct dmi_system_id dmi_vgbs_allow_list[] = {
 			DMI_MATCH(DMI_PRODUCT_NAME, "Dell Pro Rugged 12 Tablet RA02260"),
 		},
 	},
+	{
+		.matches = {
+			DMI_MATCH(DMI_SYS_VENDOR, "Dell Inc."),
+			DMI_MATCH(DMI_PRODUCT_NAME, "Dell 14 Plus 2-in-1 DB04250"),
+		},
+	},
 	{ }
 };
 
Signature · 2 lines
Cheers,
Peter Metz
maintainer Reviewed-by on v1 1/1
#1 lore raw

Hi,

Quoted 9 lines · Peter Metz

The Dell 14 Plus 2-in-1 (model DB04250) requires the VGBS allow list entry to correctly enable the tablet mode switch. Without this, the chassis state is not reported, and the hinge rotation only emits unknown scancodes.

Verified on Dell 14 Plus 2-in-1 DB04250.

Thanks, patch looks good to me:

Regards,

Hans

Quoted 21 lines
---
 drivers/platform/x86/intel/hid.c | 6 ++++++
 1 file changed, 6 insertions(+)
drivers/platform/x86/intel/hid.c +6 -0
index 560cc0631..5b475a096 100644
@@ -189,6 +189,12 @@ static const struct dmi_system_id dmi_vgbs_allow_list[] = {
 			DMI_MATCH(DMI_PRODUCT_NAME, "Dell Pro Rugged 12 Tablet RA02260"),
 		},
 	},
+	{
+		.matches = {
+			DMI_MATCH(DMI_SYS_VENDOR, "Dell Inc."),
+			DMI_MATCH(DMI_PRODUCT_NAME, "Dell 14 Plus 2-in-1 DB04250"),
+		},
+	},
 	{ }
 };
 
maintainer
#2 lore raw
In reply to Peter Metz

Hi,

Quoted 9 lines · Peter Metz

The Dell 14 Plus 2-in-1 (model DB04250) requires the VGBS allow list entry to correctly enable the tablet mode switch. Without this, the chassis state is not reported, and the hinge rotation only emits unknown scancodes.

Verified on Dell 14 Plus 2-in-1 DB04250.

p.s.

If you feel up to it, there is a similar bug-report of a related Dell model here:

https://lore.kernel.org/platform-driver-x86/CAP3yi-BWm0LqkhfzTrGy5n-KQ=3+T8eRMoR+Z+7Ke2VJB43kTA@mail.gmail.com/

it would be great if you can write a follow-up patch fixing that one too.

Regards,

Hans

Quoted 21 lines
---
 drivers/platform/x86/intel/hid.c | 6 ++++++
 1 file changed, 6 insertions(+)
drivers/platform/x86/intel/hid.c +6 -0
index 560cc0631..5b475a096 100644
@@ -189,6 +189,12 @@ static const struct dmi_system_id dmi_vgbs_allow_list[] = {
 			DMI_MATCH(DMI_PRODUCT_NAME, "Dell Pro Rugged 12 Tablet RA02260"),
 		},
 	},
+	{
+		.matches = {
+			DMI_MATCH(DMI_SYS_VENDOR, "Dell Inc."),
+			DMI_MATCH(DMI_PRODUCT_NAME, "Dell 14 Plus 2-in-1 DB04250"),
+		},
+	},
 	{ }
 };
 
author
#3 lore raw

PATCH 2/2 platform/x86: intel-hid: Add Dell 16 Plus 2-in-1 to dmi_vgbs_allow_list

The Dell 16 Plus 2-in-1 (model DB06250) requires the VGBS allow list entry to correctly enable the tablet mode switch. Without this, the chassis state is not reported, and the hinge rotation only emits unknown scancodes.

---
Hi Hans,

Thanks for the review! I'd be happy to help out with more fixes. Here is the follow-up patch for the Dell 16 Plus (DB06250) to address that report.

Cheers,
Peter

 drivers/platform/x86/intel/hid.c | 6 ++++++
 1 file changed, 6 insertions(+)
drivers/platform/x86/intel/hid.c +6 -0
index 60ce32f591ff..a8ae2dba7ffd 100644
@@ -195,6 +195,12 @@ static const struct dmi_system_id dmi_vgbs_allow_list[] = {
 			DMI_MATCH(DMI_PRODUCT_NAME, "Dell 14 Plus 2-in-1 DB04250"),
 		},
 	},
+	{
+		.matches = {
+			DMI_MATCH(DMI_SYS_VENDOR, "Dell Inc."),
+			DMI_MATCH(DMI_PRODUCT_NAME, "Dell 16 Plus 2-in-1 DB06250"),
+		},
+	},
 	{ }
 };
 
Signature · 2 lines
Cheers,
Peter Metz
maintainer Reviewed-by on v1 2/2
#4 lore raw

Re: [PATCH 2/2] platform/x86: intel-hid: Add Dell 16 Plus 2-in-1 to dmi_vgbs_allow_list

Hi,

Quoted 5 lines · Peter Metz

The Dell 16 Plus 2-in-1 (model DB06250) requires the VGBS allow list entry to correctly enable the tablet mode switch. Without this, the chassis state is not reported, and the hinge rotation only emits unknown scancodes.

Quoted 8 lines

---
Hi Hans,

Thanks for the review! I'd be happy to help out with more fixes. Here is the follow-up patch for the Dell 16 Plus (DB06250) to address that report.

Thank you!

patch looks good to me:

Regards,

Hans

Quoted 20 lines
 drivers/platform/x86/intel/hid.c | 6 ++++++
 1 file changed, 6 insertions(+)
drivers/platform/x86/intel/hid.c +6 -0
index 60ce32f591ff..a8ae2dba7ffd 100644
@@ -195,6 +195,12 @@ static const struct dmi_system_id dmi_vgbs_allow_list[] = {
 			DMI_MATCH(DMI_PRODUCT_NAME, "Dell 14 Plus 2-in-1 DB04250"),
 		},
 	},
+	{
+		.matches = {
+			DMI_MATCH(DMI_SYS_VENDOR, "Dell Inc."),
+			DMI_MATCH(DMI_PRODUCT_NAME, "Dell 16 Plus 2-in-1 DB06250"),
+		},
+	},
 	{ }
 };
 
maintainer
#5 lore raw
In reply to Peter Metz
Quoted 8 lines · Peter Metz

The Dell 14 Plus 2-in-1 (model DB04250) requires the VGBS allow list entry to correctly enable the tablet mode switch. Without this, the chassis state is not reported, and the hinge rotation only emits unknown scancodes.

Verified on Dell 14 Plus 2-in-1 DB04250.

[...]

Thank you for your contribution, it has been applied to my local review-ilpo-fixes branch. Note it will show up in the public platform-drivers-x86/review-ilpo-fixes branch only once I've pushed my local branch there, which might take a while.

The list of commits applied:
[1/1] platform/x86: intel-hid: Add Dell 14 Plus 2-in-1 to dmi_vgbs_allow_list

      commit: 6b3fa0615cd8432148581de62a52f83847af3d70
[2/2] platform/x86: intel-hid: Add Dell 16 Plus 2-in-1 to dmi_vgbs_allow_list
      commit: 857f5036f8fd729e097efbe3ba421b75e27346cb

--
i.

author
#6 lore raw

My pleasure Ilpo!
Thank you for the review and no rush at all of course.

Cheers,
Peter

Quoted 25 lines · Ilpo Järvinen
Quoted 8 lines · Peter Metz

The Dell 14 Plus 2-in-1 (model DB04250) requires the VGBS allow list entry to correctly enable the tablet mode switch. Without this, the chassis state is not reported, and the hinge rotation only emits unknown scancodes.

Verified on Dell 14 Plus 2-in-1 DB04250.

[...]

Thank you for your contribution, it has been applied to my local review-ilpo-fixes branch. Note it will show up in the public platform-drivers-x86/review-ilpo-fixes branch only once I've pushed my local branch there, which might take a while.

The list of commits applied:
[1/1] platform/x86: intel-hid: Add Dell 14 Plus 2-in-1 to dmi_vgbs_allow_list

       commit: 6b3fa0615cd8432148581de62a52f83847af3d70
[2/2] platform/x86: intel-hid: Add Dell 16 Plus 2-in-1 to dmi_vgbs_allow_list
       commit: 857f5036f8fd729e097efbe3ba421b75e27346cb

--
i.