Re: [PATCH] Allow disabling XFree86-DGA, DRI, VidModeExtension extensions

2013-07-26 Thread Alan Coopersmith
On 07/26/13 10:53 PM, Robert Hooker wrote: Summary should be changed to #ifdef XorgLoader instead of #ifdef XFree86Loader? But still, Reviewed-by: Robert Hooker Oops, right. XFree86Loader is still defined in the headers exported to modules, not used in the server itself, but I came across it

Re: [PATCH] Allow disabling XFree86-DGA, DRI, VidModeExtension extensions

2013-07-26 Thread Robert Hooker
On Fri, Jul 26, 2013 at 7:53 PM, Alan Coopersmith wrote: > Code to recognize these in extension enable/disable options was wrapped > in #ifdef XFree86Loader, but that's not defined when building miinitext.c > since the great module merge of 1.13. Change to an #ifdef that is defined. > > Signed-of

Re: Three recent blog postings on DRI3000

2013-07-26 Thread Alexander E. Patrakov
2013/7/26 Keith Packard : > "Alexander E. Patrakov" writes: > >> Which frame? >> >> Suppose that there are two overlapping outputs with vastly different >> refresh rates (say, an old 100 Hz CRT and a modern 60 Hz LCD). > > I'm afraid I just don't care very much about getting this case > 'right'. W

ABS_MT_POSITION_X and Y counted more than once when multi-touching

2013-07-26 Thread Leslie Zhai
Hi xf86-input-evdev developers, I use mtdev "read_mtdev.cpp" in test.tar.bz2 https://www.dropbox.com/s/43jp0yl0avf9i3p/test.tar.bz2 to get ABS_MT_POSITION_X and ABS_MT_POSITION_Y sample "2s_zoom_in_sample.txt" in the same tarball for each ABS_MT_SLOT when multi-touching. But ABS_MT_POSITION_X and

Re: NetBSD-specific changes for xf86-input-keyboard

2013-07-26 Thread Alan Coopersmith
On 07/26/13 02:23 PM, Thomas Klausner wrote: These patches mirror the commit history of changes done to xf86-input-keyboard in the NetBSD xsrc repository (except perhaps for timing between patches for different files). I'm willing to squash or edit patches to reduce the number of diffs; please a

Re: [PATCH:xf86-input-keyboard 21/21] Add some NetBSD feature detection code.

2013-07-26 Thread Alan Coopersmith
On 07/26/13 02:24 PM, Thomas Klausner wrote: +case $host_os in + netbsd*) + case $host in +*i386*|*x86_64*) +OS_FLAGS="$OS_FLAGS -DPCVT_SUPPORT" +;; +*powerpc-*|*sparc-*|*sparc64-*|*vax-*) +OS_FLAGS="$OS_FLAGS -DDEFAULT_TO_WSKBD" +;; + esac + case "$(uname -m 2>&1)" in

Re: [PATCH:xf86-input-keyboard 15/21] Fix Protocol "standard".

2013-07-26 Thread Alan Coopersmith
On 07/26/13 02:24 PM, Thomas Klausner wrote: Only default to /dev/wskbd if Protocol is set to wskbd. Now Protocol "standard" should work again. From Michael Lorenz Signed-off-by: Thomas Klausner --- src/bsd_kbd.c | 20 +--- 1 file changed, 9 insertions(+), 11 deletions(-)

Re: [PATCH:xf86-input-keyboard 13/21] Fix a shadowing warning, and add const.

2013-07-26 Thread Alan Coopersmith
On 07/26/13 02:24 PM, Thomas Klausner wrote: -printWsType(char *type, char *devname) +printWsType(const char *type, char *name) { -xf86Msg(X_PROBED, "%s: Keyboard type: %s\n", devname, type); +xf86Msg(X_PROBED, "%s: Keyboard type: %s\n", name, type); } #endif Any particular reason

[PATCH] Allow disabling XFree86-DGA, DRI, VidModeExtension extensions

2013-07-26 Thread Alan Coopersmith
Code to recognize these in extension enable/disable options was wrapped in #ifdef XFree86Loader, but that's not defined when building miinitext.c since the great module merge of 1.13. Change to an #ifdef that is defined. Signed-off-by: Alan Coopersmith --- mi/miinitext.c |2 +- 1 file chang

[PATCH:xf86-input-keyboard 11/21] Add a basic map for an LK201 keyboard.

2013-07-26 Thread Thomas Klausner
>From David Brownlee Signed-off-by: Thomas Klausner --- src/bsd_KbdMap.c | 269 +++ 1 file changed, 269 insertions(+) diff --git a/src/bsd_KbdMap.c b/src/bsd_KbdMap.c index f699289..8016a25 100644 --- a/src/bsd_KbdMap.c +++ b/src/bsd_KbdMap.c

[PATCH:xf86-input-keyboard 12/21] Set the version for the keyboard.

2013-07-26 Thread Thomas Klausner
>From Patrick Welche Signed-off-by: Thomas Klausner --- src/bsd_kbd.c | 7 +++ 1 file changed, 7 insertions(+) diff --git a/src/bsd_kbd.c b/src/bsd_kbd.c index 710470a..2959178 100644 --- a/src/bsd_kbd.c +++ b/src/bsd_kbd.c @@ -385,6 +385,13 @@ OpenKeyboard(InputInfoPtr pInfo) #ifdef WSCON

[PATCH:xf86-input-keyboard 19/21] Improve auto-detection.

2013-07-26 Thread Thomas Klausner
If WSKBDIO_GTYPE succeeds and returns type=0, it is a mux with no keyboard attached. In this case, assume USB. >From Jared McNeill Signed-off-by: Thomas Klausner --- src/bsd_kbd.c | 6 ++ 1 file changed, 6 insertions(+) diff --git a/src/bsd_kbd.c b/src/bsd_kbd.c index 0615cf2..5337ec7 1006

[PATCH:xf86-input-keyboard 17/21] Make OpenKeyboard() warn instead of error out.

2013-07-26 Thread Thomas Klausner
This way we can still setup keyboard map manually by xmodmap(1) etc. on less well supported ports. >From Izumi Tsutsui Signed-off-by: Thomas Klausner --- src/bsd_kbd.c | 8 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/bsd_kbd.c b/src/bsd_kbd.c index 441e2a5..70a3ff

[PATCH:xf86-input-keyboard 07/21] Add translation table for AT/PS2 pseudo XT scancodes.

2013-07-26 Thread Thomas Klausner
Add another translation table to make the modular kbd driver cope with NetBSD's AT/PS2 pseudo XT scancodes. Tested on shark and sgimips with an IBM Model M - this should be tested with more keyboards, there might still be errors in the table. >From Michael Lorenz Signed-off-by: Thomas Klausner -

[PATCH:xf86-input-keyboard 04/21] Added keysyms for extra keys on Sun Type 6 USB keyboard.

2013-07-26 Thread Thomas Klausner
>From Michael Lorenz Signed-off-by: Thomas Klausner --- src/bsd_KbdMap.c | 30 +++--- 1 file changed, 15 insertions(+), 15 deletions(-) diff --git a/src/bsd_KbdMap.c b/src/bsd_KbdMap.c index 8875b09..8580bbb 100644 --- a/src/bsd_KbdMap.c +++ b/src/bsd_KbdMap.c @@ -312,7

[PATCH:xf86-input-keyboard 09/21] Add a couple mappings for keys found on Sun keyboards.

2013-07-26 Thread Thomas Klausner
>From Michael Lorenz Signed-off-by: Thomas Klausner --- src/bsd_KbdMap.c | 10 +- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/src/bsd_KbdMap.c b/src/bsd_KbdMap.c index e442eb2..6f00ffd 100644 --- a/src/bsd_KbdMap.c +++ b/src/bsd_KbdMap.c @@ -314,12 +314,12 @@ static CAR

[PATCH:xf86-input-keyboard 06/21] More ADB fixes.

2013-07-26 Thread Thomas Klausner
>From Michael Lorenz Signed-off-by: Thomas Klausner --- src/bsd_KbdMap.c | 9 +++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/src/bsd_KbdMap.c b/src/bsd_KbdMap.c index e0d0d16..b994c05 100644 --- a/src/bsd_KbdMap.c +++ b/src/bsd_KbdMap.c @@ -525,7 +525,7 @@ static CARD8 w

