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
http://dolphinling.net/
___
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 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


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

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


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 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

2008-11-13 Thread Robin Cook
I am using evdev.

Section InputDevice
Identifier  Keyboard0
Driver  kbd
Option  XkbModel evdev
Option  XkbLayout us
Option  XkbVariant dvorak
Option  XkbRules Xorg
EndSection

gnome keyboard config also shows evdev.

and I do have xkeyboard-config is at version 1.4


On Fri, 2008-11-14 at 08:28 +1000, Peter Hutterer wrote:
 On Thu, Nov 13, 2008 at 02:03:10PM +0100, Nicolas Mailhot wrote:
  Le Jeu 13 novembre 2008 12:25, Robin Cook a écrit :
   Since upgrading the up arrow key has not been working on my system and
   I
   am unable to figure out how to fix it.   When I press the up arrow key
   it causes the gnome snapshot app to open.
  
   Attached is the output from xev.
  
   I started xev then moved the mouse over the close button of the xev
   window the pressed the up arrow key, then clicked on the close button
   of the window.
  
  Use 'evdev' as keyboard model, not pc105
 
 or upgrade to xkeyboard-config 1.4
 
 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

2008-11-13 Thread Peter Hutterer
On Thu, Nov 13, 2008 at 05:40:20PM -0600, Robin Cook wrote:
 I am using evdev.
 
 Section InputDevice
 Identifier  Keyboard0
 Driver  kbd
 Option  XkbModel evdev
 Option  XkbLayout us
 Option  XkbVariant dvorak
 Option  XkbRules Xorg
 EndSection
 
 gnome keyboard config also shows evdev.
 
 and I do have xkeyboard-config is at version 1.4

no, you're trying to use the kbd driver. btw. chances are that if you're
running git master you don't need an input section anyway.

You still need the patch donnie posted to flush the keycodes. Once that is in,
you can either select keyboard model evdev in gnome, or just use
xkeyboard-config 1.4 (with a recent version of evdev, it needs to force the
evdev ruleset).

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


Re: Up arrow key not working

2008-11-13 Thread Russell Shaw
Robin Cook wrote:
 I am using evdev.
 
 Section InputDevice
 Identifier  Keyboard0
 Driver  kbd
 Option  XkbModel evdev
 Option  XkbLayout us
 Option  XkbVariant dvorak
 Option  XkbRules Xorg
 EndSection
 
 gnome keyboard config also shows evdev.
 
 and I do have xkeyboard-config is at version 1.4

My arrow key works ok with:

   Option  XkbModel  pc104


If i use:

   Option  XkbModel  evdev

the arrow keys don't work.
___
xorg mailing list
xorg@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/xorg