You are not logged in.

#1 2011-01-08 14:16:22

patroclo7
Member
From: Bassano del Grappa, ITALY
Registered: 2006-01-11
Posts: 915

DPMS and 2.6.37 kernel: backlight off forever

With the new kernel in the testing repo my Intel 945GM graphics chipset is affected by this kernel bug: https://bugzilla.kernel.org/show_bug.cgi?id=22672.
When the screen goes in standby, there is no way to rewaken the backlight.
I open this thread just in case a smart archlinux user comes out with a patch (which should be submitted ASAP in the kernel bugzilla, obviously smile ).

Last edited by patroclo7 (2011-01-08 14:16:52)


Mortuus in anima, curam gero cutis

Offline

#2 2011-01-08 14:37:48

wonder
Developer
From: Bucharest, Romania
Registered: 2006-07-05
Posts: 5,941
Website

Re: DPMS and 2.6.37 kernel: backlight off forever

lol. reported in -rc1 and not still not fixed...

https://bugzilla.kernel.org/show_bug.cgi?id=22672#c16

i guess an xf86-video-intel update should fix that

Last edited by wonder (2011-01-08 14:41:51)


Give what you have. To someone, it may be better than you dare to think.

Offline

#3 2011-01-09 01:21:04

patroclo7
Member
From: Bassano del Grappa, ITALY
Registered: 2006-01-11
Posts: 915

Re: DPMS and 2.6.37 kernel: backlight off forever

Not for everyone ( https://bugzilla.kernel.org/show_bug.cgi?id=22672#c25 ) but I will try to try them.


Mortuus in anima, curam gero cutis

Offline

#4 2011-01-09 01:43:30

patroclo7
Member
From: Bassano del Grappa, ITALY
Registered: 2006-01-11
Posts: 915

Re: DPMS and 2.6.37 kernel: backlight off forever

I have not yet found my way with the patches, but I have verified that the very recent version of xorg-video-intel just arrived in the testing repo does not fix or modify the issue.


Mortuus in anima, curam gero cutis

Offline

#5 2011-01-10 19:18:23

oli
Member
From: 127.0.0.1
Registered: 2006-02-07
Posts: 164
Website

Re: DPMS and 2.6.37 kernel: backlight off forever

https://bugzilla.kernel.org/show_bug.cgi?id=22872

The same problem as mentioned above ... but still no solution.


Use UNIX or die.

Offline

#6 2011-01-10 21:48:40

.:B:.
Forum Fellow
Registered: 2006-11-26
Posts: 5,819
Website

Re: DPMS and 2.6.37 kernel: backlight off forever

Over here closing the laptop lid helps as a workaround (I have no ACPI action bound to that event, it just shuts down the backlight and powers it on when you open the lid again).


Got Leenucks? :: Arch: Power in simplicity :: Get Counted! Registered Linux User #392717 :: Blog thingy

Offline

#7 2011-01-10 22:17:21

patroclo7
Member
From: Bassano del Grappa, ITALY
Registered: 2006-01-11
Posts: 915

Re: DPMS and 2.6.37 kernel: backlight off forever

The patch attached to the following comment fixes the problem for me:
https://bugzilla.kernel.org/show_bug.cgi?id=22672#c35
I am going to open an archlinux  bug report for this, so perhaps the patch can be applied to the arch package while we wait for mainstream.


Mortuus in anima, curam gero cutis

Offline

#8 2011-01-10 22:26:50

patroclo7
Member
From: Bassano del Grappa, ITALY
Registered: 2006-01-11
Posts: 915

Re: DPMS and 2.6.37 kernel: backlight off forever

Here it is (just in case you would like to add something I have missed):
https://bugs.archlinux.org/task/22387


Mortuus in anima, curam gero cutis

Offline

#9 2011-01-10 23:28:23

oli
Member
From: 127.0.0.1
Registered: 2006-02-07
Posts: 164
Website

Re: DPMS and 2.6.37 kernel: backlight off forever

The patch fails to attach.


Use UNIX or die.

Offline

#10 2011-01-11 00:13:28

patroclo7
Member
From: Bassano del Grappa, ITALY
Registered: 2006-01-11
Posts: 915

Re: DPMS and 2.6.37 kernel: backlight off forever

For me it applies cleanly to 2.6.37 vanilla. What are you trying to apply it to and how?

Last edited by patroclo7 (2011-01-11 00:15:36)


Mortuus in anima, curam gero cutis

Offline

#11 2011-01-11 00:19:37

oli
Member
From: 127.0.0.1
Registered: 2006-02-07
Posts: 164
Website

Re: DPMS and 2.6.37 kernel: backlight off forever

Vanilla source of 2.6.37 ... patch -p0 < patch in the mentioned directory.


Use UNIX or die.

Offline

#12 2011-01-11 00:22:20

patroclo7
Member
From: Bassano del Grappa, ITALY
Registered: 2006-01-11
Posts: 915

Re: DPMS and 2.6.37 kernel: backlight off forever

You should apply it with patch -p1 < /path/to/patch from the source folder.


Mortuus in anima, curam gero cutis

Offline

#13 2011-01-11 00:29:37

oli
Member
From: 127.0.0.1
Registered: 2006-02-07
Posts: 164
Website

Re: DPMS and 2.6.37 kernel: backlight off forever

I'm somewhat confused ...

patch -p1 < /usr/src/linux/drivers/gpu/drm/i915/new_patch_intel
patching file drivers/gpu/drm/i915/intel_lvds.c
Hunk #1 FAILED at 114.
Hunk #2 FAILED at 123.
Hunk #3 FAILED at 395.
Hunk #4 FAILED at 426.
4 out of 4 hunks FAILED -- saving rejects to file drivers/gpu/drm/i915/intel_lvds.c.rej


Use UNIX or die.

Offline

#14 2011-01-11 08:12:05

patroclo7
Member
From: Bassano del Grappa, ITALY
Registered: 2006-01-11
Posts: 915

Re: DPMS and 2.6.37 kernel: backlight off forever

I do not know, it works for me, it patchs exactly the same file intel_ldvs.c successfully.
Try to redownload the patch directly from the kernel bugzilla, perhaps something went wrong in formatting.
In the meantime you can perhaps go with the other workaround in the comments, that is the following in /etc/rc.local:

/sbin/setpci -s 00:02.0 F4.B=00 

I guess you should adapt the value for the -s option to what is displayed for your graphics chipset in the outout of lspci.

Last edited by patroclo7 (2011-01-11 08:16:28)


Mortuus in anima, curam gero cutis

Offline

#15 2011-01-11 21:04:01

patroclo7
Member
From: Bassano del Grappa, ITALY
Registered: 2006-01-11
Posts: 915

Re: DPMS and 2.6.37 kernel: backlight off forever

The setpci trick (the right path of setpci in archlinux is actually /usr/sbin/setpci, NOT /sbin/setpci) does not work for me, on the contrary it switches off my screen as soon as I run it. On the contrary also the third, smaller patch in the kernel bugzilla comments works for me.


Mortuus in anima, curam gero cutis

Offline

Board footer

Powered by FluxBB