valinet / ThinkPadLEDControl

ThinkPad LED Control allows controlling the various LEDs present on ThinkPad laptops and linking them to various system events (disk activity, key presses etc.) on Microsoft Windows.
ISC License
113 stars 13 forks source link
windows

ThinkPad LED Control

ThinkPad LED Control is a Microsoft Windows application that allows controlling the various LEDs present on ThinkPad laptops and linking them to various system events (disk activity, key presses etc.).

Download

Binaries are available in Releases. All other places where these may have been stored (Google Drive, Google Firebase) may be discontinued in the future, and removed at any time, although I will do my best to provide a redirect to this new location when possible.

Features

Current features of the application are:

Command line

An example for calling the application from command line is:

LEDControl.exe minimize LEDPower off LEDMicrophone third exit

The application will start minimized, toggle the power LED off, make the microphone LED blink, and then terminates.

Driver

In order to change the status of the LEDs, the application needs to interface with the embedded controller on the ThinkPad computers. It does this by using either one of these two kernel drivers: WinRing0 or TVicPort:

About

The application is free software. It uses the TVicPort freeware, code from open source TPFanControl (C++), and an HDD monitor example from Microsoft (VB.NET). The application is written in C# 5.0. Currently it is compiled against the .NET Framework 4.5.2, but it works starting even from Framework 2.0 I believe, you can recompile it from source and see, I just left it on 4.5.2 as that is the default in Visual Studio 2015.

License

The software is available under ISC license (https://en.wikipedia.org/wiki/ISC_license). The text of the license is available at LICENSE.

Changelog

Changelog can be found at CHANGELOG. There is also a Reddit thread where this application has been discussed extensively.