You are not logged in.

#1 2008-03-13 07:25:16

bendany
Member
Registered: 2008-01-13
Posts: 11

hwd popluate wrong xorg.conf in keyboard section

I use a Japanese Keyboard.
the hwd -xa populate the default xorg.conf
and the kb section

Section "InputDevice"
    Identifier  "Keyboard0"
    Driver      "keyboard"
        Option      "CoreKeyboard"
    Option "XkbRules" "xorg"
    Option "XkbModel" "pc105"
    Option "XkbLayout" "jp106"
    Option "XkbVariant" ""
EndSection

is wrong,
correct one is

Section "InputDevice"
    Identifier  "Keyboard0"
    Driver      "keyboard"
        Option      "CoreKeyboard"
    Option "XkbRules" "xorg"
    Option "XkbModel" "jp106"
    Option "XkbLayout" "jp"
    Option "XkbVariant" ""
EndSection

How can I fire a bug report?

Last edited by bendany (2008-03-13 07:25:42)

Offline

#2 2008-03-13 10:49:56

rasat
Forum Fellow
From: Finland, working in Romania
Registered: 2002-12-27
Posts: 2,293
Website

Re: hwd popluate wrong xorg.conf in keyboard section

In hwd there is no keyboard detection, simply uses a default configure and reads the KEYMAP from /etc/rc.conf. If there is an error in XkbLayout its the fault in rc.conf. smile

If anyone has a solution how to detect the keyboard, please let me know.


Markku

Offline

#3 2008-03-13 12:46:09

bendany
Member
Registered: 2008-01-13
Posts: 11

Re: hwd popluate wrong xorg.conf in keyboard section

I don't think there is a way to automatic detect what keyboard layout is.

but the fact is I am setting the correct keymap in rc.conf.
since keymap in rc.conf only one value, that jp106, xorg.conf has two values,
XkbModel and XkbLayout, so it cannot be simply copy the value from rc.conf.
(in fact, it takes me quite some times to find out that is the wrong setting
instead of the broken keyboard.)

I think we need to create a mapping list for hwd.

Last edited by bendany (2008-03-13 12:48:02)

Offline

Board footer

Powered by FluxBB