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

* [gentoo-user] Re: X keyboard model insists of being "pc104"
  2011-09-11 11:29 [gentoo-user] X keyboard model insists of being "pc104" meino.cramer
@ 2011-09-11 22:58 ` walt
  2011-09-12  3:04   ` meino.cramer
  0 siblings, 1 reply; 4+ messages in thread
From: walt @ 2011-09-11 22:58 UTC (permalink / raw
  To: gentoo-user

On 09/11/2011 04:29 AM, meino.cramer@gmx.de wrote:
> ...
> I copied /etc/X11/xorg.conf.d/10-evdev.conf to 
> /etc/X11/xorg-conf.d/99-evdev.conf and edited it
> 
> The relevant part of xorg.conf says:
> ...

I may be misreading your post (of course :) but my first thought is
that you have three different files trying to configure one keyboard:
1. 10-evdev.conf
2. 99-evdev.conf
3. xorg.conf

Am I wrong about this?






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

* Re: [gentoo-user] Re: X keyboard model insists of being "pc104"
  2011-09-11 22:58 ` [gentoo-user] " walt
@ 2011-09-12  3:04   ` meino.cramer
  2011-09-12  8:01     ` Neil Bothwick
  0 siblings, 1 reply; 4+ messages in thread
From: meino.cramer @ 2011-09-12  3:04 UTC (permalink / raw
  To: gentoo-user

walt <w41ter@gmail.com> [11-09-12 04:34]:
> On 09/11/2011 04:29 AM, meino.cramer@gmx.de wrote:
> > ...
> > I copied /etc/X11/xorg.conf.d/10-evdev.conf to 
> > /etc/X11/xorg-conf.d/99-evdev.conf and edited it
> > 
> > The relevant part of xorg.conf says:
> > ...
> 
> I may be misreading your post (of course :) but my first thought is
> that you have three different files trying to configure one keyboard:
> 1. 10-evdev.conf
> 2. 99-evdev.conf
> 3. xorg.conf
> 
> Am I wrong about this?
> 

No, you are right!
I inserted 99-evdev.conf, because 10-evdev.conf will be overwritten
when updateing, because it was automagically installed.
xorg.conf does the main configuration like setting altgr-intl. It 
was also the first place where I tried to set pc101 -- but it was
ignored. So I tried to talk to evdev (see above) -- but without
success.

How can I proceed?

Best regards
mcc




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

* Re: [gentoo-user] Re: X keyboard model insists of being "pc104"
  2011-09-12  3:04   ` meino.cramer
@ 2011-09-12  8:01     ` Neil Bothwick
  0 siblings, 0 replies; 4+ messages in thread
From: Neil Bothwick @ 2011-09-12  8:01 UTC (permalink / raw
  To: gentoo-user

[-- Attachment #1: Type: text/plain, Size: 453 bytes --]

On Mon, 12 Sep 2011 05:04:24 +0200, meino.cramer@gmx.de wrote:

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

> No, you are right!
> I inserted 99-evdev.conf, because 10-evdev.conf will be overwritten
> when updateing,

No it won't. Most of /etc, including /etc/XX11, is CONFIG_PROTECTed.


-- 
Neil Bothwick

Many husbands go broke on the money their wives save on sales.

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 198 bytes --]

^ 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