Re: [PATCH input-evdev 1/2] config: upgrade to util-macros 1.8 for additional man page support

2010-06-15 Thread Peter Hutterer
On Fri, Jun 11, 2010 at 11:49:38AM -0400, Gaetan Nadon wrote: Use MAN_SUBST now supplied in XORG_MANPAGE_SECTIONS The value of MAN_SUBST is the same for all X.Org packages. Use AC_PROG_SED now supplied by XORG_DEFAULT_OPTIONS The existing statement can now be removed from the configuration

Re: How to help on multitouch?

2010-06-15 Thread Peter Hutterer
On Sun, Jun 13, 2010 at 10:28:04PM -0400, Chase Douglas wrote: Hi all, I've recently become interested in multitouch on linux, and I'd like to get involved. I've read some of the back threads, and I agree with Peter's Direct Input Devices approach. I came to a nearly identical concept when

Re: Another approach to multitouch handling

2010-06-15 Thread Peter Hutterer
On Fri, Jun 11, 2010 at 01:27:02PM +0200, Carlos Garnacho wrote: Hi!, been thinking a while about this... On Mon, 2010-06-07 at 01:20 -0400, Rafi Rubin wrote: snip So are you saying you actually want to be able to subscribe to events from a mt finger in window that's next to

Re: [PATCH ati] Add Gallium (radeong) support via an xorg.conf option, disabled by default.

2010-06-15 Thread Michel Dänzer
On Mon, 2010-06-14 at 20:19 -0400, Robert Hooker wrote: The r300 gallium driver in mesa is built as radeong_dri.so and the DDX is hardcoded to use r300 as the DRI driver name for that generation. this patch allows radeong to be used if specified in an xorg.conf with this option: Option

Re: xserver devel process

2010-06-15 Thread Deen Sethanandha
but it's not very effective yet since so far only a few people have cleared their own patches off once accepted, so it's full of patches that are already committed and don't need to be reviewed or pushed by a maintainer still. I am not familiar with the patch contribution process but would

Re: xserver devel process

2010-06-15 Thread Peter Hutterer
On Mon, Jun 14, 2010 at 11:56:02PM -0700, Deen Sethanandha wrote: but it's not very effective yet since so far only a few people have cleared their own patches off once accepted, so it's full of patches that are already committed and don't need to be reviewed or pushed by a maintainer

Re: libX11 or xproto seem to disable some macros defined by mips toolchain

2010-06-15 Thread Abdoulaye Walsimou Gaye
On 06/13/2010 10:55 PM, Abdoulaye Walsimou GAYE wrote: Hello, I have a issue when I build libX11 with a mips toolchain. The macro __WORDSIZE seems to be disabled by libX11 or xproto. Here is the build ouput: make[3]: Entering directory

Re: libX11 or xproto seem to disable some macros defined by mips toolchain

2010-06-15 Thread Mikhail Gusarov
Twas brillig at 10:08:03 15.06.2010 UTC+02 when a...@embtoolkit.org did gyre and gimble: AWG but the Makefile in libX11-1.3.4/src/util uses the target CFLAGS. It's a bug. AWG Can someone confirms that makekeys is intended to run on the AWG host (not target) in case of cross compilation?

Re: libX11 or xproto seem to disable some macros defined by mips toolchain

2010-06-15 Thread Abdoulaye Walsimou Gaye
On 06/15/2010 10:24 AM, Mikhail Gusarov wrote: Twas brillig at 10:08:03 15.06.2010 UTC+02 when a...@embtoolkit.org did gyre and gimble: AWG but the Makefile in libX11-1.3.4/src/util uses the target CFLAGS. It's a bug. AWG Can someone confirms that makekeys is intended to run on the

Re: xserver devel process

2010-06-15 Thread Gaetan Nadon
On Mon, 2010-06-14 at 20:51 -0700, Alan Coopersmith wrote: Deen Sethanandha wrote: Hello, I am a PhD student at Portland State University and my advisor is Bart Massey. I would like to volunteer working on things related to the contribution process. I would love to help setting up

[PATCH] Revert os: Prevent backtrace from being stopped in noreturn functions.

2010-06-15 Thread Rami Ylimäki
This reverts commit 579715f830fbbca9e1ecb17dc18176132f5969e7. The patch is not needed anymore. I haven't encountered backtrace problems with GCC 4.3.3. Even if the problems still persisted, this commit should be removed and instead the definition of _X_NORETURN should be modified to be empty if

Re: xserver devel process

