User:Ant P./eeePC 1000H hacking

From Gentoo Wiki
Jump to: navigation, search

This page contains resources related to fixing the problems listed on Asus Eee PC 1000H.

AHCI enablement

I've been able to boot in native AHCI mode using various hacks but it resets to IDE emulation after a suspend. The kernel really doesn't like the main disk interface mutating into another at runtime.

There's also a modded BIOS somewhere that enables AHCI at boot, but again, doesn't handle suspend at all. It's also extremely hard to revert to a regular BIOS afterwards, so for safety's sake I won't link it here.

Alternatively, doing a setpci-style poke via a PCI quirk could work? At a glance this looks like it would also handle the suspend/resume case.

eeepc_laptop hotkeys

Apply this kernel patch if using BIOS revision 2204 or newer to have the kernel recognise the Fn+Space combination.

diff --git a/drivers/platform/x86/eeepc-laptop.c b/drivers/platform/x86/eeepc-laptop.c
index 776868d5e..74970eff6 100644
--- a/drivers/platform/x86/eeepc-laptop.c
+++ b/drivers/platform/x86/eeepc-laptop.c
@@ -141,6 +141,7 @@ static const struct key_entry eeepc_keymap[] = {
        { KE_KEY, 0x32, { KEY_SWITCHVIDEOMODE } },
        { KE_KEY, 0x37, { KEY_F13 } }, /* Disable Touchpad */
        { KE_KEY, 0x38, { KEY_F14 } },
+       { KE_KEY, 0x39, { KEY_DASHBOARD } }, /* Fn-spacebar */
        { KE_IGNORE, 0x50, { KEY_RESERVED } }, /* AC plugged */
        { KE_IGNORE, 0x51, { KEY_RESERVED } }, /* AC unplugged */
        { KE_END, 0 },
--
2.27.0