[PATCH:xf86-input-keyboard 15/21] Fix Protocol "standard".

2013-07-26 Thread Thomas Klausner
Only default to /dev/wskbd if Protocol is set to wskbd. Now Protocol "standard" should work again. >From Michael Lorenz Signed-off-by: Thomas Klausner --- src/bsd_kbd.c | 20 +--- 1 file changed, 9 insertions(+), 11 deletions(-) diff --git a/src/bsd_kbd.c b/src/bsd_kbd.c index

[PATCH:xf86-input-keyboard 10/21] Fix scan code 50 key on non-US-USB keyboards.

2013-07-26 Thread Thomas Klausner
>From Michael Lorenz Signed-off-by: Thomas Klausner --- src/bsd_KbdMap.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/bsd_KbdMap.c b/src/bsd_KbdMap.c index 6f00ffd..f699289 100644 --- a/src/bsd_KbdMap.c +++ b/src/bsd_KbdMap.c @@ -260,7 +260,7 @@ static CARD8 wsUsbMap[]

[PATCH:xf86-input-keyboard 18/21] Fix wskbd handling when VT switching.

2013-07-26 Thread Thomas Klausner
When using /dev/wskbd* we need to close the device when VT switching out of X, and open it again when switching back. >From Michael Lorenz Signed-off-by: Thomas Klausner --- src/bsd_kbd.c | 35 ++- src/xf86OSKbd.h | 1 + 2 files changed, 35 insertions(+), 1 de

[PATCH:xf86-input-keyboard 20/21] Move WSCONS case inside switch statement.

