Yast System keyboard configuration?

Hi,

I am (still) having troubles getting my keyboard the way I would like it.
As an introductory question, can anyone tell me what this utility should look like?

http://www.mpr75.talktalk.net/snapshot.png

I’m guessing that there should be section options in the Keyboard Layout cell?
The four keys entered in the Test area are: Shift+1, Shift+2, Shift+3 & Shift+4 (the UK pound sign in not working). The OS is OpenSuSE 11.3 / 2.6.34.7-0.5-pae

Regards, Martin

YaST keyboard configuration is to match your hardware to the system; you should use the relevant desktop software (System settings>Regional in KDE) to set up your own particular soft keyboard. KDE will show you what YaST thinks your keyboard hardware is. If YaST doesn’t know how your hardware is set up, KDE or Gnome probably cannot make the correct software substitutions.

Thank you for your comments John,

I think that you are confirming that, as there is no content in the Keyboard Layout (image above), that YaST does not know about my keyboard hardware? Incidental, KDE (System Setting | Regional & Lang. | Keyboard Layout), seems to be happily telling me that it is supplying the command “setxkbmap -model pc105 -layout gb” to … (somewhere – I know not where!).

So I guess that the next most obvious question is: How do I put this right?

Regards, Martin

Not sure what’s going on.

Can you post your /etc/X11/xorg.conf file here.

Hi Martin,

Something is missing on your system: On YaST ==> system keyboard configuration, I have a lot of keyboard layout that i can select (belgian, french, English UK, English US etc…)
The default is set during installation

I think that you need to check in YaST if you have the package kbd, kvkbd (KDE) and xkeyboard-config

Regards
Philippe

Ahhhh…?

I don’t have an /etc/X11/xorg.conf !!!
I do have (among other files/folders) an /etc/X11/xorg.conf.install? Is that any clue?

Martin

On 2010-11-05 11:36, martinprowe wrote:
>
> Ahhhh…?
>
> I don’t have an /etc/X11/xorg.conf !!!
> I do have (among other files/folders) an /etc/X11/xorg.conf.install? Is
> that any clue?

There is no xorg file in 11.3, it is automatically configured on the fly -
which is the cause of your problem, I think. It is not detected properly.

You have to look at /var/log/Xorg.0.log, there would be some lines like
this (for Spanish in my case)

Code:

3065.411] () Option “xkb_rules” “evdev”
3065.412] (
) Option “xkb_model” “evdev”
3065.412] (**) Option “xkb_layout” “es”

You will probably need a keyboard file in /etc/X11/xorg.conf.d/, probably
“90-keytable.conf”:

Code:

Section “InputClass”
Identifier “LocalKeyboard”
MatchIsKeyboard “on”
Option “XkbLayout” “es”
EndSection

So, it is not automatic, it is configured (although I don’t see a reference
in the log to reading 90-keytable.conf). Ok, then, that’s the file you have
to post here, or it correct yourself, by hand.


Cheers / Saludos,

Carlos E. R.
(from 11.2 x86_64 “Emerald” at Telcontar)

Hi Philippe,

Thank you for the suggestion. Yes, I have checked and the three packages you list are all installed.

Regards, Martin

Hi Carlos,

Okay, that figures. And yes, I have looked in Xorg.0.log. However, my Linux skills are not up to diagnosing the problem!!
In the hope that you or others could “cast an eye” over it and offer any comments, here it is: /var/log/Xorg.0.log.

There are a chunk of (WW)'s around line 70 referring to fonts, which I guess can be ignored (for now). But are the ones at lines 95-97 significant?

