New keyboard issue
#1
After an update using the graphical application with Mobian my mechanical keyboard does not work. The on-screen keyboard does work, however.

One of the updated files had something to do with the keyboard.

If anyone has experienced the same problem and can offer a suggested fix please do so.

sandspur
lesser wizard
running Mobian bookworm updated 1 June 2022 at 0830 UTC approximately.
  Reply
#2
I had the same issue today with the kernel 5.15.41 apparently («uname -a») compiled on May 25. It also seems to break docking.

I see two options: find the previous version in /var/cache/apt/archives and install it; or go to /etc/apt/sources.list.d/mobian.list to copy the repo line and replace bookworm with unstable in the copy, then after apt update install linux-image-5.17-sunxi64

I used the latter option, now typing this reply from the PinePhone using an external keyboard but some words in this replied are typed on the PinePhone hardware keyboard…

(about my debugging findings: normally there is a kb151 module, the linux-image-5.15-sunxi64 package with kernel version 5.15.41 seems to lack it)
  Reply
#3
Thanks zltpxqhp69o2. I may try one of your suggested fixes if I get my courage up.

In the interim I hope someone who maintains Mobian sees these posts and issues an update that addresses the problem.

sandspur
lesser wizard
  Reply
#4
(06-01-2022, 04:04 AM)sandspur Wrote: After an update using the graphical application with Mobian my mechanical keyboard does not work. The on-screen keyboard does work, however.

One of the updated files had something to do with the keyboard.

If anyone has experienced the same problem and can offer a suggested fix please do so.

sandspur
lesser wizard
running Mobian bookworm updated 1 June 2022 at 0830 UTC approximately.

I seem to have just experienced this problem. Although it could be a coincidental hardware failure due to the way the fault appeared. 

I left the PinePhone on overnight, it stayed up which is normal with both the phone and keyboard battery at full charge. The phone was NOT charging overnight.

This morning the keyboard does not work and the battery is not seen under Settings->Power although the PinePhone shows charging when the charger is disconnected from the keyboard's USB C connector.

The rate at which the reported % power on the PinePhone decreases suggests that it might still be drawing some current from the keyboard. While the decrease is slower than a solo PinePhone it is decreasing at a much higher rate than when the keyboard was connected and working as it should. 

I still have the last image I installed on the phone on my computer. So I will dig out a spare SD card over the weekend and make a fresh install with the old image before mucking about with the fixes above. The main image is on the internal storage so I would need to back that up before making significant changes to it.
  Reply
#5
True that — I run all the things off an SD card anyway.

Disappearance of keyboard from power sources and lack of keyboard functionality is in line with what I have observed with the kernel that misses the drivers.

If «sudo lsmod | grep kb151» finds nothing and «sudo modprobe kb151» says the module is not found, I think you can be pretty sure you have the software issue, which does not exclude a hardware issue but puts its chances to the baseline.

About Mobian just fixing things — the unstable kernel package might indeed end up being promoted to bookworm in some time. A week or two maybe? Or has almost enough time passed already anyway? Not sure if this topic would change the timing. Maybe report the bug in their tracker and post the link here?
  Reply
#6
(06-03-2022, 04:27 AM)zltpxqhp69o2 Wrote: True that — I run all the things off an SD card anyway.

Disappearance of keyboard from power sources and lack of keyboard functionality is in line with what I have observed with the kernel that misses the drivers.

If «sudo lsmod | grep kb151» finds nothing and «sudo modprobe kb151» says the module is not found, I think you can be pretty sure you have the software issue, which does not exclude a hardware issue but puts its chances to the baseline.

About Mobian just fixing things — the unstable kernel package might indeed end up being promoted to bookworm in some time. A week or two maybe? Or has almost enough time passed already anyway? Not sure if this topic would change the timing. Maybe report the bug in their tracker and post the link here?
I just updated mobian this morning, no change in the kernel and the keyboard is still not being seen by the PinePhone.

I flashed the mobian-phosh image from 20220116 to an SD card and after the the phone booted the keyboard started working. This iteration of the OS does not have seperate bars in Settings->Power so there is no information about the charge of the keyboard battery. However, on pressing the button on the right hand side of the keyboard the "charging" symbol appeared in the phone's battery icon. I'm assuming that this means that the keyboard battery is providing power to the phone.

