media: ov13b10: Add ACPI ID for ASUS Z13 Flow laptop
PATCH 1/1 media: ov13b10: Add ACPI ID for ASUS Z13 Flow laptop
The ASUS ROG Flow Z13 2025 (GZ302) laptop uses an OV13B10 sensor with a non-standard ACPI ID of OMNI13B1 instead of the expected OVTI13B1.
Add this ACPI ID to the driver to make the front-facing camera work on these laptops.
--- drivers/media/i2c/ov13b10.c | 1 + 1 file changed, 1 insertion(+)
drivers/media/i2c/ov13b10.c +1 -0
@@ -1693,6 +1693,7 @@ static DEFINE_RUNTIME_DEV_PM_OPS(ov13b10_pm_ops, ov13b10_suspend,static const struct acpi_device_id ov13b10_acpi_ids[] = { {"OVTIDB10" }, {"OVTI13B1" }, + {"OMNI13B1" }, {/* sentinel */ } };
base-commit: 1fdb55ed40fa5ebe6934bd6b93036c714ebb5ef8
Signature · 1 line
2.50.1
Sakari Ailus
maintainerHi Adam,
Quoted 16 lines · Adam J. Sypniewski
The ASUS ROG Flow Z13 2025 (GZ302) laptop uses an OV13B10 sensor with a non-standard ACPI ID of OMNI13B1 instead of the expected OVTI13B1.
Add this ACPI ID to the driver to make the front-facing camera work on these laptops.
Signed-off-by Adam J. Sypniewski <[email protected]>--- drivers/media/i2c/ov13b10.c | 1 + 1 file changed, 1 insertion(+)drivers/media/i2c/ov13b10.c +0
-0
drivers/media/i2c/ov13b10.c static DEFINE_RUNTIME_DEV_PM_OPS(ov13b10_pm_ops, ov13b10_suspend, · line 1696
Quoted 4 lines
drivers/media/i2c/ov13b10.c +1
-0@@ -1693,6 +1693,7 @@ static DEFINE_RUNTIME_DEV_PM_OPS(ov13b10_pm_ops, ov13b10_suspend,static const struct acpi_device_id ov13b10_acpi_ids[] = { {"OVTIDB10" }, {"OVTI13B1" }, + {"OMNI13B1" },
Can you include a comment for this line, explaining why this ID is here?
Quoted 5 lines
drivers/media/i2c/ov13b10.c +0
-0{/* sentinel */ } };base-commit:
1fdb55ed40fa5ebe6934bd6b93036c714ebb5ef8
Signature · 3 lines
Regards, Sakari Ailus
PATCH v2 1/1 media: ov13b10: Add ACPI ID for ASUS Z13 Flow laptop
The ASUS ROG Flow Z13 2025 (GZ302) laptop uses an OV13B10 sensor with a non-standard ACPI ID of OMNI13B1 instead of the expected OVTI13B1.
Add this ACPI ID to the driver to make the front-facing camera work on these laptops.
---
Changes in v2:
- Added comment explaining the ASUS-specific ACPI ID (Sakari)
drivers/media/i2c/ov13b10.c | 1 + 1 file changed, 1 insertion(+)
drivers/media/i2c/ov13b10.c +1 -0
@@ -1693,6 +1693,7 @@ static DEFINE_RUNTIME_DEV_PM_OPS(ov13b10_pm_ops, ov13b10_suspend,static const struct acpi_device_id ov13b10_acpi_ids[] = { {"OVTIDB10" }, {"OVTI13B1" }, + {"OMNI13B1" },/* ASUS ROG Flow Z13 (GZ302) uses this ACPI ID */ {/* sentinel */ } };
base-commit: 1fdb55ed40fa5ebe6934bd6b93036c714ebb5ef8
Signature · 1 line
2.50.1
Hi,
Quoted 7 lines · Adam J. Sypniewski
The ASUS ROG Flow Z13 2025 (GZ302) laptop uses an OV13B10 sensor with a non-standard ACPI ID of OMNI13B1 instead of the expected OVTI13B1.
Add this ACPI ID to the driver to make the front-facing camera work on these laptops.
Signed-off-by Adam J. Sypniewski <[email protected]>
Thanks, patch looks good to me:
Regards,
Hans
Quoted 21 lines
---
Changes in v2:
- Added comment explaining the ASUS-specific ACPI ID (Sakari)drivers/media/i2c/ov13b10.c | 1 + 1 file changed, 1 insertion(+)drivers/media/i2c/ov13b10.c +1
-0@@ -1693,6 +1693,7 @@ static DEFINE_RUNTIME_DEV_PM_OPS(ov13b10_pm_ops, ov13b10_suspend,static const struct acpi_device_id ov13b10_acpi_ids[] = { {"OVTIDB10" }, {"OVTI13B1" }, + {"OMNI13B1" },/* ASUS ROG Flow Z13 (GZ302) uses this ACPI ID */ {/* sentinel */ } };base-commit:
1fdb55ed40fa5ebe6934bd6b93036c714ebb5ef8