diff --git a/packages/kernel/linux/patches/X86_64/005-ayaneo-ayaneo-2.patch b/packages/kernel/linux/patches/X86_64/005-ayaneo-ayaneo-2.patch new file mode 100644 index 000000000..be899b381 --- /dev/null +++ b/packages/kernel/linux/patches/X86_64/005-ayaneo-ayaneo-2.patch @@ -0,0 +1,16 @@ +diff -rupN linux-6.1.2.orig/drivers/gpu/drm/drm_panel_orientation_quirks.c linux-6.1.2/drivers/gpu/drm/drm_panel_orientation_quirks.c +--- linux-6.1.2.orig/drivers/gpu/drm/drm_panel_orientation_quirks.c 2022-12-31 16:12:06.802587676 -0500 ++++ linux-6.1.2/drivers/gpu/drm/drm_panel_orientation_quirks.c 2023-01-03 17:31:39.106353974 -0500 +@@ -164,6 +164,12 @@ static const struct dmi_system_id orient + DMI_EXACT_MATCH(DMI_PRODUCT_NAME, "T103HAF"), + }, + .driver_data = (void *)&lcd800x1280_rightside_up, ++ }, { /* AYANEO AYANEO 2 */ ++ .matches = { ++ DMI_EXACT_MATCH(DMI_SYS_VENDOR, "AYANEO"), ++ DMI_EXACT_MATCH(DMI_PRODUCT_NAME, "AYANEO 2"), ++ }, ++ .driver_data = (void *)&lcd1200x1920_rightside_up, + }, { /* AYA NEO 2021 */ + .matches = { + DMI_EXACT_MATCH(DMI_SYS_VENDOR, "AYADEVICE"), diff --git a/packages/sysutils/autostart/sources/quirks/AYANEO AYANEO 2 b/packages/sysutils/autostart/sources/quirks/AYANEO AYANEO 2 new file mode 120000 index 000000000..c710375de --- /dev/null +++ b/packages/sysutils/autostart/sources/quirks/AYANEO AYANEO 2 @@ -0,0 +1 @@ +AYANEO AIR \ No newline at end of file