Quoting Carl-Daniel Hailfinger c-d.hailfinger.devel.2006@gmx.net:
On 05.03.2008 23:09, joe@smittys.pointclark.net wrote:
Hello, The audio on the RM4100 is muted by default. I know the assembly code to unmute it but I am not so good with the assembly, could someone translate this for me into human???
seg000:00000000 mov edx, 84Dh seg000:00000005 mov eax, 0C0h ; '+' seg000:0000000A out dx, al
Write 0xc0 to port 0x84d.
printf '\xc0' | dd of=/dev/port bs=1 seek=$[0x84d]
Thanks, actually I am doing this in coreboot auto.c:
outl(0xc0, PME_IO_BASE_ADDR + 0x4d); /* GP3 */
I already have the function setup for other GPIO SuperIO registers.
Thanks - Joe