One could also make an early quirk that does this as well based on a DMI match. I wrote up a quick patch to do that, but it's completely untested (see below). I doubt it'd be upstream-appropriate though, as it would kill the possibility of using the second card entirely.
You guys are probably all aware of this, but it seems like one solution is to have the bootloader kill the NV96 card on boot, if you're using grub2:
https:/ /help.ubuntu. com/community/ UEFIBooting# Selecting_ the_graphic_ card askubuntu. com/questions/ 149921/ how-to- add-a-command- permanently- to-grub2
http://
One could also make an early quirk that does this as well based on a DMI match. I wrote up a quick patch to do that, but it's completely untested (see below). I doubt it'd be upstream- appropriate though, as it would kill the possibility of using the second card entirely.
diff --git a/arch/ x86/kernel/ acpi/boot. c b/arch/ x86/kernel/ acpi/boot. c x86/kernel/ acpi/boot. c x86/kernel/ acpi/boot. c irq0_timer_ override( const struct dmi_system_id *d)
index 230c8ea..8cb7665 100644
--- a/arch/
+++ b/arch/
@@ -1357,6 +1357,12 @@ static int __init dmi_ignore_
return 0;
}
+static int __init disable_ macbook_ second_ video(const struct dmi_system_id *d)
DMI_MATCH( DMI_PRODUCT_ NAME, "TravelMate 360"),
}, macbook_ second_ video, DMI_SYS_ VENDOR, "Apple Inc."), DMI_PRODUCT_ NAME, "MacBook5"),
+{
+ outb(0, 0x750);
+ return 0;
+}
+
/*
* If your system is blacklisted here, but you find that acpi=force
* works for you, please contact <email address hidden>
@@ -1432,6 +1438,15 @@ static struct dmi_system_id __initdata acpi_dmi_table[] = {
},
+ {
+ .callback = disable_
+ .ident = "Apple MacBook5",
+ .matches = {
+ DMI_MATCH(
+ DMI_MATCH(
+ },
+ },
+
{}
};