Announcement

Collapse
No announcement yet.

maliit-keyboard or similar virtual keyboard missing in wayland session

Collapse
This topic is closed.
X
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    [SOLVED] maliit-keyboard or similar virtual keyboard missing in wayland session

    Will there be a maliit-keyboard in wayland or how can this be manually installed?

    X11 is not an option in this case since under x screen rotation doesnt work (touchscreen is not rotated).

    I would really love to linuxify my new jasper lake tablet, but a tablet without virt kb is not really usable.

    (Installed 21.10)

    #2
    Make/model of the tablet? People may be already worked on this for X11 (and thus Onboard keyboard can be used)
    Can you manually rotate the screen in System Settings?

    Kubuntu does not have this yet, I don't even see it in the upcoming 22.04 at the moment - this can change, however, by April). It only recently became actually usable in KDE, so only the rolling type distros seem to have it at the moment.
    It is a pain to build from source, at least the last time I tried.
    I have it in KDE Neon, and it....works. Mostly, but not 100% yet.
    And Wayland still may not be 100%., I keep having desktop problems, even on the latest Plasma. So be warned there.



    Not sure what a Celeron based tablet (with hardware similar to a Chromebook SoC) might have for auto-rotation, so I can't offer anything definitive to look for for auto-rotation scripts or utilities on X11, where one can use Onboard as the on-screen-keyboard:

    For hardware info, to help detect the sensors:
    https://dellwindowsreinstallationgui...otation-linux/
    No idea if the scripting is useful at all. iio-sensors-proxy is going to be needed for sure


    https://github.com/GuLinux/ScreenRotator

    https://github.com/dos1/kded_rotation


    I'd actually suggest try booting a live session of KDE Neon, and seeing if rotation works there, once you log in to a Wayland session there
    https://zren.github.io/2020/08/09/te...-a-neon-livecd

    Comment


      #3
      Its a Chuwi Hi10Go, nice black friday toy. Want to build a wall mountable home automation system. And i knew it would be the usual linux on new hardware game.

      I hate some actual linux developments, maybe i should switch to devuan!

      https://blog.martin-graesslin.com/bl...yland-session/
      Last edited by ODietzel; Dec 05, 2021, 04:02 AM.

      Comment


        #4
        That blog link is outdated, those steps are not needed for some time now. The keyboard still may not work on all applications - I had trouble with browsers at the very least last time I used it. before other Wayland glitches popped up.

        KDE Neon has all the bits available, including the keyboard, and has the iio-sensors-proxy package installed by default, which may not be pre-installed on other distros.


        You could always go straight to the manufacturer for some good info and links...................
        Last edited by claydoh; Dec 05, 2021, 05:11 PM.

        Comment


          #5
          Are you trying to troll me?

          I came from Plasma Mobile (they are open on matrix, their amd64 img is practically unusable) via KDE Neon (20.04 is a little outdated when it comes to jasper lake and newer iio chip support) to Kubuntu 21.10 wayland and i like it.

          Today i gave Manjaro Gnome a chance, also nice, but everywhere the same sht. 8821ce aspm broken, rotation sensor unknown in most iio-sensors-proxy packages, sound maybe in 5.16, no decent virtual keyboard, nowhere.

          Home automation is mostly debian biz, so i will have to try harder.
          Last edited by ODietzel; Dec 05, 2021, 10:19 AM.

          Comment


            #6
            No, just presenting options, and other places that may be useful. Chuwi Linux users are quite active and more hardware-savvy, so their forum is a great place for research and asking hardware related questions for things that won't be well known here.
            .
            Neon's iio is newer than stock 20.04 (though admittedly not quite as current as 21.10), and if one knows where to look or ask, 21.10's 5.13 kernel can be had in LTS releases a little early. (linux-image-generic-hwe-20.04-edge).

            For current hardware, Debian may not necessarily be the best place to go for these things. Even Sid has an older iio-sensor-proxy, similar version as Neon provides.

            Comment


              #7
              Just joking!

              Every *buntu is a part of the Debian family from my point of view (in contrast to manjaro arch stuff).

              And if i need a signed bleeding edge mainline kernel .deb the Debian repos are a good place to look.


              I am sure a Neon release based on 22.04 LTS will work great on this tablet. I am not sure if i want to wait that long...

              I think the logical next test step will be Neon Developer Edition. There they have a maliit-keyboard in their repo.

              And thx a lot for your hints!

              Comment


                #8
                Just joking!


                I think the logical next test step will be Neon Developer Edition. There they have a maliit-keyboard in their repo.
                The Developer edition just has pre-release KDE stuff, plus dev libraries include, on the same core Ubuntu LTS as the User Edition, so has the same iio-sensor-proxy version.
                The Maliit keyboard has been in the User Edition since June, and updated to a more recent version in the last month.

                Signed mainline kernels? Yeah...no.

                Comment


                  #9
                  Signed secure dual boot bs!

                  https://packages.debian.org/en/exper...16.0-rc3-amd64

                  When i tried it with neon-user-20211202-0948.iso yesterday there was no maliit-keyboard installable...

                  Comment


                    #10
                    You will probably need to update the package database, assuming you are running a live session.
                    And then, if you are in any way similar to me , make sure to spell it correctly

                    I have it on my laptop right now, and have since it was available in User.
                    This is on my PC:

                    Click image for larger version

