Re: blocking gui process

2010-06-07 Thread Eirik Byrkjeflot Anonsen
John Tapsell johnf...@gmail.com writes:

 On 5 June 2010 12:07, Russell Shaw rjs...@netspace.net.au wrote:
 Constructing GUIs with a declarative language is all well and good
 for non-programmers and artistic types, but as soon as you want to
 create a custom action or widget such as eg a dynamically created
 tear-off menu, it's a total pain to dig into all kinds of parser/interpreter
 machinery, reverse engineer everything because it's rarely documented,
 and then actually do the task that should've taken 2 hours instead
 of 2 weeks or months. Forget UML XML CSS JAVA(SCRIPT) PYTHON C++ and
 all kinds of OOP crap and just write the fundamentals in non-OOP C.
 This is no easy task for someone starting out, but is a doable solution.
 You'll end up with a fraction of the code and infinite flexibility.


 Must we let Russell troll every user thread? :-/

I think his basic criticism of toolkits in general is quite valid.
There is no doubt that simplifying abstractions can make it very hard
to actually do anything the abstraction isn't specifically designed to
handle.  Which is particularly frustrating when you know exactly what
you want to do on a low level.

But (as has been pointed out before) his suggestion to write your own
toolkit is horribly misguided (unless you have extremely limited
requirements, such as only has to work for me).  And his dismissal of
a random set of more or less unrelated technologies seems borderline
nonsensical.  (He would rather use C than UML to explain abstract
concepts to other people?  He would rather write his user documentation
in C than in XML+CSS?  And what's that conflation of Java and JavaScript
doing there anyway?)

(And yes, I think declarative UI design is a good idea.  But I don't
know how to design such a system to provide both the simplicity and the
flexibility you would want.)

eirik
___
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: blocking gui process

2010-06-07 Thread Alexandre Mazari




what |  web   |  guis
---
style |  css   |  program calls gui toolkit*
structure |  html  |  program calls gui toolkit**
behaviour |  js|  program shows different parts when it
  |  gets callbacks; calling gui toolkit
correctness| js|  program has ifs in signal callbacks
backend   | server |  some tier separate from the gui code (hopefully)


You might be interested in the SeedKit project [0] which provide a way  
to define the UI of an application in pure standard web technologies  
while accessing lower level systems (dbus services, GObject  
inyrospected libraries, native code).
In a SeedKit view you can both bind DOM events to native code and  
native signals (in the GObject termology) to javascript handlers  
manipulating the DOM tree.


SeedKit is currently looking for contributors, users and tester, so if  
you have some time, have a look at it :)


[0] http://live.gnome.org/SeedKit

Happy Coding,
Alexandre



___
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: sca...@gmail.com


___
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: blocking gui process

2010-06-07 Thread John Tapsell
On 7 June 2010 18:53, Alexandre Mazari sca...@gmail.com wrote:


 what     |  web   |  guis
 ---
 style     |  css   |  program calls gui toolkit*
 structure |  html  |  program calls gui toolkit**
 behaviour |  js    |  program shows different parts when it
                  |  gets callbacks; calling gui toolkit
 correctness| js    |  program has ifs in signal callbacks
 backend   | server |  some tier separate from the gui code (hopefully)

 You might be interested in the SeedKit project [0] which provide a way to
 define the UI of an application in pure standard web technologies while
 accessing lower level systems (dbus services, GObject inyrospected
 libraries, native code).
 In a SeedKit view you can both bind DOM events to native code and native
 signals (in the GObject termology) to javascript handlers manipulating the
 DOM tree.

Why not just use Qt and QtWebkit if you want to do that?

Qt has javascript bindings, so you get dbus etc all for free.  You can
also implement parts in c++ for performance speed ups etc.

(For example, I do this in my own app -
http://userbase.kde.org/File:Ksysguard_detailed2.png which is part of
http://userbase.kde.org/System_Activity )

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

xorg can't load qxl driver

2010-06-07 Thread brian
I've been trying to get Red Hat's Spice loaded to use for my Ubuntu VM for
more than a month now.  I finally got the full spice package installed and
configured but it needs qxl drivers loaded in x windows which so far I've
been unable to accomplish.

I followed the instructions here:
http://www.cs.rug.nl/~jurjen/ApprenticesNotes/ch28s06.html

However, when I edit the xorg.conf file to load the qxl drivers I
installed, then stop and start gdm it complains that it can't find drivers
qxl and void and puts me into low graphics mode.  When I try to
reinstall the drivers, it says latest drivers already installed nothing
left to do.  I don't understand why this isn't working.  The drivers are
installed, the hardware shows up, the xorg.conf has been modified.  Are
the istructions relating to the xorg.conf incorrect?  That's the only
thing I can think of.

Brian

___
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: mouse gets stuck on second screen

2010-06-07 Thread David Bridgham
On 06/06/2010 11:46 AM, Hugo Vanwoerkom wrote:

 I also run Debian (Sid) with 2 video cards but each with their own monitor 
 and mouse and keyboard and have xserver-xorg-core 2:1.7.7-2.

 I have no idea whether this matters, but I use the evdev driver for the mice:

 Section InputDevice
 IdentifierMouse0
 Driverevdev
 OptionDevice /dev/input/event5 # (cat 
 /proc/bus/input/devices)   
 OptionName A4Tech USB Optical Mouse
   Option  ZAxisMapping  6 7 4 5
   Option  Buttons   12
 EndSection
   

The evdev driver appears to work for me but it makes no difference to
the dual Screen problem.  It's not that the mouse cursor doesn't move,
it's just that once it crosses the boundary to Screen1, it can never
cross back to Screen0.  It just hits the edge of the Screen and stops
there, as if there were no Screen above it to move back to.  The same
thing happens if I reconfigure the screens to be LeftOf or RightOf.  The
mouse starts on Screen0 and once I move it over to Screen1, it can't
ever get back.  If I try to configure Screen0 Below Screen1, I can't
even get the cursor off Screen0 but I'm guessing that has something to
do with Screen1 then having negative coordinates.

 -Dave

___
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


configuring a 3 button mouse.

2010-06-07 Thread Geoffrey
I recently upgraded my Mandriva install and now it appears that my 3 
button mouse is emulating a 2 button mouse as cut/paste only works when 
I select buttons 1 and 3, but not with button 2.


The middle button is a wheel and scrolling does work with it, which 
leads to more confusion.


This has always 'just worked' so it's been a while since I tried to 
configure this.  my xorg.conf looks right (to me):


Section InputDevice
Identifier Mouse1
Driver mouse
Option Protocol ExplorerPS/2
Option Device /dev/mouse
Option Emulate3Buttons
Option Emulate3Timeout 50
Option EmulateWheel
Option EmulateWheelButton 2
EndSection

Any suggestions would be appreciated.

--
Until later, Geoffrey

I predict future happiness for America if they can prevent
the government from wasting the labors of the people under
the pretense of taking care of them.
- Thomas Jefferson
___
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: mouse gets stuck on second screen

