You are not logged in.

#1 2013-02-01 06:50:47

x-rix
Member
From: Berlin, Germany
Registered: 2012-08-08
Posts: 32

Backlight: intel_backlight disappeared

Hello everyone,

up until a month or two ago, I used to change my brightness with a script that would echo a value into my /sys/class/backlight/intel_backlight/brightness. I havn't used this script for a while. When I tried to change my brightness today, I discovered that the whole intel_backlight directory was gone.

This wouldn't be too bad (though high adjustability is really nice), because there still is acpi_video0, right? Nope. Well, it's still there, but it doesn't change my brightness at all; neither does xbacklight. 
Edit: Adding acpi_backlight=vendor to the boot options makes the screen go really bright and removes the acpi_video0 directory. Not the intended effect.
Adding acpi_backlight=legacy leaves everything the same; acpi_video0 is there and doesn't change the brightness.

I'm running an Acer V5, Arch is up to date, and I've got an Intel graphics chip (and a nVidia card, but I don't think that that would have anything to do with it).


I'd be grateful for any ideas for troubleshooting/debugging.

-rix

Second Edit: What the frag! I re-installed my intel drivers, now I still haven't got the intel directory, acpi_video0 is still too lazy to do its job, but at the brightness is turned way down after the reboot. How can I find out what's going on here? This went away after installing the intel drivers from AUR (git version) instead. I am now throughly confused.

Last edited by x-rix (2013-04-22 08:44:36)


Life's not fair, but the root password helps.
- The BOFH

Offline

#2 2013-02-04 19:48:56

Pse
Member
Registered: 2008-03-15
Posts: 413

Re: Backlight: intel_backlight disappeared

This happened to me as well when going from Linux 3.6 to 3.7 (Acer V3). For now, I fixed this by adding acpi_osi=Linux to the command line. This will allow you to change the brightness with the fn+left/right keys, though you won't be able to adjust it from the command line (I think Linux does not control the backlight anymore when acpi_osi=Linux is set, that's why it works). I'd like to be able to control it as I did before.

Offline

#3 2013-02-04 21:17:47

x-rix
Member
From: Berlin, Germany
Registered: 2012-08-08
Posts: 32

Re: Backlight: intel_backlight disappeared

How do you have your Fn keys configured? I'm using a WM (i3) and up until now I haven't used the Fn keys at all.


Life's not fair, but the root password helps.
- The BOFH

Offline

#4 2013-02-16 04:31:20

the sad clown
Member
From: 192.168.0.X
Registered: 2011-03-20
Posts: 837

Re: Backlight: intel_backlight disappeared

nvm...reading comprehension problems again.

Last edited by the sad clown (2013-02-16 04:32:03)


I laugh, yet the joke is on me

Offline

#5 2013-02-16 11:16:59

x-rix
Member
From: Berlin, Germany
Registered: 2012-08-08
Posts: 32

Re: Backlight: intel_backlight disappeared

Does anybody else have any ideas? I have tried everything I could think of and also everything that seemed loosely connected, and everything thorough searching got me.

Help?


Life's not fair, but the root password helps.
- The BOFH

Offline

#6 2013-02-17 00:46:51

grobar87
Member
From: Македонија
Registered: 2010-08-25
Posts: 172

Re: Backlight: intel_backlight disappeared

I have the same problem... Acer Aspire V5-571 laptop.I can't control backlight with acpi_video0, only with intel, but there is no intel directory in /sys/class/backlight/ only acpi_video folder...


And... here... we... go!

Offline

#7 2013-02-17 04:47:20

x-rix
Member
From: Berlin, Germany
Registered: 2012-08-08
Posts: 32

Re: Backlight: intel_backlight disappeared

Did this happen recently or has it always been that way for you?

Also: Did you tried the stuff I described in my first post with the same results?

Last edited by x-rix (2013-02-17 04:47:52)


Life's not fair, but the root password helps.
- The BOFH

Offline

#8 2013-02-17 13:25:14

grobar87
Member
From: Македонија
Registered: 2010-08-25
Posts: 172

Re: Backlight: intel_backlight disappeared

Yes i did tried the stuff you described... but problem is still there.Before reinstalling arch i can control brightness with intel_backlight only have to add this lines at the end of /etc/acpi/handler.sh file:

BRIGHTNESS_FILE="/sys/class/backlight/intel_backlight/brightness"

