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

Disabled touch keys and stable channel

Scheduled Pinned Locked Moved Samsung S3 Neo+
19 Posts 5 Posters 1.6k Views 1 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.
    • F Offline
      flohack @kugiigi
      last edited by 4 Mar 2021, 07:32

      @kugiigi Yes I leave it but interestingly, a single click does nothin, I need to quickly double-click and then the drawer opens and closes rapidly πŸ™‚ Maybe it sends the wrong keybinding. Would need to analyze with someone with an MX4.

      My languages: πŸ‡¦πŸ‡Ή πŸ‡©πŸ‡ͺ πŸ‡¬πŸ‡§ πŸ‡ΊπŸ‡Έ

      1 Reply Last reply Reply Quote 0
      • K Offline
        Keneda @kugiigi
        last edited by 4 Mar 2021, 07:54

        @kugiigi
        yes and it is very usefull on mx4 ^^

        @flohack said in Disabled touch keys and stable channel:

        Would need to analyze with someone with an MX4.

        Depending on what you need i may can help.
        But not now as i'm at work :beaming_face_with_smiling_eyes:

        2015-2023 : Meizu MX4 ☠️⚰️✝️
        2023-2024 : Nexus 5 ☠️⚰️✝️
        2024-***** : FPOS Fairphone 5 waiting UT for freedom πŸ˜‰
        πŸ‡²πŸ‡«πŸ‡¬πŸ‡§

        1 Reply Last reply Reply Quote 0
        • K Offline
          Keneda
          last edited by 5 Mar 2021, 15:36

          @Flohack

          ?

          2015-2023 : Meizu MX4 ☠️⚰️✝️
          2023-2024 : Nexus 5 ☠️⚰️✝️
          2024-***** : FPOS Fairphone 5 waiting UT for freedom πŸ˜‰
          πŸ‡²πŸ‡«πŸ‡¬πŸ‡§

          F 1 Reply Last reply 8 Mar 2021, 19:17 Reply Quote 0
          • F Offline
            flohack @Keneda
            last edited by 8 Mar 2021, 19:17

            @keneda you would need to install the evtest package. And then do the following:

            • Call evtest
            • For every listed device, select its number, and then press a few times on the button. If you find the right one, the menu button will signal events. I am interested in which event type that button produces.

            My languages: πŸ‡¦πŸ‡Ή πŸ‡©πŸ‡ͺ πŸ‡¬πŸ‡§ πŸ‡ΊπŸ‡Έ

            K 1 Reply Last reply 8 Mar 2021, 19:45 Reply Quote 0
            • K Offline
              Keneda @flohack
              last edited by 8 Mar 2021, 19:45

              @flohack said in Disabled touch keys and stable channel:

              @keneda you would need to install the evtest package. And then do the following:

              • Call evtest
              • For every listed device, select its number, and then press a few times on the button. If you find the right one, the menu button will signal events. I am interested in which event type that button produces.

              I can do that, but, as i am a real noob in linux, you may explain :

              • how to install evtest (and do i need libertine or i have to make file system r/w)
              • how to "call" evtest

              2015-2023 : Meizu MX4 ☠️⚰️✝️
              2023-2024 : Nexus 5 ☠️⚰️✝️
              2024-***** : FPOS Fairphone 5 waiting UT for freedom πŸ˜‰
              πŸ‡²πŸ‡«πŸ‡¬πŸ‡§

              F M 2 Replies Last reply 14 Mar 2021, 09:03 Reply Quote 0
              • F Offline
                flohack @Keneda
                last edited by 14 Mar 2021, 09:03

                @kenedaits an extra package you need to install on your device. Best would be if you do this via ssh from your PC:

                • Find your deviceΒ΄s IP address, e.g. go to the system-settings WiFi page, and see in the details of your WiFi connection
                • Start ssh if its not started with the internal terminal app: sudo service ssh start
                • Connect with your favourite ssh client to the IP
                • Make your rootfs writable: sudo mount / -o remount,rw
                • Update apt package sources: sudo apt update
                • Install evtest: sudo apt install evtest

                Now you have the tool. To see all input devices type evtest and then you get a list. It will prompt you to select one. Start at the top of the list, work your way all through. After selecting a device press our touch the button and see if you get messages like:

                e32786bc-aa2c-4d61-8c8f-48f212f55e5c-grafik.png

                As you can see in my case the device /dev/input/event6 is named uinput-fpc and indeed is the fingerprint reader giving fake keyboard events. You can see its sending KEY_DOWN which is like a cursor keypress on a normal keyboard.

                Good Luck!

                My languages: πŸ‡¦πŸ‡Ή πŸ‡©πŸ‡ͺ πŸ‡¬πŸ‡§ πŸ‡ΊπŸ‡Έ

                K 1 Reply Last reply 14 Mar 2021, 11:42 Reply Quote 0
                • M Offline
                  Moem @Keneda
                  last edited by 14 Mar 2021, 09:14

                  @keneda If you haven't used ssh before, this may be helpful: https://docs.ubports.com/en/latest/userguide/advanceduse/ssh.html

                  Is currently using an Op5t
                  Also owns an Op1, a BQ E4.5 and an Xperia X, as well as a BQ tablet and a Pinetab2. Please, someone... make it stop.

                  1 Reply Last reply Reply Quote 0
                  • K Offline
                    Keneda @flohack
                    last edited by 14 Mar 2021, 11:42

                    @flohack i'll do my best ^^

                    @Moem Right, never used ssh.

                    Thanks both.

                    Now i go to work, have a nice day πŸ˜‰

                    2015-2023 : Meizu MX4 ☠️⚰️✝️
                    2023-2024 : Nexus 5 ☠️⚰️✝️
                    2024-***** : FPOS Fairphone 5 waiting UT for freedom πŸ˜‰
                    πŸ‡²πŸ‡«πŸ‡¬πŸ‡§

                    1 Reply Last reply Reply Quote 0
                    • K Offline
                      Keneda
                      last edited by 18 Mar 2021, 22:27

                      @Flohack Just to tell you i did not give up, i wait for OTA16 to reach my MX4, then i'll save data and try.

                      By the way, i forgot to ask previously, why is SSH the best?
                      Can't it works well directly from the MX4?

                      2015-2023 : Meizu MX4 ☠️⚰️✝️
                      2023-2024 : Nexus 5 ☠️⚰️✝️
                      2024-***** : FPOS Fairphone 5 waiting UT for freedom πŸ˜‰
                      πŸ‡²πŸ‡«πŸ‡¬πŸ‡§

                      M 1 Reply Last reply 19 Mar 2021, 08:04 Reply Quote 0
                      • M Offline
                        Moem @Keneda
                        last edited by 19 Mar 2021, 08:04

                        @keneda Once you get it set up, SSH is really nice because it lets you use the terminal on your phone, from your computer (laptop or desktop). Real keyboard and everything. So much easier!

                        Is currently using an Op5t
                        Also owns an Op1, a BQ E4.5 and an Xperia X, as well as a BQ tablet and a Pinetab2. Please, someone... make it stop.

                        1 Reply Last reply Reply Quote 0
                        • I Offline
                          ImmyChan
                          last edited by 19 Mar 2021, 12:57

                          Wait, the hardware buttons do things on Ubuntu Touch? How does that work?

                          F 1 Reply Last reply 19 Mar 2021, 19:36 Reply Quote 0
                          • F Offline
                            flohack @ImmyChan
                            last edited by 19 Mar 2021, 19:36

                            @immychan basically hardware buttons that are mapped to input devices will emulate a keyboard keypress. There are a multitude of keycodes that can be emitted by hardware buttons.

                            Lomiri will react on a few of them, and this can of course be tweaked in some way. I am thinking of connecting the hardware button of the Fairphone 2 e.g. to do the same as we know from this device: Open the app drawer.

                            My languages: πŸ‡¦πŸ‡Ή πŸ‡©πŸ‡ͺ πŸ‡¬πŸ‡§ πŸ‡ΊπŸ‡Έ

                            K 1 Reply Last reply 31 Mar 2021, 08:59 Reply Quote 0
                            • K Offline
                              Keneda @flohack
                              last edited by Keneda 31 Mar 2021, 08:59

                              @flohack Sorry for the laaaaaate feedback, here it is, and i hope i did it well (even if i didn't use SSH) ^^

                              evtest_mx4_touch_button_fsize.png

                              I tested all events, and the touch button only gave me feedback with event1 "mtk-tpd" that handles touchscreen too.
                              I tried quick and long press that does not the same thing in uTouch, but same result on evtest.

                              Tell me if you need something else, i'll try to be quicker to answer :grinning_face_with_sweat:

                              2015-2023 : Meizu MX4 ☠️⚰️✝️
                              2023-2024 : Nexus 5 ☠️⚰️✝️
                              2024-***** : FPOS Fairphone 5 waiting UT for freedom πŸ˜‰
                              πŸ‡²πŸ‡«πŸ‡¬πŸ‡§

                              F 1 Reply Last reply 1 Apr 2021, 08:31 Reply Quote 0
                              • F Offline
                                flohack @Keneda
                                last edited by 1 Apr 2021, 08:31

                                @keneda Alright so it seems its bound to KEY_LEFTMETA which is basically ALT-Key I think right?

                                My languages: πŸ‡¦πŸ‡Ή πŸ‡©πŸ‡ͺ πŸ‡¬πŸ‡§ πŸ‡ΊπŸ‡Έ

                                K 1 Reply Last reply 1 Apr 2021, 08:42 Reply Quote 0
                                • K Offline
                                  Keneda @flohack
                                  last edited by Keneda 4 Jan 2021, 08:43 1 Apr 2021, 08:42

                                  @flohack said in Disabled touch keys and stable channel:

                                  Alright so it seems its bound to KEY_LEFTMETA which is basically ALT-Key I think right?

                                  Yes it seems, but can't tell if it's alt-key :grinning_face_with_sweat:

                                  Did a qwant search https://www.qwant.com/?client=brz-moz&q=KEY_LEFTMETA&t=web but nothing clear about that.

                                  2015-2023 : Meizu MX4 ☠️⚰️✝️
                                  2023-2024 : Nexus 5 ☠️⚰️✝️
                                  2024-***** : FPOS Fairphone 5 waiting UT for freedom πŸ˜‰
                                  πŸ‡²πŸ‡«πŸ‡¬πŸ‡§

                                  F 1 Reply Last reply 1 Apr 2021, 15:26 Reply Quote 0
                                  • F Offline
                                    flohack @Keneda
                                    last edited by 1 Apr 2021, 15:26

                                    @keneda No its left windows key ^^

                                    So to summarize, that key should open the launcher we said right?

                                    My languages: πŸ‡¦πŸ‡Ή πŸ‡©πŸ‡ͺ πŸ‡¬πŸ‡§ πŸ‡ΊπŸ‡Έ

                                    K 1 Reply Last reply 1 Apr 2021, 19:24 Reply Quote 0
                                    • K Offline
                                      Keneda @flohack
                                      last edited by Keneda 1 Apr 2021, 19:24

                                      @flohack said in Disabled touch keys and stable channel:

                                      So to summarize, that key should open the launcher we said right?

                                      Yes. To be more precise, with no app opened, it opens app drawer (as app launcher is always on screen), with an app opened, it opens both app launcher and drawer.

                                      2015-2023 : Meizu MX4 ☠️⚰️✝️
                                      2023-2024 : Nexus 5 ☠️⚰️✝️
                                      2024-***** : FPOS Fairphone 5 waiting UT for freedom πŸ˜‰
                                      πŸ‡²πŸ‡«πŸ‡¬πŸ‡§

                                      1 Reply Last reply Reply Quote 0
                                      • K Keneda referenced this topic on 19 Feb 2022, 15:00
                                      • First post
                                        Last post