public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
From: meino.cramer@gmx.de
To: Gentoo <gentoo-user@lists.gentoo.org>
Subject: [gentoo-user] X keyboard model insists of being "pc104"
Date: Sun, 11 Sep 2011 13:29:50 +0200	[thread overview]
Message-ID: <20110911112950.GA21260@solfire> (raw)


Hi,

when doing a 

    setxkbmap -v -query

I get:

    Trying to build keymap using the following components:
    keycodes:   evdev+aliases(qwerty)
    types:      complete
    compat:     complete
    symbols:    pc+us(altgr-intl)+inet(evdev)+capslock(none)
    geometry:   pc(pc104)
    xkb_keymap {
        xkb_keycodes  { include "evdev+aliases(qwerty)"	};
        xkb_types     { include "complete"	};
        xkb_compat    { include "complete"	};
        xkb_symbols   { include "pc+us(altgr-intl)+inet(evdev)+capslock(none)"	};
        xkb_geometry  { include "pc(pc104)"	};
    };

beside other things, my keyboard is recognized as pc104 keyboard.
This is not true :) -- it is definetly a pc101 one (IBM Model M
US-Ansi).

I copied /etc/X11/xorg.conf.d/10-evdev.conf to 
/etc/X11/xorg-conf.d/99-evdev.conf and edited it
to this one:


    Section "InputClass"
            Identifier "evdev keyboard catchall"
            MatchIsKeyboard "on"
            MatchDevicePath "/dev/input/event*"
            Driver "evdev"
            Option  "XKbModel" "pc101"
            Option "xkb_layout" "us"
            Option  "XkbLayout" "us"
            Option  "XKbVariant" "altgr-intl"
    EndSection

The relevant part of xorg.conf says:

    Section "InputClass"
        Identifier "IBM MODEL M"
        Driver "evdev"
        Option "XkbModel" "evdev"
        Option "XkbLayout" "us"
        Option "XkbVariant" "altgr-intl"
        Option "XkbOptions" "caps:none"
        MatchIsKeyboard "on"
    EndSection

there is no ~/.xmodmap or ~/.Xmodmap at $HOME...

The keyboard works so far as I can tell, but xkeycaps 
reports wrong keys.

What part of my Linux box is thinking a Model M has
104 keys?
How can I get rid of those additional three keys? ;-)

Best regards,
mcc




             reply	other threads:[~2011-09-11 11:31 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-09-11 11:29 meino.cramer [this message]
2011-09-11 22:58 ` [gentoo-user] Re: X keyboard model insists of being "pc104" walt
2011-09-12  3:04   ` meino.cramer
2011-09-12  8:01     ` Neil Bothwick

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20110911112950.GA21260@solfire \
    --to=meino.cramer@gmx.de \
    --cc=gentoo-user@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox