Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 273067 - x11-base/xorg-server-1.5.3-r6: AT Translated Set 2 keyboard: Device has changed - disabling.
Summary: x11-base/xorg-server-1.5.3-r6: AT Translated Set 2 keyboard: Device has chang...
Status: VERIFIED NEEDINFO
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo X packagers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-06-07 16:46 UTC by Oleh Kravchenko
Modified: 2010-02-24 23:17 UTC (History)
3 users (show)

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


Attachments
emerge --info (emerge.info,3.85 KB, text/plain)
2009-06-07 16:46 UTC, Oleh Kravchenko
Details
/var/log/Xorg.0.log (Xorg.log,18.36 KB, text/plain)
2009-06-07 16:46 UTC, Oleh Kravchenko
Details
/etc/X11/xorg.conf (xorg.conf,2.44 KB, text/plain)
2009-06-07 16:47 UTC, Oleh Kravchenko
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Oleh Kravchenko 2009-06-07 16:46:25 UTC
Some time x server losing keyboard.


Reproducible: Sometimes

Steps to Reproduce:
1. ctrl+alt+f1
2. alt+f7
Comment 1 Oleh Kravchenko 2009-06-07 16:46:39 UTC
Created attachment 193815 [details]
emerge --info
Comment 2 Oleh Kravchenko 2009-06-07 16:46:56 UTC
Created attachment 193816 [details]
/var/log/Xorg.0.log
Comment 3 Oleh Kravchenko 2009-06-07 16:47:24 UTC
Created attachment 193818 [details]
/etc/X11/xorg.conf
Comment 4 Oleh Kravchenko 2009-06-07 16:48:27 UTC
In xorg log file:

(EE) AT Translated Set 2 keyboard: device key_bitmask has changed
(EE) AT Translated Set 2 keyboard: Device has changed - disabling.
Comment 5 Vladimír Matěna 2009-06-27 11:41:37 UTC
Same here on dell vostro 1510.
Comment 6 Oleh Kravchenko 2009-06-27 11:43:25 UTC
(In reply to comment #5)
> Same here on dell vostro 1510.
> 

Hm, I have Dell Vostro 1400
Comment 7 Vladimír Matěna 2009-06-27 11:55:23 UTC
I can confirm 100% reproduciability.

1. reboot
2. start X
3. ((ctrl+alt+f1) + (alt+f7)) or hibernate

At this point keyboard is disabled (I can't even ctrl+alt+f1).
I have to alt+sysrq+r and alt+f1.

Now I can login root and restart xdm.
Restarted X is working correctly even hibernating and console switching until next reboot.
Comment 8 Vladimír Matěna 2009-06-27 14:07:34 UTC
key_bitmask check can be disabled:

- emerge xf86-input-evdev
- hit ctrl+z when source is unpacked
- edit /var/tmp/portage/x11-drivers/xf86-input-evdev-2.1.3/work/xf86-input-evdev-2.1.3/src/evdev.c (replace 2.1.3 by your evdev version)
- search for:

if (compare && memcmp(pEvdev->key_bitmask, key_bitmask, sizeof(key_bitmask))) {
   xf86Msg(X_ERROR, "%s: device key_bitmask has changed\n", pInfo->name);
   goto error;
}

and delete it
then continue emerge by "fg"

Comment 9 Vladimír Matěna 2009-07-06 20:55:30 UTC
I have accidentally deleted some libs while playing with this issue.
I had to rebuild half of my system to get things working again.
After this rebuild everything(vt switch,hibernating) seems to be working fine.
Comment 10 Rafal Dejewski 2009-07-21 17:00:13 UTC
I'm going to bet you guys are using non-default keyboard layouts. I have the same issue when I use hal to setup the keyboard layout (e.g. copy /usr/shared/doc/hal.../use-multiple-layouts.fdi to /etc/hal/fdi/policy/)
If no layout is set all is fine.
Comment 11 Oleh Kravchenko 2009-07-21 17:02:13 UTC
(In reply to comment #10)
> I'm going to bet you guys are using non-default keyboard layouts. I have the
> same issue when I use hal to setup the keyboard layout (e.g. copy
> /usr/shared/doc/hal.../use-multiple-layouts.fdi to /etc/hal/fdi/policy/)
> If no layout is set all is fine.
> 

I am not using hal to setup keyboard
Comment 12 Rafal Dejewski 2009-07-21 17:43:05 UTC
(In reply to comment #11)
> (In reply to comment #10)
> > I'm going to bet you guys are using non-default keyboard layouts. I have the
> > same issue when I use hal to setup the keyboard layout (e.g. copy
> > /usr/shared/doc/hal.../use-multiple-layouts.fdi to /etc/hal/fdi/policy/)
> > If no layout is set all is fine.
> > 
> 
> I am not using hal to setup keyboard
> 

But do you use some non-default layout at all?
Comment 13 Oleh Kravchenko 2009-07-21 17:46:18 UTC
(In reply to comment #12)
> (In reply to comment #11)
> > (In reply to comment #10)
> > > I'm going to bet you guys are using non-default keyboard layouts. I have the
> > > same issue when I use hal to setup the keyboard layout (e.g. copy
> > > /usr/shared/doc/hal.../use-multiple-layouts.fdi to /etc/hal/fdi/policy/)
> > > If no layout is set all is fine.
> > > 
> > 
> > I am not using hal to setup keyboard
> > 
> 
> But do you use some non-default layout at all?
> 

Yep :) To setup keyboard i am use kde's system settings
Comment 14 Rémi Cardona (RETIRED) gentoo-dev 2009-09-25 21:01:31 UTC
Please try to reproduce with xorg-server 1.6. Here are a few instructions :

http://blogs.gentoo.org/remi/2009/09/23/help-neeeded-to-stabilize-libxcb-1-4-and-6

Thanks
Comment 15 Oleh Kravchenko 2010-02-24 23:17:28 UTC
Can't reproduce on xorg-server-1.6

fixed by update to xorg-server-1.6 =)