04-18-2022, 08:39 AM
I recently did a kernel update and ever since I can't find a way to use the keys next to f1-f10, like +,=,-,_, etc.
PPKB certain keys not working after kernel update
|
04-18-2022, 08:39 AM
I recently did a kernel update and ever since I can't find a way to use the keys next to f1-f10, like +,=,-,_, etc.
04-20-2022, 02:49 AM
Same here. Previously using the "Fn" key would allow access to the symbols like - = etc but now the "Fn" key activates the F1-F10 keys with no apparent way to access the symbols. I gather from documentation that the Fn key activating the F1-F10 keys is correct and that the pine key is mean to access the symbols but the pine key doesn't appear to do anything when not bound to an action as with the default sway config. And I haven't found any other combinations that access the symbols.
Have you tried the user space driver? I attempted to use it but ran into problems so will give it another go when I have some time. For now I just bring up the on screen keyboard in sway when I need a symbol.
04-20-2022, 08:22 AM
(04-20-2022, 02:49 AM)mr_growl Wrote: Same here. Previously using the "Fn" key would allow access to the symbols like - = etc but now the "Fn" key activates the F1-F10 keys with no apparent way to access the symbols. I gather from documentation that the Fn key activating the F1-F10 keys is correct and that the pine key is mean to access the symbols but the pine key doesn't appear to do anything when not bound to an action as with the default sway config. And I haven't found any other combinations that access the symbols. I haven't because I don't think you can use both? Maybe I'm wrong on that. I essentially just downgraded my kernel because it ruined the use of the keyboard for me. I read in Megis blog that you can just make a keymap but I tried and couldn't make any progress towards it. I also tried asking in the Matrix chats and didn't get any response from anyone, so I'll probably stay on this kernel version until I can figure that out, or someone can help with it.
04-20-2022, 05:46 PM
Have a read through this thread: https://forum.pine64.org/showthread.php?tid=16156 it talks about using the userland driver and how to disable the kernel driver. It didn't work for me but I think I may not have disabled the kernel driver correctly. Again, I'll give it another go soon and report back if it works.
04-21-2022, 04:11 AM
I've had another go at it with no success.
I originally tried adding the "kb151.disable_input" boot argument but found that did nothing (keyboard still worked). Then discovered this comment which explains that it has changed to "pinephone-keyboard.disable_input". And I can confirm that it does indeed disable the keyboard input. I then compiled the pinephone-keyboard code and tried both starting it with "sudo ppkb-i2c-inputd" as well as starting it via systemd. Both had no effect (the program would run but no keyboard input). I then tried installing ppkb-tools via pacman and again tried both starting it on the command line and via systemd with no effect. It would run (previously, when using kb151.disable_input, it would throw an error) but no output from the keyboard. Just for future reference here's the steps I tried which I gather should have worked:
The effect this had was to disable input from the pinephone keyboard completely. Checking with ps -ef I can see that ppkb-i2c-inputd is running.
04-21-2022, 05:06 AM
Had a look at Megi's development log and it says exactly what's happened
Quote:2022–04–12: Pinephone keyboard keymaps I had actually tried that last weekend and then completely forgot about it. I still think it would be nice to get the userspace driver going, just to see what it does vs the kernel driver.
04-21-2022, 09:25 AM
(04-21-2022, 05:06 AM)mr_growl Wrote: Had a look at Megi's development log and it says exactly what's happened Sorry for the delayed response. I tried using the loadkeys command but it didn't work. Something like "Couldn't get file descriptor referring to the console". Did you get it to work? If so, would you mind explaining how? I think personally I would rather use the function key instead of the PINE64 key just because I already had keybinding in Emacs for the PINE64 key.
04-21-2022, 05:08 PM
I also was not able to get the loadkeys thing working. I'm not familiar with writing keymaps so for now what I've done (this is only useful for sway/sxmo) is I've bound alt + number keys to wtype commands using bindsym. Here's what it looks like in my sway config:
bindsym Mod1+1 exec wtype '|' bindsym Mod1+2 exec wtype '\\' bindsym Mod1+5 exec wtype '~' bindsym Mod1+6 exec wtype '`' bindsym Mod1+7 exec wtype -k "Minus" bindsym Mod1+8 exec wtype '=' bindsym Mod1+9 exec wtype '_' bindsym Mod1+0 exec wtype '+' This is not ideal but it does work and has effectively solved the problem for me for the moment. Since the Fn key now causes the numbers to act as F1-F10 you could probaly just change those bindings to bind F1-F10 to the symbols you want. I do think the userspace driver is the way forward if the symbols are not going to be mapped in the kernel driver, though. So I'm going to try to get that working.
04-22-2022, 01:34 PM
The wtype config equivalent for Phosh would be:
1. Check existing custom keybindings: Code: $ gsettings get org.gnome.settings-daemon.plugins.media-keys custom-keybindings Code: gsettings set org.gnome.settings-daemon.plugins.media-keys.custom-keybinding:/org/gnome/settings-daemon/plugins/media-keys/custom-keybindings/custom1/ name 'wtype1' Code: gsettings set org.gnome.settings-daemon.plugins.media-keys custom-keybindings "['/org/gnome/settings-daemon/plugins/media-keys/custom-keybindings/custom0/', '/org/gnome/settings-daemon/plugins/media-keys/custom-keybindings/custom1/', '/org/gnome/settings-daemon/plugins/media-keys/custom-keybindings/custom2/', '/org/gnome/settings-daemon/plugins/media-keys/custom-keybindings/custom3/', '/org/gnome/settings-daemon/plugins/media-keys/custom-keybindings/custom4/', '/org/gnome/settings-daemon/plugins/media-keys/custom-keybindings/custom5/', '/org/gnome/settings-daemon/plugins/media-keys/custom-keybindings/custom6/', '/org/gnome/settings-daemon/plugins/media-keys/custom-keybindings/custom7/', '/org/gnome/settings-daemon/plugins/media-keys/custom-keybindings/custom8/']" It's laggy, but better than nothing. Quote:Couldn't get file descriptor referring to the consoleLoadkeys is for console (not Wayland)
05-10-2022, 03:14 PM
Quote:You can create similar keymaps for XKB, for use with Xorg server I know this is what is in the megi post. Has anyone actually done this... and maybe they have a keymap for xkb for the pinephone keyboard I could get a copy of? I too couldn't get megi's loadkeys example to work in console. I could live without it in console if I could get my under-number-keys characters back in X. I've been reading and reading the arch documentation on xkb, but not making any serious progress. (Is it me, or is that page much more opaque than usual for Arch documentation?) |
Possibly Related Threads… | |||||
Thread | Author | Replies | Views | Last Post | |
USB C to USB C charging not working. | acidmilk | 10 | 1,342 |
08-23-2024, 04:50 AM Last Post: 67man |
|
Pinephone with KDE Plasma stuck at K logo after update | Daniello | 0 | 362 |
06-20-2024, 01:52 AM Last Post: Daniello |
|
Disappearing arroe keys | ionmich | 1 | 1,201 |
09-03-2023, 07:41 AM Last Post: _radv_ |
|
satellite doesn't work after update | shulamy | 1 | 1,391 |
05-17-2023, 10:34 PM Last Post: Kevin Kofler |
|
FDE installer not working | user641 | 0 | 1,110 |
03-04-2023, 02:55 AM Last Post: user641 |
|
Latest update broke my install | user641 | 8 | 5,404 |
02-22-2023, 05:54 AM Last Post: gregb49 |
|
Ringtone not working through external speaker... | tk1107 | 2 | 2,649 |
03-13-2022, 11:34 PM Last Post: tk1107 |
|
Keyboard function keys | vgnmnky | 4 | 4,411 |
02-25-2022, 07:04 AM Last Post: vgnmnky |
|
Can't update or install software | P3TER | 31 | 29,875 |
02-12-2022, 05:07 PM Last Post: IHaveALinuxPhone |
|
Last update bricked my pine phone :( | lacriz | 6 | 5,380 |
01-25-2022, 07:52 AM Last Post: kqlnut |