UBports Robot Logo UBports Forum
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Register
    • Login

    Pro1 X keyboard backlight

    Scheduled Pinned Locked Moved Unsolved Support
    6 Posts 4 Posters 827 Views 2 Watching
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • K Offline
      kanguru007
      last edited by

      I've just received my Pro1 X and installed Ubuntu Touch on it.
      The keyboard backlight is off and I can't find a way of turning it on.
      Anyone knows how to do it?

      A 1 Reply Last reply Reply Quote 0
      • A Offline
        ancientsounds @kanguru007
        last edited by

        @kanguru007
        Partial answer to this at
        https://community.fxtec.com/topic/3684-ubuntu-touch-physical-keyboard-backlight-pro1x/

        To set permissions:
        sudo chmod 666 /sys/class/leds/:kbd_backlight/brightness

        To turn on backlight:
        echo "1" > /sys/class/leds/:kbd_backlight/brightness

        To turn off backlight:
        echo "0" > /sys/class/leds/:kbd_backlight/brightness

        I wrote those into 2 one-line scripts called klon and kloff, for brevity.

        If you don't turn it off manually, the backlight stays on even when you close the keyboard

        A 1 Reply Last reply Reply Quote 2
        • A Offline
          ancientsounds @ancientsounds
          last edited by

          @ancientsounds
          An old post by Zahks on the fxtec community site gives a link to a code fix for the keyboard backlight issue.

          "Keyboard Backlight ✔️ - I have resolved this one. Here is my python script and a installer so you can fix it yourself. It also auto-hides the on screen keyboard when it is pulled out. Just download, unzip and run InstallSliderDaemon.sh . Current script is as stable as it gets. Please download and let me know if you have any bugs."

          [https://drive.google.com/file/d/1ZGk1nefQkHmtPNo6g-K8ggg6ESfH8d9d/view?pli=1]

          arubislanderA 1 Reply Last reply Reply Quote 0
          • arubislanderA Offline
            arubislander @ancientsounds
            last edited by

            @ancientsounds A community member is also working on a properly integrated fix for UT possibly based on this work.

            🇦🇼 🇳🇱 🇺🇸 🇪🇸
            Happily running Ubuntu Touch
            JingPad (24.04-1.x daily)
            OnePlus Nord N10 5G (24.04-2.x daily)
            PinePhone OG (20.04)
            Meizu Pro 5 (16.04 DEV)

            K A 2 Replies Last reply Reply Quote 0
            • K Offline
              kugiigi @arubislander
              last edited by

              @arubislander Oh, didn't know it's for this. Nice 😄

              1 Reply Last reply Reply Quote 0
              • A Offline
                ancientsounds @arubislander
                last edited by

                @arubislander Excellent news, not least because the script I linked to earlier doesn't work as is, and will need further work

                1 Reply Last reply Reply Quote 0

                Hello! It looks like you're interested in this conversation, but you don't have an account yet.

                Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

                With your input, this post could be even better 💗

                Register Login
                • First post
                  Last post