[Solved] Backlight turned off (brightness=0)

You have a problem with Salix? Post here and we'll do what we can to help.
Post Reply
nepoznati
Posts: 12
Joined: 11. Sep 2011, 10:19

[Solved] Backlight turned off (brightness=0)

Post 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! ;)
Last edited by nepoznati on 15. Sep 2011, 19:26, edited 1 time in total.
User avatar
thenktor
Salix Wizard
Posts: 2426
Joined: 6. Jun 2009, 14:47
Location: Franconia
Contact:

Re: Backlight turned off (brightness=0)

Post by thenktor »

So the screen turns off right after the lilo boot screen? Or after bootup when X starts?
Image
burnCDDA (burns audio CDs)
geBIERt (German beer blog)
nepoznati
Posts: 12
Joined: 11. Sep 2011, 10:19

Re: Backlight turned off (brightness=0)

Post 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!
nepoznati
Posts: 12
Joined: 11. Sep 2011, 10:19

Re: Backlight turned off (brightness=0)

Post 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.
User avatar
gapan
Salix Wizard
Posts: 6241
Joined: 6. Jun 2009, 17:40

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

Post by gapan »

You can put it in your /etc/rc.d/rc.local
Image
Image
nepoznati
Posts: 12
Joined: 11. Sep 2011, 10:19

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

Post by nepoznati »

gapan wrote:You can put it in your /etc/rc.d/rc.local
Thank you gapan for that info!
Best regards! ;)
Shador
Posts: 1295
Joined: 11. Jun 2009, 14:04
Location: Bavaria

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

Post 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.
Image
nepoznati
Posts: 12
Joined: 11. Sep 2011, 10:19

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

Post 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! ;)
User avatar
gapan
Salix Wizard
Posts: 6241
Joined: 6. Jun 2009, 17:40

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

Post by gapan »

Look in /usr/lib64
Image
Image
nepoznati
Posts: 12
Joined: 11. Sep 2011, 10:19

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

Post 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! ;)
Post Reply