JamesBong n00b
Joined: 08 Feb 2006 Posts: 9 Location: Freiburg, Germany
|
Posted: Mon Sep 25, 2006 4:09 pm Post subject: after emerge --newuse zerokey doesn't work in X anymore |
|
|
Hi everyone,
I had to do a major update, about 2OO packages. I between I had to set new use flags in order to compile the rest of the update.
Code: | USE="nptl nptlonly ..." |
now the zero doesn't work in X anymore. I didn't do any changes to my xorg.conf (which will be on the bottom of this post). The hardware is an 5.6 AL Powerbook. The Zero works fine in console, so I assume everything should be fine on the kernel level. I ran etc-update.
I have a xmodmap file, which also cointains this:
Code: | keycode 0x13 = 0 equal braceright |
this is what xev says, when pressing the zero key on the keyboard:
Quote: | KeymapNotify event, serial 29, synthetic NO, window 0x0,
keys: 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
|
and this when pressing the nine:
Quote: |
KeyPress event, serial 29, synthetic NO, window 0x2400001,
root 0x4c, subw 0x0, time 3846573536, (69,-12), root:(196,649),
state 0x0, keycode 18 (keysym 0x39, 9), same_screen YES,
XLookupString gives 1 bytes: (39) "9"
XmbLookupString gives 1 bytes: (39) "9"
XFilterEvent returns: False
|
when starting X from the console, xkb produces this:
Quote: |
(II) XINPUT: Adding extended input device "Keyboard0" (type: KEYBOARD)
(II) XINPUT: Adding extended input device "Mouse0" (type: MOUSE)
xkb_keycodes { include "xfree86+aliases(qwertz)" };
xkb_types { include "complete" };
xkb_compatibility { include "complete" };
xkb_symbols { include "pc(pc105)+de+compose(rwin)" };
xkb_geometry { include "pc(pc105)" };
(--) Mouse0: PnP-detected protocol: "ExplorerPS/2"
xkb_keycodes { include "xfree86+aliases(qwertz)" };
xkb_types { include "complete" };
xkb_compatibility { include "complete" };
xkb_symbols { include "pc(pc105)+de(nodeadkeys)+compose(rwin)"
xkb_geometry { include "pc(pc105)" };
The XKEYBOARD keymap compiler (xkbcomp) reports:
> Warning: Type "ONE_LEVEL" has 1 levels, but <RALT> has 2 symbols
> Ignoring extra symbols
|
Any suggestions on what to do?
Thank you very much.
/etc/X11/xorg.conf:
Code: |
# This file was generated by Xorgautoconfig v0.2.2.
Section "ServerLayout"
Identifier "X.Org Configured"
Screen 0 "Screen0" 0 0
InputDevice "Mouse0" "CorePointer"
InputDevice "Keyboard0" "CoreKeyboard"
EndSection
Section "Files"
# Multiple FontPath entries are allowed (which are concatenated together),
# as well as specifying multiple comma-separated entries in one FontPath
# command (or a combination of both methods)
# For X Font Server support, uncomment this and comment the other FontPaths
# Note that this is not required for most configurations
# FontPath "unix/:-1"
FontPath "/usr/share/fonts/local/"
FontPath "/usr/share/fonts/encodings/"
FontPath "/usr/share/fonts/util/"
FontPath "/usr/share/fonts/misc/"
FontPath "/usr/share/fonts/75dpi/"
FontPath "/usr/share/fonts/75dpi/:unscaled"
FontPath "/usr/share/fonts/100dpi/"
FontPath "/usr/share/fonts/100dpi/:unscaled"
FontPath "/usr/share/fonts/cyrillic/"
FontPath "/usr/share/fonts/Type1/"
FontPath "/usr/share/fonts/TTF/"
FontPath "/usr/share/fonts/ukr/"
FontPath "/usr/share/fonts/default/"
FontPath "/usr/share/fonts/unifont/"
FontPath "/usr/share/fonts/sharefonts/"
FontPath "/usr/share/fonts/corefonts/"
FontPath "/usr/share/fonts/ttf-bitstream-vera/"
EndSection
Section "Module"
Load "extmod"
Load "dri"
Load "dbe"
Load "record"
Load "glx"
Load "type1"
Load "freetype"
EndSection
Section "Extensions"
# Option "Composite" "Disable" # Experimental
EndSection
Section "ServerFlags"
Option "blank time" "10" # 10 minutes
Option "standby time" "20"
Option "suspend time" "30"
Option "off time" "60"
### Uncomment this Server flag if X should not change resolutions.
### This is useful if mode changing crashes / corrupts the X server
# Option "DisableVidModeExtensions"
EndSection
Section "InputDevice"
Identifier "Keyboard0"
Driver "kbd"
# Change "XkbModel" to "macintosh_old" if you are using
# the deprecated adb keycodes.
Option "XkbModel" "pc105"#"powerbook"#"pc105"
Option "XkbLayout" "de"#"macintosh_vndr/de" #"de"
Option "XkbOptions" "compose:rwin"
### Uncomment this if your layout uses nodeadkeys
Option "XkbVariant" "nodeadkeys"
#Driver "keyboard"
#Option "XkbModel" "powerbook"
#Option "XKbLayout" "ch(mac_de)"
EndSection
Section "InputDevice"
Identifier "Mouse0"
Driver "mouse"
Option "CorePointer"
Option "Protocol" "auto"
Option "Device" "/dev/input/mice"
EndSection
Section "Monitor"
Identifier "Monitor0"
UseModes "Modes0"
ModelName "Monitor Model"
Option "DPMS"
HorizSync 30-130
VertRefresh 50-160
EndSection
Section "Modes"
Identifier "Modes0"
# Generated
# D: 79.815 MHz, H: 51.963 kHz, V: 60.003 Hz
Modeline "1280x854" 79.815 1280 1296 1408 1536 854 855 858 866 -HSync
-VSync
EndSection
Section "Device"
Identifier "Card0"
### Available Driver options:
Option "EnablePageFlip" "true" # Increases performance
#Option "SWcursor" "false" # Use Software Cursor
#Option "NoAccel" "false" # Disable Hardware Acceleration
#Option "AGPMode" "1" # Set AGP data transfer rate, DRI only
#Option "AGPFastWrite" "false" # Use AGP Fast Write, DRI only
#Option "RenderAccel" "true" # Hardware acceleration
#Option "DCCMode" "false" # Use querried modes from monitor
#Option "MonitorLayout" "TMDS" # Enable this for Apple DVI LCDs
### See "man radeon" for additional options
Driver "radeon"
# BusID "PCI:0:16:0"
EndSection
Section "Screen"
Identifier "Screen0"
Device "Card0"
Monitor "Monitor0"
DefaultDepth 16
SubSection "Display"
Depth 8
Modes "1280x854"
EndSubSection
SubSection "Display"
Depth 16
Modes "1280x854"
EndSubSection
SubSection "Display"
Depth 24
Modes "1280x854"
EndSubSection
EndSection
Section "DRI"
Group 0
Mode 0666
EndSection
|
|
|