Merge pull request #24 from TheSiege/hack-lenovo

Support hack for Lenovo IdeaPad Y480
hack-lenovo
Peter 13 years ago
commit 6a1de878c3

@ -21,6 +21,7 @@ static acpi_handle orig_handle;
*/ */
static bool __init need_acpi_handle_hack(void) { static bool __init need_acpi_handle_hack(void) {
return dmi_match(DMI_PRODUCT_VERSION, "Lenovo IdeaPad Y470 ") return dmi_match(DMI_PRODUCT_VERSION, "Lenovo IdeaPad Y470 ")
|| dmi_match(DMI_PRODUCT_VERSION, "Lenovo IdeaPad Y480")
|| dmi_match(DMI_PRODUCT_VERSION, "Lenovo IdeaPad Y570 ") || dmi_match(DMI_PRODUCT_VERSION, "Lenovo IdeaPad Y570 ")
|| dmi_match(DMI_PRODUCT_VERSION, "LENOVO IDEAPAD Y570 ") /* sys-product-name: PIQY0 */ || dmi_match(DMI_PRODUCT_VERSION, "LENOVO IDEAPAD Y570 ") /* sys-product-name: PIQY0 */
|| dmi_match(DMI_PRODUCT_VERSION, "Lenovo IdeaPad Y580") || dmi_match(DMI_PRODUCT_VERSION, "Lenovo IdeaPad Y580")

Loading…
Cancel
Save