• Macbook Air, Fn-keys, and keyboard's backlight are not working

    From streampp@21:1/5 to All on Tue Sep 4 23:50:02 2018
    This is a multi-part message in MIME format.

    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

    <div><div>Hi everyone!</div><div><br data-mce-bogus="1"></div><div>I'd like to ask for a little help here.<br>I'm fighting with Macbook Air 6,1 (late 2013) for a week now, and I'm kind of stuck.<br>Everything is working (wifi, camera, suspend/resume) but
    keyboard backlight. Actually, it works<br>when I'm writing 0-255 to /sys/devices/platform/applesmc.768/leds/smc::kbd_backlight/brightness, but...</div><div><br data-mce-bogus="1"></div><div>I can't change keyboard's brightness with F5-F6 keys.<br>I can
    change screen's brightness with F1-F2, I can change volume with F11-F12, but F5 and F6<br>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<br>of keyboard's backlight, but it won't change.
    </div><div>I saw a lot of recipes on internet about writing scripts with "echo &gt; /sys/devices/.../smc::kbd_backlight/brightness",<br>but it turned out, that other distributions (Fedora, Ubuntu, OpenSUSE) works without those scripts "out of the box".</
    <div>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?<br>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...</div><div><br data-mce-bogus="1"></div><div>Thank in advance,<br data-mce-bogus="1"></div><div><br data-mce-bogus="1"></div><div>I use:<br>- Debian buster/sid with latest updates<br>- Gnome 3 desktop install (tried with
    xorg and with wayland)<br>- linux-image-4.17.0-3-amd64-4.17.17-1</div><div>- lspci:<br>00:00.0 Host bridge: Intel Corporation Haswell-ULT DRAM Controller (rev 09)<br>00:02.0 VGA compatible controller: Intel Corporation Haswell-ULT Integrated Graphics
    Controller (rev 09)<br>00:03.0 Audio device: Intel Corporation Haswell-ULT HD Audio Controller (rev 09)<br>00:14.0 USB controller: Intel Corporation 8 Series USB xHCI HC (rev 04)<br>00:15.0 DMA controller: Intel Corporation 8 Series Low Power Sub-System
    DMA (rev 04)<br>00:15.4 Serial bus controller [0c80]: Intel Corporation 8 Series SPI Controller #1 (rev 04)<br>00:16.0 Communication controller: Intel Corporation 8 Series HECI #0 (rev 04)<br>00:1b.0 Audio device: Intel Corporation 8 Series HD Audio
    Controller (rev 04)<br>00:1c.0 PCI bridge: Intel Corporation 8 Series PCI Express Root Port 1 (rev e4)<br>00:1c.1 PCI bridge: Intel Corporation 8 Series PCI Express Root Port 2 (rev e4)<br>00:1c.2 PCI bridge: Intel Corporation 8 Series PCI Express Root
    Port 3 (rev e4)<br>00:1c.4 PCI bridge: Intel Corporation 8 Series PCI Express Root Port 5 (rev e4)<br>00:1c.5 PCI bridge: Intel Corporation 8 Series PCI Express Root Port 6 (rev e4)<br>00:1f.0 ISA bridge: Intel Corporation 8 Series LPC Controller (rev 04)
    <br>00:1f.3 SMBus: Intel Corporation 8 Series SMBus Controller (rev 04)<br>02:00.0 Multimedia controller: Broadcom Limited 720p FaceTime HD Camera<br>03:00.0 Network controller: Broadcom Limited BCM4360 802.11ac Wireless Network Adapter (rev 03)<br>04:00.
    0 SATA controller: Marvell Technology Group Ltd. 88SS9183 PCIe SSD Controller (rev 14)<br>05:00.0 PCI bridge: Intel Corporation DSL3510 Thunderbolt Controller [Cactus Ridge 4C 2012] (rev 03)<br>06:00.0 PCI bridge: Intel Corporation DSL3510 Thunderbolt
    Controller [Cactus Ridge 4C 2012] (rev 03)<br>06:03.0 PCI bridge: Intel Corporation DSL3510 Thunderbolt Controller [Cactus Ridge 4C 2012] (rev 03)<br>06:04.0 PCI bridge: Intel Corporation DSL3510 Thunderbolt Controller [Cactus Ridge 4C 2012] (rev 03)<br>
    06:05.0 PCI bridge: Intel Corporation DSL3510 Thunderbolt Controller [Cactus Ridge 4C 2012] (rev 03)<br>06:06.0 PCI bridge: Intel Corporation DSL3510 Thunderbolt Controller [Cactus Ridge 4C 2012] (rev 03)<br>07:00.0 System peripheral: Intel Corporation
    DSL3510 Thunderbolt Controller [Cactus Ridge 4C 2012] (rev 03)</div><div><br data-mce-bogus="1"></div><div><br>- lsmod |grep apple<br>hid_apple 16384 0<br>applesmc 24576 0<br>input_polldev 16384 1 applesmc<br>apple_bl 16384 0</div><div><br data-mce-bogus=
    "1"></div><div><br>- xinput:<br>cat /tmp/111 <br>⎡ Virtual core pointer id=2 [master pointer (3)]<br>⎜ ↳ Virtual core XTEST pointer id=4 [slave pointer (2)]<br>⎜ ↳ xwayland-pointer:15 id=6 [slave pointer (2)]<br>⎜ ↳ xwayland-relative-
    pointer:15 id=7 [slave pointer (2)]<br>⎣ Virtual core keyboard id=3 [master keyboard (2)]<br> ↳ Virtual core XTEST keyboard id=5 [slave keyboard (3)]<br> ↳ xwayland-keyboard:15 id=8 [slave keyboard (3)]</div><div><br data-mce-bogus="1"></div><div><
    br data-mce-bogus="1"></div><div>- ls -1 /sys/class/leds/<br>input10::capslock<br>input10::compose<br>input10::kana<br>input10::numlock<br>input10::scrolllock<br>smc::kbd_backlight<br></div></div>

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From streampp@21:1/5 to All on Fri Sep 7 17:10:02 2018
    This is a multi-part message in MIME format.

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

    Cheers,

    04.09.2018, 22:46, streampp <streampp@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

    <div>Thanks to everyone for your help, I've switched to RedHat's Fedora where everything is working ;)<br></div><div><br data-mce-bogus="1"></div><div>Cheers,<br data-mce-bogus="1"></div><div><br></div><blockquote><div>04.09.2018, 22:46, streampp &lt;<a
    href="mailto:streampp@rambler.ru" data-mce-href="mailto:streampp@rambler.ru">streampp@rambler.ru</a>&gt;</div><!-- Hostname: benito2201.mail.rambler.ru --><div class="messageBodyContainer" id="part0"><div class="messageBodyContainer isInnerPart" id="
    part2"><div class="messageBody isFormattedText"><div class="RMCIPEHP"><div><div>Hi everyone!</div><div><br></div><div>I'd like to ask for a little help here.<br>I'm fighting with Macbook Air 6,1 (late 2013) for a week now, and I'm kind of stuck.<br>
    Everything is working (wifi, camera, suspend/resume) but keyboard backlight. Actually, it works<br>when I'm writing 0-255 to /sys/devices/platform/applesmc.768/leds/smc::kbd_backlight/brightness, but...</div><div><br></div><div>I can't change keyboard's
    brightness with F5-F6 keys.<br>I can change screen's brightness with F1-F2, I can change volume with F11-F12, but F5 and F6<br>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<br>of
    keyboard's backlight, but it won't change.</div><div>I saw a lot of recipes on internet about writing scripts with "echo &gt; /sys/devices/.../smc::kbd_backlight/brightness",<br>but it turned out, that other distributions (Fedora, Ubuntu, OpenSUSE) works
    without those scripts "out of the box".</div><div>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?<br>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...</div><div><br></div><div>Thank in advance,<br></div><div><br></div><div>I use:<br>- Debian buster/sid with latest updates<br>- Gnome 3 desktop install (tried with xorg and with
    wayland)<br>- linux-image-4.17.0-3-amd64-4.17.17-1</div><div>- lspci:<br>00:00.0 Host bridge: Intel Corporation Haswell-ULT DRAM Controller (rev 09)<br>00:02.0 VGA compatible controller: Intel Corporation Haswell-ULT Integrated Graphics Controller (rev
    09)<br>00:03.0 Audio device: Intel Corporation Haswell-ULT HD Audio Controller (rev 09)<br>00:14.0 USB controller: Intel Corporation 8 Series USB xHCI HC (rev 04)<br>00:15.0 DMA controller: Intel Corporation 8 Series Low Power Sub-System DMA (rev 04)<br>
    00:15.4 Serial bus controller [0c80]: Intel Corporation 8 Series SPI Controller #1 (rev 04)<br>00:16.0 Communication controller: Intel Corporation 8 Series HECI #0 (rev 04)<br>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)<br>00:1c.1 PCI bridge: Intel Corporation 8 Series PCI Express Root Port 2 (rev e4)<br>00:1c.2 PCI bridge: Intel Corporation 8 Series PCI Express Root Port 3 (rev e4)<br>00:
    1c.4 PCI bridge: Intel Corporation 8 Series PCI Express Root Port 5 (rev e4)<br>00:1c.5 PCI bridge: Intel Corporation 8 Series PCI Express Root Port 6 (rev e4)<br>00:1f.0 ISA bridge: Intel Corporation 8 Series LPC Controller (rev 04)<br>00:1f.3 SMBus:
    Intel Corporation 8 Series SMBus Controller (rev 04)<br>02:00.0 Multimedia controller: Broadcom Limited 720p FaceTime HD Camera<br>03:00.0 Network controller: Broadcom Limited BCM4360 802.11ac Wireless Network Adapter (rev 03)<br>04:00.0 SATA controller:
    Marvell Technology Group Ltd. 88SS9183 PCIe SSD Controller (rev 14)<br>05:00.0 PCI bridge: Intel Corporation DSL3510 Thunderbolt Controller [Cactus Ridge 4C 2012] (rev 03)<br>06:00.0 PCI bridge: Intel Corporation DSL3510 Thunderbolt Controller [Cactus
    Ridge 4C 2012] (rev 03)<br>06:03.0 PCI bridge: Intel Corporation DSL3510 Thunderbolt Controller [Cactus Ridge 4C 2012] (rev 03)<br>06:04.0 PCI bridge: Intel Corporation DSL3510 Thunderbolt Controller [Cactus Ridge 4C 2012] (rev 03)<br>06:05.0 PCI bridge:
    Intel Corporation DSL3510 Thunderbolt Controller [Cactus Ridge 4C 2012] (rev 03)<br>06:06.0 PCI bridge: Intel Corporation DSL3510 Thunderbolt Controller [Cactus Ridge 4C 2012] (rev 03)<br>07:00.0 System peripheral: Intel Corporation DSL3510 Thunderbolt
    Controller [Cactus Ridge 4C 2012] (rev 03)</div><div><br></div><div><br>- lsmod |grep apple<br>hid_apple 16384 0<br>applesmc 24576 0<br>input_polldev 16384 1 applesmc<br>apple_bl 16384 0</div><div><br></div><div><br>- xinput:<br>cat /tmp/111 <br>⎡
    Virtual core pointer id=2 [master pointer (3)]<br>⎜ ↳ Virtual core XTEST pointer id=4 [slave pointer (2)]<br>⎜ ↳ xwayland-pointer:15 id=6 [slave pointer (2)]<br>⎜ ↳ xwayland-relative-pointer:15 id=7 [slave pointer (2)]<br>⎣ Virtual core
    keyboard id=3 [master keyboard (2)]<br> ↳ Virtual core XTEST keyboard id=5 [slave keyboard (3)]<br> ↳ xwayland-keyboard:15 id=8 [slave keyboard (3)]</div><div><br></div><div><br></div><div>- ls -1 /sys/class/leds/<br>input10::capslock<br>input10::
    compose<br>input10::kana<br>input10::numlock<br>input10::scrolllock<br>smc::kbd_backlight<br></div></div></div></div></div></div></blockquote>

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)