Name:	Screenshot_20211205_161338.png
Views:	1329
Size:	87.4 KB
ID:	658713

                    Code:
                    $ apt policy maliit-keyboard
                    maliit-keyboard:
                    Installed: (none)
                    Candidate: 2.1.0-0xneon+20.04+focal+release+build4
                    Version table:
                    2.1.0-0xneon+20.04+focal+release+build4 500
                    500 http://archive.neon.kde.org/user focal/main amd64 Packages
                    2.0.0-0xneon+20.04+focal+release+build2 500
                    500 http://archive.neon.kde.org/user focal/main amd64 Packages
                    Attached Files

                    Comment


                      #11
                      Too late, unstable is already up and running on my test boot dongle!

                      Lets see what the first pkcon brings!


                      P.S.: Starts to look better

                      Click image for larger version

Name:	Screenshot_20211205_232520.png
Views:	1316
Size:	347.1 KB
ID:	658715
                      Last edited by ODietzel; Dec 05, 2021, 04:30 PM.

                      Comment


                        #12
                        Bingo! Now i have to detroll wifi and sound.

                        root@toor-hi10go:/home/toor# dmesg | egrep "snd_|sof-"
                        [ 8.878742] snd_hda_intel 0000:00:1f.3: DSP detected with PCI class/subclass/prog-if info 0x040100
                        [ 9.367304] sof-audio-pci-intel-icl 0000:00:1f.3: DSP detected with PCI class/subclass/prog-if info 0x040100
                        [ 9.367374] sof-audio-pci-intel-icl 0000:00:1f.3: enabling device (0000 -> 0002)
                        [ 9.367595] sof-audio-pci-intel-icl 0000:00:1f.3: DSP detected with PCI class/subclass/prog-if 0x040100
                        [ 9.367723] sof-audio-pci-intel-icl 0000:00:1f.3: bound 0000:00:02.0 (ops i915_audio_component_bind_ops [i915])
                        [ 9.374122] sof-audio-pci-intel-icl 0000:00:1f.3: use msi interrupt mode
                        [ 9.482197] sof-audio-pci-intel-icl 0000:00:1f.3: hda codecs found, mask 4
                        [ 9.555831] sof-audio-pci-intel-icl 0000:00:1f.3: firmware: direct-loading firmware intel/sof/sof-jsl.ri
                        [ 12.628344] sof-audio-pci-intel-icl 0000:00:1f.3: error: cl_copy_fw: timeout HDA_DSP_SRAM_REG_ROM_STATUS read
                        [ 12.628758] sof-audio-pci-intel-icl 0000:00:1f.3: ------------[ DSP dump start ]------------
                        [ 12.628785] sof-audio-pci-intel-icl 0000:00:1f.3: fw_state: SOF_FW_BOOT_IN_PROGRESS (2)
                        [ 12.628822] sof-audio-pci-intel-icl 0000:00:1f.3: extended rom status: 0x80000012 0x2c 0x0 0x0 0x0 0x0 0x2100186 0x0
                        [ 12.628852] sof-audio-pci-intel-icl 0000:00:1f.3: ------------[ DSP dump end ]------------
                        [ 12.628876] sof-audio-pci-intel-icl 0000:00:1f.3: error: load fw failed ret: -110
                        [ 12.628925] sof-audio-pci-intel-icl 0000:00:1f.3: error: failed to start DSP
                        [ 12.628947] sof-audio-pci-intel-icl 0000:00:1f.3: error: failed to boot DSP firmware -110
                        [ 12.679557] sof-audio-pci-intel-icl 0000:00:1f.3: error: hda_dsp_core_reset_enter: timeout on HDA_DSP_REG_ADSPCS read
                        [ 12.679607] sof-audio-pci-intel-icl 0000:00:1f.3: error: dsp core reset failed: core_mask 1
                        [ 12.679856] sof-audio-pci-intel-icl 0000:00:1f.3: error: sof_probe_work failed err: -110



                        Click image for larger version

