"David C. Rankin" írta:
On 08/08/2014 05:03 PM, David C. Rankin wrote:
On 08/08/2014 01:08 PM, Istvan Gabor wrote:
Hello:
I have a new MSI AIO (all in one) AE200 touch screen computer. I installed openSUSE 13.1 with its default KDE4 on it. The installation was very smooth, and - as a very pleasant surprise - the touch screen has been working "out of the box". I have configured KDE more or less to my liking, it's OK. But there is one thing I don't know is normal or not:
The device has buttons to increase/decrease screen brightness but they don't have any effect. Is it possible that they don't adjust the brightness directly but require the OS for an effect? I have worked only with regular monitors so far where I can change monitor settings directly using the buttons/monitor's menu.
How can I change the screen brightness in this device? I googled but could not find anything.
Thanks,
Istvan
Istvan,
See if https://bugzilla.novell.com/show_bug.cgi?id=887629 looks familiar :)
Thanks David. Sorry for the delay but I had problem with my mails.
Sorry, forgot to attach the workaround I'm using. I have come up with a workaround on my laptop (script attached) You will have to check /sys/class/backlight/ to confirm the correct interface (acpi_video0 in my case).
I have the same but is is a symlink: ls -l /sys/class/backlight/ total 0 lrwxrwxrwx 1 root root 0 Aug 9 23:31 acpi_video0 -> ../../devices/pci0000:00/0000:00:01.0/backlight/acpi_video0
ls -l /sys/class/backlight/acpi_video0/ total 0 -r--r--r-- 1 root root 4096 Aug 9 23:35 actual_brightness -rw-r--r-- 1 root root 4096 Aug 9 23:35 bl_power -rw-r--r-- 1 root root 4096 Aug 9 23:31 brightness lrwxrwxrwx 1 root root 0 Aug 9 23:35 device -> ../../../0000:00:01.0 -r--r--r-- 1 root root 4096 Aug 9 23:32 max_brightness drwxr-xr-x 2 root root 0 Aug 9 23:35 power lrwxrwxrwx 1 root root 0 Aug 9 23:31 subsystem -> ../../../../../class/backlight -r--r--r-- 1 root root 4096 Aug 9 23:31 type -rw-r--r-- 1 root root 4096 Aug 9 23:31 uevent
Then change that in the script if needed. You will also need to know the range of values to set in /sys/class/backlight/acpi_video0/brightness. Mine uses 8 steps of brightness [0-7] (some monitors/displays use percent 0-100).
It is 0-44 in my case.
Once you have confirmed the backlight device and steps, you can test your control (as root) with
echo # > /sys/class/backlight/acpi_video0/brightness
(where # is 0-7 [or as appropriate for yours])
When I do this, entering any number between 0 and 44, a horizontal indicator line is popped up in the display for ~1 second. The indicator shows percents, and its value corresponds to the number of the command I entered, eg. 11 -> 25%, 22 -> 50% etc. But the screen brightness is not changing, remains the same. I guess it should be adjusted to the level the indicator shows. At this step I am stuck, don't know what to do. Do you have any idea? By the way, I learned from your posts that I have to query for laptop, which I did not know. Thank you, Istvan -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org