Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
weird orangepi3-lts keyboard issue
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Gentoo on ARM
View previous topic :: View next topic  
Author Message
JumboAg
Apprentice
Apprentice


Joined: 03 Mar 2007
Posts: 202
Location: Dallas, TX

PostPosted: Wed Jun 12, 2024 3:10 am    Post subject: weird orangepi3-lts keyboard issue Reply with quote

As an experiment, I transplanted a recent armbian kernel/modules/firmware for the orangepi3-lts to a gentoo SD card and have an odd problem I cannot figure out. I have horrific keyboard performance both over the serial TTL console and normal connected USB keyboard. It basically is missing almost every other key I press. Nothing in dmesg or my systemd journal logs. I dont see this issue with the same hardware, kernel/modules/firmware on an armbian partition. Only thing I can thing of is a gentoo systemd setting that's causing some performance conflict somewhere but stumped as to what it could be.
Back to top
View user's profile Send private message
Hu
Administrator
Administrator


Joined: 06 Mar 2007
Posts: 21928

PostPosted: Wed Jun 12, 2024 12:08 pm    Post subject: Reply with quote

If you go very slowly, such as one keypress per two seconds, does it still lose keys? My first thought is to determine whether the issue is that the kernel does not read keys fast enough to keep up (in which case going very slowly should show no lost keys) or that the software is somehow consuming every Nth key in a way other than your terminal (in which case the loss should remain roughly constant no matter how slow you go). I have seen the latter on regular systems when multiple programs end up fighting over a single terminal, causing each of them to consume some of the keys typed.
Back to top
View user's profile Send private message
JumboAg
Apprentice
Apprentice


Joined: 03 Mar 2007
Posts: 202
Location: Dallas, TX

PostPosted: Wed Jun 12, 2024 1:55 pm    Post subject: Reply with quote

Hu wrote:
If you go very slowly, such as one keypress per two seconds, does it still lose keys? My first thought is to determine whether the issue is that the kernel does not read keys fast enough to keep up (in which case going very slowly should show no lost keys) or that the software is somehow consuming every Nth key in a way other than your terminal (in which case the loss should remain roughly constant no matter how slow you go). I have seen the latter on regular systems when multiple programs end up fighting over a single terminal, causing each of them to consume some of the keys typed.


yes, regardless of my typing speed its losing keys. It's worse when I type slow

fast test (A-Z)
root@orangepi3-lts ~ # abcdegijlmpqstvxy
slow test (A-Z)
root@orangepi3-lts ~ # bdfhjknprtvy

CPU is near idle. nothing running in the background except essentials