Name:	Screenshot_20211205_234056.png
Views:	1307
Size:	253.7 KB
ID:	658717

                        Comment


                          #13
                          Assuming the wifi is Realtek, and SDIO, as opposed to the normal PCI connected cards in 'normal' laptops and PCs, if you have to dig for info, make sure to look for info specific to SDIO devices


                          Since you are tinkering, you absolutely are not required to use pkcon at all, as it is actually using apt to do the work- you get better error messaging when using apt, if uoi are having issues with packages.

                          Sound, I have no clue.

                          As this is a Windows system, you might want to see if you can disable Secure Boot, if you haven't already. Sometimes this can get in the way of wifi/sound, I have seen this myself on older Atom based SoC mini-convertibles.

                          Comment


                            #14
                            Wifi is a 8821ce with known aspm bugs, manageable, and sound is not a show stopper for my project.


                            ES8336 audio on JSL is hard stuff, the drivers are more than bleeding and https://github.com/thesofproject/ is not very helpful. So audo will wait till neon on 22.04. and if i wanted to use it as a sound server it will connect to a JBL BT Box.

                            I have no idea how they compile to a kernel abi > in 5.16rc3

                            Copied suggested fw https://github.com/thesofproject/lin...es8336.tplg.gz and https://github.com/thesofproject/sof...l-signed.ri.gz into intel/sof fw tree, is loaded, ABI warnings, still no sound device.

                            uname -a

                            Linux toor-hi10go 5.16.0-rc3-amd64 #1 SMP PREEMPT Debian 5.16rc3-1exp1 (2021-11-29) x86_64 x86_64 x86_64 GNU/Linux

                            dmesg | egrep "snd_|sof-"

                            [ 8.376551] snd_hda_intel 0000:00:1f.3: DSP detected with PCI class/subclass/prog-if info 0x040100
                            [ 8.923427] sof-audio-pci-intel-icl 0000:00:1f.3: DSP detected with PCI class/subclass/prog-if info 0x040100
                            [ 8.923498] sof-audio-pci-intel-icl 0000:00:1f.3: enabling device (0000 -> 0002)
                            [ 8.923729] sof-audio-pci-intel-icl 0000:00:1f.3: DSP detected with PCI class/subclass/prog-if 0x040100
                            [ 8.923848] sof-audio-pci-intel-icl 0000:00:1f.3: bound 0000:00:02.0 (ops i915_audio_component_bind_ops [i915])
                            [ 8.931011] sof-audio-pci-intel-icl 0000:00:1f.3: use msi interrupt mode
                            [ 9.018075] sof-audio-pci-intel-icl 0000:00:1f.3: hda codecs found, mask 4
                            [ 9.057111] sof-audio-pci-intel-icl 0000:00:1f.3: firmware: direct-loading firmware intel/sof/sof-jsl.ri
                            [ 9.057130] sof-audio-pci-intel-icl 0000:00:1f.3: Firmware info: version 1:9:2-e096c
                            [ 9.057132] sof-audio-pci-intel-icl 0000:00:1f.3: Firmware: ABI 3:20:0 Kernel ABI 3:18:0
                            [ 9.057134] sof-audio-pci-intel-icl 0000:00:1f.3: warn: FW ABI is more recent than kernel
                            [ 9.057142] sof-audio-pci-intel-icl 0000:00:1f.3: unknown sof_ext_man header type 3 size 0x30
                            [ 9.168476] sof-audio-pci-intel-icl 0000:00:1f.3: Firmware info: version 1:9:2-e096c
                            [ 9.168484] sof-audio-pci-intel-icl 0000:00:1f.3: Firmware: ABI 3:20:0 Kernel ABI 3:18:0
                            [ 9.168487] sof-audio-pci-intel-icl 0000:00:1f.3: warn: FW ABI is more recent than kernel
                            Last edited by ODietzel; Dec 06, 2021, 08:08 AM.

                            Comment


                              #15
                              Give up on sound since i can not compile a legit signed kernel with CONFIG_SND_SOC_SOF_STRICT_ABI_CHECKS disabled myself.

                              https://github.com/thesofproject/sof...ment-940094411

                              Comment

                              Working...
                              X