You are not logged in.

#1 2017-11-03 10:12:02

q396748207
Member
Registered: 2014-08-04
Posts: 10

Asus Laptop cannot change Screen Brightness

My Asus Laptop has no integrated video card, only a nvidia card.

Asus ZX60VM

I can use the fn keys to adjust volume, keyboard backlight, touchpad switch and so on, but cannot adjust the screen brightness, which is fn+f5 and fn+f6.

I tried adding "osi_acpi" "acpi_backlight" kernel parameters, many combinations of them, but didn't work.

Can I get some help from you guys, the screen is just too bright.......QAQ

Offline

#2 2017-11-03 10:33:29

wkd
Member
Registered: 2016-04-04
Posts: 23

Re: Asus Laptop cannot change Screen Brightness

Is it just the keybinds not working or does backlight control refuse to work altogether?
If you install xorg-xbacklight and run
xbacklight -dec 20
Does anything happen?

Offline

#3 2017-11-03 10:39:06

ninian
Member
From: United Kingdom
Registered: 2008-02-24
Posts: 726
Website

Re: Asus Laptop cannot change Screen Brightness

Sorry, can't help with that specific model or card.
But, have several laptops and netbooks, with several brightness quirks.
Usually, simplest program to use is gbacklight.

If that fails, for example, on a couple of Toshiba netbooks I have to use:
Boot parameter: acpi_backlight=video
And write brightness value directly (as root) into: /sys/class/backlight/acpi_video0/brightness
One one device, the brightness scaling is even reversed!

I also have a faint memory of using, at one point, the boot parameter: acpi_backlight=vendor

It can take a lot of perseverance to find something that works, and no doubt the Nvidia card will bring in other possibilties.

Offline

#4 2017-11-03 10:41:24

q396748207
Member
Registered: 2014-08-04
Posts: 10

Re: Asus Laptop cannot change Screen Brightness

I am using Gnome 3.
E.g. When I press fn+f5, a pop-up shows a screen brightness change, but it's a fake value, and the actual brightness doesn't change at all.
I have installed xorg-xbacklight, and whatever I run, "xbacklight -get", "xbacklight -dec 20", no output and nothing happens.
If I manually change the value of /sys/class/backlight/acpi_video0/brightness, the value of the file changes, but the brightness doesn't change at all.

Offline

#5 2017-11-04 22:39:23

mcku
Member
From: Istanbul
Registered: 2017-09-23
Posts: 25

Re: Asus Laptop cannot change Screen Brightness

This is a very similar case. My asus laptop was behaving in a similar manner when trying to set keyboard backlight using fn keys. There may be a possibility that this is due to a hid driver issue (of course any other causes may exist, too).

Which vendor hid modules are loaded? on my asus laptop it is hid_asus. Sometimes you may need to trace quirks in this file. It looks like some asus hid drivers are not up to date nor maintained properly in this regard. You may need to patch hid-asus.c file at some point. Good luck.

BTW, is acpid (userspace sevice) running? If so, you may disable it because it is not necessary and making too much noise in dmesg logs.

Offline

#6 2017-11-05 02:41:21

cfr
Member
From: Cymru
Registered: 2011-11-27
Posts: 7,130

Re: Asus Laptop cannot change Screen Brightness

Contents of /sys/class/backlight? Do you only have acpi_video0? Or is there another directory?

NVIDIA has made many cards. Which do you have? Which drivers are you using?


CLI Paste | How To Ask Questions

Arch Linux | x86_64 | GPT | EFI boot | refind | stub loader | systemd | LVM2 on LUKS
Lenovo x270 | Intel(R) Core(TM) i5-7200U CPU @ 2.50GHz | Intel Wireless 8265/8275 | US keyboard w/ Euro | 512G NVMe INTEL SSDPEKKF512G7L

Offline

#7 2017-11-06 03:07:35

q396748207
Member
Registered: 2014-08-04
Posts: 10

Re: Asus Laptop cannot change Screen Brightness

Me too, I am using hid_asus, and here is the output of lsmod.

Module                  Size  Used by
fuse                   94208  3
snd_hda_codec_realtek    77824  1
snd_hda_codec_generic    69632  1 snd_hda_codec_realtek
iTCO_wdt               16384  0
iTCO_vendor_support    16384  1 iTCO_wdt
arc4                   16384  2
hid_multitouch         20480  0
nvidia_drm             45056  4
nvidia_modeset        892928  8 nvidia_drm
nvidia              13840384  613 nvidia_modeset
intel_rapl             20480  0
nls_iso8859_1          16384  1
nls_cp437              20480  1
x86_pkg_temp_thermal    16384  0
intel_powerclamp       16384  0
coretemp               16384  0
kvm_intel             192512  0
vfat                   20480  1
fat                    65536  1 vfat
kvm                   516096  1 kvm_intel
asus_nb_wmi            28672  0
irqbypass              16384  1 kvm
asus_wmi               24576  1 asus_nb_wmi
iwlmvm                299008  0
crct10dif_pclmul       16384  0
sparse_keymap          16384  1 asus_wmi
crc32_pclmul           16384  0
ghash_clmulni_intel    16384  0
pcbc                   16384  0
mac80211              688128  1 iwlmvm
aesni_intel           184320  0
snd_hda_intel          36864  6
aes_x86_64             20480  1 aesni_intel
crypto_simd            16384  1 aesni_intel
snd_hda_codec         106496  3 snd_hda_intel,snd_hda_codec_generic,snd_hda_codec_realtek
glue_helper            16384  1 aesni_intel
cryptd                 20480  3 crypto_simd,ghash_clmulni_intel,aesni_intel
intel_cstate           16384  0
iwlwifi               217088  1 iwlmvm
snd_hda_core           65536  4 snd_hda_intel,snd_hda_codec,snd_hda_codec_generic,snd_hda_codec_realtek
intel_rapl_perf        16384  0
snd_hwdep              20480  1 snd_hda_codec
drm_kms_helper        131072  1 nvidia_drm
snd_pcm                86016  3 snd_hda_intel,snd_hda_codec,snd_hda_core
cfg80211              532480  3 iwlmvm,iwlwifi,mac80211
pcspkr                 16384  0
snd_timer              28672  1 snd_pcm
drm                   303104  7 nvidia_drm,drm_kms_helper
r8169                  77824  0
snd                    73728  19 snd_hda_intel,snd_hwdep,snd_hda_codec,snd_timer,snd_hda_codec_generic,snd_hda_codec_realtek,snd_pcm
mii                    16384  1 r8169
soundcore              16384  1 snd
i2c_i801               24576  0
agpgart                36864  1 drm
uvcvideo               86016  0
syscopyarea            16384  1 drm_kms_helper
sysfillrect            16384  1 drm_kms_helper
sysimgblt              16384  1 drm_kms_helper
videobuf2_vmalloc      16384  1 uvcvideo
fb_sys_fops            16384  1 drm_kms_helper
videobuf2_memops       16384  1 videobuf2_vmalloc
videobuf2_v4l2         20480  1 uvcvideo
hci_uart               94208  0
btusb                  40960  0
videobuf2_core         36864  2 uvcvideo,videobuf2_v4l2
btrtl                  16384  1 btusb
btbcm                  16384  2 hci_uart,btusb
btqca                  16384  1 hci_uart
idma64                 20480  0
evdev                  24576  31
videodev              155648  3 uvcvideo,videobuf2_core,videobuf2_v4l2
mousedev               20480  0
btintel                16384  2 hci_uart,btusb
mei_me                 36864  0
input_leds             16384  0
joydev                 20480  0
processor_thermal_device    16384  0
mac_hid                16384  0
media                  32768  2 uvcvideo,videodev
mei                    81920  1 mei_me
shpchp                 32768  0
intel_lpss_pci         20480  0
intel_soc_dts_iosf     16384  1 processor_thermal_device
intel_pch_thermal      16384  0
i2c_hid                20480  0
thermal                20480  0
wmi                    20480  1 asus_wmi
int3403_thermal        16384  0
bluetooth             479232  7 btrtl,hci_uart,btintel,btqca,btbcm,btusb
int3406_thermal        16384  0
ecdh_generic           24576  1 bluetooth
rfkill                 20480  8 asus_wmi,bluetooth,cfg80211
tpm_crb                16384  0
pinctrl_sunrisepoint    28672  0
tpm_tis                16384  0
battery                20480  0
pinctrl_intel          20480  1 pinctrl_sunrisepoint
intel_lpss_acpi        16384  0
intel_lpss             16384  2 intel_lpss_pci,intel_lpss_acpi
tpm_tis_core           20480  1 tpm_tis
tpm                    49152  3 tpm_tis,tpm_crb,tpm_tis_core
int3400_thermal        16384  0
acpi_thermal_rel       16384  1 int3400_thermal
int3402_thermal        16384  0
video                  36864  2 asus_wmi,int3406_thermal
ac                     16384  0
int340x_thermal_zone    16384  3 int3402_thermal,int3403_thermal,processor_thermal_device
asus_wireless          16384  0
acpi_pad               16384  0
button                 16384  0
sch_fq_codel           20480  6
sg                     36864  0
crypto_user            16384  0
ip_tables              24576  0
x_tables               32768  1 ip_tables
ext4                  557056  2
crc16                  16384  2 bluetooth,ext4
mbcache                16384  1 ext4
jbd2                   90112  1 ext4
fscrypto               24576  1 ext4
hid_asus               20480  0
led_class              16384  5 iwlmvm,asus_wmi,hid_asus,input_leds,asus_wireless
hid_generic            16384  0
usbhid                 45056  0
hid                   114688  5 i2c_hid,hid_asus,hid_generic,usbhid,hid_multitouch
sd_mod                 49152  5
serio_raw              16384  0
atkbd                  24576  0
libps2                 16384  1 atkbd
crc32c_intel           24576  0
ahci                   36864  3
libahci                28672  1 ahci
xhci_pci               16384  0
libata                208896  2 ahci,libahci
xhci_hcd              188416  1 xhci_pci
scsi_mod              155648  3 sd_mod,libata,sg
usbcore               208896  5 uvcvideo,usbhid,xhci_pci,btusb,xhci_hcd
usb_common             16384  1 usbcore
i8042                  24576  1 asus_nb_wmi
serio                  20480  4 serio_raw,atkbd,i8042

patch hid-asus.c? you mean update the module manually?

No i am not using acpid, I haven't installed it.

mcku wrote:

This is a very similar case. My asus laptop was behaving in a similar manner when trying to set keyboard backlight using fn keys. There may be a possibility that this is due to a hid driver issue (of course any other causes may exist, too).

Which vendor hid modules are loaded? on my asus laptop it is hid_asus. Sometimes you may need to trace quirks in this file. It looks like some asus hid drivers are not up to date nor maintained properly in this regard. You may need to patch hid-asus.c file at some point. Good luck.

BTW, is acpid (userspace sevice) running? If so, you may disable it because it is not necessary and making too much noise in dmesg logs.

Offline

#8 2017-11-06 03:10:22

q396748207
Member
Registered: 2014-08-04
Posts: 10

Re: Asus Laptop cannot change Screen Brightness

There are 2 directories, acpi_video0 and acpi_video1.

I have GTX 1060 on my laptop, and the driver is just the newest proprietary nvidia driver in pacman.

cfr wrote:

Contents of /sys/class/backlight? Do you only have acpi_video0? Or is there another directory?

NVIDIA has made many cards. Which do you have? Which drivers are you using?

Offline

#9 2017-11-06 04:35:15

cfr
Member
From: Cymru
Registered: 2011-11-27
Posts: 7,130

Re: Asus Laptop cannot change Screen Brightness

Can you change the brightness directly by altering the value of brightness in either of the two directories? Check what the value is and try echoing a somewhat smaller value in. I have had a laptop where the backlight could not be controlled at all, but then I had nothing showing under sys for backlight, so it was always going to be hopeless.


CLI Paste | How To Ask Questions

Arch Linux | x86_64 | GPT | EFI boot | refind | stub loader | systemd | LVM2 on LUKS
Lenovo x270 | Intel(R) Core(TM) i5-7200U CPU @ 2.50GHz | Intel Wireless 8265/8275 | US keyboard w/ Euro | 512G NVMe INTEL SSDPEKKF512G7L

Offline

#10 2017-11-06 05:24:44

q396748207
Member
Registered: 2014-08-04
Posts: 10

Re: Asus Laptop cannot change Screen Brightness

No, changing the value of the brightness file does not change the actual screen brightness at all

cfr wrote:

Can you change the brightness directly by altering the value of brightness in either of the two directories? Check what the value is and try echoing a somewhat smaller value in. I have had a laptop where the backlight could not be controlled at all, but then I had nothing showing under sys for backlight, so it was always going to be hopeless.

Offline

#11 2017-11-06 15:54:48

dricky
Member
Registered: 2017-03-18
Posts: 4

Re: Asus Laptop cannot change Screen Brightness

Have you looked through this? https://wiki.archlinux.org/index.php/Laptop/Asus

