On 16/08/2015 21:42, walt wrote: > On Sun, 16 Aug 2015 18:58:27 +0200 > Alan McKinnon <alan.mckin...@gmail.com> wrote: > >> On 16/08/2015 18:45, walt wrote: >>> I've been seeing this keyboard problem for the past few weeks: >>> after running some command from a bash prompt (haven't tried zsh >>> yet) the keyboard stops working. Almost like somebody unplugged >>> the keyboard from its usb port (except that the LED on the keyboard >>> stays lit so I know the power is still on). >>> >>> There are no error messages in journalctl or in /var/log/Xorg.0.log >>> >>> I don't know how to change to a console without using a ctrl-alt-Fn >>> keystroke from the keyboard (anyone know if it's possible?). >>> >>> When I unplug the keyboard from the usb port I can see the kernel >>> recognize the unplug event, which makes me think that it's not a >>> kernel/usb bug or a broken wire in the keyboard cable. >>> >>> When I re-plug the keyboard into a usb port the keyboard immediately >>> starts working normally again until the next time I happen to >>> trigger the problem by running some black-magical command from a >>> command prompt. There is no particular command that causes it--it >>> can be any arbitrary command AFAICT. >>> >>> Just one weird example: I can be typing a URL in a web browser >>> window when a bash command finishes running in a terminal window >>> and the keyboard stops working in the middle of my typing :( >>> >>> Any debugging suggestions would be most welcome. >> >> >> First step (more to half the problem space than anything else): >> >> Does the same happen if you use another keyboard? > > I agree with your assessment -- and I will buy another usb keyboard > tomorrow because I'm using the only one I have and this machine has no > ps/2 ports. Never thought I'd miss the ps/2 ports til now :)
I kind of assumed you'd have lots of spare keyboards lying around and had already done the test :-) I myself have 4 spares lying around my home study, all functional, and I'm totally at a loss to explain why so many! Anyway, back on topic. I recall something similar happening to me, perhaps a year ago or longer. I tried to debug it and gave up, then one day it was no longer happening. I assumed it was a fixed kernel bug then promptly forgot all about it. While you are waiting on a new keyboard, do you have the same bug on different kernels? -- Alan McKinnon alan.mckin...@gmail.com