2010-06-15 Thread Alan Coopersmith
Deen Sethanandha wrote: but it's not very effective yet since so far only a few people have cleared their own patches off once accepted, so it's full of patches that are already committed and don't need to be reviewed or pushed by a maintainer still. I am not familiar

Re: [PATCH xserver] config: declare xserver private dependencies in xorg-server.pc

2010-06-15 Thread Gaetan Nadon
On Mon, 2010-06-14 at 21:03 -0700, Dan Nicholson wrote: On Mon, Jun 14, 2010 at 6:59 PM, Gaetan Nadon mems...@videotron.ca wrote: On Mon, 2010-06-14 at 15:07 -0700, Dan Nicholson wrote: On Sun, Jun 13, 2010 at 1:49 PM, Gaetan Nadon mems...@videotron.ca wrote: Any module (drivers)

[PATCH v3 xserver] config: declare xserver private dependencies in xorg-server.pc

2010-06-15 Thread Gaetan Nadon
Any module (drivers) depending on xserver also depends on some of the server private dependencies. Any driver including xf86.h depends on xext, kbproto, inputproto and randr. These dependencies are in separate packages, so anything can happen, removal, wrong version, etc... and the driver fails

Re: [PATCH xserver] config: declare xserver private dependencies in xorg-server.pc

2010-06-15 Thread Dan Nicholson
On Tue, Jun 15, 2010 at 7:45 AM, Gaetan Nadon mems...@videotron.ca wrote: On Mon, 2010-06-14 at 21:03 -0700, Dan Nicholson wrote: On Mon, Jun 14, 2010 at 6:59 PM, Gaetan Nadon mems...@videotron.ca wrote: On Mon, 2010-06-14 at 15:07 -0700, Dan Nicholson wrote: On Sun, Jun 13, 2010 at 1:49 PM,

Re: [PATCH v3 xserver] config: declare xserver private dependencies in xorg-server.pc

2010-06-15 Thread Dan Nicholson
On Tue, Jun 15, 2010 at 8:52 AM, Gaetan Nadon mems...@videotron.ca wrote: Any module (drivers) depending on xserver also depends on some of the server private dependencies. Any driver including xf86.h depends on xext, kbproto, inputproto and randr. These dependencies are in separate packages,

Re: [PATCH] Revert os: Prevent backtrace from being stopped in noreturn functions.

2010-06-15 Thread Jamey Sharp
Cool, glad to hear GCC got magically smarter or something. Reviewed-by: Jamey Sharp ja...@minilop.net On Tue, Jun 15, 2010 at 5:44 AM, Rami Ylimäki ext-rami.ylim...@nokia.com wrote: This reverts commit 579715f830fbbca9e1ecb17dc18176132f5969e7. The patch is not needed anymore. I haven't

Re: xserver devel process

