Regarding how to use MPX in case of xoo device

2010-03-08 Thread Amey
Hello all,
I am an undergraduate student of final year engineering.I
have configured X server with Multi-pointer support(MPX) on my machine with
Ubuntu 8.10
as a part of my final year project.In that I want to use MPX in xoo. I tried
to set path for X server in preferences as /opt/mpx/bin/Xnest (as I have
configured MPX in /opt directory) but it didn't work.So please can anybody
suggest where I am doing mistake if any and how to use MPX in xoo device's
display?

Thanks in advance .


Amey.
___
xorg-devel mailing list
xorg-devel@lists.x.org
http://lists.x.org/mailman/listinfo/xorg-devel


How to start any window manager in newly configured X server(having MPX support)

2010-02-04 Thread Amey
Hello all,
First of all thanks all , I finally succeeded in configuring X
server with all necessary requirements.But now I am ulsing xterminal in my
newly configured X server using .xinitrc.But I want to use a window manager
in it. I also tried to start 'gdm' in new X server and I succeeded also in
it using following command in .xintrc :

*exec gdm
*
But I didn't get the multipointers when I tried to use xinput utility to
create master in the terminal started in it and got following output..

  *xinput create-master one*

*  X Error of failed request:  BadRequest (invalid request code or no such
operation)
  Major opcode of failed request:  145 (XInputExtension)
  Minor opcode of failed request:  43 ()
  Serial number of failed request:  12
  Current serial number in output stream:13

*I also checked for MPWM's source code but didn't get one. So please guide
in this regard.

Thanking you

-- 
Amey.
___
xorg-devel mailing list
xorg-devel@lists.x.org
http://lists.x.org/mailman/listinfo/xorg-devel


Re: Failure in detecting keyboard

2010-02-04 Thread Amey
Thanks Dan,
  I configured the xserver with option '--enable-config-hal'
and it worked.


On Tue, Feb 2, 2010 at 7:31 PM, Dan Nicholson dbn.li...@gmail.com wrote:

 On Tue, Feb 2, 2010 at 12:26 AM, Amey amey1...@gmail.com wrote:
 
  On Mon, Feb 1, 2010 at 9:02 AM, Dan Nicholson dbn.li...@gmail.com
 wrote:
 
  On Sun, Jan 31, 2010 at 4:58 PM, Peter Hutterer
  peter.hutte...@who-t.net wrote:
   On Sat, Jan 30, 2010 at 09:17:12AM +0530, Amey wrote:
   Hello all,
  I am a final year graduate student and I am trying to
   configure X server.In that when I tried to run X server after all the
   configuration done with following commands:
  
   *1) sudo /etc/init.d/gdm stop
   2) sudo startx -- /opt/mpx/bin/Xorg verbose :0   (P.S. I installed
 all
   the
   packages with prefix /opt/mpx )
   *
   then X server didn't run initialy  and I got the following log:
  
   (II) AIGLX: Loaded and initialized /opt/mpx/lib/dri/swrast_dri.so
   (II) GLX: Initialized DRISWRAST GL provider for screen 0
   (II) NV(0): Setting screen physical size to 338 x 211
   (EE) Error compiling keymap (server-0)
   (EE) XKB: Couldn't compile keymap
   XKB: Failed to compile keymap
   Keyboard initialization failed. This could be a missing or incorrect
   setup
   of xkeyboard-config.
  
   This is often the case if /opt/mpx/share/X11/xkb/compiled/ doesn't
 exist
   or
   isn't writable. Check for that too.
  
   For above error  I configured xkeyboard-config package with prefix
   /opt/mpx/
   and again tried to run X server with above sequence of  commands.But
   still
   error was there. So checked for xkbcomp in /opt/mpx then found it
   here:
  
   /opt/mpx/share/X11/xkb
  
   this is weird, xkbcomp should not be in this directory. Please
   reconfigure
   with the right prefix and reinstall instead of the symlink.
   that aside - is there any reason you disable hotplugging?
 
  This comes from some dubious behavior in xkeyboard-config. It creates
  a symlink to xkbcomp in the xkb base directory unless you pass a
  --disable-xkbcomp-symlink or something like that.
 
  Amey, just build xkbcomp with --prefix=/opt/mpx and make sure it uses
  a base path of /opt/mpx/share/X11/xkb so it will pick up your config
  files. There should be a configure option if it doesn't just follow
  --prefix by default.
 
 
  Thanks Dan, It worked by configuring xkbcomp package by
  following the instructions you told.
  But still I have one more problem which is of reattaching the master
 pointer
  to plugged mouse i.e. slave device.
  When I used 'list' option of xinput command it shows some 2
  virtual core pointers and one master ( that I created earlier by
  'create-master' option ) .For that I had configured lib-hal-dev package
 from
  synaptics and also checked for dbus package so it ws already there so
 didn't
  install again.But still when I plug in an usb mouse its not getting
  recognised when I checked using 'list' option of xinput command.
 
  P.S. I have configured X server on ubuntu interpid-ibex.

 Possibly the server was not built with hal support for hotplugging. If
 you attach a Xorg.0.log, it should shed some light.

 --
 Dan




-- 
Thanks,
Amey.
___
xorg-devel mailing list
xorg-devel@lists.x.org
http://lists.x.org/mailman/listinfo/xorg-devel


Re: Failure in detecting keyboard

2010-02-02 Thread Amey
On Mon, Feb 1, 2010 at 9:02 AM, Dan Nicholson dbn.li...@gmail.com wrote:

 On Sun, Jan 31, 2010 at 4:58 PM, Peter Hutterer
 peter.hutte...@who-t.net wrote:
  On Sat, Jan 30, 2010 at 09:17:12AM +0530, Amey wrote:
  Hello all,
 I am a final year graduate student and I am trying to
  configure X server.In that when I tried to run X server after all the
  configuration done with following commands:
 
  *1) sudo /etc/init.d/gdm stop
  2) sudo startx -- /opt/mpx/bin/Xorg verbose :0   (P.S. I installed all
 the
  packages with prefix /opt/mpx )
  *
  then X server didn't run initialy  and I got the following log:
 
  (II) AIGLX: Loaded and initialized /opt/mpx/lib/dri/swrast_dri.so
  (II) GLX: Initialized DRISWRAST GL provider for screen 0
  (II) NV(0): Setting screen physical size to 338 x 211
  (EE) Error compiling keymap (server-0)
  (EE) XKB: Couldn't compile keymap
  XKB: Failed to compile keymap
  Keyboard initialization failed. This could be a missing or incorrect
 setup
  of xkeyboard-config.
 
  This is often the case if /opt/mpx/share/X11/xkb/compiled/ doesn't exist
 or
  isn't writable. Check for that too.
 
  For above error  I configured xkeyboard-config package with prefix
 /opt/mpx/
  and again tried to run X server with above sequence of  commands.But
 still
  error was there. So checked for xkbcomp in /opt/mpx then found it
 here:
 
  /opt/mpx/share/X11/xkb
 
  this is weird, xkbcomp should not be in this directory. Please
 reconfigure
  with the right prefix and reinstall instead of the symlink.
  that aside - is there any reason you disable hotplugging?

 This comes from some dubious behavior in xkeyboard-config. It creates
 a symlink to xkbcomp in the xkb base directory unless you pass a
 --disable-xkbcomp-symlink or something like that.

 Amey, just build xkbcomp with --prefix=/opt/mpx and make sure it uses
 a base path of /opt/mpx/share/X11/xkb so it will pick up your config
 files. There should be a configure option if it doesn't just follow
 --prefix by default.


Thanks Dan, It worked by configuring xkbcomp package by
following the instructions you told.
But still I have one more problem which is of reattaching the master pointer
to plugged mouse i.e. slave device.
When I used *'list'* option of *xinput* command it shows some 2
virtual core pointers and one master ( that I created earlier by
'create-master' option ) .For that I had configured *lib-hal-dev* package
from synaptics and also checked for *dbus* package so it ws already there so
didn't install again.But still when I plug in an usb mouse its not getting
recognised when I checked using 'list' option of xinput command.

P.S. I have configured X server on ubuntu interpid-ibex.



 --
 Dan




-- 
Thanks,
Amey.
___
xorg-devel mailing list
xorg-devel@lists.x.org
http://lists.x.org/mailman/listinfo/xorg-devel


Re: Problem while configuring xserver.

2010-01-25 Thread Amey
Hello Sir,
Sorry to ask such a question but I am installing X11 with option
as --prefix=/opt/mpx  i.e. in /opt/mpx folder while configuring each and
every package including libX11.I am following the script given on the link
for the same:

http://www.x.org/wiki/Development/BuildingX?action=showredirect=Development%2Fgit

even I tried to find libX11.so in /opt/mpx and I got following locations:

/opt/mpx/lib/libX11-xcb.so.1.0.0
/opt/mpx/lib/libX11.la
/opt/mpx/lib/libX11-xcb.la
/opt/mpx/lib/libX11.a
/opt/mpx/lib/libX11.so.6
/opt/mpx/lib/libX11.so
/opt/mpx/lib/libX11-xcb.a
/opt/mpx/lib/libX11.so.6.3.0
/opt/mpx/lib/libX11-xcb.so
/opt/mpx/lib/libX11-xcb.so.1
/opt/mpx/share/doc/libX11





  /usr/bin/ld: cannot find -lX11

  ...


 So accordingly I set paths for the environment variables.




 I have set environment variables with following paths for configuring all
 packages:

 PKG_CONFIG_PATH = /opt/mpx/pkgconfig:/opt/mpx/share/pkgconfig
 LD_LIBRARY_PATH = /opt/mpx/lib
 ACLOCAL = aclocal -I /opt/mpx/share/aclocal



   Thus please can you please elaborate more about:

 LD_LIBRARY_PATH and PKG_CONFIG_PATH should contain the paths to your X11
 installation as well.


 --
 Greetings

  Pete

 What is this talk of 'release?' Klingons do not make software 'releases.'
  Our software 'escapes,' leaving a bloody trail of designers and quality
 assurance people in its wake.