Code:
root@orangepi3-lts ~ # ps -ef
UID          PID    PPID  C STIME TTY          TIME CMD
root           1       0  1 08:50 ?        00:00:02 /sbin/init
root           2       0  0 08:50 ?        00:00:00 [kthreadd]
root           3       2  0 08:50 ?        00:00:00 [pool_workqueue_release]
root           4       2  0 08:50 ?        00:00:00 [kworker/R-rcu_g]
root           5       2  0 08:50 ?        00:00:00 [kworker/R-rcu_p]
root           6       2  0 08:50 ?        00:00:00 [kworker/R-slub_]
root           7       2  0 08:50 ?        00:00:00 [kworker/R-netns]
root           8       2  0 08:50 ?        00:00:00 [kworker/0:0-device_link_wq]
root           9       2  0 08:50 ?        00:00:00 [kworker/0:0H-mmc_complete]
root          10       2  0 08:50 ?        00:00:00 [kworker/0:1-events]
root          11       2  0 08:50 ?        00:00:00 [kworker/u8:0-events_unbound
root          12       2  0 08:50 ?        00:00:00 [kworker/R-mm_pe]
root          13       2  0 08:50 ?        00:00:00 [rcu_tasks_trace_kthread]
root          14       2  0 08:50 ?        00:00:00 [ksoftirqd/0]
root          15       2  0 08:50 ?        00:00:00 [rcu_sched]
root          16       2  0 08:50 ?        00:00:00 [migration/0]
root          17       2  0 08:50 ?        00:00:00 [cpuhp/0]
root          18       2  0 08:50 ?        00:00:00 [cpuhp/1]
root          19       2  0 08:50 ?        00:00:00 [migration/1]
root          20       2  0 08:50 ?        00:00:00 [ksoftirqd/1]
root          21       2  0 08:50 ?        00:00:00 [kworker/1:0-pm]
root          22       2  0 08:50 ?        00:00:00 [kworker/1:0H-kblockd]
root          23       2  0 08:50 ?        00:00:00 [cpuhp/2]
root          24       2  0 08:50 ?        00:00:00 [migration/2]
root          25       2  0 08:50 ?        00:00:00 [ksoftirqd/2]
root          26       2  0 08:50 ?        00:00:00 [kworker/2:0-events]
root          27       2  0 08:50 ?        00:00:00 [kworker/2:0H-events_highpri
root          28       2  0 08:50 ?        00:00:00 [cpuhp/3]
root          29       2  0 08:50 ?        00:00:00 [migration/3]
root          30       2  0 08:50 ?        00:00:00 [ksoftirqd/3]
root          31       2  0 08:50 ?        00:00:00 [kworker/3:0-events]
root          32       2  0 08:50 ?        00:00:00 [kworker/3:0H-kblockd]
root          33       2  0 08:50 ?        00:00:00 [kdevtmpfs]
root          34       2  0 08:50 ?        00:00:00 [kworker/R-inet_]
root          35       2  0 08:50 ?        00:00:00 [kworker/u8:1-events_unbound
root          36       2  0 08:50 ?        00:00:00 [kauditd]
root          37       2  0 08:50 ?        00:00:00 [oom_reaper]
root          38       2  0 08:50 ?        00:00:00 [kworker/R-write]
root          39       2  0 08:50 ?        00:00:00 [kcompactd0]
root          40       2  0 08:50 ?        00:00:00 [ksmd]
root          41       2  0 08:50 ?        00:00:00 [khugepaged]
root          42       2  0 08:50 ?        00:00:00 [kworker/R-crypt]
root          43       2  0 08:50 ?        00:00:00 [kworker/R-kinte]
root          44       2  0 08:50 ?        00:00:00 [kworker/R-kbloc]
root          45       2  0 08:50 ?        00:00:00 [kworker/R-blkcg]
root          46       2  0 08:50 ?        00:00:00 [kworker/u8:2-events_unbound
root          47       2  0 08:50 ?        00:00:00 [kworker/R-tpm_d]
root          48       2  0 08:50 ?        00:00:01 [kworker/u8:3-events_unbound
root          49       2  0 08:50 ?        00:00:00 [kworker/R-md]
root          50       2  0 08:50 ?        00:00:00 [kworker/R-md_bi]
root          51       2  0 08:50 ?        00:00:00 [kworker/R-devfr]
root          52       2  0 08:50 ?        00:00:00 [watchdogd]
root          53       2  0 08:50 ?        00:00:00 [kworker/1:1-events]
root          54       2  0 08:50 ?        00:00:00 [kworker/0:1H-mmc_complete]
root          55       2  0 08:50 ?        00:00:00 [kswapd0]
root          56       2  0 08:50 ?        00:00:00 [ecryptfs-kthread]
root          57       2  0 08:50 ?        00:00:00 [kworker/3:1-events]
root          58       2  0 08:50 ?        00:00:00 [kworker/R-kthro]
root          59       2  0 08:50 ?        00:00:00 [kworker/2:1-rcu_gp]
root          60       2  0 08:50 ?        00:00:00 [kworker/2:2-events_power_ef
root          61       2  0 08:50 ?        00:00:00 [kworker/1:2-device_link_wq]
root          62       2  0 08:50 ?        00:00:00 [kworker/1:3-rcu_gp]
root          63       2  0 08:50 ?        00:00:00 [kworker/1:4-rcu_gp]
root          64       2  0 08:50 ?        00:00:00 [kworker/R-raid5]
root          65       2  0 08:50 ?        00:00:00 [kworker/R-bch_b]
root          66       2  0 08:50 ?        00:00:00 [kworker/R-bcach]
root          67       2  0 08:50 ?        00:00:00 [kworker/R-bch_j]
root          68       2  0 08:50 ?        00:00:00 [kworker/u8:4-events_unbound
root          69       2  0 08:50 ?        00:00:00 [1904000.crypto-engine]
root          70       2  0 08:50 ?        00:00:00 [1904000.crypto-engine]
root          71       2  0 08:50 ?        00:00:00 [1904000.crypto-engine]
root          72       2  0 08:50 ?        00:00:00 [1904000.crypto-engine]
root          73       2  0 08:50 ?        00:00:00 [hwrng]
root          74       2  0 08:50 ?        00:00:00 [kworker/R-tls-s]
root          75       2  0 08:50 ?        00:00:00 [kworker/R-mld]
root          76       2  0 08:50 ?        00:00:00 [kworker/R-ipv6_]
root          77       2  0 08:50 ?        00:00:00 [kworker/2:1H-kblockd]
root          84       2  0 08:50 ?        00:00:00 [kworker/R-kstrp]
root          85       2  0 08:50 ?        00:00:00 [kworker/R-zswap]
root          86       2  0 08:50 ?        00:00:00 [kworker/R-zswap]
root          87       2  0 08:50 ?        00:00:00 [kworker/R-zswap]
root          88       2  0 08:50 ?        00:00:00 [kworker/R-zswap]
root          89       2  0 08:50 ?        00:00:00 [kworker/R-zswap]
root          90       2  0 08:50 ?        00:00:00 [kworker/R-zswap]
root          91       2  0 08:50 ?        00:00:00 [kworker/R-zswap]
root          92       2  0 08:50 ?        00:00:00 [kworker/R-zswap]
root          93       2  0 08:50 ?        00:00:00 [kworker/R-zswap]
root          94       2  0 08:50 ?        00:00:00 [kworker/R-zswap]
root          95       2  0 08:50 ?        00:00:00 [kworker/R-zswap]
root          96       2  0 08:50 ?        00:00:00 [kworker/R-zswap]
root          97       2  0 08:50 ?        00:00:00 [kworker/R-zswap]
root          98       2  0 08:50 ?        00:00:00 [kworker/R-zswap]
root          99       2  0 08:50 ?        00:00:00 [kworker/R-zswap]
root         100       2  0 08:50 ?        00:00:00 [kworker/R-zswap]
root         101       2  0 08:50 ?        00:00:00 [kworker/R-zswap]
root         102       2  0 08:50 ?        00:00:00 [kworker/R-zswap]
root         103       2  0 08:50 ?        00:00:00 [kworker/R-zswap]
root         104       2  0 08:50 ?        00:00:00 [kworker/R-zswap]
root         105       2  0 08:50 ?        00:00:00 [kworker/R-zswap]
root         106       2  0 08:50 ?        00:00:00 [kworker/R-zswap]
root         107       2  0 08:50 ?        00:00:00 [kworker/R-zswap]
root         108       2  0 08:50 ?        00:00:00 [kworker/R-zswap]
root         109       2  0 08:50 ?        00:00:00 [kworker/R-zswap]
root         110       2  0 08:50 ?        00:00:00 [kworker/R-zswap]
root         111       2  0 08:50 ?        00:00:00 [kworker/R-zswap]
root         112       2  0 08:50 ?        00:00:00 [kworker/R-zswap]
root         113       2  0 08:50 ?        00:00:00 [kworker/R-zswap]
root         114       2  0 08:50 ?        00:00:00 [kworker/R-zswap]
root         115       2  0 08:50 ?        00:00:00 [kworker/R-zswap]
root         116       2  0 08:50 ?        00:00:00 [kworker/R-zswap]
root         117       2  0 08:50 ?        00:00:00 [kworker/R-zswap]
root         118       2  0 08:50 ?        00:00:00 [kworker/R-zswap]
root         119       2  0 08:50 ?        00:00:00 [kworker/R-zswap]
root         120       2  0 08:50 ?        00:00:00 [kworker/R-zswap]
root         121       2  0 08:50 ?        00:00:00 [kworker/R-zswap]
root         122       2  0 08:50 ?        00:00:00 [kworker/R-zswap]
root         123       2  0 08:50 ?        00:00:00 [kworker/R-zswap]
root         124       2  0 08:50 ?        00:00:00 [kworker/R-zswap]
root         125       2  0 08:50 ?        00:00:00 [kworker/R-zswap]
root         126       2  0 08:50 ?        00:00:00 [kworker/R-zswap]
root         127       2  0 08:50 ?        00:00:00 [kworker/R-zswap]
root         128       2  0 08:50 ?        00:00:00 [kworker/R-zswap]
root         129       2  0 08:50 ?        00:00:00 [kworker/R-zswap]
root         130       2  0 08:50 ?        00:00:00 [kworker/R-zswap]
root         131       2  0 08:50 ?        00:00:00 [kworker/R-zswap]
root         132       2  0 08:50 ?        00:00:00 [kworker/R-zswap]
root         133       2  0 08:50 ?        00:00:00 [kworker/R-zswap]
root         134       2  0 08:50 ?        00:00:00 [kworker/R-zswap]
root         135       2  0 08:50 ?        00:00:00 [kworker/R-zswap]
root         136       2  0 08:50 ?        00:00:00 [kworker/R-zswap]
root         137       2  0 08:50 ?        00:00:00 [kworker/R-zswap]
root         138       2  0 08:50 ?        00:00:00 [kworker/R-zswap]
root         139       2  0 08:50 ?        00:00:00 [kworker/R-zswap]
root         140       2  0 08:50 ?        00:00:00 [kworker/R-zswap]
root         141       2  0 08:50 ?        00:00:00 [kworker/R-zswap]
root         142       2  0 08:50 ?        00:00:00 [kworker/R-zswap]
root         143       2  0 08:50 ?        00:00:00 [kworker/R-zswap]
root         144       2  0 08:50 ?        00:00:00 [kworker/R-zswap]
root         145       2  0 08:50 ?        00:00:00 [kworker/R-zswap]
root         146       2  0 08:50 ?        00:00:00 [kworker/R-zswap]
root         147       2  0 08:50 ?        00:00:00 [kworker/R-zswap]
root         148       2  0 08:50 ?        00:00:00 [kworker/R-zswap]
root         149       2  0 08:50 ?        00:00:00 [kworker/R-zswap]
root         150       2  0 08:50 ?        00:00:00 [kworker/u9:0]
root         151       2  0 08:50 ?        00:00:00 [kworker/0:2-events]
root         152       2  0 08:50 ?        00:00:00 [kworker/0:3-rcu_gp]
root         153       2  0 08:50 ?        00:00:00 [kworker/0:4-events]
root         154       2  0 08:50 ?        00:00:00 [irq/92-axp806]
root         155       2  0 08:50 ?        00:00:00 [irq/105-ths]
root         156       2  0 08:50 ?        00:00:00 [kworker/u8:5-events_unbound
root         157       2  0 08:50 ?        00:00:00 [kworker/u8:6-events_unbound
root         158       2  0 08:50 ?        00:00:00 [kworker/3:2-rcu_gp]
root         159       2  0 08:50 ?        00:00:00 [kworker/3:3-events]
root         160       2  0 08:50 ?        00:00:00 [irq/241-sunxi-mmc]
root         161       2  0 08:50 ?        00:00:00 [irq/242-sunxi-mmc]
root         162       2  0 08:50 ?        00:00:00 [irq/243-sunxi-mmc]
root         163       2  0 08:50 ?        00:00:00 [irq/244-6000000.hdmi]
root         164       2  0 08:50 ?        00:00:00 [card0-crtc0]
root         165       2  0 08:50 ?        00:00:00 [irq/148-4020000.mmc cd]
root         166       2  0 08:50 ?        00:00:00 [kworker/R-mmc_c]
root         167       2  0 08:50 ?        00:00:00 [kworker/3:1H-kblockd]
root         168       2  0 08:50 ?        00:00:00 [kworker/2:3-events]
root         169       2  0 08:50 ?        00:00:00 [kworker/u8:7-events_unbound
root         176       2  0 08:50 ?        00:00:00 [kworker/R-mmc_c]
root         178       2  0 08:50 ?        00:00:00 [kworker/1:1H-kblockd]
root         214       2  0 08:50 ?        00:00:00 [kworker/0:2H-mmc_complete]
root         215       2  0 08:50 ?        00:00:00 [kworker/0:3H]
root         216       2  0 08:50 ?        00:00:00 [kworker/1:2H-kblockd]
root         218       2  0 08:50 ?        00:00:00 [kworker/R-stmma]
root         235       1  3 08:50 ?        00:00:06 /usr/sbin/plymouthd --mode=b
root         255       2  0 08:50 ?        00:00:00 [jbd2/mmcblk0p5-8]
root         256       2  0 08:50 ?        00:00:00 [kworker/R-ext4-]
root         297       1  0 08:50 ?        00:00:00 /usr/lib/systemd/systemd-jou
root         309       2  0 08:50 ?        00:00:00 [kworker/3:2H]
root         311       1  0 08:50 ?        00:00:00 /usr/lib/systemd/systemd-use
root         336       2  0 08:50 ?        00:00:00 [psimon]
root         342       2  0 08:50 ?        00:00:00 [kworker/2:2H]
root         344       1  0 08:50 ?        00:00:00 /usr/lib/systemd/systemd-ude
root         348       2  0 08:50 ?        00:00:00 [psimon]
systemd+     352       1  0 08:50 ?        00:00:00 /usr/lib/systemd/systemd-net
root         379       2  0 08:50 ?        00:00:00 [kworker/R-cfg80]
root         380       2  0 08:50 ?        00:00:00 [irq/252-panfrost-mmu]
root         381       2  0 08:50 ?        00:00:00 [irq/253-panfrost-job]
root         382       2  0 08:50 ?        00:00:00 [pan_js]
root         383       2  0 08:50 ?        00:00:00 [pan_js]
root         384       2  0 08:50 ?        00:00:00 [pan_js]
root         389       2  0 08:50 ?        00:00:00 [cec-dw_hdmi]
root         390       2  0 08:50 ?        00:00:00 [irq/244-dw-hdmi-cec]
root         392       2  0 08:50 ?        00:00:00 [rc0]
root         411     311  0 08:50 ?        00:00:00 systemd-userwork: waiting...
root         412     311  0 08:50 ?        00:00:00 systemd-userwork: waiting...
root         413     311  0 08:50 ?        00:00:00 systemd-userwork: waiting...
systemd+     415       1  2 08:50 ?        00:00:04 /usr/lib/systemd/systemd-res
message+     420       1  0 08:50 ?        00:00:00 /usr/bin/dbus-daemon --syste
root         422       1  0 08:50 ?        00:00:00 /usr/lib/systemd/systemd-log
ntp          427       1  0 08:50 ?        00:00:00 /usr/sbin/chronyd -u ntp -F
root         433       1  0 08:50 ?        00:00:00 /usr/sbin/NetworkManager --n
root         453       1  0 08:50 ?        00:00:00 sshd: /usr/sbin/sshd -D -e [
root         458       1  0 08:50 tty1     00:00:00 /sbin/agetty -o -p -- \u --n
root         459       1  0 08:50 ttyS0    00:00:00 /bin/login -p --
root         481       2  0 08:51 ?        00:00:00 [psimon]
root         483       1  0 08:51 ?        00:00:00 /usr/lib/systemd/systemd --u
root         484     483  0 08:51 ?        00:00:00 (sd-pam)
root         492       2  0 08:51 ?        00:00:00 [psimon]
root         495     459  0 08:51 ttyS0    00:00:00 -bash
root         506     495 99 08:53 ttyS0    00:00:00 ps -ef
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Gentoo on ARM All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum