[opensuse] MSI touch screen all-in-one screen brightness
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 -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
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 :) -- David C. Rankin, J.D.,P.E. -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
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 :)
Istvan: 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). 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). 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]) If that provides backlight control, then just create menu 2 entries in kde for the script that provide (one for increase, one for decrease): '/path/to/scrnbrightness.sh' -i and '/path/to/scrnbrightness.sh' -d and then assign the appropriate shortcut key combos to each (XF86MonBrightnessUP and XF86MonBrightnessDown here). That is the hack needed on my Toshiba to get around the loss of backlight control apparently due to loss of HAL. -- David C. Rankin, J.D.,P.E.
"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
On 08/11/2014 06:19 AM, Istvan Gabor wrote:
Thanks David. Sorry for the delay but I had problem with my mails.
Sorry for my late reply as well. Let me know if you didn't get my reply and links to screenshots, etc.. -- David C. Rankin, J.D.,P.E. -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
Hi David: "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 :)
Istvan:
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). 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).
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])
I have installed the ATI Catalyst driver. Now I can change the screen brightness changing the value of /sys/class/backlight/acpi_video0/brightness. Also, the script use attached works well. But the script asks for the root password. I would like to be able to change the brightness as a regular user, not only as root or using the root password. Is it possible?
If that provides backlight control, then just create menu 2 entries in kde for the script that provide (one for increase, one for decrease):
'/path/to/scrnbrightness.sh' -i
and
'/path/to/scrnbrightness.sh' -d
and then assign the appropriate shortcut key combos to each (XF86MonBrightnessUP and XF86MonBrightnessDown here). That is the hack needed on my Toshiba to get around the loss of backlight control apparently due to loss of HAL.
I created the menu entries and the shortcuts but they have no any effect. Possibly because of I did it as a regular user? Thanks for your help, Istvan -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
participants (2)
-
David C. Rankin
-
Istvan Gabor