You are not logged in.
Pages: 1
I'm having trouble with my brightness settings I'm not able to change the brightness and I have looked online for a bit now and haven't found anything helpful for my problem
---Mod edit: added [ code ] tags---
00:00.0 Host bridge: Advanced Micro Devices, Inc. [AMD] Device 15d0
Subsystem: Hewlett-Packard Company Device 84ae
00:00.2 IOMMU: Advanced Micro Devices, Inc. [AMD] Device 15d1
Subsystem: Hewlett-Packard Company Device 84ae
00:01.0 Host bridge: Advanced Micro Devices, Inc. [AMD] Device 1452
00:01.1 PCI bridge: Advanced Micro Devices, Inc. [AMD] Device 15d3
Kernel driver in use: pcieport
Kernel modules: shpchp
00:01.2 PCI bridge: Advanced Micro Devices, Inc. [AMD] Device 15d3
Kernel driver in use: pcieport
Kernel modules: shpchp
00:01.3 PCI bridge: Advanced Micro Devices, Inc. [AMD] Device 15d3
Kernel driver in use: pcieport
Kernel modules: shpchp
00:08.0 Host bridge: Advanced Micro Devices, Inc. [AMD] Device 1452
00:08.1 PCI bridge: Advanced Micro Devices, Inc. [AMD] Device 15db
Kernel driver in use: pcieport
Kernel modules: shpchp
00:08.2 PCI bridge: Advanced Micro Devices, Inc. [AMD] Device 15dc
Kernel driver in use: pcieport
Kernel modules: shpchp
00:14.0 SMBus: Advanced Micro Devices, Inc. [AMD] FCH SMBus Controller (rev 61)
Subsystem: Hewlett-Packard Company FCH SMBus Controller
Kernel driver in use: piix4_smbus
Kernel modules: i2c_piix4, sp5100_tco
00:14.3 ISA bridge: Advanced Micro Devices, Inc. [AMD] FCH LPC Bridge (rev 51)
Subsystem: Hewlett-Packard Company FCH LPC Bridge
00:18.0 Host bridge: Advanced Micro Devices, Inc. [AMD] Device 15e8
00:18.1 Host bridge: Advanced Micro Devices, Inc. [AMD] Device 15e9
00:18.2 Host bridge: Advanced Micro Devices, Inc. [AMD] Device 15ea
00:18.3 Host bridge: Advanced Micro Devices, Inc. [AMD] Device 15eb
00:18.4 Host bridge: Advanced Micro Devices, Inc. [AMD] Device 15ec
00:18.5 Host bridge: Advanced Micro Devices, Inc. [AMD] Device 15ed
00:18.6 Host bridge: Advanced Micro Devices, Inc. [AMD] Device 15ee
00:18.7 Host bridge: Advanced Micro Devices, Inc. [AMD] Device 15ef
02:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller (rev 15)
Subsystem: Hewlett-Packard Company RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller
Kernel driver in use: r8169
Kernel modules: r8169
03:00.0 Network controller: Realtek Semiconductor Co., Ltd. Device d723
Subsystem: Hewlett-Packard Company Device 8319
Kernel driver in use: rtl8723de
Kernel modules: rtl8723de
04:00.0 VGA compatible controller: Advanced Micro Devices, Inc. [AMD/ATI] Device 15dd (rev c5)
Subsystem: Hewlett-Packard Company Device 84ae
04:00.1 Audio device: Advanced Micro Devices, Inc. [AMD/ATI] Device 15de
Subsystem: Hewlett-Packard Company Device 84ae
Kernel driver in use: snd_hda_intel
Kernel modules: snd_hda_intel
04:00.2 Encryption controller: Advanced Micro Devices, Inc. [AMD] Device 15df
Subsystem: Hewlett-Packard Company Device 84ae
04:00.3 USB controller: Advanced Micro Devices, Inc. [AMD] Device 15e0
Subsystem: Hewlett-Packard Company Device 84ae
Kernel driver in use: xhci_hcd
Kernel modules: xhci_pci
04:00.4 USB controller: Advanced Micro Devices, Inc. [AMD] Device 15e1
Subsystem: Hewlett-Packard Company Device 84ae
Kernel driver in use: xhci_hcd
Kernel modules: xhci_pci
04:00.5 Multimedia controller: Advanced Micro Devices, Inc. [AMD] Device 15e2
Subsystem: Hewlett-Packard Company Device 84ae
04:00.6 Audio device: Advanced Micro Devices, Inc. [AMD] Device 15e3
Subsystem: Hewlett-Packard Company Device 84ae
Kernel driver in use: snd_hda_intel
Kernel modules: snd_hda_intel
05:00.0 SATA controller: Advanced Micro Devices, Inc. [AMD] FCH SATA Controller [AHCI mode] (rev 61)
Subsystem: Hewlett-Packard Company FCH SATA Controller [AHCI mode]
Kernel driver in use: ahci
Kernel modules: ahci
Last edited by damo (2019-08-01 15:27:44)
Offline
My solution for a similar issue on my laptop uses a bash script, and a text file to hold the current setting. The script uses xrandr to set the brightness, and keybinds to increase/decrease the brightness.
NB: minimal error-checking in this script!
#!/bin/bash
##
## brightness
BRIGHTNESS="$HOME/.config/mon-brightness.rc"
if [[ -f $BRIGHTNESS ]];then
VAL=$(<$BRIGHTNESS)
else
VAL=1.0
echo $VAL > $BRIGHTNESS
fi
if [[ $1 = plus ]];then
VAL=$(awk -v "VAL=$VAL" 'BEGIN { print VAL + 0.1 }')
elif [[ $1 = minus ]];then
VAL=$(awk -v "VAL=$VAL" 'BEGIN { print VAL - 0.1 }')
else
notify-send -t 3000 "Use 'brightness plus/minus'"
exit 1
fi
echo $VAL > $BRIGHTNESS
xrandr --output DVI-D-0 --brightness $VAL --output HDMI-0 --brightness $VAL
keybinds in rc.xml:
<!-- SCREEN BRIGHTNESS -->
<keybind key="C-F9">
<action name="Execute">
<command>brightness plus</command>
</action>
</keybind>
<keybind key="C-F8">
<action name="Execute">
<command>brightness minus</command>
</action>
</keybind>
Be Excellent to Each Other...
The Bunsenlabs Lithium Desktop » Here
FORUM RULES and posting guidelines «» Help page for forum post formatting
Artwork on DeviantArt «» BunsenLabs on DeviantArt
Offline
Pages: 1