Puppy Linux Discussion Forum Forum Index Puppy Linux Discussion Forum
Puppy HOME page : puppylinux.com
"THE" alternative forum : puppylinux.info
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

The time now is Wed 22 Nov 2017, 11:08
All times are UTC - 4
 Forum index » House Training » Users ( For the regulars )
Laptop Brightness Issues- Toshiba T115d/Precise 5.7 (Solved)
Moderators: Flash, Ian, JohnMurga
Post new topic   Reply to topic View previous topic :: View next topic
Page 1 of 1 [8 Posts]  
Author Message
Cadejo

Joined: 29 Jun 2009
Posts: 75

PostPosted: Sun 04 Aug 2013, 08:21    Post subject:  Laptop Brightness Issues- Toshiba T115d/Precise 5.7 (Solved)  

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/+source/toshset/+bug/181374

Fix posted here:
http://ubuntuforums.org/showthread.php?p=6203606#post6203606

Quote:
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:

# 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, 11:19; edited 1 time in total
Back to top
View user's profile Send private message 
Bushbuck

Joined: 25 Jan 2013
Posts: 160

PostPosted: Sun 04 Aug 2013, 09:36    Post subject: Re: Laptop Screen Brightness Issues- Toshiba T115d /Precise 5.7  

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.
Back to top
View user's profile Send private message 
Karl Godt


Joined: 20 Jun 2010
Posts: 4208
Location: Kiel,Germany

PostPosted: Sun 04 Aug 2013, 09:41    Post subject:  

backlight settings cl script
http://www.murga-linux.com/puppy/viewtopic.php?t=78718

_________________
«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 Razz
Back to top
View user's profile Send private message 
Cadejo

Joined: 29 Jun 2009
Posts: 75

PostPosted: Sun 04 Aug 2013, 14:53    Post subject:  

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:

# /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.
Back to top
View user's profile Send private message 
Cadejo

Joined: 29 Jun 2009
Posts: 75

PostPosted: Tue 06 Aug 2013, 06:39    Post subject:  

All, I figured it out.

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

Code:

# echo 5 > /sys/class/backlight/acpi_video0/brightness


Where "5" is the brightness level. I think that was the intent of the script.
Back to top
View user's profile Send private message 
Cadejo

Joined: 29 Jun 2009
Posts: 75

PostPosted: Tue 06 Aug 2013, 11:17    Post subject:  

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:
<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:
<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]
capture29500.png
Description 
png

 Download 
Filename  capture29500.png 
Filesize  143.52 KB 
Downloaded  379 Time(s) 
Back to top
View user's profile Send private message 
Karl Godt


Joined: 20 Jun 2010
Posts: 4208
Location: Kiel,Germany

PostPosted: Tue 06 Aug 2013, 11:21    Post subject:  

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 Razz
Back to top
View user's profile Send private message 
Cadejo

Joined: 29 Jun 2009
Posts: 75

PostPosted: Tue 06 Aug 2013, 12:47    Post subject:  

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

http://www.murga-linux.com/puppy/viewtopic.php?p=717415#717415
Back to top
View user's profile Send private message 
Display posts from previous:   Sort by:   
Page 1 of 1 [8 Posts]  
Post new topic   Reply to topic View previous topic :: View next topic
 Forum index » House Training » Users ( For the regulars )
Jump to:  

You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum


Powered by phpBB © 2001, 2005 phpBB Group
[ Time: 0.0872s ][ Queries: 12 (0.0082s) ][ GZIP on ]