Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.user > #206443 > unrolled thread

Re: why key repeating fails?

Started byLong Wind <longwind2@yahoo.com>
First post2019-03-21 22:50 +0100
Last post2019-03-22 11:20 +0100
Articles 2 — 2 participants

Back to article view | Back to linux.debian.user

This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by below is the oldest one visible, not the original post.


Contents

  Re: why key repeating fails? Long Wind <longwind2@yahoo.com> - 2019-03-21 22:50 +0100
    Re: why key repeating fails? Curt <curty@free.fr> - 2019-03-22 11:20 +0100

#206443 — Re: why key repeating fails?

FromLong Wind <longwind2@yahoo.com>
Date2019-03-21 22:50 +0100
SubjectRe: why key repeating fails?
Message-ID<xEdJv-7h2-7@gated-at.bofh.it>

[Multipart message — attachments visible in raw view] — view raw

it fails after i use stretch for more than a few hours

(i'm not aware of any keyboard/mouse input that might cause key repeating failure)
i try "xset r on", it doesn't helpkey repeating is still ok in tty (text mode)but i use X window most of time


 

    On Thursday, March 21, 2019 3:17 AM, Long Wind <longwind2@yahoo.com> wrote:
 

 Thank David!
but currently key repeating works, i have to wait until it fails 
so that i can test commands you mention
unplugging and plugging keyboard again doesn't seem to help 



       On Wednesday, March 20, 2019 10:33 PM, David Wright <deblis@lionunicorn.co.uk> wrote:
 

 On Wed 20 Mar 2019 at 06:30:28 (+0000), Long Wind wrote:
> holding down a key is equal to repeatedly pressing a keythis usually work in stretch at firstbut after some time, it mysteriously fails
> it can't be solved by logging out and logging again
> 
> how to troubleshoot it?? Thanks!
For consoles:

setterm --repeat on/off can change whether the keys repeat or not,
and that can differ for each console. It lasts on that console
until you fully logoff from it.

But perhaps something is messing with kbdrate. Logging out and
back in won't affect that unless you set the repetition rate in
your startup files.¹ The values attach to the keyboard, not to
each individual console, whether it's logged in or not.
To find out the current values, you have to set new ones, whereupon
it prints the previous values too. Try that and see if repetition
comes back to life.

X is different:

Try  xset r on  to see if that fixes it. If not, try
xset r rate 200 5  and see if that produces a very slow repeat.
If so, use values to your taste. The values are global to the
server instance AIUI.

¹ I think I recall Cindy talking about keys double-striking when
entering the password. I tested adding a line to root's crontab:
 @reboot /sbin/kbdrate -r 5 -d 500 -s
and found that you can see the slower rate kick in if you hold down
a key at the first login: prompt. (This cures the double-striking.)

Cheers,
David.



   

[toc] | [next] | [standalone]


#206447

FromCurt <curty@free.fr>
Date2019-03-22 11:20 +0100
Message-ID<xEprk-679-5@gated-at.bofh.it>
In reply to#206443
On 2019-03-21, Long Wind <longwind2@yahoo.com> wrote:
>
> it fails after i use stretch for more than a few hours
>
> (i'm not aware of any keyboard/mouse input that might cause key
> repeating f ailure) i try "xset r on", it doesn't helpkey repeating is
> still ok in tty (text mo de)but i use X window most of time
>
>

Is this a laptop?

I've read that disabling the PEAQ WMI hotkeys works around the problem
(peaq_wmi module).

I guess 'xinput list' would tell you whether the module is loaded (or
'lsmod'). If so

 sudo rmmod peaq_wmi

If that works you could blacklist the thing (of whose purpose I have no
notion).

If not, sorry pal.

[toc] | [prev] | [standalone]


Back to top | Article view | linux.debian.user


csiph-web