Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 247543 - After the last xorg update the keyboard doesn't work on the console anymore
Summary: After the last xorg update the keyboard doesn't work on the console anymore
Status: RESOLVED TEST-REQUEST
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal with 1 vote (vote)
Assignee: Jeremy Olexa (darkside) (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-11-19 05:12 UTC by Heiko Baums
Modified: 2011-08-18 10:43 UTC (History)
4 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
xorg.conf (xorg.conf,6.65 KB, text/plain)
2008-11-19 16:04 UTC, Heiko Baums
Details
Xorg.0.log (Xorg.0.log,14.51 KB, text/plain)
2008-11-19 16:04 UTC, Heiko Baums
Details
dmesg.log (dmesg.log,15.09 KB, text/plain)
2008-11-19 16:05 UTC, Heiko Baums
Details
emerge --info (emergeinfo,4.72 KB, text/plain)
2008-11-19 16:06 UTC, Heiko Baums
Details
Xorg.0.log from Archlinux (Xorg.0.log.archlinux,25.54 KB, text/plain)
2008-11-19 16:07 UTC, Heiko Baums
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Heiko Baums 2008-11-19 05:12:16 UTC
A few days ago I did the last `emerge -uDN @system @world` which also updated one or more parts of x11-base/xorg.

Now when I log into an xorg session - doesn't matter if it's KDE or Xfce - the keyboard seems to work in X, but if I switch to the console by pressing Ctrl-Alt-F1, the keyboard doesn't work anymore. I have to press very often onto one key, before the keyboard and bash react. It's so extreme that I can't do anything on the console, when I'm logged in an X session.

When I switch back to X by pressing Alt-F7, the keyboard is responding much better but not as fast as it did after the first X login.

As soon as I log out and only see the graphical login manager, in my case slim, because kdm-3.5.9 also doesn't work anymore, the keyboard works correctly and reacts as fast as usual in slim as well as on the console.

I don't get any error messages. And I think this is an upstream bug, because I've got the same problem on Archlinux, too.

Please tell me, which informations you need.
Comment 1 Heiko Baums 2008-11-19 05:31:10 UTC
Filed a bug report to upstream, too.
https://bugs.freedesktop.org/show_bug.cgi?id=18622
Comment 2 Heiko Baums 2008-11-19 16:04:11 UTC
Created attachment 172381 [details]
xorg.conf
Comment 3 Heiko Baums 2008-11-19 16:04:36 UTC
Created attachment 172382 [details]
Xorg.0.log
Comment 4 Heiko Baums 2008-11-19 16:05:24 UTC
Created attachment 172384 [details]
dmesg.log
Comment 5 Heiko Baums 2008-11-19 16:06:02 UTC
Created attachment 172386 [details]
emerge --info
Comment 6 Heiko Baums 2008-11-19 16:07:01 UTC
Created attachment 172388 [details]
Xorg.0.log from Archlinux
Comment 7 Heiko Baums 2008-11-19 16:10:36 UTC
Here are some logfiles.

The error messages in Xorg.0.log appear only since the last xorg update. With previous versions I didn't have these error messages. They also seem to be Gentoo specific, because I don't have these error messages on Archlinux. On Archlinux I have some different error messages regarding the keyboard, after I've logged in into an X session. But on both distributions I've got the same keyboard problem, described in my original bugreport.

I've also attached my Xorg.0.log from Archlinux, just in case. Maybe it helps.

I'm using the same xorg.conf on both distributions and on both distributions I have installed hal and xf86-input-evdev. On Gentoo I've also tried to uninstall xf86-input-evdev, because I don't need it, but this didn't change anything.
Comment 8 Heiko Baums 2008-11-20 01:59:23 UTC
After thinking about this problem and trying a bit more, I found out something very interesting.

Because there's still only slim-1.3.0, which I can't use due to some bugs, in the official Archlinux repositories, I always logged into the text console (vt/1) and started X by running startx on Archlinux. If I needed the text console during the X session, I needed to switch to vt/2 (Ctrl-Alt-F2). The keyboard worked perfectly as usual.

Now that I found an updated slim package in AUR (Arch User Repository) and updated to slim-1.3.1 on Archlinux, I start slim at boottime on Archlinux. When I now need the text console during an X session I switch to vt/1 (Ctrl-Alt-F1). And since then I have these problems.

Now I've tried not to load X at boottime on Gentoo, logged into the text terminal (tty1), started X by running startx (I've hardly ever done this on Gentoo before) and switched to tty2 (Ctrl-Alt-F2). Lo and behold! The keyboard works perfectly again.

Then I've started X on Gentoo at boottime again, logged into an X session, switched to tty2 (Ctrl-Alt-F2) and the keyboard works again. Then I've switched to tty1 (Alt-F1) and the keyboard problem appeared again, but only on tty1 not on tty2.

So on both Gentoo and Archlinux this problem occurs only on the first text console (tty1 on Gentoo and vt/1 on Archlinux).
Comment 9 Heiko Baums 2008-11-20 02:07:51 UTC
The keyboard problem on the first text console only appears, when an X session (KDE or Xfce) is running.
When only slim is running or X is not running, the keyboard reacts perfectly also on the first console.
Comment 10 Rafał Mużyło 2008-11-20 17:34:10 UTC
Just to make sure, you're using xorg-server 1.5.3, right ?
Cause this looks like a configuration problem or a misunderstanding.

