MMM
Results 1 to 25 of 506

Thread: Evga Voltage Tuner

Threaded View

  1. #11
    Xtreme Addict
    Join Date
    May 2008
    Location
    Land of Koalas and Wombats
    Posts
    1,058
    Diverge,

    Use return values from Rivatuner. It should give them. I take it you are calling it with something like. In C I would do something like:

    int main(int argc, char **argv) {
    ...
    int rt_ret = 0;
    sprintf(buf, "rivatuner.exe /ri%d,%s,%s\n", BUS_NUM, BUS_ADDR, REG_OFFSET");
    rt_ret = system("buf");
    switch(rt_ret) {
    case 0: printf("Volterra VR detected\n");
    goto next;
    case 1: printf("Volterra VR not detected\n");
    goto exit_fail;
    }

    next:
    read_i2c_vr_reg(argv[0]);
    ...

    exit_fail:
    printf("You are unable to use this application because your hardware isn't supported\n");
    return 1;
    ...
    }

    I just woke up so I'm still half asleep but something like that should work in theory. Unwinder would no doubt have return values
    Last edited by mikeyakame; 02-03-2009 at 05:19 PM.

    DFI LT-X48-T2R UT CDC24 Bios | Q9550 E0 | G.Skill DDR2-1066 PK 2x2GB |
    Geforce GTX 280 729/1566/2698 | Corsair HX1000 | Stacker 832 | Dell 3008WFP


Bookmarks

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •