![]() The Hotkey Features software from IBM/Lenovo adds OSD icons that appear when the light is turned on/off. Likewise, controlling the ThinkLight with the keyboard works without any additional software. ThinkBlink: blink.sh is an universal bash script making ThinkLightīlink. Thinklight-notification: This Evolution plugin notifies the user withĪ blinking light whenever a new message has arrived. Adds someįeatures over the "stupid little hack to blink the ThinkLight" Non-privileged programs to manipulate the ThinkLight. Thinkalert: Another C program that may be set SUID to allow So that you can use it from non-privileged programs that needs to do To blink the ThinkLight: A little C program that may be set SUID The thinklight as notifiaction for new messages. Kopete-thinklight: This plugin for kopete will enable the usage of ThinkLight when the alarm is armed (disabled by default, to enable ![]() The script for theft alarm using HDAPS optionally flashes the Thinklight (and possibly other lights on your Thinkpad) it comes with Thinkblinkd: Thinkblinkd is a python daemon to control the ThinkLight flash to the beat of your music. Rocklight: rocklight is a xmms visualization plugin that makes the Gaim-lighthink intended for use with Pidgin. Pidgin-blinklight:pidgin-blinklight is a replacement for Gaim-lighthink: gaim-lightthink is an alternative to gaim-thinklight. Will enable you to use the ThinkLight as an indicator for new Gaim-thinklight: If you are using GAIM, the gaim-thinklight plugin Write user defined strings (added to Gentoo/Linux) The plugins below either weren't compatible with the I've forked led-notification to support the ThinkLight via ![]() Led-notification: Pidgin plugin to use any LED to indicate new To use these controls in scripts without root permissions, you should run # chmod 666 /sys/class/leds/tpacpi\:\:thinklight/brightness, which is probably best done using udev. Unfortunately, no known ThinkPad comes with a light sensor (yet). This allows one to control the light in scripts. Switches it on and a # echo 0 > /sys/class/leds/tpacpi\:\:thinklight/brightness After installing it, a simple # echo 255 > /sys/class/leds/tpacpi\:\:thinklight/brightness Support for controlling the light with ACPI is provided by thinkpad-acpi. Models without backlit keyboards only have ThinkLight on and ThinkLight off, which can be obtained by disabling the backlit keyboard in the BIOS of models with backlit keyboards installed. On models with backlit keyboards, there are 4 states: off, dim backlit, full backlit, and full backlit w/ ThinkLight. Starting with the #30 series models (T430, T530, W530, etc), the keystroke was changed to Fn Space in order to better accommodate the new 6-row keyboard layout. Just press Fn PageUp to toggle its state between on and off. Here is a link to a page with a bunch of info on how to get at the ThinkLight from Linux and Windows.Īnd here is the important stuff in case the link breaks.Ĭontrolling the ThinkLight with the keyboard works on all systems since it relies on the BIOS exclusively. Ok, so I think this is as close as I am going to get to an answer and I would like to put it here for any future curious minds. That works so i guess I dont need to write something myself but I am still curious as to why I cant find a hook to it.Īs a learning exercise I would still like to know how to access the LED. Is there any way for me to access the LED through C#, if not C# than perhaps another language?ĮDIT: I just found the keyboard key, I had bad info before, its Fn Pgup. I have held back on posting here as the list is long but can if requested. This gives me about 291 different devices in the collection, none of which seem to match. This is the device enumeration code: DeviceInformationCollection devices = devices = await light.EnumerateDevices() This reults in lamp = null string selectorString = Lamp.GetDeviceSelector() ĭeviceInformationCollection devices = await DeviceInformation.FindAllAsync(selectorString) Lamp lamp = await Lamp.GetDefaultAsync() Here is the code I tried so far, condensed a bit. I also tried using the device enumeration method and that doesnt show anything that looks like the LED. I have tried using the new Lamp class in the windows 10 UWP API, and that doesnt work. I see it come on for a split second when I cold boot the machine, I'm assuming this is part of the POST test or similar boot process and as such I would think there would be some way for me to connect to it. It isnt a backlight but is a single white LED next to the camera above the display. I would like to have access to the keyboard light without installing the Lenovo software. I then installed a clean image of windows 10, without all the bloatware. I upgraded it with an SSD and did the update from 7 to 10. I recently purchased a lenovo t420 laptop.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |