I'v manage to succesfully install artix on my MBP Mid 2015 15inch. Everything is perfect, i love Artix so much.
But there's a problem i'v try to solve but it still not work.
I'v install these package: xf86-video-intel xf86-input-libinput mesa
And use light (https://github.com/haikarainen/light) to try config my backscreen light, but when i try, it just show
No backlight controller was found, so we could not decide an automatic target...
I'v try this command to found my screen backlight target but can't found it:
sudo find /sys -type f -iname '*brightness*'
This is the result:
/sys/devices/platform/applesmc.768/leds/smc::kbd_backlight/brightness
/sys/devices/platform/applesmc.768/leds/smc::kbd_backlight/max_brightness
/sys/devices/pci0000:00/0000:00:14.0/usb1/1-12/1-12:1.1/0003:05AC:0274.0004/input/input11/input11::scrolllock/brightness
/sys/devices/pci0000:00/0000:00:14.0/usb1/1-12/1-12:1.1/0003:05AC:0274.0004/input/input11/input11::scrolllock/max_brightness
/sys/devices/pci0000:00/0000:00:14.0/usb1/1-12/1-12:1.1/0003:05AC:0274.0004/input/input11/input11::capslock/brightness
/sys/devices/pci0000:00/0000:00:14.0/usb1/1-12/1-12:1.1/0003:05AC:0274.0004/input/input11/input11::capslock/max_brightness
/sys/devices/pci0000:00/0000:00:14.0/usb1/1-12/1-12:1.1/0003:05AC:0274.0004/input/input11/input11::numlock/brightness
/sys/devices/pci0000:00/0000:00:14.0/usb1/1-12/1-12:1.1/0003:05AC:0274.0004/input/input11/input11::numlock/max_brightness
/sys/devices/pci0000:00/0000:00:14.0/usb1/1-12/1-12:1.1/0003:05AC:0274.0004/input/input11/input11::kana/brightness
/sys/devices/pci0000:00/0000:00:14.0/usb1/1-12/1-12:1.1/0003:05AC:0274.0004/input/input11/input11::kana/max_brightness
/sys/devices/pci0000:00/0000:00:14.0/usb1/1-12/1-12:1.1/0003:05AC:0274.0004/input/input11/input11::compose/brightness
/sys/devices/pci0000:00/0000:00:14.0/usb1/1-12/1-12:1.1/0003:05AC:0274.0004/input/input11/input11::compose/max_brightness
/sys/devices/pci0000:00/0000:00:14.0/usb1/1-8/1-8:1.0/0003:05AC:8290.0005/input/input9/input9::capslock/brightness
/sys/devices/pci0000:00/0000:00:14.0/usb1/1-8/1-8:1.0/0003:05AC:8290.0005/input/input9/input9::capslock/max_brightness
/sys/devices/pci0000:00/0000:00:14.0/usb1/1-8/1-8:1.0/0003:05AC:8290.0005/input/input9/input9::numlock/brightness
/sys/devices/pci0000:00/0000:00:14.0/usb1/1-8/1-8:1.0/0003:05AC:8290.0005/input/input9/input9::numlock/max_brightness
/sys/devices/pci0000:00/0000:00:14.0/usb1/1-8/1-8:1.0/0003:05AC:8290.0005/input/input9/input9::scrolllock/brightness
/sys/devices/pci0000:00/0000:00:14.0/usb1/1-8/1-8:1.0/0003:05AC:8290.0005/input/input9/input9::scrolllock/max_brightness
/sys/module/video/parameters/hw_changes_brightness
/sys/module/video/parameters/brightness_switch_enabled
/sys/module/i915/parameters/invert_brightness
Am i missing something or something when wrong with my device. Thank you very much <3
You can try xbacklight (xorg-xbacklight). The backlight function keys on my MBP work out of installation.
install linux-headers first and if you look at archwiki ....
Screen backlight
Intel, works on Linux 3.13
Framebuffer, works for MacBook Pro 11,1 and 11,3 via /sys/class/backlight/gmux_backlight/brightness.
Brightness in /sys/class/backlight/gmux_backlight/brightness can be modified comfortably via the gmux_backlightAUR utility without root privileges. Requires the setpci setting below.
Nvidia, does not work using default settings. Try executing as root setpci -v -H1 -s 00:01.00 BRIDGE_CONTROL=0. It may be worthwhile to create a systemd unit to execute this on boot.
AMD models may require a patched kernel for the backlight to be adjusted. The linux-macbookAUR kernel fixes this.
Note: If the screen does not show the prompt or the login manager (i.e. a black screen), append i915.invert_brightness=1 to the kernel.
https://wiki.archlinux.org/index.php/MacBookPro11,x#Screen_backlight
which init use you?
try add to your boot manager (grub, syslinux, etc.)
video.use_native_backlight=1
what say
light -L
and you can try this:
https://github.com/IvanMalison/dotfiles/blob/master/dotfiles/lib/bin/macbook_brightness.py
https://aur.archlinux.org/packages/macbook-lighter/
I'v tried xorg-xbacklight and having this:
No outputs have backlight property
I'v tried installed linux-headers but everything still not work. Btw, my MBP have Intel chip
This is output of light -L
❯ light -L
No backlight controller was found, so we could not decide an automatic target. The current command will have no effect. Please use -L to find a target and then specify it with -s.
Listing device targets:
sysfs/leds/input12::kana
sysfs/leds/input9::capslock
sysfs/leds/input12::compose
sysfs/leds/input12::scrolllock
sysfs/leds/smc::kbd_backlight
sysfs/leds/input9::numlock
sysfs/leds/input9::scrolllock
sysfs/leds/input12::numlock
sysfs/leds/input12::capslock
util/test/dryrun
Also there are nothing on my '/sys/class/backlight' folder :((
I'm using runit init system
Where can i put this:
video.use_native_backlight=1
I'v opened `usr/default/grub` but it seem have different config syntax
https://wiki.archlinux.org/index.php/Kernel_parameters
:(( I'v tried that and 'update-grub' but there are notthing in my 'sys/class/backlight' folder :((
put here your logs:
dmesg
lspci
cat /var/log/Xorg.0.log
I'v figure it out. Turn out i do have 'nomodeset' in my grub default. Relate to this post (https://forum.artixlinux.org/index.php/topic,1790.msg12192.html#msg12192)
With out nomodeset, my system stuck forever on udev. But with nomodeset i can't use backlight, i even can't suspend my laptop. :((
Try this plz
nomodeset acpi_osi=Linux acpi_backlight=vendor
https://wiki.archlinux.org/index.php/backlight#Kernel_command-line_options
I'v tried every thing but nothing work.
Finally, i'v try to install from bottom up and try linux-lts firmware. Just as i guess, everything work out of the box.
Btw thank you all for your supports. I'v tried it again when i have time.