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

[debian-users:55290] Re: Squeeze の X でキー入力ができない



 こんにちは。島田です。
 ご回答ありがとうございます。

On Wed, 25 May 2011 12:30:41 +0900
長南洋一 <cyoichi@xxxxxxxxxxxxxxx> wrote:

> 最近は、キーボードの設定は、/etc/X11/xorg.conf ではなく、
> udev 経由で行われているのではなかったか (それでも、xorg.conf を
> 見せていただいた方がよいかもしれません)。/lib/udev/rules.d/
> 64-xorg-xkb.rules によれば、udev は /etc/default/keyboard を
> 見ているようです。
> 
> /etc/default/keyboard では、どう設定されているでしょうか。

 失礼しました。

 /etc/default/keyboard です。

# Check /usr/share/doc/keyboard-configuration/README.Debian for
# documentation on what to do after having modified this file.

# The following variables describe your keyboard and can have the same
# values as the XkbModel, XkbLayout, XkbVariant and XkbOptions options
# in /etc/X11/xorg.conf.

XKBMODEL="pc101"
XKBLAYOUT="jp"
XKBVARIANT="PowerKeyboard"
XKBOPTIONS=""

# If you don't want to use the XKB layout on the console, you can
# specify an alternative keymap.  Make sure it will be accessible
# before /usr is mounted.
# KMAP=/etc/console-setup/defkeymap.kmap.gz

-----------------

 /etc/X11/xorg.conf です。

# XF86Config-4 (XFree86 X 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.)
#
# This file is automatically updated on xserver-xfree86 package upgrades *only*
# if it has not been modified since the last upgrade of the xserver-xfree86
# package.
#
# If you have edited this file but would like it to be automatically updated
# again, run the following commands as root:
#
#   cp /etc/X11/XF86Config-4 /etc/X11/XF86Config-4.custom
#   md5sum /etc/X11/XF86Config-4 > /var/lib/xfree86/XF86Config-4.md5sum
#   dpkg-reconfigure xserver-xfree86

Section "Files"
        FontPath        "unix/:7100"                    # local font server
        # if the local font server has problems, we can fall back on these
        FontPath        "/usr/share/fonts/X11/100dpi"
        FontPath        "/usr/share/fonts/X11/75dpi"
        FontPath        "/usr/share/fonts/X11/Type1"
        FontPath        "/usr/share/fonts/X11/cyrillic"
        FontPath        "/usr/share/fonts/X11/encodings"
        FontPath        "/usr/share/fonts/X11/misc"
        FontPath        "/usr/share/fonts/X11/truetype"
        FontPath        "/var/lib/defoma/x-ttcidfont-conf.d/dirs/CID"
        FontPath        "/var/lib/defoma/x-ttcidfont-conf.d/dirs/TrueType"
EndSection

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

Section "InputDevice"
        Identifier      "Generic Keyboard"
        Driver          "keyboard"
        Option          "CoreKeyboard"
        Option          "XkbRules"      "xfree86"
        Option          "XkbModel"      "pc106"
        Option          "XkbLayout"     "jp"
        Option          "XkbVariant"    "Power Keyboard"
EndSection

Section "InputDevice"
        Identifier      "Configured Mouse"
        Driver          "mouse"
        Option          "CorePointer"
        Option          "Device"                "/dev/psaux"
        Option          "Protocol"              "PS/2"
        Option          "ZAxisMapping"          "4 5"
EndSection

Section "InputDevice"
        Identifier      "Generic Mouse"
        Driver          "mouse"
        Option          "SendCoreEvents"        "true"
        Option          "Device"                "/dev/input/mice"
        Option          "Protocol"              "ImPS/2"
        Option          "ZAxisMapping"          "4 5"
EndSection

#Section "Device"
#       Identifier      "IO-DATA GA7408/AGP2"
#       Driver          "i740"
#       VideoRam        8192
#EndSection

Section "Device"
        Identifier      "Intel 810"
#       Driver          "vesa"
        Driver          "intel"
        VendorName      "Intel 810"
        BoardName       "Intel 810"
        VideoRam        65536
