Gentoo Archives: gentoo-user

From: Grant <emailgrant@×××××.com>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] Updates = slow firefox
Date: Wed, 28 Apr 2010 16:59:01
Message-Id: s2h49bf44f11004280957t5d9fc158yef7b5d44e2319ffe@mail.gmail.com
In Reply to: Re: [gentoo-user] Updates = slow firefox by Bartosz Szatkowski
1 >> >> >> >> Strangely, now my laptop's brightness adjustment doesn't work via the
2 >> >> >> >> keyboard shortcuts.  Any ideas on that?
3 >> >> >> >>
4 >> >> >> >> - Grant
5 >> >> >> >>
6 >> >> >> > Please share the beast model :P (or maybe ive missed it).
7 >> >> >> > in kernel config You have multiple option for backlight eg. for thinkpad
8 >> >> >> > there is extra one in "thinkpad specific acpi" maybe You have something
9 >> >> >> > similar for Yours stuff.
10 >> >> >>
11 >> >> >> It's a Dell Vostro 1320.  The keyboard shortcuts to change brightness
12 >> >> >> were working great until I enabled DRM in the kernel.  Can you tell me
13 >> >> >> where in the kernel those options can be found, or part of the
14 >> >> >> variable name that defines them?
15 >> >> >>
16 >> >> > Try running xev and punching brightness keys, if you would see
17 >> >> > "effects" (some text in terminal) then its OK :P You should change the
18 >> >> > Acpi configs (etc/acpi/) or Gnome/KDE/Xfce/... bindings.
19 >> >>
20 >> >> I do see text in xev when pressing the brightness keys.
21 >> >>
22 >> >> > (if You dont know it already)
23 >> >> > For acpi config You'll need "event id" try running acpi_listen.
24 >> >> > eg. /etc/acpi/events/sleep:
25 >> >> > event=ibm/hotkey HKEY 00000080 00001004
26 >> >> > action=/etc/acpi/actions/sleep.sh
27 >> >> >
28 >> >> > and into actions you put scripts, try using xbacklight.
29 >> >>
30 >> >> You think I should use xbacklight or similar even though it was
31 >> >> working on its own before?
32 >> >>
33 >> >> - Grant
34 >> >>
35 >> >>
36 >> >> > If You wouldn't have any reaction in xev and acpi_listen i check the
37 >> >> > option in kernel.
38 >> >>
39 >> > I think that its better to have things done even if would be around then
40 >> > dont done it at all. :)
41 >>
42 >> Yes but I think I should find the built-in mechanism which was
43 >> allowing it to work before instead of writing my own script to make it
44 >> work.  Don't you think so?
45 >>
46 >> - Grant
47 >>
48 > Try built in Gnome\Kde\Xfce(etc) bindings i had some troubles (in xfce)
49 > - keys with names XF86* starts to randomly changes names or disappear
50 > from configs ... maybe its Your case too.
51 > --
52 > Bartosz Szatkowski
53
54 Got it, thank you for your help with this. I used xbacklight along
55 with the xfce4 keyboard shortcut GUI settings. My backlight
56 adjustment keystrokes are displayed as XF86MonBrightnessUp and *Down
57 in those settings, so there must have been a mechanism adjusting the
58 backlight based on that before I updated Xorg. Here are my xbacklight
59 commands:
60
61 xbacklight -inc 15 -steps 1 -time 0
62 xbacklight -dec 10 -steps 1 -time 0
63
64 Thanks again,
65 Grant