Anyway, it seems to confirm that the current version of mobian (stable?) is broken and that it is not a hardware issue.
  Reply
#7
(06-01-2022, 04:04 AM)sandspur Wrote: After an update using the graphical application with Mobian my mechanical keyboard does not work. The on-screen keyboard does work, however.

One of the updated files had something to do with the keyboard.

If anyone has experienced the same problem and can offer a suggested fix please do so.

sandspur
lesser wizard
running Mobian bookworm updated 1 June 2022 at 0830 UTC approximately.

This was discussed in Matrix.  Here's a message from Undef on June 1st: Assuming the fix goes well, there should be a (completely untested) patched kernel in the build artefacts of https://gitlab.com/mobian1/devices/sunxi...equests/60 in about an hour if anyone with a keyboard (and the ability to revert the update) is willing to test it.
Somebody did test it and it worked for them, but I haven't checked for other updates on the situation.
  Reply
#8
(06-06-2022, 04:02 AM)Brother Cadfael Wrote:
(06-01-2022, 04:04 AM)sandspur Wrote: After an update using the graphical application with Mobian my mechanical keyboard does not work. The on-screen keyboard does work, however.

One of the updated files had something to do with the keyboard.

If anyone has experienced the same problem and can offer a suggested fix please do so.

sandspur
lesser wizard
running Mobian bookworm updated 1 June 2022 at 0830 UTC approximately.

This was discussed in Matrix.  Here's a message from Undef on June 1st: Assuming the fix goes well, there should be a (completely untested) patched kernel in the build artefacts of https://gitlab.com/mobian1/devices/sunxi...equests/60 in about an hour if anyone with a keyboard (and the ability to revert the update) is willing to test it.
Somebody did test it and it worked for them, but I haven't checked for other updates on the situation.

I have a fresh install on a sacrificial SD card that is undergoing a dist-upgrade at the moment. So I expect the keyboard to stop working when I reboot. If it does, then I can use that to test.

Ah, the dist-upgrade left me with an image that would not boot. I will try again. First a normal upgrade then the dist-upgrade. EDIT: no luck. I it looks like a duff SD card.

What is involved in installing the patched kernel? Downloading and installing a .deb or will it need to be built first, or something else?
  Reply
#9
Many thanks to everyone in this thread for all the information. I also experienced this issue and was trying to diagnose it as it definitely looked like a botched Mobian update. Both kb151 and ip5xxx_power modules are now missing from the /lib/modules/5.15-sunxi64/kernel subtree. Great to hear that the Mobian maintainers have already been notified.
  Reply
#10
Is there any information as to when the fix will be released into the wild?

Which Matrix client(s) work (best) under Mobian on the PinePhone?
  Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  PP Keyboard doesn't charge Pinephone (Mobian) jojuma 1 76 08-06-2022, 01:10 AM
Last Post: elode
  PP keyboard not working at all jojuma 3 187 08-03-2022, 10:02 AM
Last Post: jojuma
  Battery problem with a Pinephone keyboard and Mobian elode 0 101 07-26-2022, 06:25 AM
Last Post: elode
  on screen keyboard woes vusra 1 194 07-18-2022, 03:29 AM
Last Post: vusra
  Disable *automatic* on-screen keyboard iwakura_lain 0 183 06-11-2022, 09:49 AM
Last Post: iwakura_lain
  Disable on screen keyboard permanently. grump_fiddle_reinstall 12 2,659 06-11-2022, 08:11 AM
Last Post: SwordfishII
  Mobian virtual keyboard suddenly buggy HLing 1 393 04-22-2022, 01:21 PM
Last Post: HLing
  Keyboard function keys F1-F10 vgnmnky 0 420 02-05-2022, 08:59 PM
Last Post: vgnmnky
  Keyboard click enable county93 3 1,364 10-07-2021, 04:09 PM
Last Post: county93
  Keyboard stopped working on disk encryption screen on Mobian after update cowsay 2 1,414 08-16-2021, 08:31 AM
Last Post: Zebulon Walton

Forum Jump:


Users browsing this thread: 1 Guest(s)