Help: ADB keyboard/mouse and XFree86 4.2?

Robert M. Fuhrer yellowdog-general@lists.terrasoftsolutions.com
Wed Apr 17 19:15:01 2002


Once I start up X Windows via startx, the keyboard goes dead.

Admittedly, I never get all the way into X Windows, so this could be
the problem, but then I also can't switch consoles using Alt-Fn (or
Ctl-Alt-Fn) as I can before I start X, so I suspect something may be
wrong with the keyboard part of my X config.

If I ssh in to my box and kill X manually, the keyboard becomes
responsive again.

$ rpm -q XFree86
XFree86-4.2.0-6.30d
$ cat /proc/version
Linux version 2.4.18-0.8a (root@kaelta.terraplex.com) (gcc version 2.95.4 20010319 (prerelease/franzo/20011204)) #1 Wed Feb 27 23:25:46 EST 2002

I've appended the contents of both /etc/X11/XF86Config-4 and
/var/log/XFree86.0.log to this message.

I'm using an ADB keyboard (an Alps GlidePoint circa 1997) with an
embedded trackpad that emulates an ADB mouse.

I saw somewhere on the Web that perhaps the XkbModel option is no
longer used with XFree86; is that true?

Also, should I specify "/dev/mouse" or "/dev/adbmouse" as my mouse
device?  I've looked at all the docs I could find on xfree86.org,
but I couldn't find any specifics on this question.

Thanks,
  -- Bob

 -------------------------------------------------------------
 >               "Smooth Jazz" is no jazz at all...          <
 > Dr. Robert M. Fuhrer                   rfuhrer@ba-dsg.net <
 > IBM T.J. Watson Research Center    rfuhrer@watson.ibm.com <
 -------------------------------------------------------------

==============================================================================
# XF86Config-4 (XFree86 server configuration file) generated by Yi, the
# Yellow Dog Linux installation tool.
#
# Edit this file with caution, and see the XF86Config manual page.
# (Type "man XF86Config" at the shell prompt.)

Section "ServerLayout"
        Identifier      "XFree86 Configured"
        Screen          0 "Screen0" 0 0
        InputDevice     "Mouse0" "CorePointer"
        InputDevice     "Keyboard0" "CoreKeyboard"
EndSection

Section "Files"
        RgbPath         "/usr/X11R6/lib/X11/rgb"
        FontPath        "unix/:7100" # local font server
EndSection

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

Section "InputDevice"
        Identifier      "Keyboard0"
        Driver          "keyboard"

        Option          "CustomKeycodes"
        Option          "XkbModel"      "macintosh_old"
        Option          "XkbLayout"     "us"
EndSection

Section "InputDevice"
        Identifier      "Mouse0"
        Driver          "mouse"
        Option          "ZAxisMapping"  "4 5"
        Option          "Protocol"      ""
        Option          "Device"        "/dev/mouse"
EndSection

Section "Monitor"
        Identifier      "Sony-20sfII"
        VendorName      "Sony"
        ModelName       "CDP-20sfII"

        HorizSync       30-85  # taken out of the Sony CDP-20sfII manual
        VertRefresh     48-150

    # 1024x768 @ 70 Hz, 56.5 kHz hsync
    Modeline "1024x768"    75    1024 1048 1184 1328   768  771  777  806 -hsync -vsync
    # 1024x768 @ 76 Hz, 62.5 kHz hsync
    Modeline "1024x768"    85    1024 1032 1152 1360   768  784  787  823
    # 1024x768 @ 85 Hz, 70.24 kHz hsync
    Modeline "1024x768"   98.9  1024 1056 1216 1408   768 782 788 822 -HSync -VSync

    # 1280x1024 @ 70 Hz, 74.59 kHz hsync
    Modeline "1280x1024"  126.5 1280 1312 1472 1696  1024 1032 1040 1068 -HSync -VSync
    # 1280x1024 @ 74 Hz, 78.85 kHz hsync
    Modeline "1280x1024"  135    1280 1312 1456 1712  1024 1027 1030 1064
    # 1280x1024 @ 76 Hz, 81.13 kHz hsync
    Modeline "1280x1024"  135    1280 1312 1416 1664  1024 1027 1030 1064
    # 1280x1024 @ 85 Hz, 91.15 kHz hsync
    Modeline "1280x1024"  157.5  1280 1344 1504 1728  1024 1025 1028 1072 +HSync +VSync
EndSection

Section "Device"
        Identifier      "ATI Radeon"
        Driver          "ati"
        BusID           "PCI:1:14:0"
EndSection

Section "Screen"
        Identifier "Screen0"
        Device     "ATI Radeon"
        Monitor    "Sony-20sfII"
        DefaultDepth 24
        SubSection "Display"
                Depth   8
                Modes "1280x1024"
        EndSubSection
        SubSection "Display"
                Depth   15
                Modes "1280x1024"
        EndSubSection
        SubSection "Display"
                Depth   16
                Modes "1280x1024"
        EndSubSection
        SubSection "Display"
                Depth   24
                Modes "1280x1024"
        EndSubSection
EndSection

==============================================================================

