Thanks to everyone for your help, I've switched to RedHat's Fedora where
everything is working ;)

Cheers,

 04.09.2018, 22:46, streampp <strea...@rambler.ru>Hi everyone!
 I'd like to ask for a little help here.
 I'm fighting with Macbook Air 6,1 (late 2013) for a week now, and I'm kind of
 stuck.
 Everything is working (wifi, camera, suspend/resume) but keyboard backlight.
 Actually, it works
 when I'm writing 0-255 to
 /sys/devices/platform/applesmc.768/leds/smc::kbd_backlight/brightness, but...
 I can't change keyboard's brightness with F5-F6 keys.
 I can change screen's brightness with F1-F2, I can change volume with
 F11-F12, but F5 and F6
 just don't work and don't change keyboard's brigthness. All I can see on a
 screen when I'm pressing F5-F6 is an icon
 of keyboard's backlight, but it won't change.I saw a lot of recipes on
 internet about writing scripts with "echo >
 /sys/devices/.../smc::kbd_backlight/brightness",
 but it turned out, that other distributions (Fedora, Ubuntu, OpenSUSE) works
 without those scripts "out of the box".Could anyone please tell me where to
 start looking? I have no idea which piece of software handles Fn-keys? Is it
 udev, systemd, xorg?
 Why Fedora, Ubuntu and OpenSUSE work? I kind of think that I'm missing one
 single string somewhere in some config, but I don't know where...
 Thank in advance,

 I use:
 - Debian buster/sid with latest updates
 - Gnome 3 desktop install (tried with xorg and with wayland)
 - linux-image-4.17.0-3-amd64-4.17.17-1- lspci:
 00:00.0 Host bridge: Intel Corporation Haswell-ULT DRAM Controller (rev 09)
 00:02.0 VGA compatible controller: Intel Corporation Haswell-ULT Integrated
 Graphics Controller (rev 09)
 00:03.0 Audio device: Intel Corporation Haswell-ULT HD Audio Controller (rev
 09)
 00:14.0 USB controller: Intel Corporation 8 Series USB xHCI HC (rev 04)
 00:15.0 DMA controller: Intel Corporation 8 Series Low Power Sub-System DMA
 (rev 04)
 00:15.4 Serial bus controller [0c80]: Intel Corporation 8 Series SPI
 Controller #1 (rev 04)
 00:16.0 Communication controller: Intel Corporation 8 Series HECI #0 (rev 04)
 00:1b.0 Audio device: Intel Corporation 8 Series HD Audio Controller (rev 04)
 00:1c.0 PCI bridge: Intel Corporation 8 Series PCI Express Root Port 1 (rev
 e4)
 00:1c.1 PCI bridge: Intel Corporation 8 Series PCI Express Root Port 2 (rev
 e4)
 00:1c.2 PCI bridge: Intel Corporation 8 Series PCI Express Root Port 3 (rev
 e4)
 00:1c.4 PCI bridge: Intel Corporation 8 Series PCI Express Root Port 5 (rev
 e4)
 00:1c.5 PCI bridge: Intel Corporation 8 Series PCI Express Root Port 6 (rev
 e4)
 00:1f.0 ISA bridge: Intel Corporation 8 Series LPC Controller (rev 04)
 00:1f.3 SMBus: Intel Corporation 8 Series SMBus Controller (rev 04)
 02:00.0 Multimedia controller: Broadcom Limited 720p FaceTime HD Camera
 03:00.0 Network controller: Broadcom Limited BCM4360 802.11ac Wireless
 Network Adapter (rev 03)
 04:00.0 SATA controller: Marvell Technology Group Ltd. 88SS9183 PCIe SSD
 Controller (rev 14)
 05:00.0 PCI bridge: Intel Corporation DSL3510 Thunderbolt Controller [Cactus
 Ridge 4C 2012] (rev 03)
 06:00.0 PCI bridge: Intel Corporation DSL3510 Thunderbolt Controller [Cactus
 Ridge 4C 2012] (rev 03)
 06:03.0 PCI bridge: Intel Corporation DSL3510 Thunderbolt Controller [Cactus
 Ridge 4C 2012] (rev 03)
 06:04.0 PCI bridge: Intel Corporation DSL3510 Thunderbolt Controller [Cactus
 Ridge 4C 2012] (rev 03)
 06:05.0 PCI bridge: Intel Corporation DSL3510 Thunderbolt Controller [Cactus
 Ridge 4C 2012] (rev 03)
 06:06.0 PCI bridge: Intel Corporation DSL3510 Thunderbolt Controller [Cactus
 Ridge 4C 2012] (rev 03)
 07:00.0 System peripheral: Intel Corporation DSL3510 Thunderbolt Controller
 [Cactus Ridge 4C 2012] (rev 03)

 - lsmod |grep apple
 hid_apple 16384 0
 applesmc 24576 0
 input_polldev 16384 1 applesmc
 apple_bl 16384 0

 - xinput:
 cat /tmp/111
 ⎡ Virtual core pointer id=2 [master pointer (3)]
 ⎜ ↳ Virtual core XTEST pointer id=4 [slave pointer (2)]
 ⎜ ↳ xwayland-pointer:15 id=6 [slave pointer (2)]
 ⎜ ↳ xwayland-relative-pointer:15 id=7 [slave pointer (2)]
 ⎣ Virtual core keyboard id=3 [master keyboard (2)]
 ↳ Virtual core XTEST keyboard id=5 [slave keyboard (3)]
 ↳ xwayland-keyboard:15 id=8 [slave keyboard (3)]

 - ls -1 /sys/class/leds/
 input10::capslock
 input10::compose
 input10::kana
 input10::numlock
 input10::scrolllock
 smc::kbd_backlight

Reply via email to