You are not logged in.

#1 2011-08-05 17:03:57

pingpong
Member
From: Los Angeles
Registered: 2010-12-30
Posts: 104

[SOLVED] Toshiba R835 ACPI issue

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

#2 2011-08-05 18:25:32

pingpong
Member
From: Los Angeles
Registered: 2010-12-30
Posts: 104

Re: [SOLVED] Toshiba R835 ACPI issue

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

#3 2011-08-05 20:14:22

pingpong
Member
From: Los Angeles
Registered: 2010-12-30
Posts: 104

Re: [SOLVED] Toshiba R835 ACPI issue

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

#4 2011-09-10 17:47:03

tengisu
Member
From: Mongolia
Registered: 2008-05-25
Posts: 18

Re: [SOLVED] Toshiba R835 ACPI issue

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

#5 2011-09-10 17:53:39

pingpong
Member
From: Los Angeles
Registered: 2010-12-30
Posts: 104

Re: [SOLVED] Toshiba R835 ACPI issue

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 smile

Offline

#6 2011-09-10 18:01:29

tengisu
Member
From: Mongolia
Registered: 2008-05-25
Posts: 18

Re: [SOLVED] Toshiba R835 ACPI issue

just tried fnfx, nu luck sad

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

#7 2011-09-10 21:47:23

laloch
Member
Registered: 2010-02-04
Posts: 186

Re: [SOLVED] Toshiba R835 ACPI issue

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

#8 2011-09-10 22:13:51

laloch
Member
Registered: 2010-02-04
Posts: 186

Re: [SOLVED] Toshiba R835 ACPI issue

laloch wrote:

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

#9 2011-09-11 08:01:26

tengisu
Member
From: Mongolia
Registered: 2008-05-25
Posts: 18

Re: [SOLVED] Toshiba R835 ACPI issue

wow, got up this morning and a solution is already posted. yikes

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. big_smile

Last edited by tengisu (2011-09-11 08:04:54)

Offline

#10 2011-09-11 17:43:10

fsckd
Forum Fellow
Registered: 2009-06-15
Posts: 4,173

Re: [SOLVED] Toshiba R835 ACPI issue

If solved, please mark as [solved]. Thanks.


aur S & M :: forum rules :: Community Ethos
Resources for Women, POC, LGBT*, and allies

Offline

Board footer

Powered by FluxBB