Page 1 of 1

[Solved] Backlight turned off (brightness=0)

Posted: 14. Sep 2011, 11:31
by nepoznati
Greetings forum!

So, I have a huge problem: I just finished installing Salix OS on my brand new laptop. I didn't encounter any problems during the installation, but after rebooting, screen brightness is set to 0! I tried with Fn keys but they didn't help... I mean I could see something is happening but couldn't see what. Any way I think it's kernel (Graphic driver) thing because I tried Ubuntu Live CD and the result was the same: backlight turned off!

Maybe this will help:
eMachines E725 with Intel's GMA 4500 integrated graphics!

If there is a way to solve this please help me! I don't want to get stuck with Winblows!
Thank you in advance! ;)

Re: Backlight turned off (brightness=0)

Posted: 14. Sep 2011, 11:41
by thenktor
So the screen turns off right after the lilo boot screen? Or after bootup when X starts?

Re: Backlight turned off (brightness=0)

Posted: 14. Sep 2011, 11:45
by nepoznati
thenktor wrote:So the screen turns off right after the lilo boot screen? Or after bootup when X starts?
I think when X starts, because I can see those letters maybe 15-20 seconds after the LiLo boot screen!

Edit #1:
Screen turns of maybe 5 seconds after the lilo boot screen! The last thing I can read is:

Code: Select all

Triggering udev events: ...
Then the screen blacks out!
I did find a "fix" (if you can call it that)... Anyway, it seems that screen can be turned on with this code:

Code: Select all

setpci -s 00:02.0 F4.B=7F
But I have to run this code after every reboot, sleep, hibernation etc... Plus the brightness is not at 100% it's maybe at 60%!
Can anyone tell me what this code actually does, because I don't understand anything (only "setpci" part :mrgreen: )
Please help me to solve this problem. Thank you!

Re: Backlight turned off (brightness=0)

Posted: 15. Sep 2011, 19:25
by nepoznati
I found out that the problem truly is in the kernel:
https://bugs.launchpad.net/ubuntu/+sour ... bug/752165
I'll just have to wait till this bug is worked out. It only affects Intel's graphics (as far as I know).
Temporary solution:

Code: Select all

setpci -s 00:02.0 F4.B=00
Can someone tell me how to run this code automatically on system boot?

I'll mark this topic as "Solved".

N.N.

Re: [Solved] Backlight turned off (brightness=0)

Posted: 15. Sep 2011, 20:18
by gapan
You can put it in your /etc/rc.d/rc.local

Re: [Solved] Backlight turned off (brightness=0)

Posted: 15. Sep 2011, 20:53
by nepoznati
gapan wrote:You can put it in your /etc/rc.d/rc.local
Thank you gapan for that info!
Best regards! ;)

Re: [Solved] Backlight turned off (brightness=0)

Posted: 17. Sep 2011, 16:18
by Shador
If you also want your system to run it after suspend/hibernate, you can create an appropriate file in /etc/pm/power.d. Have a look at the pre-installed default files in /usr/lib/pm-utils/power.d/ to get an idea what it should look like.

Re: [Solved] Backlight turned off (brightness=0)

Posted: 17. Sep 2011, 22:32
by nepoznati
Thank you Shador that would be helpful... but I it seems that my installation did not create folder /usr/lib/pm-utils:

Code: Select all

nepoznati[~]# cd /usr/lib
nepoznati[lib]# tree
.
|-- ConsoleKit
|   |-- run-seat.d
|   |   `-- udev-acl.ck -> /lib/udev/udev-acl
|   |-- run-session.d
|   |   `-- pam-foreground-compat.ck
|   `-- scripts
|       |-- ck-system-restart
|       `-- ck-system-stop
|-- linux-boot-probes
|   |-- 50mounted-tests
|   `-- mounted
|       |-- 40grub
|       |-- 40grub2
|       |-- 50lilo
|       `-- 90fallback
|-- os-prober
|   `-- newns
|-- os-probes
|   |-- 50mounted-tests
|   |-- init
|   |   `-- 10filesystems
|   `-- mounted
|       |-- 10freedos
|       |-- 10qnx
|       |-- 20microsoft
|       |-- 30utility
|       |-- 40lsb
|       |-- 70hurd
|       |-- 80minix
|       |-- 83haiku
|       |-- 90linux-distro
|       `-- 90solaris
|-- rpm
|   |-- fileattrs
|   |   `-- psdriver.attr
|   `-- postscriptdriver.prov
`-- siconv
    |-- cp10000
    |-- cp10006
    |-- cp10007
    |-- cp10029
    |-- cp10079
    |-- cp10081
    |-- cp1250
    |-- cp1251
    |-- cp1252
    |-- cp1253
    |-- cp1254
    |-- cp1255
    |-- cp1256
    |-- cp1257
    |-- cp1258
    |-- cp437
    |-- cp737
    |-- cp775
    |-- cp850
    |-- cp852
    |-- cp855
    |-- cp857
    |-- cp860
    |-- cp861
    |-- cp862
    |-- cp863
    |-- cp864
    |-- cp865
    |-- cp866
    |-- cp869
    |-- cp874
    |-- iso8859-1
    |-- iso8859-10
    |-- iso8859-11
    |-- iso8859-13
    |-- iso8859-14
    |-- iso8859-15
    |-- iso8859-16
    |-- iso8859-2
    |-- iso8859-3
    |-- iso8859-4
    |-- iso8859-5
    |-- iso8859-6
    |-- iso8859-7
    |-- iso8859-8
    |-- iso8859-9
    |-- koi8-r
    `-- koi8-u

Code: Select all

nepoznati[lib]# ls
ConsoleKit  linux-boot-probes  os-prober  os-probes  rpm  siconv
You see, no /usr/lib/pm-utils/power.d/
Can any of those other scripts help me write a script for running the setpci after suspend?

Thank you again! ;)

Re: [Solved] Backlight turned off (brightness=0)

Posted: 18. Sep 2011, 12:07
by gapan
Look in /usr/lib64

Re: [Solved] Backlight turned off (brightness=0)

Posted: 18. Sep 2011, 13:34
by nepoznati
gapan wrote:Look in /usr/lib64
Yes... it's there! Thank you gapan! When i write this script I'll post it in this thread! Thank you guys you were very helpful!
Until the next time, cheers! ;)