Gentoo Archives: gentoo-user

From: Grant <emailgrant@×××××.com>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] Re: Backlight problems
Date: Fri, 16 Mar 2012 20:08:02
Message-Id: CAN0CFw0aiBLa6Wxf4=C44Ym8zypy7kjSWgP7gioJTOj-8imtmA@mail.gmail.com
In Reply to: Re: [gentoo-user] Re: Backlight problems by Mark Knecht
1 [snip]
2 >> Hey Mark, I'm happy to say I just fixed the screen backlighting on my
3 >> system, but I'm sorry to say I don't think it will help you with
4 >> keyboard backlighting.  To fix it, I removed 'acpi_backlight=vendor'
5 >> from grub and added 'echo 0 >
6 >> /sys/class/backlight/intel_backlight/brightness' to
7 >> /etc/local.d/backlight.start and made that file executable.  Now
8 >> backlight control works perfectly via the keyboard shortcuts with no
9 >> other configuration and no xbacklight.  I'm on
10 >> hardened-sources-3.2.2-r1.
11 >>
12 >> BTW, I noticed baselayout1.start and baselayout1.stop are no longer
13 >> created in /etc/local.d.
14 >>
15 >> - Grant
16 >>
17 >
18 > Hi Grant,
19 >   OK, that's interesting info. Here's what I'm currently seeing:
20 >
21 > slinky ~ # uname -a
22 > Linux slinky 3.2.10 #1 SMP PREEMPT Tue Mar 13 09:45:35 PDT 2012 x86_64
23 > Intel(R) Core(TM) i7 CPU Q 740 @ 1.73GHz GenuineIntel GNU/Linux
24 > slinky ~ # ls -al /etc/local.d/
25 > total 20
26 > drwxr-xr-x  2 root root 4096 Feb 23 21:03 .
27 > drwxr-xr-x 72 root root 4096 Mar 16 11:53 ..
28 > -rw-r--r--  1 root root  387 Feb 23 21:03 README
29 > -rwxr-xr-x  1 root root  123 May  3  2011 baselayout1.start
30 > -rwxr-xr-x  1 root root  217 May  3  2011 baselayout1.stop
31 > slinky ~ # ls -la /sys/class/backlight/asus_laptop/
32 > total 0
33 > drwxr-xr-x 2 root root    0 Mar 16 04:35 .
34 > drwxr-xr-x 3 root root    0 Mar 16 04:35 ..
35 > -r--r--r-- 1 root root 4096 Mar 16 12:09 actual_brightness
36 > -rw-r--r-- 1 root root 4096 Mar 16 12:09 bl_power
37 > -rw-r--r-- 1 root root 4096 Mar 16 11:40 brightness
38 > lrwxrwxrwx 1 root root    0 Mar 16 12:09 device ->
39 > ../../../asus_laptop
40 > -r--r--r-- 1 root root 4096 Mar 16 11:40 max_brightness
41 > lrwxrwxrwx 1 root root    0 Mar 16 04:35 subsystem ->
42 > ../../../../../class/backlight
43 > -r--r--r-- 1 root root 4096 Mar 16 12:09 type
44 > -rw-r--r-- 1 root root 4096 Mar 16 04:35 uevent
45 > slinky ~ # cat /sys/class/backlight/asus_laptop/brightness
46 > 15
47 > slinky ~ #
48 >
49 >   So, it seems to me that following your example, if I wanted to
50 > experiment with screen backlighting what would I do? I'm in KDE BTW in
51 > case we're doing something different in that regard.
52 >
53 >   I see in the Global Keyboard Shortcuts in KDE that there are
54 > Monitor Brightness Down/Up controls defined but I'm not understanding
55 > what keys actually control those. I  Googled around for a minute and
56 > found Fn-ArrowUp/ArrowDn but they didn't work o I'm hoping you can
57 > tell me and save me a few minutes. Maybe it's because I haven't
58 > started something required?
59 >
60 >   acpi_listen on n-ArrowUp/Dn does produce a response so maybe I
61 > don't have something properly mapped?
62
63 Have you tried adding 'acpi_osi=Linux acpi_backlight=vendor' to grub?
64 Is asus_laptop all you have in /sys/class/backlight?
65
66 >   I do have baselayout1.start/stop stuff so it seems our systems are
67 > fairly different.
68
69 My new install doesn't have them, but all of my old installs do have
70 them and 'equery b /etc/local.d/baselayout1.start' comes back with
71 nothing so I don't think they're being installed anymore.
72
73 - Grant

Replies

Subject Author
Re: [gentoo-user] Re: Backlight problems Neil Bothwick <neil@××××××××××.uk>