Month: May 2014

  • Visual Studio: Compare and Merge sources with Beyond Compare

    As a memo (but this info can be found on Beyond Compare website), here are my settings to compare and merge sources from Visual Studio, with Beyond Compare.

    Click to Read More

    • Go to Tools > Options… > Source Control > Visual Studio Team Foundation Server
    • Click “Configure User Tools…”
    • In the “Configure User Tools…” window, click “Add…” to configure the Compare Operation… then Type:
      • Extension: .*
      • Operation: Compare
      • Command: D:\Tools\Beyond Compare 3\BComp.exe
      • Arguments: %1 %2 /title1=%6 /title2=%7
    • Click “Ok” and then again “Add..” to configure the Merge Operation… Type now:
      • Extension: .*
      • Operation: Merge
      • Command: D:\Tools\Beyond Compare 3\BComp.exe
      • .Arguments: %1 %2 %3 %4 /title1=%6 /title2=%7 /title3=%8 /title4=%9

    Et voilà.

    Loading

  • Disable “Wake on Mouse/Keyboard” while “Wake On By PCIe/PCI” must be enabled

    In order to support “Wake on Lan” from “Power Off State (S5)”, I had to enable “Wake On By PCIe/PCI” in the bios of my Asus P9X79 Pro. A consequence seems (?) to be that moving the mouse or pressing a key from the keyboard also wakes the PC from “Sleep States (S2/3/4)”. This can be solved by disallowing those devices to wake the PC via their “Power Management” properties.

    Click to Read More

    1. Disallow the Mouse to wake up the PC.
      1. Open Control Panel > Hardware and Sound > Devices and Printers
      2. Double-Click on your Mouse or on your receiver if you use a wireless Mouse (Ex.: Logitech Nano Receiver).
      3. Go to the “Hardware” tab and select the device named “HID-compliant mouse” with type “Mice and other pointing devices”. Then click on the “Properties” button.
      4. In the “HID-Compliant mouse Properties” pane now opened, click on the button “Change settings”. This will add a tab “Power Management”. Open that tab.
      5. In the tab “Power Management”, uncheck the option “Allow this device to wake the computer”
    2. Disallow the Keyboard to wake up the Computer
      1. Open Control Panel > Hardware and Sound > Devices and Printers
      2. Double-Click on your Keyboard or on your receiver if you use a wireless Keyboard (Ex.: Logitech Nano Receiver). NB.: my Bluetooth keyboard is displayed as “Logitech Elite Keyboard”.
      3. Go to the “Hardware” tab and select the device named “HID Keyboard Device” with type “Keyboards”. Then click on the “Properties” button.
      4. In the “HID Keyboard Device Properties” pane now opened, click on the button “Change settings”. This will add a tab “Power Management”. Open that tab.
      5. In the tab “Power Management”, uncheck the option “Allow this device to wake the computer”. NB.: if there is a “Sleep” button on the keyboard, it won’t work either to wake the PC from Sleep State !

    Loading

  • Wake on Lan from Power Off State (S5) on Asus P9X79 Pro

    My PC built on top of an Asus P9X79 Pro can be waked up from Lan when it is in Sleep Mode (=S1 state) but not when it has been completely turned off (=S5 state). Googling a bit I found the exact solution on Ryan’s Bliggity Blog: enable the “Network Stack” in the Bios.

    Click to Read More

    So, as a resume, here is my configuration:

    1. Windows Power Options
      1. Open Control Panel > Hardware and Sound > Power Options
      2. Click on “Change what the power buttons do” on the left
      3. Click on “Change settings that are currently unavailable”
      4. Uncheck the option “Turn on fast start-up (recommended)”
    2. Bios
      1. Enter your UEFI bios (I am using the latest version when posting his)
      2. Click on “Exit/advanced mode” button in the upper-right corner and enter the advanced mode
      3. Go to the “Advanced” tab and select the entry “APM”
        1. Enable the option “Power On By PCI/E/PCI”.
        2. Enable also the “Network Stack”
      4. Possibly go next to the “Boot” tab and
        1. Either disable the option “Fast Boot”
        2. Or if you enable it, enable its sub-option “Network Stack Driver Support”
    3. Network adapter settings:
      1. Open Control Panel > Network and Internet > Network and Sharing Center
      2. Click on “Change Adapter Settings” (on the left)
      3. Right-Click the Network Adapter “Intel(R) 82579V Gigabit Network Connection” and select “Properties”
      4. In the “Networking Tab”, click “Configure”
      5. In the “Power Management” tab, yous should now see and tick the option “Wake on Magic Packet from power off state”
      6. Keep the “Wake on Magic Packet” option ticked too (to wake from Sleep State).

    All about System Power States can be found on Intel website:

    • System Power State S0 the ON state: The system is completely operation, fully powered and completely retains the context.
    • System Power State S1 the Sleep state: The system consumes less power than S0 state. All Hardware & Processor context is maintained.
    • System Power State S2 the Sleep state: The system consumes less power than S1 state. Processor loses power and processor context and contents of the cache are lost.
    • System Power State S3 the Sleep state: The system consumes less power than S2 state. Processor & Hardware context, cache contents, and chipset context are lost. The system memory is retained.
    • System Power State S4 the Hibernate state: The system consumes the least power compared to all other sleep states. The system is almost at an OFF state, expect for a trickle power. The context data is written to hard drive (disk)and there is no context retained.
    • System Power State S5 the OFF state:The system is in a shutdown state and the system retains no context. Note that in power state S4 the system can restart from the context data stored on the disk, but in S5 the system requires a reboot.

    Loading