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

Re: X keyboard problem on woody



On Tue, 2002-10-29 at 10:53, Branden Robinson wrote:
> On Mon, Oct 28, 2002 at 10:06:26PM -0500, Ray Knight wrote:
> > Here is the situation using the same 2.2.20 kernel on potato and woody.
> > 
> > Potato - Ctrl-Apple-Fx works on text console and X
> > Woody - Ctrl-Apple-Fx works on text console, does nothing on X.
> 
> And this is without changing the installed version of X?  I smell kernel
> trouble.
> 
No I mean same kernel version, but potato has the standard potato X
version (3.3.something) and woody has the standard woody X version
(4.1.0.1).

> > > You can always use xev to determine what the X server thinks the pressed
> > > keys are.
> > > 
> > Interesting, xev shows that the left apple key is mapped the same as the
> > right alt key and the right apple key is mapped the same as the left alt
> > key.  I'm no expert on X but perhaps this will elicit a solution from
> > someone.
> 
> /me suddenly gets a powerful headache.
> 
> Looks like someone fucked up the keymap.  Can you post your
> /etc/X11/XF86Config (or /etc/X11/XF86Config-4)?
> 

I agree now that the keymap is most likely the problem.  Here is the
XF86Config-4 from my Q950 w 17" monitor:

### BEGIN DEBCONF SECTION
# XF86Config-4 (XFree86 server configuration file) generated by
dexconf,the
# Debian X Configuration tool, using values from the debconf database.
#
# Edit this file with caution, and see the XF86Config-4 manual page.
# (Type "man XF86Config-4" at the shell prompt.)
#
# If you want your changes to this file preserved by dexconf, only make
changes
# before the "### BEGIN DEBCONF SECTION" line above, and/or after the
# "### END DEBCONF SECTION" line below.
#
# To change things within the debconf section, run the command:
#   dpkg-reconfigure xserver-xfree86
# as root.  Also see "How do I add custom sections to a
dexconf-generated
# XF86Config or XF86Config-4 file?" in
/usr/share/doc/xfree86-common/FAQ.gz.

Section "Files"
        FontPath        "unix/:7100"                    # local font
server
        # if the local font server has problems, we can fall back on
these
        FontPath        "/usr/lib/X11/fonts/misc"
        FontPath        "/usr/lib/X11/fonts/100dpi/:unscaled"
        FontPath        "/usr/lib/X11/fonts/75dpi/:unscaled"
        FontPath        "/usr/lib/X11/fonts/Type1"
        FontPath        "/usr/lib/X11/fonts/Speedo"
        FontPath        "/usr/lib/X11/fonts/100dpi"
        FontPath        "/usr/lib/X11/fonts/75dpi"
EndSection

Section "Module"
        Load    "GLcore"
        Load    "bitmap"
        Load    "dbe"
        Load    "ddc"
        Load    "dri"
        Load    "extmod"
        Load    "freetype"
        Load    "glx"
        Load    "int10"
        Load    "pex5"
        Load    "record"
        Load    "speedo"
        Load    "type1"
        Load    "vbe"
        Load    "xie"
EndSection

Section "InputDevice"
        Identifier      "Generic Keyboard"
        Driver          "keyboard"
        Option          "CoreKeyboard"
        Option          "XkbRules"      "xfree86"
        Option          "XkbModel"      "macintosh_old"
        Option          "XkbLayout"     "us"
EndSection

Section "InputDevice"
        Identifier      "Configured Mouse"
        Driver          "mouse"
        Option          "CorePointer"
        Option          "Device"                "/dev/adbmouse"
        Option          "Protocol"              "BusMouse"
        Option          "Emulate3Buttons"       "true"
        Option          "ZAxisMapping"          "4 5"
EndSection

Section "Device"
        Identifier      "Generic Video Card"
        Driver          "fbdev"
        Option          "UseFBDev"              "true"
EndSection

Section "Monitor"
        Identifier      "Generic Monitor"
        HorizSync       30-70
        VertRefresh     50-160
EndSection

Section "Screen"
        Identifier      "Default Screen"
        Device          "Generic Video Card"
        Monitor         "Generic Monitor"
        DefaultDepth    15
        SubSection "Display"
                Depth           1
                Modes           "1152x864" "1024x768" "832x624"
"800x600" "640x4
80"
        EndSubSection
        SubSection "Display"
                Depth           4
                Modes           "1152x864" "1024x768" "832x624"
"800x600" "640x4
80"
        EndSubSection
        SubSection "Display"
                Depth           8
                Modes           "1152x864" "1024x768" "832x624"
"800x600" "640x4
80"
        EndSubSection
        SubSection "Display"
                Depth           15
                Modes           "1152x864" "1024x768" "832x624"
"800x600" "640x4
80"
        EndSubSection
        SubSection "Display"
                Depth           16
                Modes           "1152x864" "1024x768" "832x624"
"800x600" "640x4
80"
        EndSubSection
        SubSection "Display"
                Depth           24
                Modes           "832x624" "800x600" "640x480"
        EndSubSection
EndSection

Section "ServerLayout"
        Identifier      "Default Layout"
        Screen          "Default Screen"
        InputDevice     "Generic Keyboard"
        InputDevice     "Configured Mouse"
EndSection

Section "DRI"
        Mode    0666
EndSection

### END DEBCONF SECTION




Reply to: