FS#2049 - Keypresses get lost in VC's

Attached to Project: Arch Linux
Opened by Glenn Matthys (RedShift) - Friday, 21 January 2005, 21:02 GMT
Task Type Bug Report
Category System
Status Closed
Assigned To No-one
Architecture not specified
Severity Critical
Priority Normal
Reported Version 0.7 Wombat
Due in Version Undecided
Due Date Undecided
Percent Complete 0%
Votes 0
Private No

Details

In the virtual consoles (VC/1, VC/2, etc...), keypresses get lost. I have to repeadtly tap my keyboard before the keypress gets recognised.
Either the VC's are not registering my keypresses, or aren't doing anything with it. It seems to have a occured after a pacman -Syu, and then a reboot. These packages were upgraded:

db (4.2.52-1 -> 4.2.52.2-2)
dbus (0.23-1 -> 0.23-2)
sed (4.1.2-2 -> 4.1.3-1)
vte (0.11.11-2 -> 0.11.11-3)

vte may be the source of the problems, but I currently can't find the 0.11.11-2 package file.

It seems to be entirely random, for example, I enter
ls
and only the l or the s shows up. Same thing for tab and backspace. So far the entire keyboard seems to be affected. The weird part about this all is that in X, everything works fine, and running an ncurses applications like irssi works fine too. To my knowledge only the terminal VC1, VC2, ... are affected. I do have a /dev/vc and /dev/vcc device.

I am using a compaq armada m 700 laptop. It is certainly *NOT* a hardware problem, the problem persists using an USB keyboard.

Do note I am using my own kernel build, based on kernel 2.6.9. I used the stock archlinux config file, and only added support for software suspend.

If you need more information, don't hesitate to contact me.
This task depends upon

Closed by  Jan de Groot (JGC)
Monday, 24 January 2005, 21:43 GMT
Reason for closing:  Fixed
Additional comments about closing:  Fixed in latest dbus package
Comment by Jan de Groot (JGC) - Friday, 21 January 2005, 22:52 GMT
Hmm, Dale had the same problem. After restoring default preferences in gnome-terminal, everything was fine again. The weird thing: his gnome-terminal works fine in a gnome environment, but has the things you describe in an XFCE environment
Comment by Raven Morris (Samus_Aran) - Saturday, 22 January 2005, 05:26 GMT
I have had the same problem on my system (custom 2.6.10_RC2 kernel, everything else up to date Arch Linux packages) after the most recent dbus upgrade.

I am submitting an additional bug report about another related dbus issue. It is a 100% reproduceable loss of keystrokes in the keyboard buffer, unlike this one where it is random.
Comment by Raven Morris (Samus_Aran) - Saturday, 22 January 2005, 05:55 GMT
The related issue has been posted as 2053, if anyone wants to view it. I don't seem to have permission to add a "Related Task", so will do this as a comment.
Comment by Glenn Matthys (RedShift) - Saturday, 22 January 2005, 07:33 GMT
Downgrading to dbus 0.23-1 (current is 0.23-2) solves this problem, the problem thus lies with dbus.
Comment by Raven Morris (Samus_Aran) - Saturday, 22 January 2005, 23:21 GMT
Glenn Matthys, the problem appears to be in the /etc/profile.d/dbus.sh script, which runs a background service every time a shell login happens. It seems that this service is what was causing the random keyboard problems.

Please note that when I restarted X, my "random keypresses missing" problem went away. The "keyboard buffer being erased on login" problem was due to the dbus.sh script.

Hope that might help.

Loading...