2010-06-07 Thread Dan Nicholson
On Sat, Jun 5, 2010 at 2:11 PM, David Bridgham d...@froghouse.org wrote:
 I run a Debian system with two Radeon HD 2600 Pro video cards, each
 with two monitors.  Until a few months ago this was working fine.
 Then an update came in and Xorg started segfaulting on startup.  I
 found that if I arranged the two monitors on a given card horizontally
 instead of vertically, it stopped segfaulting but now had a new
 problem.  If I move the mouse cursor to the screen defined by the
 second video card, it can never come back to the first.  It gets stuck
 over there.

 It seems this must be something simple in my config file but I can not
 figure it out.  Any suggestions?  Thanks.

  -Dave

 Section ServerLayout
        Identifier     X.org Configured
 #       Screen      0  Screen0 0 0
 #       Screen      1  Screen1 Above Screen0
        Screen      0  Screen0
        Screen      1  Screen1 Below Screen0
        InputDevice    Mouse0 CorePointer
        InputDevice    Keyboard0 CoreKeyboard
 EndSection

So, this is zaphod mode with the radeonhd driver. Maybe you can try
using the radeon driver? I know there have been some fixes recently to
zaphod mode, although I don't know if that will fix the input issues.

--
Dan
___
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: configuring a 3 button mouse.

2010-06-07 Thread Dan Nicholson
On Mon, Jun 7, 2010 at 12:21 PM, Geoffrey li...@serioustechnology.com wrote:
 I recently upgraded my Mandriva install and now it appears that my 3 button
 mouse is emulating a 2 button mouse as cut/paste only works when I select
 buttons 1 and 3, but not with button 2.

 The middle button is a wheel and scrolling does work with it, which leads to
 more confusion.

 This has always 'just worked' so it's been a while since I tried to
 configure this.  my xorg.conf looks right (to me):

 Section InputDevice
    Identifier Mouse1
    Driver mouse
    Option Protocol ExplorerPS/2
    Option Device /dev/mouse
    Option Emulate3Buttons
    Option Emulate3Timeout 50
    Option EmulateWheel
    Option EmulateWheelButton 2
 EndSection

 Any suggestions would be appreciated.

Can you the log so we can see what's going on? My guess is the device
isn't using the mouse driver like you think it is.

--
Dan
___
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: mouse gets stuck on second screen

2010-06-07 Thread David Bridgham
On 06/07/2010 03:22 PM, Dan Nicholson wrote:

 So, this is zaphod mode with the radeonhd driver. Maybe you can try
 using the radeon driver? I know there have been some fixes recently to
 zaphod mode, although I don't know if that will fix the input issues.

   

Took me a bit to figure out zaphod mode.  I hadn't heard that term
before.  I like.

I tried the radeon driver and surprisingly, at least to me, it has
exactly the same problem.  It also shows the same output on the two
monitors on each video card but presumably I could figure that out if I
played with it some.  However, the problem with the mouse becoming
trapped on Screen1 once it goes there is just the same as with the
radeonhd driver.

 -Dave

___
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: configuring a 3 button mouse.

2010-06-07 Thread Dan Nicholson
On Mon, Jun 7, 2010 at 12:54 PM, Geoffrey li...@serioustechnology.com wrote:
 Dan Nicholson wrote:

 On Mon, Jun 7, 2010 at 12:21 PM, Geoffrey li...@serioustechnology.com
 wrote:

 I recently upgraded my Mandriva install and now it appears that my 3
 button
 mouse is emulating a 2 button mouse as cut/paste only works when I select
 buttons 1 and 3, but not with button 2.

 The middle button is a wheel and scrolling does work with it, which leads
 to
 more confusion.

 This has always 'just worked' so it's been a while since I tried to
 configure this.  my xorg.conf looks right (to me):

 Section InputDevice
   Identifier Mouse1
   Driver mouse
   Option Protocol ExplorerPS/2
   Option Device /dev/mouse
   Option Emulate3Buttons
   Option Emulate3Timeout 50
   Option EmulateWheel
   Option EmulateWheelButton 2
 EndSection

 Any suggestions would be appreciated.

 Can you the log so we can see what's going on? My guess is the device
 isn't using the mouse driver like you think it is.

 I think you're onto something.  I see this:

 (==) The core pointer device wasn't specified explicitly in the layout.
        Using the first mouse device.

 I've attached both my xorg.conf and the log for further insights.

 --
 Until later, Geoffrey

 I predict future happiness for America if they can prevent
 the government from wasting the labors of the people under
 the pretense of taking care of them.
 - Thomas Jefferson

 # nvidia-xconfig: X configuration file generated by nvidia-xconfig
 # nvidia-xconfig:  version 1.0  (buildmeis...@builder58)  Wed Dec  9
 16:34:26 PST 2009

 # Xorg configuration created by pyxf86config

 Section ServerLayout
    Identifier     Default Layout
    Screen      0  Screen0 0 0
    InputDevice    Mouse0 CorePointer
    InputDevice    Keyboard0 CoreKeyboard
 EndSection

 Section InputDevice

    # generated from default
    Identifier     Mouse0
    Driver         mouse
    Option         Protocol auto
    Option         Device /dev/input/mice
    Option         Emulate3Buttons no
    Option         ZAxisMapping 4 5
 EndSection

It looks like it's using the right settings, but now you have
Emulate3Buttons no. From your log:

(**) Option Protocol auto
(**) Mouse0: Device: /dev/input/mice
(**) Mouse0: Protocol: auto
(**) Option CorePointer
(**) Mouse0: Core Pointer
(**) Option Device /dev/input/mice
(**) Option Emulate3Buttons no
(**) Option ZAxisMapping 4 5
(**) Mouse0: ZAxisMapping: buttons 4 and 5
(**) Mouse0: Buttons: 9

Perhaps you should change that to Emulate3Buttons yes?

--
Dan
___
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: mouse gets stuck on second screen

2010-06-07 Thread Dan Nicholson
On Mon, Jun 7, 2010 at 1:04 PM, David Bridgham d...@froghouse.org wrote:
 On 06/07/2010 03:22 PM, Dan Nicholson wrote:

 So, this is zaphod mode with the radeonhd driver. Maybe you can try
 using the radeon driver? I know there have been some fixes recently to
 zaphod mode, although I don't know if that will fix the input issues.



 Took me a bit to figure out zaphod mode.  I hadn't heard that term
 before.  I like.

 I tried the radeon driver and surprisingly, at least to me, it has
 exactly the same problem.  It also shows the same output on the two
 monitors on each video card but presumably I could figure that out if I
 played with it some.  However, the problem with the mouse becoming
 trapped on Screen1 once it goes there is just the same as with the
 radeonhd driver.

Hmm. Could very well be a problem in the server. I don't use zaphod
mode, but I understand it was broken for a long time. You might want
to file a bug, but hopefully someone can help you out here.

--
Dan
___
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: configuring a 3 button mouse.

2010-06-07 Thread Geoffrey

Dan Nicholson wrote:

On Mon, Jun 7, 2010 at 12:54 PM, Geoffrey li...@serioustechnology.com wrote:

Dan Nicholson wrote:

On Mon, Jun 7, 2010 at 12:21 PM, Geoffrey li...@serioustechnology.com
wrote:

I recently upgraded my Mandriva install and now it appears that my 3
button
mouse is emulating a 2 button mouse as cut/paste only works when I select
buttons 1 and 3, but not with button 2.

