XF86Display duplicated keycode each keypress

2010-12-31 Thread João Gabriel Reis
Hello, I'm trying to map the XF86Display key (fn + F1) to a script, my
problem is that everytime I press the key, the script is executed
twice. I checked the keycode with the showkey command and I get this
when the key is pressed:

keycode 227 press
keycode 227 release
keycode 227 press
keycode 227 release

Seems that the key is interpreted twice, this is normal? Shouldn't
just be one time? My laptop is a Dell Inspiron 1545, here's the output
of setxkbmap -print -verbose 10:

setxkbmap -print -verbose 10

Setting verbose level to 10
locale is C
Applied rules from evdev:
model:  evdev
layout: br
variant:abnt2
Trying to build keymap using the following components:
keycodes:   evdev+aliases(qwerty)
types:  complete
compat: complete
symbols:pc+br(abnt2)+inet(evdev)
geometry:   pc(pc104)
xkb_keymap {
xkb_keycodes  { include evdev+aliases(qwerty)};
xkb_types { include complete};
xkb_compat{ include complete};
xkb_symbols   { include pc+br(abnt2)+inet(evdev)};
xkb_geometry  { include pc(pc104)};
};
___
xorg@lists.freedesktop.org: X.Org support
Archives: http://lists.freedesktop.org/archives/xorg
Info: http://lists.freedesktop.org/mailman/listinfo/xorg
Your subscription address: arch...@mail-archive.com


commit 53fbc9f1760ee481cba1f6dceb9e7c97282a2976 broke vmware

2010-12-31 Thread Jeff Chua
Vmware 7.1.3 crashed with the commit. Reverting it makes vmware happy again.

Symptom: upon starting starting vmware, X crashed.

X.Org X Server 1.8.99
Release Date: unreleased
X Protocol Version 11, Revision 0
Build Operating System: Linux 2.6.34-rc7 x86_64

Linux 2.6.37-rc8

Happy New Year.

Thanks,
Jeff


commit 53fbc9f1760ee481cba1f6dceb9e7c97282a2976
Author: Chris Wilson ch...@chris-wilson.co.uk
Date:   Thu Dec 30 15:32:40 2010 +

Don't replace the scanout bo through PutImage

As the bo may be pinned for either use by the scanout or through sharing
with another application, under those circumstances we cannot replace
the bo itself but must force the blit for PutImage.

Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=31367
Reported-and-tested-by: Bjørn Mork bj...@mork.no
Signed-off-by: Chris Wilson ch...@chris-wilson.co.uk
___
xorg@lists.freedesktop.org: X.Org support
Archives: http://lists.freedesktop.org/archives/xorg
Info: http://lists.freedesktop.org/mailman/listinfo/xorg
Your subscription address: arch...@mail-archive.com


Re: commit 53fbc9f1760ee481cba1f6dceb9e7c97282a2976 broke vmware

2010-12-31 Thread Julien Cristau
On Sat, Jan  1, 2011 at 00:56:48 +0800, Jeff Chua wrote:

 Vmware 7.1.3 crashed with the commit. Reverting it makes vmware happy again.
 
 Symptom: upon starting starting vmware, X crashed.
 
X log?  gdb backtrace?

Cheers,
Julien
___
xorg@lists.freedesktop.org: X.Org support
Archives: http://lists.freedesktop.org/archives/xorg
Info: http://lists.freedesktop.org/mailman/listinfo/xorg
Your subscription address: arch...@mail-archive.com


Re: commit 53fbc9f1760ee481cba1f6dceb9e7c97282a2976 broke vmware

2010-12-31 Thread Jeff Chua
On Sat, Jan 1, 2011 at 1:12 AM, Julien Cristau jcris...@debian.org wrote:
 On Sat, Jan  1, 2011 at 00:56:48 +0800, Jeff Chua wrote:

 Vmware 7.1.3 crashed with the commit. Reverting it makes vmware happy again.

 Symptom: upon starting starting vmware, X crashed.

 X log?  gdb backtrace?

Hope this help ...

[ 56078.177] 0: /usr/X11/bin/X (xorg_backtrace+0x28) [0x49e9b8]
[ 56078.177] 1: /usr/X11/bin/X (0x40+0x60309) [0x460309]
[ 56078.177] 2: /lib64/libc.so.6 (0x7f359f71e000+0x32390) [0x7f359f750390]
[ 56078.177] 3: /usr/X11/lib/libdrm_intel.so.1
(drm_intel_bo_flink+0x14) [0x7f359dde1d95]
[ 56078.177] 4: /usr/X11/lib/xorg/modules/drivers/intel_drv.so
(0x7f359dfed000+0x251ea) [0x7f359e0121ea]
[ 56078.177] 5: /usr/X11/lib/xorg/modules/extensions/libdri2.so
(0x7f359e23d000+0x1693) [0x7f359e23e693]
[ 56078.177] 6: /usr/X11/lib/xorg/modules/extensions/libdri2.so
(0x7f359e23d000+0x27ea) [0x7f359e23f7ea]
[ 56078.177] 7: /usr/X11/lib/xorg/modules/extensions/libdri2.so
(DRI2GetBuffersWithFormat+0x10) [0x7f359e23fb70]
[ 56078.177] 8: /usr/X11/lib/xorg/modules/extensions/libdri2.so
(0x7f359e23d000+0x4236) [0x7f359e241236]
[ 56078.177] 9: /usr/X11/bin/X (0x40+0x2d7d1) [0x42d7d1]
[ 56078.177] 10: /usr/X11/bin/X (0x40+0x215cb) [0x4215cb]
[ 56078.177] 11: /lib64/libc.so.6 (__libc_start_main+0xfd) [0x7f359f73ce0d]
[ 56078.177] 12: /usr/X11/bin/X (0x40+0x21159) [0x421159]
[ 56078.177] Segmentation fault at address 0x20
[ 56078.177]
Fatal server error:
[ 56078.177] Caught signal 11 (Segmentation fault). Server aborting
[ 56078.177]
[ 56078.177]


Thanks,
Jeff
___
xorg@lists.freedesktop.org: X.Org support
Archives: http://lists.freedesktop.org/archives/xorg
Info: http://lists.freedesktop.org/mailman/listinfo/xorg
Your subscription address: arch...@mail-archive.com


Documentation

2010-12-31 Thread Nima Sahraneshin
Hi

I want to write a program based on X .I need some documentation about
X (using X) .
___
xorg@lists.freedesktop.org: X.Org support
Archives: http://lists.freedesktop.org/archives/xorg
Info: http://lists.freedesktop.org/mailman/listinfo/xorg
Your subscription address: arch...@mail-archive.com


Re: Documentation

2010-12-31 Thread Matt Dew
Nima,
   That's a pretty broad question, but a good place to start:
http://www.x.org/releases/X11R7.6/

Matt

On Fri, Dec 31, 2010 at 2:02 PM, Nima Sahraneshin unix.n...@gmail.com wrote:
 Hi

 I want to write a program based on X .I need some documentation about
 X (using X) .
 ___
 xorg@lists.freedesktop.org: X.Org support
 Archives: http://lists.freedesktop.org/archives/xorg
 Info: http://lists.freedesktop.org/mailman/listinfo/xorg
 Your subscription address: m...@osource.org

___
xorg@lists.freedesktop.org: X.Org support
Archives: http://lists.freedesktop.org/archives/xorg
Info: http://lists.freedesktop.org/mailman/listinfo/xorg
Your subscription address: arch...@mail-archive.com