EndSection

#Section "Monitor"
#       Identifier      "LG Studioworks 77i"
#       HorizSync       30-70
#       VertRefresh     50-160
#       Option          "DPMS"
#EndSection

Section "Monitor"
        Identifier      "Logitec LCM-T156AS/S"
        HorizSync       30-61
        VertRefresh     56-76
        Option          "DPMS"
        VendorName  "Logitec"
        ModelName   "LCM-T156AS/S"
EndSection

Section "Screen"
        Identifier      "Default Screen"
        Device          "Intel 810"
        Monitor         "Logitec LCM-T156AS/S"
        DefaultDepth    24
        SubSection "Display"
                Depth           1
                Modes           "1152x864" "1024x768" "800x600" "640x480"
        EndSubSection
        SubSection "Display"
                Depth           4
                Modes           "1152x864" "1024x768" "800x600" "640x480"
        EndSubSection
        SubSection "Display"
                Depth           8
                Modes           "1152x864" "1024x768" "800x600" "640x480"
        EndSubSection
        SubSection "Display"
                Depth           15
                Modes           "1152x864" "1024x768" "800x600" "640x480"
        EndSubSection
        SubSection "Display"
                Depth           16
                Modes           "1152x864" "1024x768" "800x600" "640x480"
        EndSubSection
        SubSection "Display"
                Depth           24
                Modes           "1152x864" "1024x768" "800x600" "640x480"
        EndSubSection
EndSection

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

Section "DRI"
        Mode    0666
EndSection

-----------------

$ startx > X-Error.txt 2>&1
の内容です。

X.Org X Server 1.7.7
Release Date: 2010-05-04
X Protocol Version 11, Revision 0
Build Operating System: Linux 2.6.32.29-dsa-ia32 i686 Debian
Current Operating System: Linux power 2.6.38.7-pentium4 #1 Tue May 24 13:57:57 JST 2011 i686
Kernel command line: BOOT_IMAGE=/vmlinuz-2.6.38.7-pentium4 root=UUID=c68500ec-4162-4f9f-8426-f358199ec122 ro root=UUID=c68500ec-4162-4f9f-8426-f358199ec122 ro pci=noacpi acpi=on apm=on mem=805306368
Build Date: 19 February 2011  02:37:36PM
xorg-server 2:1.7.7-13 (Cyril Brulebois <kibi@debian.org>)
Current version of pixman: 0.16.4
        Before reporting problems, check http://wiki.x.org
        to make sure that you have the latest version.
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/Xorg.0.log", Time: Wed May 25 20:07:06 2011
(==) Using config file: "/etc/X11/xorg.conf"
(==) Using system config directory "/usr/share/X11/xorg.conf.d"
(EE) Failed to load module "xtt" (module does not exist, 0)
WARNING: All config files need .conf: /etc/modprobe.d/devfsd, it will be ignored in a future release.
WARNING: All config files need .conf: /etc/modprobe.d/autofs, it will be ignored in a future release.
WARNING: All config files need .conf: /etc/modprobe.d/arch, it will be ignored in a future release.
WARNING: All config files need .conf: /etc/modprobe.d/crypto, it will be ignored in a future release.
SELinux: Disabled on system, not enabling in X server
The XKEYBOARD keymap compiler (xkbcomp) reports:
> Error:            No Symbols named "PowerKeyboard" in the include file "jp"
>                   Exiting
>                   Abandoning symbols file "default"
Errors from xkbcomp are not fatal to the X server

waiting for X server to shut down

-----------------

 上記に、

> The XKEYBOARD keymap compiler (xkbcomp) reports:
> > Error:            No Symbols named "PowerKeyboard" in the include file "jp"
> >                   Exiting
> >                   Abandoning symbols file "default"

とあるのが気になりますが、どう対処してよいか分かりません。

 よろしくお願いいたします。


----------------------------------------------------------------------
Mail: shimaden@xxxxxxxxx
Home Page: http://www.din.or.jp/~shimaden/
島田博幸
Hiroyuki Shimada
----------------------------------------------------------------------