Andreas Nilsson wrote:
> Hello,
> 
> I recently did a clean install of 2008.11 preview build 100a, and now my 
> keyboard behaves a bit strange. In my previous install of 2008.05 it worked 
> as I wanted it. The computer is a Lenovo ThinkPad T61p.
> 
> First: I have a english keyboard ( computer bought in the US) but as I'm 
> located in Sweden I need to use some Swedish characters. I have a keymap file 
> that lets me use r_alt+{ ;,',[ } to type them. But in 2008.11 the r_alt key 
> is detected as ModeSwitch according to xev.

Yes, on Solaris, Right Alt has always mapped to Alt Graph, aka Mode Switch.
I believe Linux defaults to the same as well now.

> When reading /var/log/xorg.0.log the keyboard is detected as a sun_type6_usb. 
> So i tried to modify this, and created a /etc/X11/xorg.conf with the 
> following def for keyboard: 
> 
> Section "InputDevice"
>     Identifier     "Keyboard0"
>     Driver         "kbd"
>     Option         "XbkModel"   "pc105"

You have a typo there in XkbModel.

>     Option         "XkbRules"   "xorg"
> EndSection
> 
> But after restarting X the keyboard still gets detected as sun_type6_usb.

That's the default - it's just pc105 plus definitions of the extra keys found
on Sun keyboards.   If you use a non-Sun keyboard, you won't be generating
events with those keycodes, so they shouldn't bother anything.

-- 
        -Alan Coopersmith-           alan.coopersmith at sun.com
         Sun Microsystems, Inc. - X Window System Engineering


Reply via email to