Also. Re: 90-keytable.conf. I can confirm that this file exists in the location you suggest and that it contains your example code (other than in my case XkbLayout is “gb”.

Regards, Martin

On 2010-11-05 16:06, martinprowe wrote:
>
>
> Hi Carlos,
>
> Okay, that figures. And yes, I have looked in Xorg.0.log. However, my
> Linux skills are not up to diagnosing the problem!!
> In the hope that you or others could “cast an eye” over it and offer
> any comments, here it is: ‘/var/log/Xorg.0.log’
> (http://www.mpr75.talktalk.net/Xorg.0.log).

Yep.

> There are a chunk of (WW)'s around line 70 referring to fonts, which I
> guess can be ignored (for now). But are the ones at lines 95-97
> significant?

The WW about missing fonts? Yes, quite ok to ignore. The other lines I
guess you mean:

(WW) AllowEmptyInput is on, devices using drivers ‘kbd’, ‘mouse’ or
‘vmmouse’ will be disabled.
(WW) Disabling Keyboard[0]
(WW) Disabling Mouse[1]

(I can’t see the line numbers)

It is a curious warning, I’m not sure what it means. It may be telling that
it is ignoring some configuration file entries.

> Also. Re: 90-keytable.conf. I can confirm that this file exists in the
> location you suggest and that it contains your example code (other than
> in my case XkbLayout is “gb”.

And the log confirms it loads “gb”.

() Option “xkb_rules” “evdev”
(
) Option “xkb_model” “evdev”
(**) Option “xkb_layout” “gb”

If you do have a “gb” keyboard, then all is correct. You could try it in
another, simpler, desktop. What keyboard do you want it to use, then,
another one? :-?


Cheers / Saludos,

Carlos E. R.
(from 11.2 x86_64 “Emerald” at Telcontar)

Yes, I have a “gb” keyboard. In fact I have several! Some PS/2 and others USB. All behave the same way, which suggest that it a config issue with the PC?

The root problem that I am trying to resolve (and illustrated at the head of this thread) is the loss of the UK pound sterling sign: “£”.

I don’t know it this symptom throws any light on the matter? If I run xev in a console session I get this: xev.txt which suggest to me that the key sequence shift+3 is resulting in a keycode 92. Which in turn is not mapped to any symbol - thus no display?

Questions. How/why is shift+3 resulting in keycode=92, keysym=0 and not keycode=12, keysym=0xa3?

Regards, Martin

Hi Martin,

You have sent an old log file :-
(==) Log file: “/var/log/Xorg.1.log”, Time: Fri May 28 09:52:09 2010

In the one you sent, at the very beginning are two statements :-

Current Operating System: Linux Supermicro 2.6.31.12-0.2-default #1 SMP 2010-03-16 21:25:39 +0100 i686
– this is not openSUSE 11.3!

(++) Using config file: “/tmp/sax2-2756/xorg.conf”
– In openSUSE 11.3 sax2 was eliminated! Still, if you have that file on your system rename it, and reboot.
If the gui does not come up rename the file back to xorg.conf.

On 2010-11-06 11:06, keellambert wrote:
>
> Hi Martin,
>
> You have sent an old log file :-
> (==) Log file: “/var/log/Xorg.1.log”, Time: Fri May 28 09:52:09 2010
>
> In the one you sent, at the very beginning are two statements :-
>
> Current Operating System: Linux Supermicro 2.6.31.12-0.2-default #1 SMP
> 2010-03-16 21:25:39 +0100 i686
> – this is not openSUSE 11.3!

No, that’s his machine name, look your own machine and you will see. Like mine:

3064.272] Build Operating System: openSUSE SUSE LINUX
3064.272] Current Operating System: Linux Elanor 2.6.34.7-0.5-default #1
SMP 2010-10-25 08:40:12 +0200 i686

However, his kernel is not updated, several levels. Same for Xorg, he has
1.6.5 current for 11.3 is 1.8.0

Mmm???

Hold on! That’s 11.2, not 11.3 as he said!!! Those versions match 11.2.

Please martinprowe, clarify what you have. Your statements do not match
your log entries.

> (++) Using config file: “/tmp/sax2-2756/xorg.conf”
> – In openSUSE 11.3 sax2 was eliminated! Still, if you have that file
> on your system rename it, and reboot.

DON’T REBOOT! This is not windows, for Tux sake. Just restart X.

He doesn’t have zn xorg.conf file, he said so. That’s a temporary file, no
idea why xorg is using it.

And of course, 11.2 does have SAX.


Cheers / Saludos,

Carlos E. R.
(from 11.2 x86_64 “Emerald” at Telcontar)

Hi folks,

I suspect that I must apologise for giving you all “duff gen”!! Once the suspicion that versions were not consistent, I went back and double checked what I had done.

I think, in the FTP transfer from my PC to a the scratch url, I have sent the WRONG file (Xorg.1.log dated 28/05/2010 and not the current one). My sincere apologies for wasting your time.

In the hope that you are not too fed-up to continue offering advice, I have rebooted and run my PC over the weekend. Hope you could have a look at this log: Xorg.0.log.

Regards, Martin

On 2010-11-08 09:36, martinprowe wrote:
>
> Hi folks,
>
> I suspect that I must apologise for giving you all “duff gen”!! Once
> the suspicion that versions were not consistent, I went back and double
> checked what I had done.
>
> I think, in the FTP transfer from my PC to a the scratch url, I have
> sent the WRONG file (Xorg.1.log dated 28/05/2010 and not the current
> one). My sincere apologies for wasting your time.

Ok.

> In the hope that you are not too fed-up to continue offering advice, I
> have rebooted and run my PC over the weekend. Hope you could have a look
> at this log: ‘Xorg.0.log’ (http://www.mpr75.talktalk.net/Xorg.0.log).

Well, this one is current.

And it is loading the gb keyboard. I would suggest you try another desktop
(gnome, fwmn…) to see if the pound key shows up. Also try text mode. Lets
see if it is a kde thing, or general.


Cheers / Saludos,

Carlos E. R.
(from 11.2 x86_64 “Emerald” at Telcontar)

Hi Martin,

The following is from your file,

[151583.796] (II) The server relies on udev to provide the list of input devices.
If no devices become available, reconfigure udev or disable AutoAddDevices.

The only way I know of implementing this is to create the file /etc/X11/xorg.conf with the following contents,

Section “ServerFlags”
Option “AutoAddDevices” “off”

This section added to stop overlaying of keyboard.

EndSection

This will stop anything from loading specified in the file /etc/hal/fdi/policy/20thirdparty/11-keymap.fdi

If there are undesired effects after rebooting just delete the created /etc/X11/xorg.conf file and reboot.