change brightness

Post bug reports related to either the kiosk ISO or the kiosk wizard here.
Forum rules
Porteus Kiosk section of the forum is unmaintained now. Its kept in a 'read only' mode for archival purposes.
Please use the kiosk contact page for directing your queries: https://porteus-kiosk.org/contact.html
brutus
Black ninja
Black ninja
Posts: 42
Joined: 20 May 2022, 06:10
Distribution: openSUSE

change brightness

Post#1 by brutus » 25 Jul 2022, 10:29

Hello,

I can't change brightness of our (Intel)-Tablets via screen_settings parameter but I can change it from the command line:

Code: Select all

xrandr --output DSI1 --brightness 0.5
Shall I use the run_command parameter instead?
Or is there another solution?

BR,
Michael

User avatar
fanthom
Moderator Team
Moderator Team
Posts: 5666
Joined: 28 Dec 2010, 02:42
Distribution: Porteus Kiosk
Location: Poland
Contact:

change brightness

Post#2 by fanthom » 25 Jul 2022, 10:59

Michael,

Please provide an output of following command:

Code: Select all

for x in `ls -1 /sys/class/backlight`; do echo $x; cat /sys/class/backlight/$x/brightness; cat /sys/class/backlight/$x/max_brightness; done
Thanks
Please add [Solved] to your thread title if the solution was found.

brutus
Black ninja
Black ninja
Posts: 42
Joined: 20 May 2022, 06:10
Distribution: openSUSE

change brightness

Post#3 by brutus » 25 Jul 2022, 11:39

This is the output:

Code: Select all

acpi_video0
9
99
acpi_video1
0
99
acpi_video2
9
99
acpi_video3
9
99
acpi_video4
9
99
acpi_video5
9
99
acpi_video6
9
99

User avatar
fanthom
Moderator Team
Moderator Team
Posts: 5666
Joined: 28 Dec 2010, 02:42
Distribution: Porteus Kiosk
Location: Poland
Contact:

change brightness

Post#4 by fanthom » 25 Jul 2022, 12:12

Please provide an output of following command:

Code: Select all

for x in `ls -1 /sys/class/backlight`; do echo $((`cat /sys/class/backlight/$x/max_brightness`*23/100)) > /sys/class/backlight/$x/brightness; done
If no error is displayed then please update number '23' to anything else and check if brightness changes on the tablet.

Thanks
Please add [Solved] to your thread title if the solution was found.

brutus
Black ninja
Black ninja
Posts: 42
Joined: 20 May 2022, 06:10
Distribution: openSUSE

change brightness

Post#5 by brutus » 25 Jul 2022, 12:51

Doesn't change anything but I can also live with run_command/xrandr. Thought this might be a filthy hack and there might be something more elegant.

User avatar
babam
Warlord
Warlord
Posts: 526
Joined: 16 Nov 2016, 10:30
Distribution: Porteus 5.0rc3 Xfce K6.1.1
Location: Rainy city

change brightness

Post#6 by babam » 25 Jul 2022, 13:08

@brutus, OLED display?
Sorry, my English is bad.

brutus
Black ninja
Black ninja
Posts: 42
Joined: 20 May 2022, 06:10
Distribution: openSUSE

change brightness

Post#7 by brutus » 02 Aug 2022, 07:18

No, it's an IPS display.

Locked