Gentoo Archives: gentoo-user

From: Mark Knecht <markknecht@×××××.com>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] Re: Backlight problems
Date: Fri, 16 Mar 2012 19:26:25
Message-Id: CAK2H+ef8Y7Bz8zmgsLEKg=jXQgESyZjfgUYyzp1p0MtoB698_w@mail.gmail.com
In Reply to: Re: [gentoo-user] Re: Backlight problems by Grant
1 On Fri, Mar 16, 2012 at 11:55 AM, Grant <emailgrant@×××××.com> wrote:
2 <SNIP>
3 >> Grant,
4 >>   Sorry I missed this thread earlier. I've got an Asus 17" laptop
5 >> that I've been trying unsuccessfully to get the keyboard backlighting
6 >> to work correctly for weeks (maybe months - I no longer remember how
7 >> long) On my machine I get keyboard backlighting when I boot the
8 >> machine, but if I turn off the lights with the switch on the machine I
9 >> cannot so far turn them back on by any means.
10 >>
11 >>   On this machine xbacklight -get responds that nothing has backlight
12 >> properties so I've clearly got some configuration issues.
13 >>
14 >>   As for the kernel I'm using vanilla-sources-3.2.10 so I don't think
15 >> there's a lot that is newer than that.
16 >>
17 >>   I don't care much about screen backlighting but keyboard
18 >> backlighting is important to me.
19 >>
20 >> - Mark
21 >
22 > Hey Mark, I'm happy to say I just fixed the screen backlighting on my
23 > system, but I'm sorry to say I don't think it will help you with
24 > keyboard backlighting.  To fix it, I removed 'acpi_backlight=vendor'
25 > from grub and added 'echo 0 >
26 > /sys/class/backlight/intel_backlight/brightness' to
27 > /etc/local.d/backlight.start and made that file executable.  Now
28 > backlight control works perfectly via the keyboard shortcuts with no
29 > other configuration and no xbacklight.  I'm on
30 > hardened-sources-3.2.2-r1.
31 >
32 > BTW, I noticed baselayout1.start and baselayout1.stop are no longer
33 > created in /etc/local.d.
34 >
35 > - Grant
36 >
37
38 Hi Grant,
39 OK, that's interesting info. Here's what I'm currently seeing:
40
41 slinky ~ # uname -a
42 Linux slinky 3.2.10 #1 SMP PREEMPT Tue Mar 13 09:45:35 PDT 2012 x86_64
43 Intel(R) Core(TM) i7 CPU Q 740 @ 1.73GHz GenuineIntel GNU/Linux
44 slinky ~ # ls -al /etc/local.d/
45 total 20
46 drwxr-xr-x 2 root root 4096 Feb 23 21:03 .
47 drwxr-xr-x 72 root root 4096 Mar 16 11:53 ..
48 -rw-r--r-- 1 root root 387 Feb 23 21:03 README
49 -rwxr-xr-x 1 root root 123 May 3 2011 baselayout1.start
50 -rwxr-xr-x 1 root root 217 May 3 2011 baselayout1.stop
51 slinky ~ # ls -la /sys/class/backlight/asus_laptop/
52 total 0
53 drwxr-xr-x 2 root root 0 Mar 16 04:35 .
54 drwxr-xr-x 3 root root 0 Mar 16 04:35 ..
55 -r--r--r-- 1 root root 4096 Mar 16 12:09 actual_brightness
56 -rw-r--r-- 1 root root 4096 Mar 16 12:09 bl_power
57 -rw-r--r-- 1 root root 4096 Mar 16 11:40 brightness
58 lrwxrwxrwx 1 root root 0 Mar 16 12:09 device ->
59 ../../../asus_laptop
60 -r--r--r-- 1 root root 4096 Mar 16 11:40 max_brightness
61 lrwxrwxrwx 1 root root 0 Mar 16 04:35 subsystem ->
62 ../../../../../class/backlight
63 -r--r--r-- 1 root root 4096 Mar 16 12:09 type
64 -rw-r--r-- 1 root root 4096 Mar 16 04:35 uevent
65 slinky ~ # cat /sys/class/backlight/asus_laptop/brightness
66 15
67 slinky ~ #
68
69 So, it seems to me that following your example, if I wanted to
70 experiment with screen backlighting what would I do? I'm in KDE BTW in
71 case we're doing something different in that regard.
72
73 I see in the Global Keyboard Shortcuts in KDE that there are
74 Monitor Brightness Down/Up controls defined but I'm not understanding
75 what keys actually control those. I Googled around for a minute and
76 found Fn-ArrowUp/ArrowDn but they didn't work o I'm hoping you can
77 tell me and save me a few minutes. Maybe it's because I haven't
78 started something required?
79
80 acpi_listen on n-ArrowUp/Dn does produce a response so maybe I
81 don't have something properly mapped?
82
83 I do have baselayout1.start/stop stuff so it seems our systems are
84 fairly different.
85
86 Thank in advance,
87 Mark

Replies

Subject Author
Re: [gentoo-user] Re: Backlight problems Mark Knecht <markknecht@×××××.com>
Re: [gentoo-user] Re: Backlight problems Grant <emailgrant@×××××.com>