Hi,
I've searched the net now for a few hours and the only code to control the ACPI driver + the Mail LED was this one:
Code:#include <windows.h> HANDLE ATKACPIhandle; int WINAPI WinMain (HINSTANCE hThisInstance, HINSTANCE hPrevInstance, LPSTR szCmdLine, int nFunsterStil) { HWND hwnd; WNDCLASSEX wincl; DWORD bytes = 0; struct cmbuf { short cmds[2]; long cm2; } cbuf; long outbuf[192]; cbuf.cmds[0] = 0; cbuf.cmds[1] = 4; if (strcmp(szCmdLine,"0")) cbuf.cm2=0; else if (strcmp(szCmdLine,"1")) cbuf.cm2=1; else return 0; long inbuf[5]={2,0x44454c4d,1,8,(long)&cbuf}; ATKACPIhandle = CreateFile("\\\\.\\ATKACPI", GENERIC_READ|GENERIC_WRITE, FILE_SHARE_READ|FILE_SHARE_WRITE, NULL, OPEN_EXISTING, 0, NULL); if (ATKACPIhandle){ DeviceIoControl(ATKACPIhandle, 0x222404, inbuf, sizeof(inbuf), outbuf, sizeof(outbuf), &bytes, NULL); CloseHandle(ATKACPIhandle);} return 0; }
It works perfectly fine but I haven't found any other codes to control other LEDs of the G71v / G50s
I've only found those, but they dont work with the G71V (only the MLED works):
Does anyone know where I can find the codes for the G71V?Code:#define MLED 0x44454c4d #define TLED 0x44454c54 #define WLED 0x44454c57 #define LED 0x44454c00
Thanks very much in advance, it would be really cool if any1 had them![]()
ASUS G71V LEDs
Discussion in 'Asus' started by Arrows, Jun 19, 2010.