The middle button is a wheel and scrolling does work with it, which leads
to
more confusion.

This has always 'just worked' so it's been a while since I tried to
configure this.  my xorg.conf looks right (to me):

Section InputDevice
  Identifier Mouse1
  Driver mouse
  Option Protocol ExplorerPS/2
  Option Device /dev/mouse
  Option Emulate3Buttons
  Option Emulate3Timeout 50
  Option EmulateWheel
  Option EmulateWheelButton 2
EndSection

Any suggestions would be appreciated.

Can you the log so we can see what's going on? My guess is the device
isn't using the mouse driver like you think it is.

I think you're onto something.  I see this:

(==) The core pointer device wasn't specified explicitly in the layout.
   Using the first mouse device.

I've attached both my xorg.conf and the log for further insights.

--
Until later, Geoffrey

I predict future happiness for America if they can prevent
the government from wasting the labors of the people under
the pretense of taking care of them.
- Thomas Jefferson

# nvidia-xconfig: X configuration file generated by nvidia-xconfig
# nvidia-xconfig:  version 1.0  (buildmeis...@builder58)  Wed Dec  9
16:34:26 PST 2009

# Xorg configuration created by pyxf86config

Section ServerLayout
   Identifier Default Layout
   Screen  0  Screen0 0 0
   InputDeviceMouse0 CorePointer
   InputDeviceKeyboard0 CoreKeyboard
EndSection

Section InputDevice

   # generated from default
   Identifier Mouse0
   Driver mouse
   Option Protocol auto
   Option Device /dev/input/mice
   Option Emulate3Buttons no
   Option ZAxisMapping 4 5
EndSection


It looks like it's using the right settings, but now you have
Emulate3Buttons no. From your log:

(**) Option Protocol auto
(**) Mouse0: Device: /dev/input/mice
(**) Mouse0: Protocol: auto
(**) Option CorePointer
(**) Mouse0: Core Pointer
(**) Option Device /dev/input/mice
(**) Option Emulate3Buttons no
(**) Option ZAxisMapping 4 5
(**) Mouse0: ZAxisMapping: buttons 4 and 5
(**) Mouse0: Buttons: 9

Perhaps you should change that to Emulate3Buttons yes?


I don't think so.  I don't want to emulate 3 buttons as I have 3 
buttons.  I'm pretty sure Emulate3Buttons is what you use when you have 
a two button mouse and you want to be able to use button 1 and 2 to 
emulate a center button.




--
Dan




--
Until later, Geoffrey

I predict future happiness for America if they can prevent
the government from wasting the labors of the people under
the pretense of taking care of them.
- Thomas Jefferson
___
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


restore from suspend to ram

2010-06-07 Thread Jethro Tull

I have a radeon mobility X300 in my laptop.
Switching the laptop to sleep state works, but restoring from that state 
results in screen not turning back on.
I read that the radeon has such problems when using the frame buffer was on, 
but even when it's off my laptop's screen does not turn back on.
The computer itself seems to work fine meanwhile. I have to restart with 
Ctrl+Alt+Del.
I'm using Xorg 1.7.7 on the default slackware 13.1.
  
_
http://clk.atdmt.com/UKM/go/19780/direct/01/
Do you have a story that started on Hotmail? Tell us now___
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

Current tinderbox regression (cygwin)

2010-06-07 Thread Chris Ball
http://tinderbox.x.org/builds/2010-06-06-0022/logs/xserver/#build

/opt/jhbuild/git/xorg/xserver/hw/xwin/winallpriv.c:165: error:
'g_iCmapPrivateKey' undeclared (first use in this function)

http://cgit.freedesktop.org/xorg/xserver/commit/?id=faeebead7bfcc78535757ca7acc1faf7554c03b7

-- 
Chris Ball   c...@laptop.org
One Laptop Per Child
___
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: Current tinderbox regression (cygwin)

2010-06-07 Thread Chris Ball
On Mon, Jun 07, 2010 at 05:47:48PM -0400, Chris Ball wrote:
 /opt/jhbuild/git/xorg/xserver/hw/xwin/winallpriv.c:165: error:
 'g_iCmapPrivateKey' undeclared (first use in this function)

Patch below:


From: Chris Ball c...@laptop.org
Date: Mon, 7 Jun 2010 17:52:45 -0400
Subject: [PATCH] Fix typo in devPrivates API patch

Commit faeebead7bfc.. causes a compile error, as found by tinderbox:

/opt/jhbuild/git/xorg/xserver/hw/xwin/winallpriv.c:165: error:
'g_iCmapPrivateKey' undeclared (first use in this function)

Make the obvious typo fix.

Signed-off-by: Chris Ball c...@laptop.org
---
 hw/xwin/win.h |2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/hw/xwin/win.h b/hw/xwin/win.h
index 05913d7..a85264a 100644
--- a/hw/xwin/win.h
+++ b/hw/xwin/win.h
@@ -631,7 +631,7 @@ extern int  g_fdMessageQueue;
 extern DevPrivateKeyRecg_iScreenPrivateKeyRec;
 #define g_iScreenPrivateKey(g_iScreenPrivateKeyRec)
 extern DevPrivateKeyRecg_iCmapPrivateKeyRec;
-#define g_iCmapPrivateKeyRec   (g_iCmapPrivateKeyRec)
+#define g_iCmapPrivateKey  (g_iCmapPrivateKeyRec)
 extern DevPrivateKeyRecg_iGCPrivateKeyRec;
 #define g_iGCPrivateKey(g_iGCPrivateKeyRec)
 extern DevPrivateKeyRecg_iPixmapPrivateKeyRec;
-- 
1.6.6.1
___
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: xorg can't load qxl driver

2010-06-07 Thread brian

 I followed the instructions here:
 http://www.cs.rug.nl/~jurjen/ApprenticesNotes/ch28s06.html

snip

 Where is the qxl driver being installed? Is it the same place that the
 server expects to find drivers? The normal place would be something
 like /usr/lib/xorg/modules/drivers if you're on x86. I see the
 instructions there are instructing you to pass --libdir=/usr/lib64
 when building qxl. Don't do that if you're not on x86_64.

 On the other hand, I don't know why you don't have the void input
 driver. Maybe it's not installed. I don't know the debian/ubuntu
 package name, but it might be xserver-xorg-input-void.

 Anyway, your log would help.

Thanks Dan, that is a start.  Since the instructions didn't mention
putting the drivers anywhere special I just put them in my home folder. 
Please excuse any dumb mistakes, I'm kind of new to this.   I went ahead
and remade the drivers in the /usr/lib/xorg/modules/drivers minus the
--libdir=/usr/lib64 since I'm using 32 bit ubuntu.

I also installed the void driver, which you had the correct name for.
Now when I stop and start gdm it still puts me in low graphics mode but
says it cannot detect my screen, video adapter, and input device settings.
 Here is the last section of my xorg log, which I hope has all the
relevant info:
ha...@citadel:~$ sudo tail -30 /var/log/Xorg.0.log
(II) qxl(0): Device version 0.0
(II) qxl(0): Compression level 0, log level 0
(II) qxl(0): Currently using mode #-1, list at 0x34
(II) qxl(0): 14357 io pages at 0x0
(II) qxl(0): 8294400 byte draw area at 0x3815b68
(II) qxl(0): RAM header offset: 0x3ffeb68
(II) qxl(0): Correct RAM signature 41525851
(II) qxl(0): Monitor0: Using hsync range of 31.50-80.00 kHz
(II) qxl(0): Monitor0: Using vrefresh range of 50.00-70.00 Hz
(II) qxl(0): Clock range:  10.00 to 165.00 MHz
(II) qxl(0): Not using default mode 640x350 (no mode of this name)
(II) qxl(0): Not using default mode 320x175 (bad mode
clock/interlace/doublescan)
(II) qxl(0): Not using default mode 640x400 (no mode of this name)
(II) qxl(0): Not using default mode 320x200 (bad mode
clock/interlace/doublescan)
(II) qxl(0): Not using default mode 720x400 (no mode of this name)
(II) qxl(0): Not using default mode 360x200 (bad mode
clock/interlace/doublescan)

Backtrace:
0: /usr/bin/X(xorg_backtrace+0x3b) [0x8133d6b]
1: /usr/bin/X(xf86SigHandler+0x55) [0x80c7d35]
2: [0xae9400]
3: /usr/bin/X(xf86InitialCheckModeForDriver+0x1ee) [0x80da28e]
4: /usr/bin/X(xf86ValidateModes+0xe91) [0x80dc011]
5: /usr/lib/xorg/modules/drivers//qxl_drv.so [0x28ade4]
6: /usr/bin/X(InitOutput+0x4e9) [0x80b05b9]
7: /usr/bin/X(main+0x1cb) [0x807234b]
8: /lib/tls/i686/cmov/libc.so.6(__libc_start_main+0xe6) [0x126b56]
9: /usr/bin/X [0x80719c1]
Saw signal 11.  Server aborting.
 ddxSigGiveUp: Closing log


___
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: Current tinderbox regression (cygwin)

2010-06-07 Thread Peter Hutterer
On Mon, Jun 07, 2010 at 10:56:24PM +0100, Chris Ball wrote:
 On Mon, Jun 07, 2010 at 05:47:48PM -0400, Chris Ball wrote:
  /opt/jhbuild/git/xorg/xserver/hw/xwin/winallpriv.c:165: error:
  'g_iCmapPrivateKey' undeclared (first use in this function)
 
 Patch below:
 
 
 From: Chris Ball c...@laptop.org
 Date: Mon, 7 Jun 2010 17:52:45 -0400
 Subject: [PATCH] Fix typo in devPrivates API patch
 
 Commit faeebead7bfc.. causes a compile error, as found by tinderbox:
 
 /opt/jhbuild/git/xorg/xserver/hw/xwin/winallpriv.c:165: error:
 'g_iCmapPrivateKey' undeclared (first use in this function)
 
 Make the obvious typo fix.
 
 Signed-off-by: Chris Ball c...@laptop.org
 ---
  hw/xwin/win.h |2 +-
  1 files changed, 1 insertions(+), 1 deletions(-)
 
 diff --git a/hw/xwin/win.h b/hw/xwin/win.h
 index 05913d7..a85264a 100644
 --- a/hw/xwin/win.h
 +++ b/hw/xwin/win.h
 @@ -631,7 +631,7 @@ extern intg_fdMessageQueue;
  extern DevPrivateKeyRec  g_iScreenPrivateKeyRec;
  #define g_iScreenPrivateKey  (g_iScreenPrivateKeyRec)
  extern DevPrivateKeyRec  g_iCmapPrivateKeyRec;
 -#define g_iCmapPrivateKeyRec (g_iCmapPrivateKeyRec)
 +#define g_iCmapPrivateKey(g_iCmapPrivateKeyRec)
  extern DevPrivateKeyRec  g_iGCPrivateKeyRec;
  #define g_iGCPrivateKey  (g_iGCPrivateKeyRec)
  extern DevPrivateKeyRec  g_iPixmapPrivateKeyRec;
 -- 
 1.6.6.1

Acked-by: Peter Hutterer peter.hutte...@who-t.net
___
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: Current tinderbox regression (cygwin)

2010-06-07 Thread Julien Cristau
On Mon, Jun  7, 2010 at 22:56:24 +0100, Chris Ball wrote:

 On Mon, Jun 07, 2010 at 05:47:48PM -0400, Chris Ball wrote:
  /opt/jhbuild/git/xorg/xserver/hw/xwin/winallpriv.c:165: error:
  'g_iCmapPrivateKey' undeclared (first use in this function)
 
 Patch below:
 
http://patchwork.freedesktop.org/patch/969/ has this and a few more
bits, fwiw.

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: xorg can't load qxl driver

2010-06-07 Thread Dan Nicholson
On Mon, Jun 7, 2010 at 3:37 PM, brian bri...@io.com wrote:

 I followed the instructions here:
 http://www.cs.rug.nl/~jurjen/ApprenticesNotes/ch28s06.html

 snip

 Where is the qxl driver being installed? Is it the same place that the
 server expects to find drivers? The normal place would be something
 like /usr/lib/xorg/modules/drivers if you're on x86. I see the
 instructions there are instructing you to pass --libdir=/usr/lib64
 when building qxl. Don't do that if you're not on x86_64.

 On the other hand, I don't know why you don't have the void input
 driver. Maybe it's not installed. I don't know the debian/ubuntu
 package name, but it might be xserver-xorg-input-void.

 Anyway, your log would help.

 Thanks Dan, that is a start.  Since the instructions didn't mention
 putting the drivers anywhere special I just put them in my home folder.
 Please excuse any dumb mistakes, I'm kind of new to this.   I went ahead
 and remade the drivers in the /usr/lib/xorg/modules/drivers minus the
 --libdir=/usr/lib64 since I'm using 32 bit ubuntu.

You can actually put them where you want if you tell the server where
to find them. See the ModulePath option in xorg.conf(5). Both ways
work fine, though.

 I also installed the void driver, which you had the correct name for.
 Now when I stop and start gdm it still puts me in low graphics mode but
 says it cannot detect my screen, video adapter, and input device settings.
  Here is the last section of my xorg log, which I hope has all the
 relevant info:

Can you attach the whole log? Sometimes there's interesting things
that happen earlier in the initialization.

 ha...@citadel:~$ sudo tail -30 /var/log/Xorg.0.log
 (II) qxl(0): Device version 0.0
 (II) qxl(0): Compression level 0, log level 0
 (II) qxl(0): Currently using mode #-1, list at 0x34
 (II) qxl(0): 14357 io pages at 0x0
 (II) qxl(0): 8294400 byte draw area at 0x3815b68
 (II) qxl(0): RAM header offset: 0x3ffeb68
 (II) qxl(0): Correct RAM signature 41525851
 (II) qxl(0): Monitor0: Using hsync range of 31.50-80.00 kHz
 (II) qxl(0): Monitor0: Using vrefresh range of 50.00-70.00 Hz
 (II) qxl(0): Clock range:  10.00 to 165.00 MHz
 (II) qxl(0): Not using default mode 640x350 (no mode of this name)
 (II) qxl(0): Not using default mode 320x175 (bad mode
 clock/interlace/doublescan)
 (II) qxl(0): Not using default mode 640x400 (no mode of this name)
 (II) qxl(0): Not using default mode 320x200 (bad mode
 clock/interlace/doublescan)
 (II) qxl(0): Not using default mode 720x400 (no mode of this name)
 (II) qxl(0): Not using default mode 360x200 (bad mode
 clock/interlace/doublescan)

 Backtrace:
 0: /usr/bin/X(xorg_backtrace+0x3b) [0x8133d6b]
 1: /usr/bin/X(xf86SigHandler+0x55) [0x80c7d35]
 2: [0xae9400]
 3: /usr/bin/X(xf86InitialCheckModeForDriver+0x1ee) [0x80da28e]
 4: /usr/bin/X(xf86ValidateModes+0xe91) [0x80dc011]
 5: /usr/lib/xorg/modules/drivers//qxl_drv.so [0x28ade4]
 6: /usr/bin/X(InitOutput+0x4e9) [0x80b05b9]
 7: /usr/bin/X(main+0x1cb) [0x807234b]
 8: /lib/tls/i686/cmov/libc.so.6(__libc_start_main+0xe6) [0x126b56]
 9: /usr/bin/X [0x80719c1]
 Saw signal 11.  Server aborting.
  ddxSigGiveUp: Closing log

Looks like you got a segfault (signal 11 with a partial backtrace).
I'm not sure the reason why, but this is probably going to take
someone familiar with qxl.

--
Dan
___
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: configuring a 3 button mouse.

2010-06-07 Thread Sergio Monteiro Basto

  On Mon, Jun 7, 2010 at 12:21 PM, Geoffrey li...@serioustechnology.com
  wrote:
  I recently upgraded my Mandriva install and now it appears that my 3
  button
  mouse is emulating a 2 button mouse as cut/paste only works when I select
  buttons 1 and 3, but not with button 2.
 
  The middle button is a wheel and scrolling does work with it, which leads
  to
  more confusion.

wheel work, and click not ? hum ... the middle button not working at
all ?
to test it, for example, use middle button on links of Firefox, opens
links ?  


  (**) Option Protocol auto
  (**) Mouse0: Device: /dev/input/mice
  (**) Mouse0: Protocol: auto
  (**) Option CorePointer
  (**) Mouse0: Core Pointer
  (**) Option Device /dev/input/mice
  (**) Option Emulate3Buttons no
  (**) Option ZAxisMapping 4 5
  (**) Mouse0: ZAxisMapping: buttons 4 and 5
  (**) Mouse0: Buttons: 9

seems correct , may be is not X fault ... 

-- 
Sérgio M. B.


smime.p7s
Description: S/MIME cryptographic signature
___
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: xorg can't load qxl driver

2010-06-07 Thread brian

 Can you attach the whole log? Sometimes there's interesting things
 that happen earlier in the initialization.

