[opensuse] Repeated key syndrome
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Hi, I was doing nothing, watching the TV, which is a set on the wall behind the computer. Then I tried to look at something on the computer, and I typed "ctrl-alt-right". No response. The mouse responded, but not the keyboard. The lights in the keyboard (numeric block, upper case block), responded. But nothing on the screen. I typed ctrl-alt-f1, this worked. Immediately I saw in the screen this text: cer@Telcontar:~> Display all 6736 possibilities? (y or n) I had to type no, and same question. I maintained the "n" key pressed, and I go a non stop flow of the question and the answer. Somehow I pressed something, and I got a non-stop of "^[^[^[^[^[^[^[^[^[^[^[^[..." chars. If I typed something, it appeared interspersed. (I'm not sure if I saw this stream in the xterm before going to text mode or not) I unplugged the keyboard: non-stop flow of those chars! So it was not the keyboard hardware. I sshed-in from a laptop: I run top, nothing obvious. In the end, I had to reboot the computer. I could see the flow of chars somewhere in the stop sequence. Now things seem normal. What could have been the problem? There is nothing in the log, except the unplug event: <1.6> 2013-09-24 22:23:55 Telcontar run-crons 2216 - - suse.de-cron-local: OK <1.6> 2013-09-24 22:23:55 Telcontar run-crons 2216 - - suse.de-faxcron: OK <1.6> 2013-09-24 22:23:56 Telcontar run-crons 2216 - - suse.de-snapper: OK <1.6> 2013-09-24 23:15:01 Telcontar run-crons 3891 - - suse.de-snapper: OK <0.6> 2013-09-24 23:45:01 Telcontar rsyslogd - - - -- MARK -- <9.6> 2013-09-25 00:00:01 Telcontar 4876 - - (root) CMD ( test -x /usr/lib/secchk/security-control.sh && /usr/lib/secchk/security-control.sh daily &) <1.6> 2013-09-25 00:15:01 Telcontar run-crons 5934 - - suse.de-snapper: OK <0.6> 2013-09-25 00:45:01 Telcontar rsyslogd - - - -- MARK -- <1.6> 2013-09-25 01:15:01 Telcontar run-crons 7104 - - suse.de-snapper: OK <0.6> 2013-09-25 01:16:47 Telcontar kernel - - - [377555.716057] usb 1-1: USB disconnect, device number 2 <0.6> 2013-09-25 01:16:52 Telcontar kernel - - - [377559.859145] usb 1-1: new high-speed USB device number 21 using ehci_hcd <0.6> 2013-09-25 01:16:52 Telcontar kernel - - - [377559.974274] usb 1-1: New USB device found, idVendor=05e3, idProduct=0608 <0.6> 2013-09-25 01:16:52 Telcontar kernel - - - [377559.974278] usb 1-1: New USB device strings: Mfr=0, Product=1, SerialNumber=0 <0.6> 2013-09-25 01:16:52 Telcontar kernel - - - [377559.974281] usb 1-1: Product: USB2.0 Hub <0.6> 2013-09-25 01:16:52 Telcontar kernel - - - [377559.974690] hub 1-1:1.0: USB hub found <0.6> 2013-09-25 01:16:52 Telcontar kernel - - - [377559.975060] hub 1-1:1.0: 4 ports detected <0.6> 2013-09-25 01:16:54 Telcontar kernel - - - [377562.704130] usb 3-2: USB disconnect, device number 2 <0.6> 2013-09-25 01:16:59 Telcontar kernel - - - [377566.723027] usb 3-2: new low-speed USB device number 3 using uhci_hcd <0.6> 2013-09-25 01:16:59 Telcontar kernel - - - [377566.950032] usb 3-2: New USB device found, idVendor=04d9, idProduct=2020 <0.6> 2013-09-25 01:16:59 Telcontar kernel - - - [377566.950037] usb 3-2: New USB device strings: Mfr=1, Product=2, SerialNumber=0 <0.6> 2013-09-25 01:16:59 Telcontar kernel - - - [377566.950040] usb 3-2: Product: USB Keyboard <0.6> 2013-09-25 01:16:59 Telcontar kernel - - - [377566.950043] usb 3-2: Manufacturer: CYKB13 <0.6> 2013-09-25 01:16:59 Telcontar kernel - - - [377566.992378] input: CYKB13 USB Keyboard as /devices/pci0000:00/0000:00:1a.0/usb3/3-2/3-2:1.0/input/input8 <0.6> 2013-09-25 01:16:59 Telcontar kernel - - - [377566.992494] hid-generic 0003:04D9:2020.0005: input,hidraw0: USB HID v1.10 Keyboard [CYKB13 USB Keyboard] on usb-0000:00:1a.0-2/input0 <0.6> 2013-09-25 01:16:59 Telcontar kernel - - - [377567.089356] input: CYKB13 USB Keyboard as /devices/pci0000:00/0000:00:1a.0/usb3/3-2/3-2:1.1/input/input9 <0.6> 2013-09-25 01:16:59 Telcontar kernel - - - [377567.089459] hid-generic 0003:04D9:2020.0006: input,hidraw1: USB HID v1.10 Device [CYKB13 USB Keyboard] on usb-0000:00:1a.0-2/input1 <1.6> 2013-09-25 01:16:59 Telcontar mtp-probe - - - checking bus 3, device 3: "/sys/devices/pci0000:00/0000:00:1a.0/usb3/3-2" <1.6> 2013-09-25 01:16:59 Telcontar mtp-probe - - - bus: 3, device: 3 was not an MTP device <0.6> 2013-09-25 01:18:55 Telcontar kernel - - - [377683.202092] usb 1-1: USB disconnect, device number 21 <0.6> 2013-09-25 01:18:55 Telcontar kernel - - - [377683.204061] usb 3-2: USB disconnect, device number 3 <4.6> 2013-09-25 01:20:34 Telcontar sshd 7257 - - Accepted keyboard-interactive/pam for root from 192.168.1.15 port 51712 ssh2 <4.6> 2013-09-25 01:20:34 Telcontar systemd-logind 1014 - - New session 2220 of user root. <3.6> 2013-09-25 01:20:58 Telcontar systemd 1 - - Stopping /sys/devices/virtual/block/dm-1. <3.6> 2013-09-25 01:20:58 Telcontar systemd 1 - - last message repeated 5 times <3.6> 2013-09-25 01:20:58 Telcontar systemd 1 - - Stopping /sys/devices/virtual/block/dm-2. <3.6> 2013-09-25 01:20:58 Telcontar systemd 1 - - last message repeated 5 times <3.6> 2013-09-25 01:20:58 Telcontar systemd 1 - - Unmounting /data/raid... <3.6> 2013-09-25 01:20:58 Telcontar systemd 1 - - Deactivating swap /dev/sdc7... <3.6> 2013-09-25 01:20:58 Telcontar systemd 1 - - Deactivating swap /dev/sdc7... <3.6> 2013-09-25 01:20:58 Telcontar systemd 1 - - Deactivating swap /dev/sdb6... <3.6> 2013-09-25 01:20:58 Telcontar systemd 1 - - Stopping /sys/devices/virtual/block/dm-0. <3.6> 2013-09-25 01:20:58 Telcontar systemd 1 - - Unmounting /var/run/vmblock-fuse... <3.6> 2013-09-25 01:20:58 Telcontar systemd 1 - - Unmounting /var/run/user/1000/gvfs... <3.6> 2013-09-25 01:20:58 Telcontar systemd 1 - - Stopping Remote File Systems (Pre). <3.6> 2013-09-25 01:20:58 Telcontar systemd 1 - - Stopping Daemon for power management... <3.6> 2013-09-25 01:20:58 Telcontar systemd 1 - - Stopping Authorization Manager... <3.6> 2013-09-25 01:20:58 Telcontar systemd 1 - - Stopping helloworld.service... <3.6> 2013-09-25 01:20:58 Telcontar systemd 1 - - Stopping Multi-User. <3.6> 2013-09-25 01:20:58 Telcontar systemd 1 - - Stopping LSB: virus scanner daemon... <3.6> 2013-09-25 01:20:58 Telcontar systemd 1 - - Stopping LSB: Starts the xinet daemon. Be aware that xinetd doesn't start if no service is configured to run under it. To enable xinetd services go to YaST Network Services (xinetd) section.... <3.6> 2013-09-25 01:20:59 Telcontar systemd 1 - - Stopping LSB: mdadmd daemon monitoring MD devices... <3.6> 2013-09-25 01:20:59 Telcontar systemd 1 - - Stopping LSB: This services starts and stops the USB Arbitrator.... <5.6> 2013-09-25 01:21:05 Telcontar rsyslogd - - - [origin software="rsyslogd" swVersion="7.2.7" x-pid="24485" x-info="http://www.rsyslog.com"] exiting on signal 15. 2013-09-25 01:21:10+02:00 - Halting the system now =========================================== uptime: 01:21am up 9 days 22:51, 0 users, load average: 12.93, 2.99, 1.19 2013-09-25 01:22:59+02:00 - Booting the system now ================================================================================ Linux Telcontar.valinor 3.7.10-1.16-desktop #1 SMP PREEMPT Fri May 31 20:21:23 UTC 2013 (97c14ba) x86_64 x86_64 x86_64 GNU/Linux <5.6> 2013-09-25 01:23:00 Telcontar rsyslogd - - - [origin software="rsyslogd" swVersion="7.2.7" x-pid="1449" x-info="http://www.rsyslog.com"] start - -- Cheers, Carlos E. R. -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.19 (GNU/Linux) iEYEARECAAYFAlJCKq4ACgkQtTMYHG2NR9WRMACeLcRTBHVL7wF/Kix4b8daR/qK z4cAn1gOp0PpGhjzBFFZwU3NSxKvSF0i =8AoF -----END PGP SIGNATURE----- -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
On Wed, 25 Sep 2013 02:13:34 +0200, Carlos E. R. wrote:
I had to type no, and same question. I maintained the "n" key pressed, and I go a non stop flow of the question and the answer. Somehow I pressed something, and I got a non-stop of "^[^[^[^[^[^[^[^[^[^[^[^[..." chars. If I typed something, it appeared interspersed.
USB keyboard? I see this every once in a while (I figured it was something related to my KVM switch); pressing the offending key seems to fix it when it happens for me. Jim -- Jim Henderson Please keep on-topic replies on the list so everyone benefits -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On Wednesday, 2013-09-25 at 00:55 -0000, Jim Henderson wrote:
On Wed, 25 Sep 2013 02:13:34 +0200, Carlos E. R. wrote:
I had to type no, and same question. I maintained the "n" key pressed, and I go a non stop flow of the question and the answer. Somehow I pressed something, and I got a non-stop of "^[^[^[^[^[^[^[^[^[^[^[^[..." chars. If I typed something, it appeared interspersed.
USB keyboard? I see this every once in a while (I figured it was something related to my KVM switch); pressing the offending key seems to fix it when it happens for me.
Yes, USB keyboard, new (±15 days). But I unplugged it completely, yet the key stream continued. I think the hey was the tab, I'm unsure if I typed it or not. I assumed that there was a lot of some key in the buffer, but after a minute it did not stop... so I rebooted. My older keyboard, a classical PS2 unit, died. I did not find a replacement of same kind, so I got a usb unit instead... We would need some command, typed on another computer via ssh, to restart the keyboard. - -- Cheers, Carlos E. R. (from 12.3 x86_64 "Dartmouth" at Telcontar) -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.19 (GNU/Linux) iEUEARECAAYFAlJCOuIACgkQtTMYHG2NR9UjEwCY1T3K1iuBpnEaA0AqnbppUcdK 9QCfahn0Kb+ejSu9wLDpSxL1yGRzek4= =sDhy -----END PGP SIGNATURE-----
On Wed, 25 Sep 2013 03:22:42 +0200, Carlos E. R. wrote:
Yes, USB keyboard, new (±15 days). But I unplugged it completely, yet the key stream continued. I think the hey was the tab, I'm unsure if I typed it or not.
I assumed that there was a lot of some key in the buffer, but after a minute it did not stop... so I rebooted.
From what I recall, keyboards issue two events when you press a key - a "key press", and a "key release". If the key release event doesn't register for some reason, that would cause the behaviour you saw (and that I've seen).
That also explains why pressing the key and releasing it again causes it to stop. I don't think this is a buffering issue, I think it's a USB "key release" event issue, based on my own experiences. Interestingly, though, my keyboard and KVM are PS/2 style, but the machine I have the problem with doesn't have a PS/2 port on it, so I use a PS/2-to-USB adapter for the keyboard and touchpad. That's probably why I've never thought about it as a potential issue for others - because there are two intermediate devices between my keyboard and the system. If you end up reproducing it, try hitting the stuck key and releasing it and see what happens. I'd bet that it stops. Jim -- Jim Henderson Please keep on-topic replies on the list so everyone benefits -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On Wednesday, 2013-09-25 at 01:40 -0000, Jim Henderson wrote:
On Wed, 25 Sep 2013 03:22:42 +0200, Carlos E. R. wrote:
Yes, USB keyboard, new (±15 days). But I unplugged it completely, yet the key stream continued. I think the hey was the tab, I'm unsure if I typed it or not.
I assumed that there was a lot of some key in the buffer, but after a minute it did not stop... so I rebooted.
From what I recall, keyboards issue two events when you press a key - a "key press", and a "key release".
Er... mmm... yes, you are right. It's way more than a decade or two since I read that, an the bios code handling that. I forgot. It serves to debounce the clicks.
If the key release event doesn't register for some reason, that would cause the behaviour you saw (and that I've seen).
Yes... it is starting to make sense.
That also explains why pressing the key and releasing it again causes it to stop.
I don't think this is a buffering issue, I think it's a USB "key release" event issue, based on my own experiences.
My new keyboard is a mechanical unit, gamer type: it can buffer key presses inside, and allows several simultaneous keypresses. 8 perhaps. Which is why it continues reading other keys, I guess.
Interestingly, though, my keyboard and KVM are PS/2 style, but the machine I have the problem with doesn't have a PS/2 port on it, so I use a PS/2-to-USB adapter for the keyboard and touchpad.
That's probably why I've never thought about it as a potential issue for others - because there are two intermediate devices between my keyboard and the system.
If you end up reproducing it, try hitting the stuck key and releasing it and see what happens. I'd bet that it stops.
I'll try to remember. It may be weeks. :-} The problem is also finding which key it is, when it is not a letter. - -- Cheers, Carlos E. R. (from 12.3 x86_64 "Dartmouth" at Telcontar) -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.19 (GNU/Linux) iEYEARECAAYFAlJCR+4ACgkQtTMYHG2NR9VKiQCgg34goFFqOxl2d+l+hq5L7DA1 V5EAnjcB1OKuIqQlYNgavRaTNeAp6e8U =aC8Q -----END PGP SIGNATURE-----
Carlos E. R. wrote:
The problem is also finding which key it is, when it is not a letter.
^[ is the Escape key FWIW, I just tried pressing sequences of ESC and ^[ on my keyboard in a terminal. If I press ESC five times after some other command, it says: Display all 3691 possibilities? (y or n) If I just keep pressing ESC, it says that on every third press. I've no idea why. Cheers, Dave -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
On Wed, 25 Sep 2013 11:03:00 +0100, Dave Howorth wrote:
If I just keep pressing ESC, it says that on every third press. I've no idea why.
Seems to be a bash thing - I use tcsh as my default shell, and it doesn't work there, but if I start bash, I see similar behaviour. The esc key is the meta key, so there must be a key binding somewhere that defines what it does. I get the exact same output hitting tab twice, too. Jim -- Jim Henderson Please keep on-topic replies on the list so everyone benefits -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
On Wednesday, September 25, 2013 04:15:45 PM Jim Henderson wrote:
On Wed, 25 Sep 2013 11:03:00 +0100, Dave Howorth wrote:
If I just keep pressing ESC, it says that on every third press. I've no idea why.
Seems to be a bash thing - I use tcsh as my default shell, and it doesn't work there, but if I start bash, I see similar behaviour. The esc key is the meta key, so there must be a key binding somewhere that defines what it does. I get the exact same output hitting tab twice, too.
Do you have any bash completion packages inatalled? I have these: subversion-bash-completion bash-completion Maybe this mechanism interacts with the ESC key? -- Yours sincerely, Roger Oberholtzer Ramböll RST / Systems Office: Int +46 10-615 60 20 Mobile: Int +46 70-815 1696 roger.oberholtzer@ramboll.se ________________________________________ Ramböll Sverige AB Krukmakargatan 21 P.O. Box 17009 SE-104 62 Stockholm, Sweden www.rambollrst.se -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
Roger Oberholtzer wrote:
On Wednesday, September 25, 2013 04:15:45 PM Jim Henderson wrote:
If I just keep pressing ESC, it says that on every third press. I've no idea why. Seems to be a bash thing - I use tcsh as my default shell, and it doesn't work there, but if I start bash, I see similar behaviour. The esc key is
On Wed, 25 Sep 2013 11:03:00 +0100, Dave Howorth wrote: the meta key, so there must be a key binding somewhere that defines what it does. I get the exact same output hitting tab twice, too.
Do you have any bash completion packages inatalled? I have these:
subversion-bash-completion bash-completion
Maybe this mechanism interacts with the ESC key?
Well spotted, Roger! Yes I get the same message if I press the TAB key repeatedly, And the 3691 things it wants to list are indeed the commands available to me. -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
Dave Howorth wrote:
Roger Oberholtzer wrote:
Do you have any bash completion packages inatalled? I have these:
subversion-bash-completion bash-completion
Maybe this mechanism interacts with the ESC key?
Well spotted, Roger! Yes I get the same message if I press the TAB key repeatedly, And the 3691 things it wants to list are indeed the commands available to me.
TAB is the default completion key, so that makes sense. multiple ESC's don't do anything on my BASH... but here's a possibility... I'm in "vi" edit mode in my bash -- ESC can't be used for Meta, since it's used for changing vi modes. I use the 'high bit' for Meta...so maybe that, or the fact that I'm in vi mode? -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
participants (6)
-
Carlos E. R.
-
Carlos E. R.
-
Dave Howorth
-
Jim Henderson
-
Linda Walsh
-
Roger Oberholtzer