Laptop Brightness Issues- Toshiba T115d/Precise 5.7 (Solved)

Using applications, configuring, problems
Post Reply
Message
Author
Cadejo
Posts: 75
Joined: Tue 30 Jun 2009, 02:55

Laptop Brightness Issues- Toshiba T115d/Precise 5.7 (Solved)

#1 Post by Cadejo »

All,

After upgrading from 5.6 to 5.7.1 the screen brightness function keys do not work, after some research it looks like the following.

Bug reported here:
https://bugs.launchpad.net/ubuntu/+sour ... bug/181374

Fix posted here:
http://ubuntuforums.org/showthread.php? ... ost6203606
There are 2 issues to solve.
1) 8.10 kernels are compiled without the toshiba_acpi module, which is required by toshset.
2) Versions of toshiba_acpi in recent kernels do not work with toshset
Please see terminal commands, this points me in the same direction:

Code: Select all

# modprobe toshiba_acpi
# toshset
required kernel toshiba support not enabled.
# modprobe toshiba
FATAL: Error inserting toshiba (/lib/modules/3.9.11/kernel/drivers/char/toshiba.ko): No such device
Above said, can someone point me in the right direction? All the other function keys work for volume, etc, but the brightness cannot be controlled. This featured worked in 5.6.1

Let me know if there is a workaround.
Last edited by Cadejo on Tue 06 Aug 2013, 15:19, edited 1 time in total.

Bushbuck
Posts: 179
Joined: Sat 26 Jan 2013, 01:33

Re: Laptop Screen Brightness Issues- Toshiba T115d /Precise 5.7

#2 Post by Bushbuck »

Cadejo wrote:Let me know if there is a workaround.
If you start up a terminal window and type

xrandr --output LVDS-1 --brightness 0.67

it ought to turn the brightness down to two thirds.

Type "xrandr" with no arguments to find out exactly what the screen is called.

User avatar
Karl Godt
Posts: 4199
Joined: Sun 20 Jun 2010, 13:52
Location: Kiel,Germany

#3 Post by Karl Godt »

«Give me GUI or Death» -- I give you [[Xx]term[inal]] [[Cc]on[s][ole]] .
Macpup user since 2010 on full installations.
People who want problems with Puppy boot frugal :P

Cadejo
Posts: 75
Joined: Tue 30 Jun 2009, 02:55

#4 Post by Cadejo »

Hey guys, the xrandr command does reduce the brightness, lol, but it does not reduce the backlight! I'm not sure of the battery saving, it does save my eyes however.

The script kicks this back, I should learn bash, sigh.

Code: Select all

# /usr/bin/brightme 3
/sys/class/backlight/acpi_video0/brightness
/sys/class/backlight/radeon_bl0/brightness
/sys/class/backlight/toshiba/brightness
/usr/bin/brightme: line 85: /sys/class/backlight/acpi_video0/ /sys/class/backlight/radeon_bl0/ /sys/class/backlight/toshiba//brightness: No such file or directory
On another note, I tried the toshiba modules in 5.5, they didn't work but the function keys could turn the backlight brightness up/down so my original suspicions are wrong.

I'm completely lost to how puppy handles laptop backlight brightness.

All I know is that it works in 5.6.1 and not in 5.7.1.

Cadejo
Posts: 75
Joined: Tue 30 Jun 2009, 02:55

#5 Post by Cadejo »

All, I figured it out.

I found a good fix at https://wiki.archlinux.org/index.php/Backlight

Code: Select all

# echo 5 > /sys/class/backlight/acpi_video0/brightness 
Where "5" is the brightness level. I think that was the intent of the script.

Cadejo
Posts: 75
Joined: Tue 30 Jun 2009, 02:55

#6 Post by Cadejo »

All, I built the workaround into a JWM menu, so I can control the brightness.

Copy below into /etc/xdg/templates/_root_.jwmrc and /root/.jwmrc , add it before the first <RootMenu> entries

Code: Select all

<RootMenu label="" labeled="false" height="24" onroot="6">
<Program label="1" icon=""> echo 1 > /sys/class/backlight/acpi_video0/brightness</Program>
<Program label="2" icon=""> echo 2 > /sys/class/backlight/acpi_video0/brightness</Program>
<Program label="3" icon=""> echo 3 > /sys/class/backlight/acpi_video0/brightness</Program>
<Program label="4" icon=""> echo 4 > /sys/class/backlight/acpi_video0/brightness</Program>
<Program label="5" icon=""> echo 5 > /sys/class/backlight/acpi_video0/brightness</Program>
<Program label="6" icon=""> echo 6 > /sys/class/backlight/acpi_video0/brightness</Program>
<Program label="7" icon=""> echo 7 > /sys/class/backlight/acpi_video0/brightness</Program>
</RootMenu>
And add the following into /root/.jwmrc-tray after the "<TaskList/>" entry

Code: Select all

<TrayButton label="" icon="/usr/local/lib/X11/mini-icons/idea16.xpm">root:6</TrayButton>
Please see the attached image for the cool pop-up brightness control!


[/code]
Attachments
capture29500.png
(143.52 KiB) Downloaded 552 times

User avatar
Karl Godt
Posts: 4199
Joined: Sun 20 Jun 2010, 13:52
Location: Kiel,Germany

#7 Post by Karl Godt »

Thanks for the error report and eventual patch !

Will look into it when I boot my Asus netbook .
«Give me GUI or Death» -- I give you [[Xx]term[inal]] [[Cc]on[s][ole]] .
Macpup user since 2010 on full installations.
People who want problems with Puppy boot frugal :P

Cadejo
Posts: 75
Joined: Tue 30 Jun 2009, 02:55

#8 Post by Cadejo »

Thanks! I posted the info the "How To's."

http://www.murga-linux.com/puppy/viewto ... 415#717415

Post Reply