[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

keymap problem with X



[please cc me, i'm not subscribed]

Hi,

I can't get an usb keyboard working in X in debian etch. The x is started from
root user (not great i know). The keyboard works fine in virtual terminals.

I've tried to manually compile the keymap, but the link get deleted on X start.

setxkbmap -rules xfree86 -model pc105 -layout it -print > server-0
xkbcomp server-0
ln -s ~/server-0.xkm /var/lib/xkb/server-0.xkm

This is the relevant configuration:

Section "InputDevice"
	Identifier	"Generic Keyboard"
	Driver		"kbd"
	Option		"CoreKeyboard"
	Option		"XkbRules"	"xorg"
	Option		"XkbModel"	"pc105"
	Option		"XkbLayout"	"it"
EndSection

These are the errors from /var/log/Xorg.0.log:

(II) XINPUT: Adding extended input device "Generic Keyboard" (type: KEYBOARD)
    xkb_keycodes             { include "xfree86+aliases(qwerty)" };
    xkb_types                { include "complete" };
    xkb_compatibility        { include "complete" };
    xkb_symbols              { include "pc(pc105)+it" };
    xkb_geometry             { include "pc(pc105)" };
(II) Configured Mouse: ps2EnableDataReporting: succeeded
    xkb_types                { include "%" };
    xkb_compatibility        { include "%" };
    xkb_symbols              { include "%" };
    xkb_geometry             { include "%" };
(EE) Error loading keymap /var/lib/xkb/server-0.xkm
    xkb_types                { include "%" };
    xkb_compatibility        { include "%" };
    xkb_symbols              { include "%" };
    xkb_geometry             { include "%" };
(EE) Error loading keymap /var/lib/xkb/server-0.xkm

thanks in advance
-- 
Riccardo Magliocchetti


Reply to: