
Code: Select all
syntax error: line 1 of pc
The XKEYBOARD keymap compiler (xkbcomp) reports:
> Error: Error interpreting include file "pc"
> Exiting
> Abandoning symbols file "default"
Errors from xkbcomp are not fatal to the X server



I had the same problem. Try this under Section "Device":MorLipf wrote:A second time:
I unmerged the old Xorg 6.8.2, removed all old config files and installed Xorg 7.0-r1 with evdev, keyboard, mouse and the ati-module (not fglrx).
Then I created a config with Xorgconfig with the ati-module, a display resolution of 1280x1024 etc.
My problem is that every time I start X with startx or kdm the resolution is only 640x480 and I can't switch it.
The Xorg logfiles don't show errors and my config seems to be fine.
If you have a crt screen.Option "MonitorLayout" "TMDS, NONE"
Option "MonitorLayout" "CRT, NONE"
Code: Select all
[ebuild R ] x11-base/xorg-x11-7.0-r1 USE="-3dfx" INPUT_DEVICES="evdev keyboard mouse synaptics wacom -acecad -aiptek -calcomp -citron -digitaledge -dmc -dynapro -elo2300 -elographics -fpit -hyperpen -jamstudio -joystick -magellan -magictouch -microtouch -mutouch -palmax -penmount -spaceorb -summa -tek4957 -ur98 -vmmouse -void" VIDEO_CARDS="fbdev sis vesa -apm -ark -ati -chips -cirrus -cyrix -dummy -fglrx -glint -i128 -i740 -i810 -imstt -mga -neomagic -newport -nsc -nv -nvidia -rendition -s3 -s3virge -savage -siliconmotion -sisusb -tdfx -tga -trident -tseng -v4l -vga -via -vmware -voodoo" 0 kB *edit2* ...O...K... I guess I should reemerge synaptics && linuxwacom ... should've thought of that firstXorg.0.log wrote:(EE) No Input driver matching `synaptics'
(EE) No Input driver matching `wacom'
(EE) No Input driver matching `wacom'
(EE) No Input driver matching `wacom'
Code: Select all
Section "InputDevice"
Identifier "Keyboard1"
Driver "evdev"
Option "Device" "/dev/input/event0"
Option "AutoRepeat" "500 30"
Option "XkbRules" "xorg"
Option "XkbModel" "pc101"
Option "XkbLayout" "us"
Option "XkbVariant" "dvorak"
EndSectionCode: Select all
Couldn't interpret _XKB_RULES_NAMES property
Use defaults: rules - 'xorg' model - 'pc101' layout - 'us'
*** glibc detected *** free(): invalid pointer: 0xb7ff5ca0 ***
AbortedI had a similar problem but no crash. Just out of interest, you could try to "loadkeys dvorak" before starting X. You may find that X is using your console layout.Zr40 wrote:I'm having trouble getting the dvorak keyboard layout to work in X. whatever I specify in xorg.conf, it only uses qwerty.
Code: Select all
emerge -av unmerge xkbdata xkeyboard-config
rm -rf /usr/X11R6/lib/X11/xkb /usr/share/X11/xkb
emerge -av xkeyboard-configCode: Select all
Section "Extensions"
Option "Composite" "Enable"
Option "RENDER" "Enable"
EndSectionCode: Select all
(II) Initializing built-in extension COMPOSITECode: Select all
agaffney@kirara ~ $ xcompmgr -c
No composite extensionCode: Select all
name of display: :0.0
version number: 11.0
vendor string: The X.Org Foundation
vendor release number: 70000000
X.Org version: 7.0.0
maximum request size: 16777212 bytes
motion buffer size: 256
bitmap unit, bit order, padding: 32, LSBFirst, 32
image byte order: LSBFirst
number of supported pixmap formats: 7
supported pixmap formats:
depth 1, bits_per_pixel 1, scanline_pad 32
depth 4, bits_per_pixel 8, scanline_pad 32
depth 8, bits_per_pixel 8, scanline_pad 32
depth 15, bits_per_pixel 16, scanline_pad 32
depth 16, bits_per_pixel 16, scanline_pad 32
depth 24, bits_per_pixel 32, scanline_pad 32
depth 32, bits_per_pixel 32, scanline_pad 32
keycode range: minimum 8, maximum 255
focus: window 0xa00006, revert to PointerRoot
number of extensions: 31
BIG-REQUESTS
DAMAGE
DEC-XTRAP
DOUBLE-BUFFER
DPMS
Extended-Visual-Information
GLX
LBX
MIT-SCREEN-SAVER
MIT-SHM
MIT-SUNDRY-NONSTANDARD
RANDR
RECORD
RENDER
SECURITY
SGI-GLX
SHAPE
SYNC
TOG-CUP
X-Resource
XC-APPGROUP
XC-MISC
XFIXES
XFree86-Bigfont
XFree86-DGA
XFree86-Misc
XFree86-VidModeExtension
XInputExtension
XKEYBOARD
XTEST
XVideo
default screen number: 0
number of screens: 1
screen #0:
print screen: no
dimensions: 1280x1024 pixels (382x302 millimeters)
resolution: 85x86 dots per inch
depths (7): 24, 1, 4, 8, 15, 16, 32
root window id: 0x44
depth of root window: 24 planes
number of colormaps: minimum 1, maximum 1
default colormap: 0x20
default number of colormap cells: 256
preallocated pixels: black 0, white 16777215
options: backing-store NO, save-unders NO
largest cursor: 64x64
current input event mask: 0xda001f
KeyPressMask KeyReleaseMask ButtonPressMask
ButtonReleaseMask EnterWindowMask StructureNotifyMask
SubstructureNotifyMask SubstructureRedirectMask PropertyChangeMask
ColormapChangeMask
number of visuals: 8
default visual id: 0x23
visual:
visual id: 0x23
class: TrueColor
depth: 24 planes
available colormap entries: 256 per subfield
red, green, blue masks: 0xff0000, 0xff00, 0xff
significant bits in color specification: 8 bits
visual:
visual id: 0x24
class: TrueColor
depth: 24 planes
available colormap entries: 256 per subfield
red, green, blue masks: 0xff0000, 0xff00, 0xff
significant bits in color specification: 8 bits
visual:
visual id: 0x25
class: TrueColor
depth: 24 planes
available colormap entries: 256 per subfield
red, green, blue masks: 0xff0000, 0xff00, 0xff
significant bits in color specification: 8 bits
visual:
visual id: 0x26
class: TrueColor
depth: 24 planes
available colormap entries: 256 per subfield
red, green, blue masks: 0xff0000, 0xff00, 0xff
significant bits in color specification: 8 bits
visual:
visual id: 0x27
class: DirectColor
depth: 24 planes
available colormap entries: 256 per subfield
red, green, blue masks: 0xff0000, 0xff00, 0xff
significant bits in color specification: 8 bits
visual:
visual id: 0x28
class: DirectColor
depth: 24 planes
available colormap entries: 256 per subfield
red, green, blue masks: 0xff0000, 0xff00, 0xff
significant bits in color specification: 8 bits
visual:
visual id: 0x29
class: DirectColor
depth: 24 planes
available colormap entries: 256 per subfield
red, green, blue masks: 0xff0000, 0xff00, 0xff
significant bits in color specification: 8 bits
visual:
visual id: 0x2a
class: DirectColor
depth: 24 planes
available colormap entries: 256 per subfield
red, green, blue masks: 0xff0000, 0xff00, 0xff
significant bits in color specification: 8 bits
Actually, I've got the dvorak console layout loaded at boot, in /etc/conf.d/keymaps.data wrote:I had a similar problem but no crash. Just out of interest, you could try to "loadkeys dvorak" before starting X. You may find that X is using your console layout.Zr40 wrote:I'm having trouble getting the dvorak keyboard layout to work in X. whatever I specify in xorg.conf, it only uses qwerty.
Doesn't solve the problem hereAnyway the following solved my problem.Code: Select all
emerge -av unmerge xkbdata xkeyboard-config rm -rf /usr/X11R6/lib/X11/xkb /usr/share/X11/xkb emerge -av xkeyboard-config
Code: Select all
Section "ServerLayout"
Identifier "X.org Configured"
Screen 0 "Screen0" 0 0
InputDevice "Mouse0" "CorePointer"
InputDevice "Keyboard0" "CoreKeyboard"
EndSection
Section "Files"
FontPath "/usr/share/fonts/misc/"
FontPath "/usr/share/fonts/CID/"
FontPath "/usr/share/fonts/misc:unscaled"
FontPath "/usr/share/fonts/Type1"
FontPath "/usr/share/fonts/TTF"
FontPath "/usr/share/fonts/corefonts"
FontPath "/usr/share/fonts/freefont"
FontPath "/usr/share/fonts/sharefonts"
FontPath "/usr/share/fonts/terminus"
FontPath "/usr/share/fonts/ttf-bitstream-vera"
FontPath "/usr/share/fonts/unifont"
FontPath "/usr/share/fonts/75dpi:unscaled"
FontPath "/usr/share/fonts/100dpi:unscaled"
FontPath "/usr/share/fonts/artwiz"
EndSection
Section "Module"
Load "extmod"
Load "dri"
Load "dbe"
Load "record"
Load "xtrap"
Load "glx"
Load "type1"
Load "freetype"
EndSection
Section "Extensions"
Option "Composite" "Enable"
# Option "RENDER" "Enable"
EndSection
Section "InputDevice"
Identifier "Keyboard0"
Driver "kbd"
EndSection
Section "InputDevice"
Identifier "Mouse0"
Driver "mouse"
Option "Protocol" "IMPS/2"
Option "Device" "/dev/input/mice"
Option "ZAxisMapping" "4 5"
EndSection
Section "Monitor"
DisplaySize 380 300 # mm
Identifier "Monitor0"
VendorName "SAM"
ModelName "SyncMaster"
HorizSync 30.0 - 81.0
VertRefresh 56.0 - 75.0
Option "DPMS"
EndSection
Section "Device"
### Available Driver options are:-
### Values: <i>: integer, <f>: float, <bool>: "True"/"False",
### <string>: "String", <freq>: "<f> Hz/kHz/MHz"
### [arg]: arg optional
#Option "NoAccel" # [<bool>]
#Option "SWcursor" # [<bool>]
#Option "ColorKey" # <i>
#Option "CacheLines" # <i>
#Option "Dac6Bit" # [<bool>]
#Option "DRI" # [<bool>]
#Option "NoDDC" # [<bool>]
#Option "ShowCache" # [<bool>]
#Option "XvMCSurfaces" # <i>
#Option "PageFlip" # [<bool>]
Identifier "Card0"
Driver "i810"
VendorName "Intel Corp."
BoardName "82865G Integrated Graphics Device"
BusID "PCI:0:2:0"
EndSection
Section "Screen"
Identifier "Screen0"
Device "Card0"
Monitor "Monitor0"
DefaultDepth 24
SubSection "Display"
Viewport 0 0
Depth 1
EndSubSection
SubSection "Display"
Viewport 0 0
Depth 4
EndSubSection
SubSection "Display"
Viewport 0 0
Depth 8
EndSubSection
SubSection "Display"
Viewport 0 0
Depth 15
EndSubSection
SubSection "Display"
Viewport 0 0
Depth 16
EndSubSection
SubSection "Display"
Viewport 0 0
Depth 24
Modes "1280x1024" "1024x768"
# Modes "1024x768"
EndSubSection
EndSection

Hopefully it works good, it's pretty much useless unless maybe the model keyboard the dev who created it works. Nothing I've tried works as expected, there's always a few keys doing double duty at random functions. (arrow keys tied to print screen randomly is one)Xake wrote:I can hardly wait for an updated package of evdev since it is rewritten in cvs to support keyboards and layouts better.Zr40 wrote:Edit: Solved it! I was using evdev for keyboard input. Changing back to 'keyboard' applied the keymap

Have you tried the version in CVS or? I have not had the time fully to compile and play.....firephoto wrote:Hopefully it works good, it's pretty much useless unless maybe the model keyboard the dev who created it works. Nothing I've tried works as expected, there's always a few keys doing double duty at random functions. (arrow keys tied to print screen randomly is one)
Code: Select all
(WW) I810: No matching Device section for instance (BusID PCI:0:2:1) found