You are not logged in.

#1 2010-12-31 03:08:29

JAORMX
Member
Registered: 2010-07-07
Posts: 7

No backlight control in Dell studio 1569

Hi, I bought a Dell Studio 1569 recently, and installed Archlinux to it, everythings working great, except for the brightness of the screen which i cannot adjust the brightness of the screen.
uname -a:    2.6.36-ARCH #1 SMP PREEMPT Fri Dec 10 20:32:37 CET 2010 x86_64 Intel(R) Core(TM) i5 CPU M 450 @ 2.40GHz GenuineIntel GNU/Linux

lspci | grep VGA

00:02.0 VGA compatible controller: Intel Corporation Core Processor Integrated Graphics Controller (rev 18)

I already tried:

  • disabling KMS

  • Setting the backlight control to the vendor in grub

  • Setting the backlight control to "native" with xrandr

  • Changing the brightness manually by changing the value of the file atual_brightness and brightness in /sys/class/backlight/acpi_video0

With no results in what I did.
The function keys work, and when I try to change thr brightness through the function keys, the "brightness icon" and the bar appears, and it changes, I mean, it seems to catch the event.
Also, when I change the brightness during the time grub is in control, it works, but it doesn't when arch boots, and the brightness I set on the grub screen isn't saved.

Any ideas?

Offline

#2 2010-12-31 06:42:49

MadTux
Member
Registered: 2009-09-20
Posts: 553

Re: No backlight control in Dell studio 1569

Does your bios allow to set the initial brightness level?

Offline

#3 2010-12-31 18:07:30

JAORMX
Member
Registered: 2010-07-07
Posts: 7

Re: No backlight control in Dell studio 1569

If it does I haven't found where sad

Offline

#4 2010-12-31 19:01:04

Daniel_F
Member
From: Brazil
Registered: 2010-12-28
Posts: 69

Re: No backlight control in Dell studio 1569

Try executing this as root:

setpci -s 00:02.0 F4.B=7F

and see if the brightness changes.

The 7F is just an example, you can set any value from 00 to FF, where FF is 100% (7F = 50%)

Offline

#5 2010-12-31 19:04:04

JAORMX
Member
Registered: 2010-07-07
Posts: 7

Re: No backlight control in Dell studio 1569

The brightness doesn't change sad

Offline

#6 2010-12-31 19:24:09

Daniel_F
Member
From: Brazil
Registered: 2010-12-28
Posts: 69

Re: No backlight control in Dell studio 1569

did you get an error message or just nothing ??

Offline

#7 2010-12-31 19:25:19

JAORMX
Member
Registered: 2010-07-07
Posts: 7

Re: No backlight control in Dell studio 1569

just nothing

Offline

#8 2010-12-31 20:34:14

Daniel_F
Member
From: Brazil
Registered: 2010-12-28
Posts: 69

Re: No backlight control in Dell studio 1569

I did a little research and apparently it is a known compatibility problem with DELL's flaky ACPI.


I found this kernel patch that is supposed to fix it.

http://web.archiveorange.com/archive/v/ … E2zuxpV8jt


If you are willing to compile a custom kernel this could be the solution for your problem.


Or perhaps one of the kernel wizards around here can do it and put it up on AUR ??  cool

Offline

#9 2011-01-06 08:48:57

medianmajik
Member
Registered: 2010-05-27
Posts: 53

Re: No backlight control in Dell studio 1569

Daniel_F wrote:

Try executing this as root:

setpci -s 00:02.0 F4.B=7F

and see if the brightness changes.

The 7F is just an example, you can set any value from 00 to FF, where FF is 100% (7F = 50%)

This works perfectly for me.  Currently have limited backlight control via keyboard; I can only go from 100% to about 65% with HP Mini 1125 netbook function keys.  Just need to figure out how to fix this via the brightness function keys


One thing at a time

Offline

#10 2011-01-22 04:09:19

TheAmigo
Member
Registered: 2008-04-08
Posts: 68

Re: No backlight control in Dell studio 1569

Daniel_F wrote:

I did a little research and apparently it is a known compatibility problem with DELL's flaky ACPI.

I found this kernel patch that is supposed to fix it.

http://web.archiveorange.com/archive/v/ … E2zuxpV8jt

If you are willing to compile a custom kernel this could be the solution for your problem.

I've been using that patch on my Dell Studio 1558 (no discrete GPU) since 2.6.34.  I've had to tweak it a bit to apply to 2.6.36, but it still works great.

2.6.37, however is a bit different and some changes need to be made to that patch before it can be applied.  Since there were so many changes, I tried a vanilla 2.6.37 to see if it works unpatched, but it doesn't.

I'll play around with it a bit and see if I can figure it out... but I don't have great hope that I'll figure it out. sad

