Difference between revisions of "Talk:ThinkLight"

From ThinkWiki
Jump to: navigation, search
m
m (T430 with RHEL: - still occuring in rhel 6.7)
 
(3 intermediate revisions by 2 users not shown)
Line 27: Line 27:
  
 
[/code]
 
[/code]
 +
 +
=== T430 with RHEL ===
 +
 +
Red Hat Enterprise Linux Workstation release 6.5 & 6.7 (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.

Latest revision as of 14:49, 6 July 2016

[code]

  1. !/usr/bin/perl

use strict; use warnings;

  1. $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 & 6.7 (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.