public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-user] X keyboard model insists of being "pc104"
@ 2011-09-11 11:29 meino.cramer
  2011-09-11 22:58 ` [gentoo-user] " walt
  0 siblings, 1 reply; 4+ messages in thread
From: meino.cramer @ 2011-09-11 11:29 UTC (permalink / raw
  To: Gentoo


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




^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2011-09-12  8:02 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-09-11 11:29 [gentoo-user] X keyboard model insists of being "pc104" meino.cramer
2011-09-11 22:58 ` [gentoo-user] " walt
2011-09-12  3:04   ` meino.cramer
2011-09-12  8:01     ` Neil Bothwick

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox