Hi all,
Here are a few hints and tips for the Asus P5Q
1) keyboard power on In order to activate the "any key" keyboard power on function, start by installing the ioport package, use the package manager from your linux distribution or install from here: https://people.redhat.com/rjones/ioport/ Then, as root, do: outb 0x2E 0x87; outb 0x2e 0x87; outb 0x2e 0x07; outb 0x2f 0x0a; outb 0x2e 0xe0; outb 0x2f 0x41
2) Blinking power light whilst sleeping If you want your computer to blink the power light when you put it to sleep, create a file named smihandler.c inside the src/mainboard/asus/p5qc/ folder with the following contents:
#include <arch/io.h> #include <cpu/x86/smm.h>
void mainboard_smi_sleep(u8 slp_typ) { outb(inb(0x59b) | 0x08,0x59b); }
3) Floppy configuration Byte 0x10 in the RTC NVRAM space is used by various operating systems (including linux) to determine what type of floppy drive you have connected to the motherboard If you replace cmos.default and cmos.layout with the attached files it will be possible for you select the floppy type with either the nvramui secondary payload or use the nvramtool .
Hope this is useful to anybody.
Regards, Ed