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 327 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
              Google Pixel 3a (20.04 DEV)
              JingPad (24.04 preview)
              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
                  • First post
                    Last post