case "$1" in
    video/brightnessdown)
        brightness=`cat $BRIGHTNESS_FILE`
        brightness=`expr $brightness - 75`
        echo $brightness > $BRIGHTNESS_FILE
    ;;

    video/brightnessup)
        brightness=`cat $BRIGHTNESS_FILE`
        brightness=`expr $brightness + 75`
        echo $brightness > $BRIGHTNESS_FILE

esac

and backlight works,fn keys work too.


And... here... we... go!

Offline

#9 2013-02-17 13:27:24

x-rix
Member
From: Berlin, Germany
Registered: 2012-08-08
Posts: 32

Re: Backlight: intel_backlight disappeared

But this script won't work anymore, will it? Because the intel_backlight directory is missing.


Life's not fair, but the root password helps.
- The BOFH

Offline

#10 2013-02-18 17:18:37

grobar87
Member
From: Македонија
Registered: 2010-08-25
Posts: 172

Re: Backlight: intel_backlight disappeared

Yeah that's the problem...


And... here... we... go!

Offline

#11 2013-03-14 21:55:54

kellerman
Member
From: Latvia
Registered: 2011-07-20
Posts: 104

Re: Backlight: intel_backlight disappeared

I'm gonna bump this up, because I'm having the same problem. no more intel_backlight under /sys/class/backlight
Laptop Acer V3-571

Offline

#12 2013-03-15 08:12:32

x-rix
Member
From: Berlin, Germany
Registered: 2012-08-08
Posts: 32

Re: Backlight: intel_backlight disappeared

Seems hardware related then, since all of us have an Acer V3 or V5.


Life's not fair, but the root password helps.
- The BOFH

Offline

#13 2013-03-15 08:27:22

hadrons123
Member
From: chennai
Registered: 2011-10-07
Posts: 1,249

Re: Backlight: intel_backlight disappeared

I do have this issue in my lenovo Y580. Someone should file a bug in upstream. I have to use acpi_backlight=vendor since kernel =>3.7.


LENOVO Y 580 IVYBRIDGE 660M NVIDIA
Unix is user-friendly. It just isn't promiscuous about which users it's friendly with. - Steven King

Offline

#14 2013-03-15 08:35:29

x-rix
Member
From: Berlin, Germany
Registered: 2012-08-08
Posts: 32

Re: Backlight: intel_backlight disappeared

Hm, that is interesting. Kellerman, does  acpi_backlight=vendor work for you?

Because I can't regulate my backlight atm, neither via the (missing) intel_backlight nor via acpi.


Life's not fair, but the root password helps.
- The BOFH

Offline

#15 2013-03-15 09:41:39

dontbugme
Banned
Registered: 2011-11-04
Posts: 166
Website

Re: Backlight: intel_backlight disappeared

I don't have an Acer Notebook, but I have experienced something similar since 3.7 on my ultrabook. What helped according to a thread was the following in grub cmd line : "acpi_osi="!Windows 2012"" . In my case the backlight didn't work prior to 3.7 due to some strange bios initializations missing. This was fixed in 3.7 but then due to Windows 8 acpi support, which appeared in 3.7 too (probably the problem here in this thread too), my backlight still didn't work -> acpi_osi to the rescue.

Offline

#16 2013-03-15 15:22:37

kellerman
Member
From: Latvia
Registered: 2011-07-20
Posts: 104

Re: Backlight: intel_backlight disappeared

x-rix:
The Fn keys start to work when

acpi_osi=Linux

is added.
I tried setting acpi_backlight together with this to vendor, intel, acer. Nothing worked, with one of those options, which I can't remember, there was nothing at all in /sys/class/backlight folder (xfce panel plugin shows a red warning sign).
By default this is my folder:

 ls /sys/class/backlight
acpi_video0  acpi_video1

Last edited by kellerman (2013-03-15 15:23:45)

Offline

#17 2013-03-18 21:58:36

bongo_fury
Member
Registered: 2011-11-30
Posts: 8

Re: Backlight: intel_backlight disappeared

Sorry for my poor english...
Same problem with my Travelmate P253-M Ivy Bridge.
With grub "vanilla" or with "acpi_backlight=legacy" parameter I have "acpi_video0" subdirectory in /sys/class/backlight, Fn keys don't work and I have no control about backlight
With "acpi_backlight=vendor" no subdirectory in /sys/class/backlight, Fn key don't work and I have no control about backlight
With "acpi_osi=Linux" parameter I have  "acpi_video0" subdirectory in /sys/class/backlight,  I have no control about backlight but Fn key work.
With "acpi_osi="!Windows 2012""... read  "acpi_backlight=vendor" sad
Ultimately, only "acpi_osi=Linux" has some effects on the system, all other parameters are completely useless.
I have added  "Option "Backlight" "intel_backlight"" in /etc/X11/xorg.conf.d/20-intel-conf: nothing changed
And, last but not least,  backligth control don't works by setpci. sad
Thank you in advance

