Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Keyboard Layout switch problem (xorg-X11-7.2)
View unanswered posts
View posts from last 24 hours
View posts from last 7 days

 
Reply to topic    Gentoo Forums Forum Index Desktop Environments
View previous topic :: View next topic  
Author Message
garfungiloops
n00b
n00b


Joined: 29 Oct 2005
Posts: 44

PostPosted: Sat Oct 20, 2007 2:40 pm    Post subject: Keyboard Layout switch problem (xorg-X11-7.2) Reply with quote

Hi All,

Anybody knows, why after upgrading the X-org (I have xorg-x11-7.2 now),
it became impossible to switch the keyboard layouts, having in xorg.conf following:

....
Section "InputDevice"

Identifier "Keyboard1"
Driver "kbd"
Option "XkbRules" "xorg"
Option "XkbModel" "pc105"
Option "XkbLayout" "us,ru(winkeys)"
Option "XkbOptions" "grp:alt_shift_toggle,grp_led:scroll"

EndSection
.....

Before upgrade (on xorg-x11-7.1) it was ok :-(
Also I cannot switch from X-session to the virtual console now (i.e. ctrl-alt-F1 doesn't work).
Back to top
View user's profile Send private message
garfungiloops
n00b
n00b


Joined: 29 Oct 2005
Posts: 44

PostPosted: Sun Oct 21, 2007 12:50 pm    Post subject: Reply with quote

Found the following error in Xorg.0.log:

...
(WW) Couldn't load XKB keymap, falling back to pre-XKB keymap
...

However I have a keymap on (/usr/share/keymaps).
May be they have to be on some other location now?
Back to top
View user's profile Send private message
garfungiloops
n00b
n00b


Joined: 29 Oct 2005
Posts: 44

PostPosted: Sun Oct 21, 2007 2:19 pm    Post subject: Reply with quote

Ok,

I've tryed to follow modular Xorg guide step by step once again,
and when I'm trying to config the keyboard manually:

setxkbmap -model pc105 -layout us -variant dvorak -v 10


I've got the output:


Setting verbose level to 10
locale is C
Applied rules from xorg:
model: pc105
layout: us
variant: dvorak
Trying to build keymap using the following components:
keycodes: xfree86+aliases(qwerty)
types: complete
compat: complete
symbols: pc/pc(pc105)+pc/us(dvorak)
geometry: pc(pc105)
Error loading new keyboard description
Back to top
View user's profile Send private message
zepar
Tux's lil' helper
Tux's lil' helper


Joined: 28 Jul 2002
Posts: 107

PostPosted: Sun Oct 21, 2007 5:53 pm    Post subject: Re: Keyboard Layout switch problem (xorg-X11-7.2) Reply with quote

garfungiloops wrote:

Also I cannot switch from X-session to the virtual console now (i.e. ctrl-alt-F1 doesn't work).


I got this problem too.


garfungiloops wrote:

Couldn't load XKB keymap, falling back to pre-XKB keymap


got this on my log too
Back to top
View user's profile Send private message
garfungiloops
n00b
n00b


Joined: 29 Oct 2005
Posts: 44

PostPosted: Mon Oct 22, 2007 7:46 am    Post subject: Reply with quote

Ok,

I've posted a bug about that ( https://bugs.gentoo.org/show_bug.cgi?id=196613)
They recommend me to switch from xkbdata(which is not supported now) to xkeyboard-config.

I did that, however now I have another problem:
root:~# setxkbmap -v 10
Setting verbose level to 10
locale is C
Couldn't find rules file (xorg)

Also when you follow the manual:
http://www.gentoo.org/proj/en/desktop/x/x11/modular-x-howto.xml
when you come to the point:
Quote:
# cd /usr/share/X11/xkb/rules/
# grep logibik xorg.lst
No output from that, so that model is gone. How about similar
ones?
# grep logi* xorg.lst

it's seems to not a true any more, since the file xorg.lst is binary in my case :-(
Back to top
View user's profile Send private message
garfungiloops
n00b
n00b


Joined: 29 Oct 2005
Posts: 44

PostPosted: Mon Oct 22, 2007 8:06 am    Post subject: Reply with quote

Sorry, last was just a problem with etc-update.
Now I've emerged a newest x11-misc/xkeyboard-config-1.1
and have the same problem as at the beginning with xkbdata, i.e :

root:/usr/share/X11/xkb/rules# setxkbmap -v 10
Setting verbose level to 10
locale is C
Applied rules from xorg:
model: pc105
layout: us
variant: dvorak
Trying to build keymap using the following components:
keycodes: xfree86+aliases(qwerty)
types: complete
compat: complete
symbols: pc+us(dvorak)
geometry: pc(pc105)
Error loading new keyboard description
Back to top
View user's profile Send private message
garfungiloops
n00b
n00b


Joined: 29 Oct 2005
Posts: 44

PostPosted: Mon Oct 22, 2007 7:06 pm    Post subject: Reply with quote

For those who interested.

It was duplication of the bug 194026.
The problem is solved either using xorg-server-1.3.0.0-r1 in combination with xkeyboard-config-0.9 (stable at the moment)
or xorg-server-1.3.0.0-r2 and xkeyboard-config-1.1 (~x86 at the moment)
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Desktop Environments All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum