Bug#287810: xlibs: syntax error in /etc/X11/xkb/symbols/sun/us prevents xkbcomp from working

2004-12-30 Thread Henrik Enberg
Package: xlibs
Version: 4.3.0.dfsg.1-10
Severity: normal

the three occurances of 'include srvr_ctrl(xfree86);' in
/etc/X11/xkb/symbols/sun/us causes a syntax error in xkbcomp on X
startup, causing X to revert to whatever the standard keymap is.

commenting out each such line in the file makes it work as it should.

Here are the relevant lines from my XF86Config-4:

Section InputDevice
Identifier  Generic Keyboard
Driver  keyboard
Option  CoreKeyboard
Option  XkbRules  sun
Option  XkbModel  type6
Option  XkbLayout us
EndSection


-- Package-specific info:
Keyboard-related contents of XFree86 X server log file
/var/log/XFree86.0.log:
(==) Using config file: /etc/X11/XF86Config-4
(==) ServerLayout Default Layout
(**) |--Screen Default Screen (0)
(**) |   |--Monitor Generic Monitor
(**) |   |--Device Generic Video Card
(**) |--Input Device Generic Keyboard
(**) Option XkbRules sun
(**) XKB: rules: sun
(**) Option XkbModel type6
(**) XKB: model: type6
(**) Option XkbLayout us
(**) XKB: layout: us
(==) Keyboard: CustomKeycode disabled
(**) |--Input Device Generic Mouse
(WW) The directory /usr/lib/X11/fonts/cyrillic does not exist.
Entry deleted from font path.
(WW) The directory /usr/lib/X11/fonts/CID does not exist.
Entry deleted from font path.
--
(II) RADEON(0): Direct rendering disabled
(==) RandR enabled
(II) Initializing built-in extension MIT-SHM
(II) Initializing built-in extension XInputExtension
(II) Initializing built-in extension XTEST
(II) Initializing built-in extension XKEYBOARD
(II) Initializing built-in extension LBX
(II) Initializing built-in extension XC-APPGROUP
(II) Initializing built-in extension SECURITY
(II) Initializing built-in extension XINERAMA
(II) Initializing built-in extension XFree86-Bigfont
(II) Initializing built-in extension RENDER
(II) Initializing built-in extension RANDR
(II) Keyboard Generic Keyboard handled by legacy driver
(**) Option Protocol ImPS/2
(**) Generic Mouse: Protocol: ImPS/2
(**) Option SendCoreEvents true
(**) Generic Mouse: always reports core events
(**) Option CorePointer

XFree86 X server log files on system:
-rw-r--r--  1 root root 43232 2004-12-30 10:10 /var/log/XFree86.0.log

Compiled XKB description for X server :0.0:
xkb_keymap {
xkb_keycodes sun(type6) {
minimum = 8;
maximum = 255;
 ESC = 9;
AE01 = 10;
AE02 = 11;
AE03 = 12;
AE04 = 13;
AE05 = 14;
AE06 = 15;
AE07 = 16;
AE08 = 17;
AE09 = 18;
AE10 = 19;
AE11 = 20;
AE12 = 21;
BKSP = 22;
 TAB = 23;
AD01 = 24;
AD02 = 25;
AD03 = 26;
AD04 = 27;
AD05 = 28;
AD06 = 29;
AD07 = 30;
AD08 = 31;
AD09 = 32;
AD10 = 33;
AD11 = 34;
AD12 = 35;
RTRN = 36;
LCTL = 37;
AC01 = 38;
AC02 = 39;
AC03 = 40;
AC04 = 41;
AC05 = 42;
AC06 = 43;
AC07 = 44;
AC08 = 45;
AC09 = 46;
AC10 = 47;
AC11 = 48;
TLDE = 49;
LFSH = 50;
BKSL = 51;
AB01 = 52;
AB02 = 53;
AB03 = 54;
AB04 = 55;
AB05 = 56;
AB06 = 57;
AB07 = 58;
AB08 = 59;
AB09 = 60;
AB10 = 61;
RTSH = 62;
KPMU = 63;
LALT = 64;
SPCE = 65;
CAPS = 66;
FK01 = 67;
FK02 = 68;
FK03 = 69;
FK04 = 70;
FK05 = 71;
FK06 = 72;
FK07 = 73;
FK08 = 74;
FK09 = 75;
FK10 = 76;
NMLK = 77;
SCLK = 78;
 KP7 = 79;
 KP8 = 80;
 KP9 = 81;
KPSU = 82;
 KP4 = 83;
 KP5 = 84;
 KP6 = 85;
KPAD = 86;
 KP1 = 87;
 KP2 = 88;
 KP3 = 89;
 KP0 = 90;
KPDL = 91;
FK11 = 95;
FK12 = 96;
HOME = 97;
  UP = 98;
PGUP = 99;
LEFT = 100;
RGHT = 102;
 END = 103;
DOWN = 104;
PGDN = 105;
 INS = 106;
DELE = 107;
KPEN = 108;
PAUS = 110;
PRSC = 111;
KPDV = 112;
ALGR = 113;
LMTA = 115;
RMTA = 116;
COMP = 117;
VOL+ = 158;
VOL- = 159;
POWR = 160;
MUTE = 165;
STOP = 222;
AGAI = 223;
PROP = 224;
UNDO = 225;
FRNT = 226;
COPY = 227;
OPEN = 228;
PAST = 229;
FIND = 230;
 CUT = 231;
HELP = 232;
indicator 1 = Caps Lock;
indicator 2 = Num Lock;
indicator 3 = Scroll Lock;
virtual indicator 4 = Shift Lock;
virtual indicator 5 = Group 2;
virtual indicator 6 = Mouse Keys;
alias RALT = ALGR;
};

xkb_types complete {

virtual_modifiers NumLock,Alt,LevelThree,AltGr,Meta,Super,Hyper,ScrollLock;

type ONE_LEVEL {
modifiers= none;
level_name[Level1]= Any;
};
type TWO_LEVEL {
modifiers= Shift;
map[Shift]= Level2;
level_name[Level1]= Base;
level_name[Level2]= Shift;
};
type ALPHABETIC {
modifiers= Shift+Lock;
map[Shift]= Level2;
map[Lock]= Level1;
preserve[Lock]= Lock;
level_name[Level1]= Base;
level_name[Level2]= Caps;
};
type 

Bug#287810: xlibs: syntax error in /etc/X11/xkb/symbols/sun/us prevents xkbcomp from working

2004-12-30 Thread Denis Barbier
merge 287810 286268
thanks

On Thu, Dec 30, 2004 at 10:26:39AM +0100, Henrik Enberg wrote:
 Package: xlibs
 Version: 4.3.0.dfsg.1-10
 Severity: normal
 
 the three occurances of 'include srvr_ctrl(xfree86);' in
 /etc/X11/xkb/symbols/sun/us causes a syntax error in xkbcomp on X
 startup, causing X to revert to whatever the standard keymap is.

Please read already reported bugs in order to prevent duplicates,
see http://bugs.debian.org/286268
A patch has been committed to the SVN repository, this bug will be
fixed by the next upload.

Denis



Processed: Re: Processed: Re: Bug#287810: xlibs: syntax error in /etc/X11/xkb/symbols/sun/us prevents xkbcomp from working

2004-12-30 Thread Debian Bug Tracking System
Processing commands for [EMAIL PROTECTED]:

 severity 287810 important
Bug#287810: xlibs: syntax error in /etc/X11/xkb/symbols/sun/us prevents xkbcomp 
from working
Severity set to `important'.

 merge 286268 287810
Bug#286268: xlibs: sun keyboard not working, error in xkb symbols file
Bug#287810: xlibs: syntax error in /etc/X11/xkb/symbols/sun/us prevents xkbcomp 
from working
Merged 286268 287810.


End of message, stopping processing here.

Please contact me if you need assistance.

Debian bug tracking system administrator
(administrator, Debian Bugs database)