Thanking you .

--
Amey.
___
xorg-devel mailing list
xorg-devel@lists.x.org
http://lists.x.org/mailman/listinfo/xorg-devel


Fwd: Problem regarding configuring X server.

2009-09-16 Thread Amey Moghe
 (EE) XKB: Couldn't open rules file /opt/gfx-test/share/X11/xkb/
rules/base
 XKB: Failed to compile keymap
 Keyboard initialization failed. This could be a missing or incorrect setup
 of xkeyboard-config.

 Fatal server error:
 Failed to activate core devices.


For the above error I tried to install xkeyboard-config in /opt/gfx-test but
I am facing following error:

intltoolize: 'intltool-extract.in' exists: use '--force' to overwrite
intltoolize: 'intltool-merge.in' exists: use '--force' to overwrite
intltoolize: 'intltool-update.in' exists: use '--force' to overwrite
intltoolize: 'po/Makefile.in.in' exists: use '--force' to overwrite
autoreconf: Entering directory `.'
autoreconf: configure.in: not using Gettext
autoreconf: running: aclocal
configure.in:47: warning: macro `AM_GLIB_GNU_GETTEXT' not found in library
autoreconf: configure.in: tracing
autoreconf: configure.in: not using Libtool
autoreconf: running: /usr/bin/autoconf
autoreconf: configure.in: not using Autoheader
autoreconf: running: automake --add-missing --copy --no-force
rules/Makefile.am:184: `%'-style pattern rules are a GNU make extension
autoreconf: Leaving directory `.'
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /bin/mkdir -p
checking for gawk... no
checking for mawk... mawk
checking whether make sets $(MAKE)... yes
checking whether to enable maintainer-specific portions of Makefiles... yes
checking for xkbcomp... /usr/bin/xkbcomp
checking for style of include used by make... GNU
checking for gcc... gcc
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking dependency style of gcc... none
checking for intltool = 0.30... 0.37.1 found
checking for xgettext... /usr/bin/xgettext
checking for msgmerge... /usr/bin/msgmerge
checking for msgfmt... /usr/bin/msgfmt
checking for perl... /usr/bin/perl
checking for XML::Parser... ok
./configure: line 3877: AM_GLIB_GNU_GETTEXT: command not found
configure: creating ./config.status
config.status: creating po/Makefile.in
config.status: creating Makefile
config.status: creating compat/Makefile
config.status: creating geometry/Makefile
config.status: creating geometry/digital_vndr/Makefile
config.status: creating geometry/sgi_vndr/Makefile
config.status: creating keycodes/Makefile
config.status: creating keycodes/digital_vndr/Makefile
config.status: creating keycodes/sgi_vndr/Makefile
config.status: creating keymap/Makefile
config.status: creating keymap/digital_vndr/Makefile
config.status: creating keymap/sgi_vndr/Makefile
config.status: creating keymap/sun_vndr/Makefile
config.status: creating semantics/Makefile
config.status: creating rules/Makefile
config.status: creating rules/bin/Makefile
config.status: creating rules/compat/Makefile
config.status: creating rules/extras/Makefile
config.status: creating symbols/Makefile
config.status: creating symbols/digital_vndr/Makefile
config.status: creating symbols/fujitsu_vndr/Makefile
config.status: creating symbols/hp_vndr/Makefile
config.status: creating symbols/macintosh_vndr/Makefile
config.status: creating symbols/nec_vndr/Makefile
config.status: creating symbols/sgi_vndr/Makefile
config.status: creating symbols/sony_vndr/Makefile
config.status: creating symbols/sun_vndr/Makefile
config.status: creating symbols/xfree68_vndr/Makefile
config.status: creating symbols/extras/Makefile
config.status: creating types/Makefile
config.status: creating xkeyboard-config.spec
config.status: creating docs/Makefile
config.status: executing depfiles commands
config.status: executing intltool commands
config.status: executing po/stamp-it commands
config.status: error: po/Makefile is not ready.

So I tried to install package po from aptitude but that also didn't work.

P.S. Actually we require X server configuration for MPX.


On Wed, Sep 16, 2009 at 6:49 PM, Dan Nicholson dbn.li...@gmail.com wrote:

 On Wed, Sep 16, 2009 at 4:01 AM, Amey Moghe amey1...@gmail.com wrote:
  Hello all ,
  I am an undergraduate student, is configuring X server as a
 part
  of my project. I followed the shell script and the other instructions
 given
  in the link which is as follows:
 
  http://www.x.org/wiki/Development/git
 
  After all the configuration done without any dependencies remaining, as
 per
  given in the link I tried to execute following command:
 
  rmmod i915
 
  But it was flashing error that 'i915 is running'
 
  so couldn't execute further commands. which are as follows:
 
  rmmod drm
 
  insmod path_to_drm_tree_above/linux-core/drm.ko
 
  insmod path_to_drm_tree_above/linux-core/i915.ko

 These instructions are a little old