You are not logged in.
Pages: 1
I have just installed Arch on a Toshiba R835. Things seems working except when F6/F7 is pushed it complains:
ACPI: Failed to switch the brightness
I added toshiba_acpi to the MODULES line in rc.conf, the problem persists. (In fact, I'm not sure that module is included anymore).
Note, however, that Fn8 switch the wireless on and off without any problem.
Any help? Thanks in advance
Last edited by pingpong (2011-09-12 03:36:48)
Offline
I did a little bit more poking about toshiba_acpi, please see
https://bugs.launchpad.net/ubuntu/+sour … +bug/77026 (these are a couple years old)
https://bugs.archlinux.org/task/6838?op … us%5B0%5D=
on arch modprobe toshiba_acpi shows that the version is 0.19 however it still does not recognize options toshiba_acpi hotkeys_over_acpi=1 in modprobe.conf
with that option taken out then modprobe toshiba_acpi reports
input: Toshiba input device as /devices/virtual/input/input12
toshiba_acpi: Toshiba Laptop ACPI Extra version 0.19
toshiba_apci: HCI method: \_SB.VALZ.GHCI
it's the input line that worries me. Any idea on how to fix it?
Offline
I have just installed Gnome on Arch and the hotkeys are working fine. However, I don't need/want Gnome. Hum... any idea of which part of gnome that makes these work?
One reason to use Arch is that it allows you to not to install something that you don't need, right?
Offline
just got my portege r830, running awesome wm.
i'm also having trouble with fn+f6/f7 brightness controls. found fnfx in aur. the last entry on their home page is dated December 2004, haven't installed it to check if it will work.
Last edited by tengisu (2011-09-11 08:02:43)
Offline
I ended up installing Gnome as well.
I use xmonad more often and to make Fn 6, 7 keys work, one needs to start up
gnome-keyring-daemon
gnome-settings-daemon
gnome-power-manager
I'm not sure if the order of starting is important or not.
And I'm curious too see whether you can make fnfx works. Keep us post
Offline
just tried fnfx, nu luck
trying to roll with something minimalist for a while, but if i can't find a solution might have to install gnome.
guess will have to do some more research.
Offline
Try to use acpid to hadle the brightness controls. If you can see "ACPI group/action undefined: video / LCD" lines in /var/log/messages while the acpid is running, you can add simple handler to video/LCD case of your /etc/acpi/handler.sh and control brightness by writing to /proc/acpi/toshiba/lcd. For example
CURR=$(grep "brightness:" /proc/acpi/toshiba/lcd | cut -d : -f 2)
echo "brightness:$(($CURR+1))" > /proc/acpi/toshiba/lcd
Offline
For example
CURR=$(grep "brightness:" /proc/acpi/toshiba/lcd | cut -d : -f 2) echo "brightness:$(($CURR+1))" > /proc/acpi/toshiba/lcd
To be more elaborate:
video)
case "$2" in
LCD)
CURR=$(grep "brightness:" /proc/acpi/toshiba/lcd | cut -d : -f 2)
case "$3" in
00000086)
echo "brightness:$(($CURR+1))" > /proc/acpi/toshiba/lcd ;;
00000087)
echo "brightness:$(($CURR-1))" > /proc/acpi/toshiba/lcd ;;
esac
;;
esac
;;
*) logger "ACPI action undefined: $2" ;;
esac
;;
Offline
wow, got up this morning and a solution is already posted.
but i had to change one tiny bit to make it work on mine.
# tail -f /var/log/messages.log
logger: ACPI group/action undefined: video / DD01
# acpi_listen
video DD01 00000087 00000000
video DD01 00000086 00000000
so then just had to change "LCD" in the prevous example to "DD01" from the output i got from tailing /var/log/messages.log. so it becomes this:
video)
case "$2" in
DD01)
CURR=$(grep "brightness:" /proc/acpi/toshiba/lcd | cut -d : -f 2)
case "$3" in
00000086)
echo "brightness:$(($CURR+1))" > /proc/acpi/toshiba/lcd ;;
00000087)
echo "brightness:$(($CURR-1))" > /proc/acpi/toshiba/lcd ;;
esac
;;
esac
;;
*) logger "ACPI action undefined: $2" ;;
esac
;;
thanks laloch, this is why i love arch.
Last edited by tengisu (2011-09-11 08:04:54)
Offline
If solved, please mark as [solved]. Thanks.
aur S & M :: forum rules :: Community Ethos
Resources for Women, POC, LGBT*, and allies
Offline
Pages: 1