Re: up-arrow key not working again.

2009-05-27 Thread Peter Hutterer
On Wed, May 27, 2009 at 03:55:07PM -0500, Robin Cook wrote:
> I have the AllowEmptyInput but not the AutoAddDevices.
> 
> Section "ServerFlags"
> Option  "AllowEmptyInput"   "false"
> EndSection
> 
> The two option were what I was told to put in there and it was working
> on the previous version with the patch.

Oh. that'd explain it then. I'm suprised you don't get duplicate key events
though.

anyway. If AEI is off in the server, the server defaults to the xorg rules
file (which is the one for the "kbd" driver).
you still have AutoAddDevices on, so the device you actually see are the
ones added by through HAL with the evdev driver. evdev has different
keycodes than kbd, leading to the up/screenshot issue.

if you remove the AEI option (or enable it, the default), the server
defaults to the evdev ruleset (expecting devices to be added) and the
problem is gone. Note that while you're at it, remove the keyboard section
from your xorg.conf, it'll be ignored once AEI is on anyway.

tbh, I can't even think of a scenario where AEI should be off but
AutoAddDevices should be on. The reason why we see this configuration is
that some (pre-released) X servers required it to get the evdev keycode
issues sorted out. So please tell your friends that AEI off is not your
friend at all.

Cheers,
  Peter
___
xorg mailing list
xorg@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/xorg


Re: up-arrow key not working again.

2009-05-27 Thread Robin Cook
I have the AllowEmptyInput but not the AutoAddDevices.

Section "ServerFlags"
Option  "AllowEmptyInput"   "false"
EndSection

The two option were what I was told to put in there and it was working
on the previous version with the patch.

Thanks
CuZnDragon
Robin Cook


On Wed, 2009-05-27 at 12:58 +1000, Peter Hutterer wrote:
> On Tue, May 26, 2009 at 08:14:44PM -0500, Robin Cook wrote:
> > Yes I have xkeyboard-config 1.5
> > 
> > Section "InputDevice"
> > Identifier  "Keyboard0"
> > Driver  "kbd"
> > 
> > Option  "Protocol" "evdev"
> > Option  "Dev Phys" "isa0060/serio0/input0"
> 
> I don't think the kbd driver supports these two options.
> 
> > 
> > Option  "XkbRules" "Xorg"
> > Option  "XkbModel" "pc104"
> > Option  "XkbLayout" "us"
> > Option  "XkbVariant" "dvorak"
> > EndSection
> > 
> > xkb_keymap {
> > xkb_keycodes  { include "evdev+aliases(qwerty)" };
> > xkb_types { include "complete"  };
> > xkb_compat{ include "complete"  };
> > xkb_symbols   { include "pc+us(dvorak)+us:2
> > +inet(evdev)+level3(ralt_switch_for_alts_toggle):1
> > +level3(ralt_switch_for_alts_toggle):2+group(alts_toggle)"  };
> > xkb_geometry  { include "pc(pc104)" };
> > };
> 
> There's some combination of configurations that's screwing up.
> this output indicates that you're using the evdev ruleset. Do you have
> AutoAddDevices or AllowEmptyInput off? otherwise the kbd section will just
> be ignored anyway.
> 
> Cheers,
>   Peter
> 


signature.asc
Description: This is a digitally signed message part
___
xorg mailing list
xorg@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/xorg

Re: up-arrow key not working again.

2009-05-27 Thread ace102

I had the same annoyance for a while on startup. If you're running Compiz
just reload the window manager. No problems lately with Gnome 2.26.1,
Xserver 1.6.99+, and Compiz 0.8.2.
  

Robin Cook wrote:
> 
> I upgraded xorg-server to 1.6.1 and now the up-arrow key is not working
> the way it is supposed to.  When I hit it in gnome it causes the
> screenshot applet to pop up. 
> 
> I had this problem before and someone pointed me to a patch for the
> previous xorg-server (1.5 I think) but I tried applying the patch and it
> applies but the compile fails.
> 
> Is there another patch that fixes this again?
> 
> Thanks
> CuZnDragon
> Robin Cook
> 
>  
> ___
> xorg mailing list
> xorg@lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/xorg
> 


-
Error:Success
-- 
View this message in context: 
http://www.nabble.com/up-arrow-key-not-working-again.-tp23733183p23746153.html
Sent from the Free Desktop - xorg mailing list archive at Nabble.com.

___
xorg mailing list
xorg@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/xorg


Re: up-arrow key not working again.

2009-05-27 Thread dolphinling
Robin Cook wrote:
> I upgraded xorg-server to 1.6.1 and now the up-arrow key is not working
> the way it is supposed to.  When I hit it in gnome it causes the
> screenshot applet to pop up. 

I have this same problem, but *only* when running inside an Xnest.

I'm running xorg-server 1.6.1.901. I have no xorg.conf. I have xf86-input-evdev 
installed, and no x-i-mouse or x-i-keyboard.

The only strange thing I'm doing is using the colemak keyboard layout in my 
main 
server, but not in the nested server. I haven't tried qwerty to see if it 
changes anything.

-- 
dolphinling

___
xorg mailing list
xorg@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/xorg


Re: up-arrow key not working again.

2009-05-26 Thread Peter Hutterer
On Tue, May 26, 2009 at 08:14:44PM -0500, Robin Cook wrote:
> Yes I have xkeyboard-config 1.5
> 
> Section "InputDevice"
> Identifier  "Keyboard0"
> Driver  "kbd"
> 
> Option  "Protocol" "evdev"
> Option  "Dev Phys" "isa0060/serio0/input0"

I don't think the kbd driver supports these two options.

> 
> Option  "XkbRules" "Xorg"
> Option  "XkbModel" "pc104"
> Option  "XkbLayout" "us"
> Option  "XkbVariant" "dvorak"
> EndSection
> 
> xkb_keymap {
>   xkb_keycodes  { include "evdev+aliases(qwerty)" };
>   xkb_types { include "complete"  };
>   xkb_compat{ include "complete"  };
>   xkb_symbols   { include "pc+us(dvorak)+us:2
> +inet(evdev)+level3(ralt_switch_for_alts_toggle):1
> +level3(ralt_switch_for_alts_toggle):2+group(alts_toggle)"};
>   xkb_geometry  { include "pc(pc104)" };
> };

There's some combination of configurations that's screwing up.
this output indicates that you're using the evdev ruleset. Do you have
AutoAddDevices or AllowEmptyInput off? otherwise the kbd section will just
be ignored anyway.

Cheers,
  Peter
___
xorg mailing list
xorg@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/xorg


Re: up-arrow key not working again.

2009-05-26 Thread Robin Cook
Yes I have xkeyboard-config 1.5

Section "InputDevice"
Identifier  "Keyboard0"
Driver  "kbd"

Option  "Protocol" "evdev"
Option  "Dev Phys" "isa0060/serio0/input0"

Option  "XkbRules" "Xorg"
Option  "XkbModel" "pc104"
Option  "XkbLayout" "us"
Option  "XkbVariant" "dvorak"
EndSection

xkb_keymap {
xkb_keycodes  { include "evdev+aliases(qwerty)" };
xkb_types { include "complete"  };
xkb_compat{ include "complete"  };
xkb_symbols   { include "pc+us(dvorak)+us:2
+inet(evdev)+level3(ralt_switch_for_alts_toggle):1
+level3(ralt_switch_for_alts_toggle):2+group(alts_toggle)"  };
xkb_geometry  { include "pc(pc104)" };
};

Thanks
CuZnDragon
Robin Cook

On Wed, 2009-05-27 at 09:37 +1000, Peter Hutterer wrote:
> On Tue, May 26, 2009 at 05:56:53PM -0500, Robin Cook wrote:
> > I upgraded xorg-server to 1.6.1 and now the up-arrow key is not working
> > the way it is supposed to.  When I hit it in gnome it causes the
> > screenshot applet to pop up. 
> > 
> > I had this problem before and someone pointed me to a patch for the
> > previous xorg-server (1.5 I think) but I tried applying the patch and it
> > applies but the compile fails.
> 
> 1.6 had a fix for this merged upstream, so you shouldn't need a patch.  Do
> you have xkeyboard-config 1.5? Do you have rules "xfree86" or "base" in use?
> what's the output of setxkbmap -print?
> 
> Cheers,
>   Peter
> 


signature.asc
Description: This is a digitally signed message part
___
xorg mailing list
xorg@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/xorg

Re: up-arrow key not working again.

2009-05-26 Thread Peter Hutterer
On Tue, May 26, 2009 at 05:56:53PM -0500, Robin Cook wrote:
> I upgraded xorg-server to 1.6.1 and now the up-arrow key is not working
> the way it is supposed to.  When I hit it in gnome it causes the
> screenshot applet to pop up. 
> 
> I had this problem before and someone pointed me to a patch for the
> previous xorg-server (1.5 I think) but I tried applying the patch and it
> applies but the compile fails.

1.6 had a fix for this merged upstream, so you shouldn't need a patch.  Do
you have xkeyboard-config 1.5? Do you have rules "xfree86" or "base" in use?
what's the output of setxkbmap -print?

Cheers,
  Peter
___
xorg mailing list
xorg@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/xorg


up-arrow key not working again.

2009-05-26 Thread Robin Cook
I upgraded xorg-server to 1.6.1 and now the up-arrow key is not working
the way it is supposed to.  When I hit it in gnome it causes the
screenshot applet to pop up. 

I had this problem before and someone pointed me to a patch for the
previous xorg-server (1.5 I think) but I tried applying the patch and it
applies but the compile fails.

Is there another patch that fixes this again?

Thanks
CuZnDragon
Robin Cook


signature.asc
Description: This is a digitally signed message part
___
xorg mailing list
xorg@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/xorg