PS: Backlight control works perfectly on Kubuntu 12.10 with "acpi_backlight=vendor" : I can adjust LCD brightness via Fn keys or KDE powerdevil slide mad  Backlight interface is in intel_backlight directory.

Last edited by bongo_fury (2013-03-18 22:20:23)

Offline

#18 2013-03-19 09:33:43

kellerman
Member
From: Latvia
Registered: 2011-07-20
Posts: 104

Re: Backlight: intel_backlight disappeared

That's because the kernel on Kubuntu is older probably, or isn't it?

Offline

#19 2013-03-19 10:46:30

marvn
Member
From: Prague
Registered: 2010-01-05
Posts: 84

Re: Backlight: intel_backlight disappeared

have the same issue on acer. and it works fine with older kernels, so that's probably the reason why it works on 12.10 - with the acpi_backlight option, I can at least use the fn keys. powerdevil doesnt work unfortunatly...

Last edited by marvn (2013-03-19 10:46:43)


core i5 4590, x86_64, nvidia 970

Offline

#20 2013-03-19 10:59:49

x-rix
Member
From: Berlin, Germany
Registered: 2012-08-08
Posts: 32

Re: Backlight: intel_backlight disappeared

Wait - you can use the fn-keys? Have you tried, if you can also regulate the backlight via

 sudo echo $NUMBER > /sys/class/backlight/..

?

Because it would be really curious if the one worked and the other didn't.


Life's not fair, but the root password helps.
- The BOFH

Offline

#21 2013-03-19 11:18:22

bongo_fury
Member
Registered: 2011-11-30
Posts: 8

Re: Backlight: intel_backlight disappeared

x-rix wrote:

Wait - you can use the fn-keys? Have you tried, if you can also regulate the backlight via

 sudo echo $NUMBER > /sys/class/backlight/..

?

Because it would be really curious if the one worked and the other didn't.

With "acpi_osi=Linux" option Fn keys works perfectly.
Yes, I tried  to run echo echo $NUMBER > /sys/class/backlight/... No effect
For example: max brightness set by Fn keys

cat  /sys/class/backlight/acpi_video0/brightess
9
echo 5> /sys/class/backlight/acpi_video0/brightess
cat  /sys/class/backlight/acpi_video0/brightess
5

And the brightness does not change

Offline

#22 2013-03-19 11:53:25

x-rix
Member
From: Berlin, Germany
Registered: 2012-08-08
Posts: 32

Re: Backlight: intel_backlight disappeared

So, the Fn-keys apparently have access to some brightness-changing-magic. Does anybody know what those functions are or how to find out? Because I always thought, echo-ing into the /sys/class/backlight/.../brightness file was as direct a change as it got. But apparently there are some system functions you can call to change the backlight directly, and if we knew how to call them, we could word around the issue.


Life's not fair, but the root password helps.
- The BOFH

Offline

#23 2013-03-19 21:55:25

kellerman
Member
From: Latvia
Registered: 2011-07-20
Posts: 104

Re: Backlight: intel_backlight disappeared

That's right. No other way to change the brightness.

Offline

#24 2013-03-20 05:55:50

x-rix
Member
From: Berlin, Germany
Registered: 2012-08-08
Posts: 32

Re: Backlight: intel_backlight disappeared

Damn. Kellerman, what GUI/WM are you using? Most major ones give you some kind of direct support for Fn-keys, but mine is a smaller tiling WM and I've never used the Fn-keys so far.

(Has anyone tried using an older kernel? Otherwise I'm going to do that today or tomorrow.)


Life's not fair, but the root password helps.
- The BOFH

Offline

#25 2013-03-20 13:51:21

kellerman
Member
From: Latvia
Registered: 2011-07-20
Posts: 104

Re: Backlight: intel_backlight disappeared

I'm using XFCE and I can adjust the brightness with Fn keys as soon as the kernel loads. I guess it has nothing to do with the window manager or desktop environment.
An older kernel will probably work, I don't have that time to dig to the problem much deeper.
And XFCE brightness plugin just don't work.

Offline

Board footer

Powered by FluxBB