Re: problem with softraw and keycodes > 128

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

 



On Thu, Jun 07, 2007 at 08:05:42PM +0200, Hans de Goede wrote:
 
> This is an atkbd only setting, right, so indeed it doesn't affect USB, 
> right?

Right, what I meant is that USB keyboards are affected by the very same
problem you describe (163 in kernel will be 153 in X), and it can't be
worked around by setting softraw to 0.

> What I'm wondering if is there is any harm to setting softraw to 0, atleast 
> until there is a better fix. With it set to 0, for ps/2 keyboards all the 
> user addtionally needs todo is select the correct model, for which there 
> are nice gui tools.

By doing that, you'll be following a dead end road - and noone will fix
the issue for non-PS/2 keyboards. 

> Add a usb-keyboard (which in reality is the linuxkeyboard) model to the 
> mix, for the user to select / to make default even, and things will work 
> for usb users to, right?

Yes, but once you create the linuxkeyboard description, you don't need
softraw=0.

> >>   Since the xkb discriptions for most of the easy access keyboards
> >>   have been written by Suse, I assume the tested them and it works
> >>   for them. Does anyone know how suse does this?
> >
> >I don't think it does work. One of our guys is trying to fix it by
> >
> >	1) Converting the xkb multimedia keyboard descriptions to 
> >	setkeycodes descriptions
> >	2) Creating a "linux keyboard" X xkb description
> >
> >Then, after loading the setkeycodes at boot for the right keyboard
> >ty[e, AT keyboard will work fine, and USB and other keyboards will not
> >need *any* setup to have their multimedia keys working out of the box.
> 
> Thats good news, but what about gui tools to select the model, as this 
> cannot be autoprobed?

I'm sure SUSE will update some of the existing tools to work with the
kernel-based keyboard selection well.

> And what about portability of said tools to for example freebsd?

That will likely not work, obviously.

> Using xkb models should work across different OS's, and is available
> now.  All that is needed (for ps2 keyboards) is for the path of the
> special keys from the kernel to X-server to not change the codes.

Yes, the linux kernel solution is linux specific. But a lot of other
interfaces that X uses are OS specific.

-- 
Vojtech Pavlik
Director SuSE Labs
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

[Index of Archives]     [Kernel Newbies]     [Netfilter]     [Bugtraq]     [Photo]     [Stuff]     [Gimp]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Video 4 Linux]     [Linux for the blind]     [Linux Resources]
  Powered by Linux