2013-07-26 Thread Thomas Klausner
>From Robert T. Retzlaff Signed-off-by: Thomas Klausner --- src/bsd_kbd.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/bsd_kbd.c b/src/bsd_kbd.c index 5337ec7..a8c8ace 100644 --- a/src/bsd_kbd.c +++ b/src/bsd_kbd.c @@ -189,7 +189,6 @@ KbdOn(InputInfoPtr pInfo, int what

[PATCH:xf86-input-keyboard 21/21] Add some NetBSD feature detection code.

2013-07-26 Thread Thomas Klausner
Signed-off-by: Thomas Klausner --- configure.ac| 22 ++ src/Makefile.am | 2 +- src/kbd.c | 8 3 files changed, 31 insertions(+), 1 deletion(-) diff --git a/configure.ac b/configure.ac index c699f6e..0106343 100644 --- a/configure.ac +++ b/configure.ac @@

[PATCH:xf86-input-keyboard 08/21] Use existing wscons USB keymap for WSKBD_TYPE_MAPLE on dreamcast.

2013-07-26 Thread Thomas Klausner
>From Izumi Tsutsui Signed-off-by: Thomas Klausner --- src/bsd_KbdMap.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/bsd_KbdMap.c b/src/bsd_KbdMap.c index 0d710f0..e442eb2 100644 --- a/src/bsd_KbdMap.c +++ b/src/bsd_KbdMap.c @@ -1096,6 +1096,9 @@ KbdGetMapping (InputInfoPtr pInfo,

[PATCH:xf86-input-keyboard 05/21] Fixes for the ADB map.

2013-07-26 Thread Thomas Klausner
- map the backspace key to KEY_BackSpace - swap LAlt and LMeta to match the keyboard (Alt=Alt/Option, Meta=Command) - add a keysym for . on the number pad ... so killing the Xserver with Ctrl-Alt-BackSpace works now and the default map matches an US keyboard without any xmodmap stunts. >From Micha

[PATCH:xf86-input-keyboard 13/21] Fix a shadowing warning, and add const.

2013-07-26 Thread Thomas Klausner
>From Izumi Tsutsui Signed-off-by: Thomas Klausner --- src/bsd_kbd.c | 8 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/bsd_kbd.c b/src/bsd_kbd.c index 2959178..8f98c71 100644 --- a/src/bsd_kbd.c +++ b/src/bsd_kbd.c @@ -173,8 +173,8 @@ KbdOn(InputInfoPtr pInfo, int w

[PATCH:xf86-input-keyboard 14/21] Recognize WSKBD_TYPE_MAPLE for dreamcast.

2013-07-26 Thread Thomas Klausner
>From Izumi Tsutsui Signed-off-by: Thomas Klausner --- src/bsd_kbd.c | 5 + 1 file changed, 5 insertions(+) diff --git a/src/bsd_kbd.c b/src/bsd_kbd.c index 8f98c71..6a3ca79 100644 --- a/src/bsd_kbd.c +++ b/src/bsd_kbd.c @@ -413,6 +413,11 @@ OpenKeyboard(InputInfoPtr pInfo)

[PATCH:xf86-input-keyboard 16/21] Add WSKBD_TYPE_LK201.

2013-07-26 Thread Thomas Klausner
>From David Brownlee Signed-off-by: Thomas Klausner --- src/bsd_kbd.c | 5 + 1 file changed, 5 insertions(+) diff --git a/src/bsd_kbd.c b/src/bsd_kbd.c index b9cca5f..441e2a5 100644 --- a/src/bsd_kbd.c +++ b/src/bsd_kbd.c @@ -411,6 +411,11 @@ OpenKeyboard(InputInfoPtr pInfo)

[PATCH:xf86-input-keyboard 02/21] Map the Sun keyboard "help" key.

2013-07-26 Thread Thomas Klausner
>From Michael Lorenz Signed-off-by: Thomas Klausner --- src/bsd_KbdMap.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/bsd_KbdMap.c b/src/bsd_KbdMap.c index 3c0781d..ec6a032 100644 --- a/src/bsd_KbdMap.c +++ b/src/bsd_KbdMap.c @@ -706,7 +706,7 @@ static CARD8 wsSunMap[]

[PATCH:xf86-input-keyboard 03/21] Added keysym for Power keys.

2013-07-26 Thread Thomas Klausner
>From Michael Lorenz Signed-off-by: Thomas Klausner --- src/bsd_KbdMap.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/bsd_KbdMap.c b/src/bsd_KbdMap.c index ec6a032..8875b09 100644 --- a/src/bsd_KbdMap.c +++ b/src/bsd_KbdMap.c @@ -636,7 +636,7 @@ static CARD8 wsSunMap[]

[PATCH:xf86-input-keyboard 01/21] Added some missing keysyms to the ADB keymap.

2013-07-26 Thread Thomas Klausner
>From Michael Lorenz Signed-off-by: Thomas Klausner --- src/bsd_KbdMap.c | 10 +- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/src/bsd_KbdMap.c b/src/bsd_KbdMap.c index 1b5cc3e..3c0781d 100644 --- a/src/bsd_KbdMap.c +++ b/src/bsd_KbdMap.c @@ -559,19 +559,19 @@ static CAR

NetBSD-specific changes for xf86-input-keyboard

2013-07-26 Thread Thomas Klausner
These patches mirror the commit history of changes done to xf86-input-keyboard in the NetBSD xsrc repository (except perhaps for timing between patches for different files). I'm willing to squash or edit patches to reduce the number of diffs; please advise on what you want combined in this way. O

Re: Three recent blog postings on DRI3000

2013-07-26 Thread Keith Packard
"Alexander E. Patrakov" writes: > Which frame? > > Suppose that there are two overlapping outputs with vastly different > refresh rates (say, an old 100 Hz CRT and a modern 60 Hz LCD). I'm afraid I just don't care very much about getting this case 'right'. What Present (and DRI2 before it) does

Re: [RFC PATCH] Add XMir Xorg-nested-in-Mir helper extension

2013-07-26 Thread Chris Wilson
On Mon, Jul 22, 2013 at 03:08:02PM +1000, christopher.halse.rog...@canonical.com wrote: > From: Christopher James Halse Rogers > > This is missing too much functionality to be usefully appiled, but the > skeleton is here and the APIs it relies on are sufficiently stable. Sending > to the list fo

Re: Three recent blog postings on DRI3000

2013-07-26 Thread Alexander E. Patrakov
2013/7/26 Keith Packard : > Maarten Lankhorst writes: > >> The presentation part of VDPAU (which may be implemented as overlay) offers >> something like this with >> the VdpPresentationQueueDisplay call. But in dri2 it fails because the >> window can get moved between >> 2 crtc's, and suddenly y