XFree86 Version 4.2.0 (echo Yellow Dog Linux release: 4.2.0-6.30d) / X Window System
(protocol Version 11, revision 0, vendor release 6600)
Release Date: 23 January 2002
        If the server is older than 6-12 months, or if your card is
        newer than the above date, look for a newer version before
        reporting problems.  (See http://www.XFree86.Org/)
Build Operating System: Linux 2.4.18-0.8asmp ppc [ELF] 
Build Host: kaelta.terraplex.com
 
Module Loader present
Markers: (--) probed, (**) from config file, (==) default setting,
         (++) from command line, (!!) notice, (II) informational,
         (WW) warning, (EE) error, (NI) not implemented, (??) unknown.
(==) Log file: "/var/log/XFree86.0.log", Time: Sun Apr 14 06:54:48 2002
(==) Using config file: "/etc/X11/XF86Config-4"
(==) ServerLayout "XFree86 Configured"
(**) |-->Screen "Screen0" (0)
(**) |   |-->Monitor "Sony-20sfII"
(**) |   |-->Device "ATI Radeon"
(**) |-->Input Device "Mouse0"
(**) |-->Input Device "Keyboard0"
(**) Option "XkbModel" "macintosh_old"
(**) XKB: model: "macintosh_old"
(**) Option "XkbLayout" "us"
(**) XKB: layout: "us"
(**) Option "CustomKeycodes"
(**) Keyboard: CustomKeycode enabled
(WW) The directory "/usr/share/fonts/default/TrueType" does not exist.
        Entry deleted from font path.
(**) FontPath set to "unix/:7100,/usr/lib/X11/fonts/misc:unscaled,/usr/lib/X11/fonts/75dpi/:unscaled,/usr/lib/X11/fonts/100dpi/:unscaled,/usr/lib/X11/fonts/misc,/usr/lib/X11/fonts/cyrillic,/usr/lib/X11/fonts/Type1,/usr/lib/X11/fonts/Speedo,/usr/lib/X11/fonts/75dpi,/usr/lib/X11/fonts/100dpi,/usr/share/fonts/default/Type1"
(**) RgbPath set to "/usr/X11R6/lib/X11/rgb"
(==) ModulePath set to "/usr/X11R6/lib/modules"
(--) using VT number 7

(WW) Open APM failed (/dev/apm_bios) (No such device)
(II) Module ABI versions:
        XFree86 ANSI C Emulation: 0.1
        XFree86 Video Driver: 0.5
        XFree86 XInput driver : 0.3
        XFree86 Server Extension : 0.1
        XFree86 Font Renderer : 0.3
(II) Loader running on linux
(II) LoadModule: "bitmap"
(II) Loading /usr/X11R6/lib/modules/fonts/libbitmap.a
(II) Module bitmap: vendor="The XFree86 Project"
        compiled for 4.2.0, module version = 1.0.0
        Module class: XFree86 Font Renderer
        ABI class: XFree86 Font Renderer, version 0.3
(II) Loading font Bitmap
(II) LoadModule: "pcidata"
(II) Loading /usr/X11R6/lib/modules/libpcidata.a
(II) Module pcidata: vendor="The XFree86 Project"
        compiled for 4.2.0, module version = 0.1.0
        ABI class: XFree86 Video Driver, version 0.5
(II) PCI: PCI scan (all values are in hex)
(II) PCI: 00:0b:0: chip 106b,0001 card 0000,0000 rev 03 class 06,00,00 hdr 00
(II) PCI: 00:10:0: chip 106b,0002 card 0000,0000 rev 02 class ff,00,00 hdr 00
(II) PCI: 01:0b:0: chip 106b,0001 card 0000,0000 rev 03 class 06,00,00 hdr 00
(II) PCI: 01:0d:0: chip 1045,c861 card 1045,c861 rev 10 class 0c,03,10 hdr 00
(II) PCI: 01:0e:0: chip 1002,5159 card 1002,0908 rev 00 class 03,00,00 hdr 00
(II) PCI: End of PCI scan
(II) LoadModule: "scanpci"
(II) Loading /usr/X11R6/lib/modules/libscanpci.a
(II) Module scanpci: vendor="The XFree86 Project"
        compiled for 4.2.0, module version = 0.1.0
        ABI class: XFree86 Video Driver, version 0.5
(II) UnloadModule: "scanpci"
(II) Unloading /usr/X11R6/lib/modules/libscanpci.a
(II) Host-to-PCI bridge:
(II) Host-to-PCI bridge:
(II) Bus 0: bridge is at (0:11:0), (-1,0,0), BCTRL: 0x08 (VGA_EN is set)
(II) Bus 0 I/O range:
        [0] -1  0x00000000 - 0x0000ffff (0x10000) IX[B]
(II) Bus 0 non-prefetchable memory range:
        [0] -1  0x00000000 - 0xffffffff (0x0) MX[B]
(II) Bus 0 prefetchable memory range:
        [0] -1  0x00000000 - 0xffffffff (0x0) MX[B]
(II) Bus 1: bridge is at (1:11:0), (-1,1,0), BCTRL: 0x08 (VGA_EN is set)
(II) Bus 1 I/O range:
        [0] -1  0x00000000 - 0x0000ffff (0x10000) IX[B]
(II) Bus 1 non-prefetchable memory range:
        [0] -1  0x00000000 - 0xffffffff (0x0) MX[B]
(II) Bus 1 prefetchable memory range:
        [0] -1  0x00000000 - 0xffffffff (0x0) MX[B]
==============================================================================