Difference between revisions of "Talk:ThinkLight"
m (→T430 with RHEL)  | 
				|||
| Line 35: | Line 35: | ||
These don't work:  | These don't work:  | ||
| + | |||
echo 255 > /sys/class/leds/tpacpi\:\:thinklight/brightness  | echo 255 > /sys/class/leds/tpacpi\:\:thinklight/brightness  | ||
| + | |||
echo 0 > /sys/class/leds/tpacpi\:\:thinklight/brightness  | echo 0 > /sys/class/leds/tpacpi\:\:thinklight/brightness  | ||
| + | |||
Start at no-light, '0' in brightness  | Start at no-light, '0' in brightness  | ||
| + | |||
Fn-Space: Low backlight - still 0  | Fn-Space: Low backlight - still 0  | ||
| + | |||
Fn-Space: High backlight - still 0  | Fn-Space: High backlight - still 0  | ||
| + | |||
Fn-Space: Backlight off, thinklight on - 255  | Fn-Space: Backlight off, thinklight on - 255  | ||
| − | |||
| − | |||
| − | |||
| + | Fn-Space: back to start - back to 0  | ||
=== T530 with Debian ===  | === T530 with Debian ===  | ||
Revision as of 12:00, 16 July 2014
[code]
- !/usr/bin/perl
 
use strict; use warnings;
- $count
 
my $count = $ARGV[0];
if ( ! defined($count) || $count < 1 )
       {
       $count = 1;
       }
$|=1;
for(my $i=0;$i<$count;$i++) { open(LICHT,">/proc/acpi/ibm/light"); print LICHT "on\n"; close(LICHT); select(undef,undef,undef,0.25); open(LICHT,">/proc/acpi/ibm/light"); print LICHT "off\n"; close(LICHT); select(undef,undef,undef,0.25); }
[/code]
T430 with RHEL
Red Hat Enterprise Linux Workstation release 6.5 (Santiago)
Thinkpad_acpi is loaded.
These don't work:
echo 255 > /sys/class/leds/tpacpi\:\:thinklight/brightness
echo 0 > /sys/class/leds/tpacpi\:\:thinklight/brightness
Start at no-light, '0' in brightness
Fn-Space: Low backlight - still 0
Fn-Space: High backlight - still 0
Fn-Space: Backlight off, thinklight on - 255
Fn-Space: back to start - back to 0
T530 with Debian
The ACPI hooks are there but not functional - likely needs a bit in
/etc/modprobe.d/
Similar to what one needs to enable fan control - but I can't find any documentation.