Offline

#11 2011-01-31 15:04:36

miko
Member
From: Poland
Registered: 2006-04-16
Posts: 49

Re: No backlight control in Dell studio 1569

TheAmigo wrote:

2.6.37, however is a bit different and some changes need to be made to that patch before it can be applied.  Since there were so many changes, I tried a vanilla 2.6.37 to see if it works unpatched, but it doesn't.

I'll play around with it a bit and see if I can figure it out... but I don't have great hope that I'll figure it out. sad

Hello,
I have a Dell Latitude E6400. Everything worked OK for me until today, when I upgraded the kernel from 2.6.36 to 2.6.37. Now, if I change the value (with above setcpi command) to 0, then the screen is totally black (I mean, it is really black, unlike changing the brightness down to 0, which still gives some brightness), and then I am not able to make it bright again. My external monitor works OK.
I noticed this only because the screensaver blanks the screen when idle, and today I was not able to get my screen back from the screensaver sad
Will be looking for a fix. Until then, a simple workaround with suspend to RAM and then waking up brings the backlight back.

Offline

#12 2011-01-31 15:27:08

miko
Member
From: Poland
Registered: 2006-04-16
Posts: 49

Re: No backlight control in Dell studio 1569

Offline

#13 2011-01-31 15:29:53

JAORMX
Member
Registered: 2010-07-07
Posts: 7

Re: No backlight control in Dell studio 1569

Uhm...I don't think that's the same problem I have, perhaps I should file a new bug. I hope that bug can be fixed too.

Last edited by JAORMX (2011-01-31 15:31:58)

Offline

#14 2011-02-02 09:42:17

miko
Member
From: Poland
Registered: 2006-04-16
Posts: 49

Re: No backlight control in Dell studio 1569

FYI: I have installed a new kernel (kernel26-mainline from AUR, which is 2.6.36rc2) and it fixed my problem.

Offline

#15 2011-02-04 10:07:28

russman_dncl
Member
Registered: 2011-02-04
Posts: 1

Re: No backlight control in Dell studio 1569

miko wrote:

I have a Dell Latitude E6400. Everything worked OK for me until today, when I upgraded the kernel from 2.6.36 to 2.6.37. Now, if I change the value (with above setcpi command) to 0, then the screen is totally black (I mean, it is really black, unlike changing the brightness down to 0, which still gives some brightness), and then I am not able to make it bright again. My external monitor works OK.
I noticed this only because the screensaver blanks the screen when idle, and today I was not able to get my screen back from the screensaver sad
Will be looking for a fix. Until then, a simple workaround with suspend to RAM and then waking up brings the backlight back.

I have the same with my latitude 420. I will try to downgrade the kernel. Thanks for the hint.

Offline

#16 2011-03-13 23:24:28

epsilom
Member
Registered: 2009-04-18
Posts: 29

Re: No backlight control in Dell studio 1569

Offline

#17 2011-03-16 02:51:23

TheAmigo
Member
Registered: 2008-04-08
Posts: 68

Re: No backlight control in Dell studio 1569

epsilom wrote:

That solves my problem!  Thanks for the link, epsilom!

Although, I didn't install that from AUR... I followed the link and applied the patches to a fresh kernel for a couple reasons:  it was 2.6.38-rc7 (the patch applied to 2.6.38 just fine), and as it was the whole kernel source tree, I was afraid that it might have some other random Ubuntu-specific patches applied.

It's probably not a coincidence that that's the same guy who fixed it for 2.6.32 (my link above).

Offline

#18 2011-03-22 21:07:43

VALIS
Member
Registered: 2011-03-16
Posts: 8

Re: No backlight control in Dell studio 1569

Does this work for KDE 4.6?


I read this on Kamal Mostafa's page:

NOTES FOR KDE DESKTOP USERS

KDE desktop users: This PPA may NOT fix your backlight control hotkeys: This fix requires a kernel module to supply the new /sys/class/backlight/intel_backlight interface (which will work regardless of your desktop) and also a desktop module to access that interface. For Gnome, the updated gnome-power-manager in this PPA supplies that, but the equivalent for KDE has not yet been developed.

Offline

#19 2011-03-23 01:41:07

TheAmigo
Member
Registered: 2008-04-08
Posts: 68

Re: No backlight control in Dell studio 1569

I'm using Xfce, so I didn't apply the gnome-power-manager patch, nor do I know if it works for KDE.

I do know that after applying the kernel patch, not only do the hotkeys work (before the hotkeys just showed the on-screen brightness control, but had no actual effect), xbacklight and redshift also work.  I don't know if that really means anything or if all three are really just using the same API.

If I get a chance, I can try installing KDE to see if it works there too.

Offline

Board footer

Powered by FluxBB