Lots of different models not including yours, but I was able to get everything working on my ASUS laptop by finding a similar model and testing various things from other models.

Offline

#12 2017-11-06 20:35:52

mcku
Member
From: Istanbul
Registered: 2017-09-23
Posts: 25

Re: Asus Laptop cannot change Screen Brightness

q396748207 wrote:

patch hid-asus.c? you mean update the module manually?

it depends. what is the output of lsusb?

Offline

#13 2017-11-06 21:44:12

glenb77
Member
Registered: 2014-10-02
Posts: 68

Re: Asus Laptop cannot change Screen Brightness

on asus ux360cak i had same problem when latest gnome was released. i finally realized the problem did not occur when i switched to wayland. try running gnome under wayland and if your brightness keys work again maybe that can help narrow it down

Offline

#14 2017-11-07 01:34:56

q396748207
Member
Registered: 2014-08-04
Posts: 10

Re: Asus Laptop cannot change Screen Brightness

Here is the output of lsusb

Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 001 Device 005: ID 8087:0a2b Intel Corp. 
Bus 001 Device 004: ID 0b05:1837 ASUSTek Computer, Inc. 
Bus 001 Device 003: ID 046d:c077 Logitech, Inc. M105 Optical Mouse
Bus 001 Device 002: ID 13d3:5666 IMC Networks 
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
mcku wrote:
q396748207 wrote:

patch hid-asus.c? you mean update the module manually?

it depends. what is the output of lsusb?

Offline

#15 2017-11-07 01:46:43

q396748207
Member
Registered: 2014-08-04
Posts: 10

Re: Asus Laptop cannot change Screen Brightness

Yeah I have read that before, and only ASUS G502VM-FY017T looks similar to my laptop, I am using GTX 1060 too, and the "other" part is the same as mine, but I just don't know what the "little workaround" means...

dricky wrote:

Have you looked through this? https://wiki.archlinux.org/index.php/Laptop/Asus

Lots of different models not including yours, but I was able to get everything working on my ASUS laptop by finding a similar model and testing various things from other models.

Offline

#16 2017-11-07 01:47:38

q396748207
Member
Registered: 2014-08-04
Posts: 10

Re: Asus Laptop cannot change Screen Brightness

I am using gnome and wayland, and the brightness keys don't work.

glenb77 wrote:

on asus ux360cak i had same problem when latest gnome was released. i finally realized the problem did not occur when i switched to wayland. try running gnome under wayland and if your brightness keys work again maybe that can help narrow it down

Offline

#17 2017-11-07 07:09:02

mcku
Member
From: Istanbul
Registered: 2017-09-23
Posts: 25

Re: Asus Laptop cannot change Screen Brightness

q396748207 wrote:
Bus 001 Device 004: ID 0b05:1837 ASUSTek Computer, Inc. 

Your device is considered as a ROG keyboard from hid-asus side. Therefore, is subject to the quirks defined in that file.

http://elixir.free-electrons.com/linux/ … ids.h#L182
http://elixir.free-electrons.com/linux/ … sus.c#L598

You may go and trace that module. But not sure if that will help. You should investigate how that keypress is translated into a command to the the display controller.

Offline

#18 2017-11-08 03:56:38

q396748207
Member
Registered: 2014-08-04
Posts: 10

Re: Asus Laptop cannot change Screen Brightness

I am sorry, but I don't know how to patch the file to fix the screen brightness function sad

mcku wrote:
q396748207 wrote:
Bus 001 Device 004: ID 0b05:1837 ASUSTek Computer, Inc. 

Your device is considered as a ROG keyboard from hid-asus side. Therefore, is subject to the quirks defined in that file.

http://elixir.free-electrons.com/linux/ … ids.h#L182
http://elixir.free-electrons.com/linux/ … sus.c#L598

You may go and trace that module. But not sure if that will help. You should investigate how that keypress is translated into a command to the the display controller.

Offline

#19 2023-05-24 14:04:27

OmieSawie
Member
Registered: 2023-05-24
Posts: 1

Re: Asus Laptop cannot change Screen Brightness

I have an Asus TUF Laptop.
What I figured out is that probably after some update, xbacklight stopped working, so now I use brightnessctl. I have changed my i3 config accordingly,

 bindsym XF86MonBrightnessUp exec --no-startup-id brightnessctl s +2% 
 bindsym XF86MonBrightnessDown exec --no-startup-id brightnessctl s 2%- 

Offline

Board footer

Powered by FluxBB