Sure, here goes:
X.Org X Server 1.6.4
Release Date: 2009-9-27
X Protocol Version 11, Revision 0
Build Operating System: Linux 2.6.24-27-server i686 Ubuntu
Current Operating System: Linux Citadel 2.6.31-21-generic #59-Ubuntu SMP
Wed Mar 24 07:28:56 UTC 2010 i686
Kernel command line: BOOT_IMAGE=/vmlinuz-2.6.31-21-generic
root=UUID=24d25872-4c39-431a-9586-cd2c14807610 ro quiet splash
Build Date: 06 May 2010  09:30:46PM
xorg-server 2:1.6.4-2ubuntu4.3 (buildd@)
Before reporting problems, check http://wiki.x.org
to make sure that you have the latest version.
Markers: (--) probed, (**) from config file, (==) default setting,
(++) from command line, (!!) notice, (II) informational,
(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
(==) Log file: /var/log/Xorg.0.log, Time: Mon Jun  7 17:26:24 2010
(==) Using config file: /etc/X11/xorg.conf
(==) ServerLayout X.org Configured
(**) |--Screen Screen0 (0)
(**) |   |--Monitor Monitor0
(**) |   |--Device Card0
(**) |--Input Device Mouse0
(**) |--Input Device Keyboard0
(==) Automatically adding devices
(==) Automatically enabling devices
(WW) The directory /usr/share/fonts/X11/cyrillic does not exist.
Entry deleted from font path.
(WW) The directory /usr/share/fonts/X11/cyrillic does not exist.
Entry deleted from font path.
(**) FontPath set to:
/usr/share/fonts/X11/misc,
/usr/share/fonts/X11/100dpi/:unscaled,
/usr/share/fonts/X11/75dpi/:unscaled,
/usr/share/fonts/X11/Type1,
/usr/share/fonts/X11/100dpi,
/usr/share/fonts/X11/75dpi,
/var/lib/defoma/x-ttcidfont-conf.d/dirs/TrueType,
built-ins,
/usr/share/fonts/X11/misc,
/usr/share/fonts/X11/100dpi/:unscaled,
/usr/share/fonts/X11/75dpi/:unscaled,
/usr/share/fonts/X11/Type1,
/usr/share/fonts/X11/100dpi,
/usr/share/fonts/X11/75dpi,
/var/lib/defoma/x-ttcidfont-conf.d/dirs/TrueType,
built-ins
(**) ModulePath set to /usr/lib/xorg/modules
(WW) AllowEmptyInput is on, devices using drivers 'kbd', 'mouse' or
'vmmouse' will be disabled.
(WW) Disabling Keyboard0
(II) Loader magic: 0x3bc0
(II) Module ABI versions:
X.Org ANSI C Emulation: 0.4
X.Org Video Driver: 5.0
X.Org XInput driver : 4.0
X.Org Server Extension : 2.0
(II) Loader running on linux
(--) using VT number 7

(--) PCI:*(0:0:3:0) 1b36:0100:1af4:1100 Red Hat, Inc. rev 1, Mem @
0xc400/67108864, 0xc800/4096, 0xc8002000/8192, I/O @ 0xc050/8
(II) Open ACPI successful (/var/run/acpid.socket)
(II) System resource ranges:
[0] -1  0   0x - 0x (0x1) MX[B]
[1] -1  0   0x000f - 0x000f (0x1) MX[B]
[2] -1  0   0x000c - 0x000e (0x3) MX[B]
[3] -1  0   0x - 0x0009 (0xa) MX[B]
[4] -1  0   0x - 0x (0x1) IX[B]
[5] -1  0   0x - 0x (0x1) IX[B]
(II) extmod will be loaded. This was enabled by default and also
specified in the config file.
(II) dbe will be loaded. This was enabled by default and also specified
in the config file.
(II) glx will be loaded. This was enabled by default and also specified
in the config file.
(II) record will be loaded. This was enabled by default and also
specified in the config file.
(II) dri will be loaded. This was enabled by default and also specified
in the config file.
(II) dri2 will be loaded. This was enabled by default and also specified
in the config file.
(II) LoadModule: dbe
(II) Loading /usr/lib/xorg/modules/extensions//libdbe.so
(II) Module dbe: vendor=X.Org Foundation
compiled for 1.6.4, module version = 1.0.0
Module class: X.Org Server Extension
ABI class: X.Org Server Extension, version 2.0
(II) Loading extension DOUBLE-BUFFER
(II) LoadModule: extmod
(II) Loading /usr/lib/xorg/modules/extensions//libextmod.so
(II) Module extmod: vendor=X.Org Foundation
compiled for 1.6.4, module version = 1.0.0
Module class: X.Org Server Extension
ABI class: X.Org Server Extension, version 2.0
(II) Loading extension MIT-SCREEN-SAVER
(II) Loading extension XFree86-VidModeExtension
(II) Loading extension XFree86-DGA
(II) Loading extension DPMS
(II) Loading extension XVideo
(II) Loading extension XVideo-MotionCompensation
(II) Loading extension X-Resource
(II) LoadModule: glx
(II) Loading /usr/lib/xorg/modules/extensions//libglx.so
(II) Module glx: vendor=X.Org Foundation
compiled for 1.6.4, module version = 1.0.0
ABI class: X.Org Server Extension, version 2.0
(==) AIGLX enabled
(II) Loading extension GLX
(II) LoadModule: record
(II) Loading /usr/lib/xorg/modules/extensions//librecord.so
(II) Module record: vendor=X.Org Foundation
compiled for 1.6.4, module version = 1.13.0
Module class: X.Org Server 

Re: xorg can't load qxl driver

2010-06-07 Thread Dan Nicholson
On Mon, Jun 7, 2010 at 5:13 PM, brian bri...@io.com wrote:

 Can you attach the whole log? Sometimes there's interesting things
 that happen earlier in the initialization.

 Sure, here goes:
 X.Org X Server 1.6.4
 Release Date: 2009-9-27
 X Protocol Version 11, Revision 0
 Build Operating System: Linux 2.6.24-27-server i686 Ubuntu
 Current Operating System: Linux Citadel 2.6.31-21-generic #59-Ubuntu SMP
 Wed Mar 24 07:28:56 UTC 2010 i686
 Kernel command line: BOOT_IMAGE=/vmlinuz-2.6.31-21-generic
 root=UUID=24d25872-4c39-431a-9586-cd2c14807610 ro quiet splash
 Build Date: 06 May 2010  09:30:46PM
 xorg-server 2:1.6.4-2ubuntu4.3 (buildd@)
        Before reporting problems, check http://wiki.x.org
        to make sure that you have the latest version.
 Markers: (--) probed, (**) from config file, (==) default setting,
        (++) from command line, (!!) notice, (II) informational,
        (WW) warning, (EE) error, (NI) not implemented, (??) unknown.
 (==) Log file: /var/log/Xorg.0.log, Time: Mon Jun  7 17:26:24 2010
 (==) Using config file: /etc/X11/xorg.conf
 (==) ServerLayout X.org Configured
 (**) |--Screen Screen0 (0)
 (**) |   |--Monitor Monitor0
 (**) |   |--Device Card0
 (**) |--Input Device Mouse0
 (**) |--Input Device Keyboard0
 (==) Automatically adding devices
 (==) Automatically enabling devices
 (WW) The directory /usr/share/fonts/X11/cyrillic does not exist.
        Entry deleted from font path.
 (WW) The directory /usr/share/fonts/X11/cyrillic does not exist.
        Entry deleted from font path.
 (**) FontPath set to:
        /usr/share/fonts/X11/misc,
        /usr/share/fonts/X11/100dpi/:unscaled,
        /usr/share/fonts/X11/75dpi/:unscaled,
        /usr/share/fonts/X11/Type1,
        /usr/share/fonts/X11/100dpi,
        /usr/share/fonts/X11/75dpi,
        /var/lib/defoma/x-ttcidfont-conf.d/dirs/TrueType,
        built-ins,
        /usr/share/fonts/X11/misc,
        /usr/share/fonts/X11/100dpi/:unscaled,
        /usr/share/fonts/X11/75dpi/:unscaled,
        /usr/share/fonts/X11/Type1,
        /usr/share/fonts/X11/100dpi,
        /usr/share/fonts/X11/75dpi,
        /var/lib/defoma/x-ttcidfont-conf.d/dirs/TrueType,
        built-ins
 (**) ModulePath set to /usr/lib/xorg/modules
 (WW) AllowEmptyInput is on, devices using drivers 'kbd', 'mouse' or
 'vmmouse' will be disabled.
 (WW) Disabling Keyboard0
 (II) Loader magic: 0x3bc0
 (II) Module ABI versions:
        X.Org ANSI C Emulation: 0.4
        X.Org Video Driver: 5.0
        X.Org XInput driver : 4.0
        X.Org Server Extension : 2.0
 (II) Loader running on linux
 (--) using VT number 7

 (--) PCI:*(0:0:3:0) 1b36:0100:1af4:1100 Red Hat, Inc. rev 1, Mem @
 0xc400/67108864, 0xc800/4096, 0xc8002000/8192, I/O @ 0xc050/8
 (II) Open ACPI successful (/var/run/acpid.socket)
 (II) System resource ranges:
        [0] -1  0       0x - 0x (0x1) MX[B]
        [1] -1  0       0x000f - 0x000f (0x1) MX[B]
        [2] -1  0       0x000c - 0x000e (0x3) MX[B]
        [3] -1  0       0x - 0x0009 (0xa) MX[B]
        [4] -1  0       0x - 0x (0x1) IX[B]
        [5] -1  0       0x - 0x (0x1) IX[B]
 (II) extmod will be loaded. This was enabled by default and also
 specified in the config file.
 (II) dbe will be loaded. This was enabled by default and also specified
 in the config file.
 (II) glx will be loaded. This was enabled by default and also specified
 in the config file.
 (II) record will be loaded. This was enabled by default and also
 specified in the config file.
 (II) dri will be loaded. This was enabled by default and also specified
 in the config file.
 (II) dri2 will be loaded. This was enabled by default and also specified
 in the config file.
 (II) LoadModule: dbe
 (II) Loading /usr/lib/xorg/modules/extensions//libdbe.so
 (II) Module dbe: vendor=X.Org Foundation
        compiled for 1.6.4, module version = 1.0.0
        Module class: X.Org Server Extension
        ABI class: X.Org Server Extension, version 2.0
 (II) Loading extension DOUBLE-BUFFER
 (II) LoadModule: extmod
 (II) Loading /usr/lib/xorg/modules/extensions//libextmod.so
 (II) Module extmod: vendor=X.Org Foundation
        compiled for 1.6.4, module version = 1.0.0
        Module class: X.Org Server Extension
        ABI class: X.Org Server Extension, version 2.0
 (II) Loading extension MIT-SCREEN-SAVER
 (II) Loading extension XFree86-VidModeExtension
 (II) Loading extension XFree86-DGA
 (II) Loading extension DPMS
 (II) Loading extension XVideo
 (II) Loading extension XVideo-MotionCompensation
 (II) Loading extension X-Resource
 (II) LoadModule: glx
 (II) Loading /usr/lib/xorg/modules/extensions//libglx.so
 (II) Module glx: vendor=X.Org Foundation
        compiled for 1.6.4, module version = 1.0.0
        ABI class: X.Org Server Extension, version 2.0
 (==) AIGLX enabled
 (II) Loading extension GLX
 (II) LoadModule: record
 (II) Loading /usr/lib/xorg/modules/extensions//librecord.so
 

Re: configuring a 3 button mouse.

2010-06-07 Thread Geoffrey

Sergio Monteiro Basto wrote:

On Mon, Jun 7, 2010 at 12:21 PM, Geoffrey li...@serioustechnology.com
wrote:

I recently upgraded my Mandriva install and now it appears that my 3
button
mouse is emulating a 2 button mouse as cut/paste only works when I select
buttons 1 and 3, but not with button 2.

The middle button is a wheel and scrolling does work with it, which leads
to
more confusion.


wheel work, and click not ? hum ... the middle button not working at
all ?
to test it, for example, use middle button on links of Firefox, opens
links ?  


Wheel scrolls, but button does nothing on links or anything else.


(**) Option Protocol auto
(**) Mouse0: Device: /dev/input/mice
(**) Mouse0: Protocol: auto
(**) Option CorePointer
(**) Mouse0: Core Pointer
(**) Option Device /dev/input/mice
(**) Option Emulate3Buttons no
(**) Option ZAxisMapping 4 5
(**) Mouse0: ZAxisMapping: buttons 4 and 5
(**) Mouse0: Buttons: 9


seems correct , may be is not X fault ... 


What else could it be???  I might hook this mouse up to another linux 
box and see if it does the same thing.



--
Until later, Geoffrey

I predict future happiness for America if they can prevent
the government from wasting the labors of the people under
the pretense of taking care of them.
- Thomas Jefferson
___
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: configuring a 3 button mouse.

2010-06-07 Thread Geoffrey

Sergio Monteiro Basto wrote:

On Mon, Jun 7, 2010 at 12:21 PM, Geoffrey li...@serioustechnology.com
wrote:

I recently upgraded my Mandriva install and now it appears that my 3
button
mouse is emulating a 2 button mouse as cut/paste only works when I select
buttons 1 and 3, but not with button 2.

The middle button is a wheel and scrolling does work with it, which leads
to
more confusion.


wheel work, and click not ? hum ... the middle button not working at
all ?
to test it, for example, use middle button on links of Firefox, opens
links ?  


Wheel scrolls, but button does nothing on links or anything else.


(**) Option Protocol auto
(**) Mouse0: Device: /dev/input/mice
(**) Mouse0: Protocol: auto
(**) Option CorePointer
(**) Mouse0: Core Pointer
(**) Option Device /dev/input/mice
(**) Option Emulate3Buttons no
(**) Option ZAxisMapping 4 5
(**) Mouse0: ZAxisMapping: buttons 4 and 5
(**) Mouse0: Buttons: 9


seems correct , may be is not X fault ... 


What else could it be???  I might hook this mouse up to another linux 
box and see if it does the same thing.



--
Until later, Geoffrey

I predict future happiness for America if they can prevent
the government from wasting the labors of the people under
the pretense of taking care of them.
- Thomas Jefferson
___
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: configuring a 3 button mouse.

2010-06-07 Thread Geoffrey

Sergio Monteiro Basto wrote:

On Mon, Jun 7, 2010 at 12:21 PM, Geoffrey li...@serioustechnology.com
wrote:

I recently upgraded my Mandriva install and now it appears that my 3
button
mouse is emulating a 2 button mouse as cut/paste only works when I select
buttons 1 and 3, but not with button 2.

The middle button is a wheel and scrolling does work with it, which leads
to
more confusion.


wheel work, and click not ? hum ... the middle button not working at
all ?
to test it, for example, use middle button on links of Firefox, opens
links ?  


Wheel scrolls, but button does nothing on links or anything else.


(**) Option Protocol auto
(**) Mouse0: Device: /dev/input/mice
(**) Mouse0: Protocol: auto
(**) Option CorePointer
(**) Mouse0: Core Pointer
(**) Option Device /dev/input/mice
(**) Option Emulate3Buttons no
(**) Option ZAxisMapping 4 5
(**) Mouse0: ZAxisMapping: buttons 4 and 5
(**) Mouse0: Buttons: 9


seems correct , may be is not X fault ... 


What else could it be???  I might hook this mouse up to another linux 
box and see if it does the same thing.



--
Until later, Geoffrey

I predict future happiness for America if they can prevent
the government from wasting the labors of the people under
the pretense of taking care of them.
- Thomas Jefferson
___
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: configuring a 3 button mouse.

2010-06-07 Thread Sergio Monteiro Basto
On Mon, 2010-06-07 at 16:28 -0400, Geoffrey wrote:
  # Xorg configuration created by pyxf86config
 
  Section ServerLayout
 Identifier Default Layout
 Screen  0  Screen0 0 0
 InputDeviceMouse0 CorePointer
 InputDeviceKeyboard0 CoreKeyboard
  EndSection
 
  Section InputDevice
 
 # generated from default
 Identifier Mouse0
 Driver mouse
 Option Protocol auto
 Option Device /dev/input/mice
 Option Emulate3Buttons no
 Option ZAxisMapping 4 5
  EndSection

mouse drive and kbd drive are deprecated, try comment 
#InputDeviceMouse0 CorePointer
#InputDeviceKeyboard0 CoreKeyboard
with #

I don't have more suggestions, 
You must have xorg-x11-drv-evdev install before restart X. 
evdev is the new concept of input drives and if you found a bug should
be reported on new drive not on deprecated ones.



-- 
Sérgio M. B.


smime.p7s
Description: S/MIME cryptographic signature
___
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: configuring a 3 button mouse.

2010-06-07 Thread Dan Nicholson
On Mon, Jun 7, 2010 at 5:26 PM, Geoffrey li...@serioustechnology.com wrote:
 Sergio Monteiro Basto wrote:

 On Mon, Jun 7, 2010 at 12:21 PM, Geoffrey
 li...@serioustechnology.com
 wrote:

 I recently upgraded my Mandriva install and now it appears that my 3
 button
 mouse is emulating a 2 button mouse as cut/paste only works when I
 select
 buttons 1 and 3, but not with button 2.

 The middle button is a wheel and scrolling does work with it, which
 leads
 to
 more confusion.

 wheel work, and click not ? hum ... the middle button not working at
 all ?
 to test it, for example, use middle button on links of Firefox, opens
 links ?

 Wheel scrolls, but button does nothing on links or anything else.

 (**) Option Protocol auto
 (**) Mouse0: Device: /dev/input/mice
 (**) Mouse0: Protocol: auto
 (**) Option CorePointer
 (**) Mouse0: Core Pointer
 (**) Option Device /dev/input/mice
 (**) Option Emulate3Buttons no
 (**) Option ZAxisMapping 4 5
 (**) Mouse0: ZAxisMapping: buttons 4 and 5
 (**) Mouse0: Buttons: 9

 seems correct , may be is not X fault ...

 What else could it be???  I might hook this mouse up to another linux box
 and see if it does the same thing.

I don't think it's the driver emulating 3 buttons. Looking at the old
mouse source, it should be giving you a message like (**) Mouse0:
Emulate3Buttons, Emulate3Timeout: 50.

Can you run xev and look for the what codes it gives you when you
press the middle button and left+middle?

--
Dan
___
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: configuring a 3 button mouse.

2010-06-07 Thread Geoffrey

Dan Nicholson wrote:

On Mon, Jun 7, 2010 at 5:26 PM, Geoffrey li...@serioustechnology.com wrote:

Sergio Monteiro Basto wrote:

On Mon, Jun 7, 2010 at 12:21 PM, Geoffrey
li...@serioustechnology.com
wrote:

I recently upgraded my Mandriva install and now it appears that my 3
button
mouse is emulating a 2 button mouse as cut/paste only works when I
select
buttons 1 and 3, but not with button 2.

The middle button is a wheel and scrolling does work with it, which
leads
to
more confusion.

wheel work, and click not ? hum ... the middle button not working at
all ?
to test it, for example, use middle button on links of Firefox, opens
links ?

Wheel scrolls, but button does nothing on links or anything else.


(**) Option Protocol auto
(**) Mouse0: Device: /dev/input/mice
(**) Mouse0: Protocol: auto
(**) Option CorePointer
(**) Mouse0: Core Pointer
(**) Option Device /dev/input/mice
(**) Option Emulate3Buttons no
(**) Option ZAxisMapping 4 5
(**) Mouse0: ZAxisMapping: buttons 4 and 5
(**) Mouse0: Buttons: 9

seems correct , may be is not X fault ...

What else could it be???  I might hook this mouse up to another linux box
and see if it does the same thing.


I don't think it's the driver emulating 3 buttons. Looking at the old
mouse source, it should be giving you a message like (**) Mouse0:
Emulate3Buttons, Emulate3Timeout: 50.

Can you run xev and look for the what codes it gives you when you
press the middle button and left+middle?


Absolutely no output when pressing the middle (wheel) button.

It's quite difficult to depress the left+middle at the same time as the 
wheel turns.  The fact that I get nothing when the middle button is 
depressed is weird.  I'm beginning to wonder if I have a bad mouse?




--
Dan




--
Until later, Geoffrey

I predict future happiness for America if they can prevent
the government from wasting the labors of the people under
the pretense of taking care of them.
- Thomas Jefferson
___
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: configuring a 3 button mouse.

2010-06-07 Thread Geoffrey

Geoffrey wrote:

Dan Nicholson wrote:
On Mon, Jun 7, 2010 at 5:26 PM, Geoffrey li...@serioustechnology.com 
wrote:

Sergio Monteiro Basto wrote:

On Mon, Jun 7, 2010 at 12:21 PM, Geoffrey
li...@serioustechnology.com
wrote:
I recently upgraded my Mandriva install and now it appears that 
my 3

button
mouse is emulating a 2 button mouse as cut/paste only works when I
select
buttons 1 and 3, but not with button 2.

The middle button is a wheel and scrolling does work with it, 
which

leads
to
more confusion.

wheel work, and click not ? hum ... the middle button not working at
all ?
to test it, for example, use middle button on links of Firefox, opens
links ?

Wheel scrolls, but button does nothing on links or anything else.


(**) Option Protocol auto
(**) Mouse0: Device: /dev/input/mice
(**) Mouse0: Protocol: auto
(**) Option CorePointer
(**) Mouse0: Core Pointer
(**) Option Device /dev/input/mice
(**) Option Emulate3Buttons no
(**) Option ZAxisMapping 4 5
(**) Mouse0: ZAxisMapping: buttons 4 and 5
(**) Mouse0: Buttons: 9

seems correct , may be is not X fault ...
What else could it be???  I might hook this mouse up to another linux 
box

and see if it does the same thing.


I don't think it's the driver emulating 3 buttons. Looking at the old
mouse source, it should be giving you a message like (**) Mouse0:
Emulate3Buttons, Emulate3Timeout: 50.

Can you run xev and look for the what codes it gives you when you
press the middle button and left+middle?


Absolutely no output when pressing the middle (wheel) button.

It's quite difficult to depress the left+middle at the same time as the 
wheel turns.  The fact that I get nothing when the middle button is 
depressed is weird.  I'm beginning to wonder if I have a bad mouse?


It's not the mouse.  I plugged in a wired 3 button mouse and it exhibits 
the same behavior.


--
Until later, Geoffrey

I predict future happiness for America if they can prevent
the government from wasting the labors of the people under
the pretense of taking care of them.
- Thomas Jefferson
___
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: restore from suspend to ram

2010-06-07 Thread Nigel Sollars
My old gateway laptop has a Mobility x1400 its running Ubuntu 10.04LTS it
does not have this issue but it does do something similar if the lid is
closed ( activating the screen disable ) once the screen is out it will not
come back on for love nor money.  To be honest though I suspect its more to
do with a broken bios / acpi event that causes this.

The kernel its using is 2.6.32-2 as per Ubuntu update.

HTH


On Mon, Jun 7, 2010 at 5:38 PM, Jethro Tull heavyt...@hotmail.com wrote:

  I have a radeon mobility X300 in my laptop.
 Switching the laptop to sleep state works, but restoring from that state
 results in screen not turning back on.
 I read that the radeon has such problems when using the frame buffer was
 on, but even when it's off my laptop's screen does not turn back on.
 The computer itself seems to work fine meanwhile. I have to restart with
 Ctrl+Alt+Del.
 I'm using Xorg 1.7.7 on the default slackware 13.1.

 --
 Get a free e-mail account with Hotmail. Sign-up 
 now.http://clk.atdmt.com/UKM/go/19780/direct/01/

 ___
 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: nsoll...@gmail.com

___
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: xorg can't load qxl driver

2010-06-07 Thread Robert Thompson

On 08/06/10 06:19, Dan Nicholson wrote:

On Mon, Jun 7, 2010 at 10:51 AM, brianbri...@io.com  wrote:
   

I've been trying to get Red Hat's Spice loaded to use for my Ubuntu VM for
more than a month now.  I finally got the full spice package installed and
configured but it needs qxl drivers loaded in x windows which so far I've
been unable to accomplish.

I followed the instructions here:
http://www.cs.rug.nl/~jurjen/ApprenticesNotes/ch28s06.html

However, when I edit the xorg.conf file to load the qxl drivers I
installed, then stop and start gdm it complains that it can't find drivers
qxl and void and puts me into low graphics mode.  When I try to
reinstall the drivers, it says latest drivers already installed nothing
left to do.  I don't understand why this isn't working.  The drivers are
installed, the hardware shows up, the xorg.conf has been modified.  Are
the istructions relating to the xorg.conf incorrect?  That's the only
thing I can think of.
 

Where is the qxl driver being installed? Is it the same place that the
server expects to find drivers? The normal place would be something
like /usr/lib/xorg/modules/drivers if you're on x86. I see the
instructions there are instructing you to pass --libdir=/usr/lib64
when building qxl. Don't do that if you're not on x86_64.

On the other hand, I don't know why you don't have the void input
driver. Maybe it's not installed. I don't know the debian/ubuntu
package name, but it might be xserver-xorg-input-void.

Anyway, your log would help.

--
Dan
___
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: x...@robsfreespace.com
The page at The page 
http://www.cs.rug.nl/~jurjen/ApprenticesNotes/ch28s06.html indicates the 
Author couldn't get it going the way he was trying.


___
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