2010-06-15 Thread Dirk Wallenstein
On Tue, Jun 15, 2010 at 08:45:30AM -0400, Gaetan Nadon wrote: I did not know Patchwork even existed :-( I registered, but account activation failed and there is no mention of who the administrator is. The confirmation mail contains the wrong URL. I've filed a bug:

[PATCH] xv: Don't send port notify when SetPortAttribute fails

2010-06-15 Thread ville . syrjala
From: Ville Syrjälä ville.syrj...@nokia.com Currently a port notify event is sent even if SetPortAttribute fails. Furthermore the value field in the event will contain the value that was specified in the failed request. So any client interested in the actual value of the attribute will have to

Re: xserver devel process

2010-06-15 Thread Peter Hutterer
On Tue, Jun 15, 2010 at 08:45:30AM -0400, Gaetan Nadon wrote: On Mon, 2010-06-14 at 20:51 -0700, Alan Coopersmith wrote: Deen Sethanandha wrote: Hello, I am a PhD student at Portland State University and my advisor is Bart Massey. I would like to volunteer working on things

[PATCH] Revert RandR rotations and reflections offset by one pixel

2010-06-15 Thread Dave Airlie
From: Dave Airlie airl...@redhat.com This reverts commit 77c7a64e8885696665556c9fbcb3cffb552e367a. It looks like this was being used to workaround some bug in the Intel driver cursor handling, so instead of fixing the driver, the server got hacked and this broke rotation on Intel and

Re: [PATCH] dix: the default axis mode is Relative, not 0.

2010-06-15 Thread Fernando Carrijo
Peter Hutterer peter.hutte...@who-t.net wrote: Yay for readability. Signed-off-by: Peter Hutterer peter.hutte...@who-t.net --- dix/devices.c |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/dix/devices.c b/dix/devices.c index 91dd4fd..2226ff2 100644 ---

[RFC/PATCH] xfree86: add xf86IDrvMsg and friends for input driver logging.

2010-06-15 Thread Peter Hutterer
Input driver messages are only standardised by convention, with the drivers prefixing the device name to most messages. This makes it rather hard to grep on evdev for example when looking for the evdev ouput. This patch adds three new logging functions, modeled after xf86DrvMsg(), the logging

[PATCH synaptics] man page updates, misc fixes

2010-06-15 Thread Peter Hutterer
02-06 simply bring the man page up to date. 07 is the real new feature, allowing percent values for the area, this should probably be expanded to the edge values as well to save us some of the rather nightmarish configuration calculations. 11 purges old server support to get rid of a few

[PATCH synaptics 01/11] Don't allow anything but relative mode.

2010-06-15 Thread Peter Hutterer
We did this before already anyway, make it official and return an error to the client as appropriate. Touchpads in absolute mode are somewhat useless. Signed-off-by: Peter Hutterer peter.hutte...@who-t.net --- src/synaptics.c |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff

[PATCH synaptics 02/11] man: update SHMConfig documentation, it's only useful for debugging now.

2010-06-15 Thread Peter Hutterer
Signed-off-by: Peter Hutterer peter.hutte...@who-t.net --- man/synaptics.man |7 +++ 1 files changed, 3 insertions(+), 4 deletions(-) diff --git a/man/synaptics.man b/man/synaptics.man index 9075c81..d1f5f07 100644 --- a/man/synaptics.man +++ b/man/synaptics.man @@ -90,10 +90,9 @@ psm

[PATCH synaptics 03/11] man: divide up man page with a few subheaders.

2010-06-15 Thread Peter Hutterer
Signed-off-by: Peter Hutterer peter.hutte...@who-t.net --- man/synaptics.man | 22 +++--- 1 files changed, 11 insertions(+), 11 deletions(-) diff --git a/man/synaptics.man b/man/synaptics.man index d1f5f07..049c7e7 100644 --- a/man/synaptics.man +++ b/man/synaptics.man @@ -64,7

[PATCH synaptics 05/11] man: note where the Area options fit in.

2010-06-15 Thread Peter Hutterer
Signed-off-by: Peter Hutterer peter.hutte...@who-t.net --- man/synaptics.man |8 +++- 1 files changed, 7 insertions(+), 1 deletions(-) diff --git a/man/synaptics.man b/man/synaptics.man index 6ad3af0..b356919 100644 --- a/man/synaptics.man +++ b/man/synaptics.man @@ -513,10 +513,16 @@

[PATCH synaptics 06/11] man: don't call it synaptics touchpad driver.

2010-06-15 Thread Peter Hutterer
Under Linux the kernel handles everything, so these days synaptics is the generic touchpad driver for anything that the kernel can handle. There aren't many synaptics-specific bits in the driver anymore. Signed-off-by: Peter Hutterer peter.hutte...@who-t.net --- man/synaptics.man | 14

[PATCH synaptics 07/11] Support percent values for area.

2010-06-15 Thread Peter Hutterer
AreaTopEdge and the other three can be specified as either an absolute value, or as a percent of the matching dimension. Option AreaBottomEdge 80% will thus set the bottom edge of the input area to 80% of the height of the touchpad, with the lower 20% being the dead area. Signed-off-by: Peter

[PATCH synaptics 09/11] Reshuffle default value initialization.

2010-06-15 Thread Peter Hutterer
No functional changes, just code structure. The eventcomm backened is the only one with a real probe function right now. So provide a default query proc that reads the touchpad coordinates in. The values provided are the ones that then will give us the right edge settings in concordance with the

[PATCH synaptics 10/11] Re-use width/height variables.

2010-06-15 Thread Peter Hutterer
No functional changes. Signed-off-by: Peter Hutterer peter.hutte...@who-t.net --- src/synaptics.c | 13 - 1 files changed, 4 insertions(+), 9 deletions(-) diff --git a/src/synaptics.c b/src/synaptics.c index 2d47089..2343102 100644 --- a/src/synaptics.c +++ b/src/synaptics.c @@

[PATCH synaptics 11/11] Require server 1.6 or later.

2010-06-15 Thread Peter Hutterer
Remove ifdef's for server ABIs up to including server 1.5. Driver still supports 1.6, 1.7, 1.8 and the upcoming 1.9. Signed-off-by: Peter Hutterer peter.hutte...@who-t.net --- configure.ac |2 +- src/properties.c |3 --- src/synaptics.c | 29 - 3 files

Re: [RFC/PATCH] xfree86: add xf86IDrvMsg and friends for input driver logging.

2010-06-15 Thread Alan Coopersmith
+tmpFormat = malloc(strlen(format)+ strlen(dev-drv-driverName) + strlen(dev-name) + 5); +if (!tmpFormat) +return; + +sprintf(tmpFormat, %s: %s: %s, dev-drv-driverName, dev-name, format); Xprintf() ? (Aka our portable version of the not-yet-universal asprintf().) --

Re: [RFC/PATCH] xfree86: add xf86IDrvMsg and friends for input driver logging.

2010-06-15 Thread Peter Hutterer
On Tue, Jun 15, 2010 at 05:32:55PM -0700, Alan Coopersmith wrote: +tmpFormat = malloc(strlen(format)+ strlen(dev-drv-driverName) + strlen(dev-name) + 5); +if (!tmpFormat) +return; + +sprintf(tmpFormat, %s: %s: %s, dev-drv-driverName, dev-name, format);

Re: Attach touch screen to a single display

2010-06-15 Thread Peter Hutterer
On Mon, Jun 14, 2010 at 05:10:40PM +0200, Julian Ortiz wrote: Hello, After looking for a way to make a touch screen works only in its display (with nvidia configured as different XScreens) with no luck at all, I started to look at the input modules source. I realizes that the proprietary elo

Re: [PATCH synaptics 07/11] Support percent values for area.

2010-06-15 Thread Fernando Carrijo
Peter Hutterer peter.hutte...@who-t.net wrote: .BI Option \*qAreaTopEdge\*q \*q integer \*q Ignore movements, scrolling and tapping which take place above this edge. . The option is disabled by default and can be enabled by setting the -AreaTopEdge option to any integer value other than

Re: Smooth scrolling - results!

2010-06-15 Thread Peter Hutterer
On Sat, Jun 12, 2010 at 06:03:24PM +0200, Max Schwarz wrote: Hi Simon, You'll have to rebase them against git master to get into mainline. Why didn't you use git master to start with? That's because I like to work with the versions I have installed. Otherwise I would need to compile the

[PULL] two small fixes for 1.9

2010-06-15 Thread Peter Hutterer
dix patch has no functional change. The Xnest/Xephyr fix is to prevent modifier issues. The following changes since commit 505724c5f3e4fc1475fa54f20d08c0c06fb32443: Keith Packard (1): In DRI2Connect, check to see if DRI2 has been initialized (bug 28424) are available in the git

Re: [PATCH synaptics 09/11] Reshuffle default value initialization.

2010-06-15 Thread Fernando Carrijo
Peter Hutterer peter.hutte...@who-t.net wrote: /* * Function Definitions / +/** + * Fill in default dimensions for backends that

Re: Performance improvement to vga arbitration

2010-06-15 Thread Henry Zhao
On 06/14/10 16:18, Dave Airlie wrote: On Thu, Jun 10, 2010 at 4:02 PM, Henry Zhaohenry.z...@oracle.com wrote: Proposal for improving vgaarb arbitration method It appears that after session is up, in most cases, drivers only do non-legacy accesses. Non-legacy accesses do not need to

Re: [PATCH synaptics] man page updates, misc fixes

2010-06-15 Thread Fernando Carrijo
On Wed, 16 Jun 2010 10:21:17 +1000, Peter Hutterer peter.hutte...@who-t.net wrote: 02-06 simply bring the man page up to date. 07 is the real new feature, allowing percent values for the area, this should probably be expanded to the edge values as well to save us some of the rather

Re: [PATCH synaptics] man page updates, misc fixes

2010-06-15 Thread Fernando Carrijo
Fernando Carrijo fcarr...@yahoo.com.br wrote: With the suggested ammendments, the patches 01 to 08 look good to me. So, feel free to tag them with: Reviewed-by: Fernando Carrijo fcarr...@yahoo.com.br In particular, I double-checked the constants used in patch 08 against the values found in

[PATCH 1/2: xorg-sgml-doctools] Provide common CSS XSL stylesheets for DocBook docs

2010-06-15 Thread Alan Coopersmith
These have been copied into expanded in several modules already, might as well make a common copy to share so that our docs end up with a common style. Signed-off-by: Alan Coopersmith alan.coopersm...@oracle.com --- Makefile.am |4 +- xorg.css| 86