Author Topic: How do you autostart brightness switch at boot? [SOLVED!]  (Read 1261 times)

Offline tuxlink

  • Jr. Member
  • **
  • Posts: 33
How do you autostart brightness switch at boot? [SOLVED!]
« on: December 07, 2009, 09:45:27 PM »
Hi,

I have an Asus Z7100 Notebook. When it boots into PCLinuxOS the brightness gets switched to very dim. I'm aware of the manual way to fix this, (by editing a file called ls_switch located in /sys/devices/platform/asus-laptop to 0 instead of 1.) but what I need is a way to have this automatically done and to make it permanent.
Each time it boots up the previous edit is lost and it reverts back to 1 again.
Any suggestions greatly appreciated.
Thanks in advance.
Mick
« Last Edit: January 02, 2010, 01:09:09 PM by tuxlink »
"Linux users and the women who must have them, next Oprah!"

Offline 7272andy

  • PCLinuxOS Tester
  • Hero Member
  • *******
  • Posts: 1628
  • UK MLU
Re: How do you autostart brightness switch at boot?
« Reply #1 on: December 08, 2009, 04:18:29 AM »
If you install KPowersave and set to run at boot, you will be able to set the brightness from there. You can even set it to different levels depending on the profiles you setup.

Andy


Bare Metal 1         Bare Metal 2
Intel Celeron 420M   Intel i5 540M
2GB Ram              4GB Ram
Intel 943GM          Radeon HD 5650 PCI Express
RT2573               RT2790
32bit KDE            32&64bit KDE

Offline tuxlink

  • Jr. Member
  • **
  • Posts: 33
Re: How do you autostart brightness switch at boot?
« Reply #2 on: December 08, 2009, 09:24:15 PM »
Thank  you Andy,

I neglected to mention that I had recently upgraded to kde 4.3.3.
I have KPowersave running and until I go manually edit the aforementioned file, the 'Brightness' slider is grayed out and only works after the edit.
I guess my KPowersave is set to run at boot as it is available in the taskbar when I login.
But thanks for the quick reply.
Mick
"Linux users and the women who must have them, next Oprah!"

Offline 7272andy

  • PCLinuxOS Tester
  • Hero Member
  • *******
  • Posts: 1628
  • UK MLU
Re: How do you autostart brightness switch at boot?
« Reply #3 on: December 09, 2009, 02:52:35 AM »
Hey tuxlink
I just built a kde4 system from a minime base to see if i can find your problem, the first thing I noticed was that KPowersave isn't in the KDE4 repos :o

My suggestion would be to disable the start on login function from within KPowersave and then go to configure your desktop on the tool bar (not to be confused with configure your computer), and navigate down through System > Power Management

Then go to Edit Profiles and set the screen brightness level for the profiles you are using from there

All the best
Andy


Bare Metal 1         Bare Metal 2
Intel Celeron 420M   Intel i5 540M
2GB Ram              4GB Ram
Intel 943GM          Radeon HD 5650 PCI Express
RT2573               RT2790
32bit KDE            32&64bit KDE

Offline tuxlink

  • Jr. Member
  • **
  • Posts: 33
Re: How do you autostart brightness switch at boot?
« Reply #4 on: January 02, 2010, 01:00:05 PM »
Success!
This problem has now been solved! After four weeks of reading other posts and stewing on why it kept happening, I stumbled upon the answer.
It lies in the bios setup. After reading a post on a model that was not related to mine at all, I decided to use the same answer to see if it applied.
I went into my bios setup and sure enough, there was an option to switch on or off the brightness of the lcd to save power while running on battery.
I switched this off, but only after a few more restarts with the power being completely shut down did I realize the issue has been resolved!
Thank you very much for the suggestions from Andy posted earlier.
Happy New Year to all across this great user forum!
Mick ;D
"Linux users and the women who must have them, next Oprah!"