I've never used 'start X at boot' option,
but I suspect it's starting X at vt7, but from vt1, doesn't it 
(I'm asking about the tty, where the messages of xorg-server starting
go) ?
Comment 11 Jeroen Roovers (RETIRED) gentoo-dev 2008-11-20 18:10:59 UTC
I'm sure I have seen a similar bug before...
Comment 12 Heiko Baums 2008-11-20 20:46:11 UTC
(In reply to comment #10)
> Just to make sure, you're using xorg-server 1.5.3, right ?

I'm using xorg-server 1.5.2 on Gentoo. But on Archlinux, where I have the same problem, I'm using xorg-server 1.4.2.

> Cause this looks like a configuration problem or a misunderstanding.

But neither on Gentoo nor on Archlinux I have changed anything at the xorg configuration.

I've downgraded udev from 130 to 125. My first impression was, that now the keyboard reacts a bit faster again on vt1 with udev 125 but not so much.

It's quite curious, but I can't say, what was updated during my `emerge -uDN world` last week. There have been 290 packages updated.

> I've never used 'start X at boot' option,
> but I suspect it's starting X at vt7, but from vt1, doesn't it 
> (I'm asking about the tty, where the messages of xorg-server starting
> go) ?

X is always starting at vt7 when started at boottime by /etc/init.d/xdm start and when started from vt1 by startx.

Or can this something have to do with fbsplash and fbcondecor? But I don't think so, because both weren't updated before the keyboard problem occured. And on Archlinux I deactivated fbsplash and booted with the official Archlinux stock kernel, which doesn't include fbcondecor, but the problem was still there.
Comment 13 Heiko Baums 2009-05-29 02:15:51 UTC
It can be, that this bug is not a bug in xorg but in slim, because on Arch Linux I now installed gdm in addition to slim and don't have this problem, when using gdm instead of slim.

See my bug report for slim:
http://developer.berlios.de/bugs/?func=detailbug&bug_id=15769&group_id=2663
Comment 14 Rémi Cardona (RETIRED) gentoo-dev 2009-06-23 22:22:07 UTC
Not sure what slim does exactly, but if you can't reproduce with gdm, then let's reassign this to slim's maintainer :)

Thanks
Comment 15 Jeremy Olexa (darkside) (RETIRED) archtester gentoo-dev Security 2009-06-23 22:28:58 UTC
Upstream slim is rather dead. I haven't seen any activity from them in ages. I wouldn't hold my breath for them to fix anything. As for your issue, sorry to say but I have no idea. I don't notice anything wrong in my installation. =/
Comment 16 Guenter Sandner 2009-07-06 18:31:59 UTC
I am having a similar problem: no keyboard after switching to vt and back to X, or doing suspend and resume, but if I restart the xdm (kdm) during the first switch to vt all works fine

XServer: 1.5.3-r6
KDM: 3.5.10
HAL: 0.5.11-r9

it looks like the kdm is started to early in the boot process, or something similar, but the startDM.sh-line in /etc/inittab is present

btw I am not the only one:
http://forums.gentoo.org/viewtopic-t-767024-highlight-.html

Comment 17 Rémi Cardona (RETIRED) gentoo-dev 2009-07-06 19:32:22 UTC
Do any of you have xdm in the "boot" rc, instead of "default"?

Thanks
Comment 18 Guenter Sandner 2009-07-07 19:47:30 UTC
no, sorry, xdm starts in runlevel 3 ( after hdparm, rsyslog, acpid, dbus, eth0, nscd, ahaaal and gpm )

but I have found a difference in the log files:
[code]
gms1 ~ # diff -U0 x1.log x2.log
--- x1.log      2009-07-07 21:13:40.000000000 +0200
+++ x2.log      2009-07-07 21:14:10.000000000 +0200
@@ -14 +14 @@
-(==) Log file: "/var/log/Xorg.0.log", Time: Tue Jul  7 21:12:10 2009
+(==) Log file: "/var/log/Xorg.0.log", Time: Tue Jul  7 21:13:50 2009
@@ -296,2 +296 @@
-(EE) AT Translated Set 2 keyboard: device key_bitmask has changed
-(EE) AT Translated Set 2 keyboard: Device has changed - disabling.
+(II) AT Translated Set 2 keyboard: Device reopened after 1 attempts.
[/code]

x1.log: kdm started from rc -> vt1 -> kdm ( no keyboard ) -> vt1 ( using the 'console login' menu item )
x2.log: restarting kdm -> vt1 -> kdm ( working keyboard ) -> vt1 



Comment 19 Guenter Sandner 2009-07-07 20:32:59 UTC
using goolge ( seaching for 'keyboard: device key_bitmask has changed' ) I have found the solution for my issue :
http://bugs.gentoo.org/show_bug.cgi?id=273067

@Heiko
sorry for hijacking this case
Comment 20 Heiko Baums 2009-07-07 20:41:10 UTC
(In reply to comment #19)
> using goolge ( seaching for 'keyboard: device key_bitmask has changed' ) I have
> found the solution for my issue :
> http://bugs.gentoo.org/show_bug.cgi?id=273067

This is a different issue, because I didn't have the error messages mentioned in this bug.

And my keyboard problems don't occur in X after returning from the text console to X (Alt+F7). My keyboard problems appear on the first text console after switching from X (Ctrl+Alt+F1).
Comment 21 Heiko Baums 2009-07-07 20:42:07 UTC
And this bug seems to be related to slim, because I don't have this problem with gdm.
Comment 22 Jeremy Olexa (darkside) (RETIRED) archtester gentoo-dev Security 2011-02-21 07:29:26 UTC
This is an old bug, reopen if there is still issues with currently stable packages.
Comment 23 Heorhi Valakhanovich 2011-08-18 10:42:17 UTC
Still have this issue with xorg 1.10.2 and 0.9.5 . Looks like bug connected with evdev.
Comment 24 Heorhi Valakhanovich 2011-08-18 10:43:55 UTC
(In reply to comment #23)
> Still have this issue with xorg 1.10.2 and 0.9.5 . Looks like bug connected
> with evdev.

1.9.5 sorry