This forum has been archived. All content is frozen. Please use KDE Discuss instead.

Brightness Adjustment Not Increasing or Decrease Brightness

Tags: None
(comma "," separated)
Xplorer4x4
Registered Member
Posts
206
Karma
0
OS
I have an Acer Inspire 5733-6838 Notebook with an Intel HD chip. I can adjust the screen brightness both in KDE and using the keys on the keyboard to adjust then slider. However, the screen itself is stuck on full brightness no matter what I do. How can I fix this? Using the latest Manjaro x64 build.


Intel Core i7 2600K CPU
MSI P67A-G45 Mobo
2x4GB Corsair Vengance RAM
Sapphire Raedon 4890HD Vapor-X GPU
1x180 GB Intel 330 SSD
1x80GB Intel X25-M G2 SSD
2x1TB Western Digital HDDs
2x2TB Wester Digital HDDS
Corsair HX520W PSU
Thermaltake Mozart TX Case
User avatar
bcooksley
Administrator
Posts
19765
Karma
87
OS
Please check which devices are present in /sys/class/backlight - in particular, if more than one is present please try echoing certain values into the "brightness" file there so see if that changes the screen brightness. You'll need to use a root terminal to do that however.

Please ensure you check the max_brightness file contents before doing this.

I suspect one or more of these will have no effect - which is why KDE Power Management is not having any visible effect on screen brightness.


KDE Sysadmin
[img]content/bcooksley_sig.png[/img]
Xplorer4x4
Registered Member
Posts
206
Karma
0
OS
Code: Select all
[xplorer4x4@xplorer4x4-hcm ~]$ ls -al /sys/class/backlight
total 0
drwxr-xr-x  2 root root 0 15.07.2014 14:40 ./
drwxr-xr-x 42 root root 0 15.07.2014 14:40 ../
lrwxrwxrwx  1 root root 0 15.07.2014 14:40 acpi_video0 -> ../../devices/pci0000:00/0000:00:02.0/backlight/acpi_video0/
lrwxrwxrwx  1 root root 0 15.07.2014 14:40 intel_backlight -> ../../devices/pci0000:00/0000:00:02.0/drm/card0/card0-LVDS-1/intel_backlight/

This is the contents of the directorey mentioned. No brightness file is present. There is the backlighting but thats it. So not sure where to go from here,


Intel Core i7 2600K CPU
MSI P67A-G45 Mobo
2x4GB Corsair Vengance RAM
Sapphire Raedon 4890HD Vapor-X GPU
1x180 GB Intel 330 SSD
1x80GB Intel X25-M G2 SSD
2x1TB Western Digital HDDs
2x2TB Wester Digital HDDS
Corsair HX520W PSU
Thermaltake Mozart TX Case
User avatar
bcooksley
Administrator
Posts
19765
Karma
87
OS
You will find the 'brightness' file within each of those subdirectories. That output looks fairly normal to me - will be interesting to see if one of those works while the other doesn't...


KDE Sysadmin
[img]content/bcooksley_sig.png[/img]
Xplorer4x4
Registered Member
Posts
206
Karma
0
OS
bcooksley wrote:You will find the 'brightness' file within each of those subdirectories. That output looks fairly normal to me - will be interesting to see if one of those works while the other doesn't...

Sorry didnt read closely.
I tried using the brightness file in the Intel dir, and sure enough, it works.


Intel Core i7 2600K CPU
MSI P67A-G45 Mobo
2x4GB Corsair Vengance RAM
Sapphire Raedon 4890HD Vapor-X GPU
1x180 GB Intel 330 SSD
1x80GB Intel X25-M G2 SSD
2x1TB Western Digital HDDs
2x2TB Wester Digital HDDS
Corsair HX520W PSU
Thermaltake Mozart TX Case
Xplorer4x4
Registered Member
Posts
206
Karma
0
OS
Trying to make a bash/kdialog script that will prompt me when executed and inject a rightness value from the dialog. The script work for writing to a test.txt file in the home dir. But gives me an error when writting to the brightness file.
line 2: /sys/class/backlight/intel_backlight/brightness: Permission denied
Code: Select all
#/bin/sh
kdialog --title "Input dialog" --inputbox "Brightness Level" "value" sudo echo > /sys/class/backlight/intel_backlight/brightness


Intel Core i7 2600K CPU
MSI P67A-G45 Mobo
2x4GB Corsair Vengance RAM
Sapphire Raedon 4890HD Vapor-X GPU
1x180 GB Intel 330 SSD
1x80GB Intel X25-M G2 SSD
2x1TB Western Digital HDDs
2x2TB Wester Digital HDDS
Corsair HX520W PSU
Thermaltake Mozart TX Case
User avatar
bcooksley
Administrator
Posts
19765
Karma
87
OS
You need to be root in order to write to those files i'm afraid, and as "echo" is a shell builtin, you need to run the command as follows instead:
Code: Select all
kdialog --title "Input dialog" --inputbox "Brightness Level" "value" sudo sh -c "echo > /sys/class/backlight/intel_backlight/brightness"


KDE Sysadmin
[img]content/bcooksley_sig.png[/img]
Xplorer4x4
Registered Member
Posts
206
Karma
0
OS
[xplorer4x4@xplorer4x4-hcm ~]$ brightness.sh
kdialog: Unknown option 'c'.
kdialog: Use --help to get a list of available command line options.


Intel Core i7 2600K CPU
MSI P67A-G45 Mobo
2x4GB Corsair Vengance RAM
Sapphire Raedon 4890HD Vapor-X GPU
1x180 GB Intel 330 SSD
1x80GB Intel X25-M G2 SSD
2x1TB Western Digital HDDs
2x2TB Wester Digital HDDS
Corsair HX520W PSU
Thermaltake Mozart TX Case
User avatar
bcooksley
Administrator
Posts
19765
Karma
87
OS
You may need to use an argument separator (--) or wrap the whole command in another script/quotes.


KDE Sysadmin
[img]content/bcooksley_sig.png[/img]


Bookmarks



Who is online

Registered users: Bing [Bot], blue_bullet, Google [Bot], rockscient, Yahoo [Bot]