Bug#490912: Cursor Stucked at bottom right
Am Sonntag, 12. Oktober 2008 schrieb Julien Cristau: Hi, as far as I can see, the server expects the driver to setup the axis min and max values correctly so it can do the scaling, and vmmouse doesn't do that. Can some of you try the patch below, which should fix this issue, and report back? OK, I tried this patch but it did not work as expected, the server crashed. Please have a look at the attached logfile. Best regards, Jörg X.Org X Server 1.4.2 Release Date: 11 June 2008 X Protocol Version 11, Revision 0 Build Operating System: Linux Debian (xorg-server 2:1.4.2-7) Current Operating System: Linux kde4 2.6.26-1-686 #1 SMP Wed Sep 24 15:02:04 UTC 2008 i686 Build Date: 30 September 2008 01:48:58AM Before reporting problems, check http://wiki.x.org to make sure that you have the latest version. Module Loader present 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: Thu Oct 16 20:19:21 2008 (==) Using config file: /etc/X11/xorg.conf (==) No Layout section. Using the first Screen section. (**) |--Screen Default Screen (0) (**) | |--Monitor Configured Monitor (==) No device specified for screen Default Screen. Using the first device section listed. (**) | |--Device Configured Video Device (==) |--Input Device Configured Mouse (==) |--Input Device Generic Keyboard (==) The core pointer device wasn't specified explicitly in the layout. Using the first core pointer device. (==) The core keyboard device wasn't specified explicitly in the layout. Using the first keyboard device. (==) Automatically adding devices (==) Automatically enabling devices (==) No FontPath specified. Using compiled-in default. (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 (==) RgbPath set to /etc/X11/rgb (==) ModulePath set to /usr/lib/xorg/modules (II) Open ACPI successful (/var/run/acpid.socket) (II) Loader magic: 0x81e38c0 (II) Module ABI versions: X.Org ANSI C Emulation: 0.3 X.Org Video Driver: 2.0 X.Org XInput driver : 2.0 X.Org Server Extension : 0.3 X.Org Font Renderer : 0.5 (II) Loader running on linux (II) LoadModule: pcidata (II) Loading /usr/lib/xorg/modules//libpcidata.so (II) Module pcidata: vendor=X.Org Foundation compiled for 1.4.2, module version = 1.0.0 ABI class: X.Org Video Driver, version 2.0 (++) using VT number 7 (II) PCI: PCI scan (all values are in hex) (II) PCI: 00:00:0: chip 8086,7190 card 15ad,1976 rev 01 class 06,00,00 hdr 00 (II) PCI: 00:01:0: chip 8086,7191 card , rev 01 class 06,04,00 hdr 01 (II) PCI: 00:07:0: chip 8086,7110 card 15ad,1976 rev 08 class 06,01,00 hdr 80 (II) PCI: 00:07:1: chip 8086,7111 card 15ad,1976 rev 01 class 01,01,8a hdr 00 (II) PCI: 00:07:2: chip 8086,7112 card 15ad,1976 rev 00 class 0c,03,00 hdr 00 (II) PCI: 00:07:3: chip 8086,7113 card 15ad,1976 rev 08 class 06,80,00 hdr 80 (II) PCI: 00:0f:0: chip 15ad,0405 card 15ad,0405 rev 00 class 03,00,00 hdr 00 (II) PCI: 00:10:0: chip 104b,1040 card 104b,1040 rev 01 class 01,00,00 hdr 00 (II) PCI: 00:11:0: chip 15ad,0790 card , rev 02 class 06,04,01 hdr 01 (II) PCI: 02:00:0: chip 1022,2000 card 1022,2000 rev 10 class 02,00,00 hdr 00 (II) PCI: 02:01:0: chip 1274,1371 card 1274,1371 rev 02 class 04,01,00 hdr 00 (II) PCI: 02:02:0: chip 15ad,0770 card 15ad,0770 rev 00 class 0c,03,20 hdr 00 (II) PCI: End of PCI scan (II) Host-to-PCI bridge: (II) Bus 0: bridge is at (0:0:0), (0,0,2), BCTRL: 0x0008 (VGA_EN is set) (II) Bus 0 I/O range: [0] -1 0 0x - 0x (0x1) IX[B] (II) Bus 0 non-prefetchable memory range: [0] -1 0 0x - 0x (0x0) MX[B] (II) Bus 0 prefetchable memory range: [0] -1 0 0x - 0x (0x0) MX[B] (II) PCI-to-PCI bridge: (II) Bus 1: bridge is at (0:1:0), (0,1,1), BCTRL: 0x0004 (VGA_EN is cleared) (II) PCI-to-ISA bridge: (II) Bus -1: bridge is at (0:7:0), (0,-1,-1), BCTRL: 0x0008 (VGA_EN is set) (II) Subtractive PCI-to-PCI bridge: (II) Bus 2: bridge is at (0:17:0), (0,2,2), BCTRL: 0x0004 (VGA_EN is cleared) (II) Bus 2 I/O range: [0] -1 0 0x2000 - 0x20ff (0x100) IX[B] [1] -1 0 0x2400 - 0x24ff (0x100) IX[B] [2] -1 0 0x2800 - 0x28ff (0x100) IX[B] [3] -1 0 0x2c00 - 0x2cff (0x100) IX[B] (II) Bus 2 non-prefetchable memory range: [0] -1 0 0xe890 - 0xe89f (0x10) MX[B] (II) Bus 2 prefetchable memory range: [0] -1 0 0x3000 - 0x300f (0x10) MX[B] (--) PCI:*(0:15:0) VMware Inc [VMware SVGA II] PCI Display Adapter rev 0, Mem @ 0xf000/27, 0xe800/23, I/O @ 0x10b0/4 (II) Addressable bus resource ranges are [0]
Bug#490912: Cursor Stucked at bottom right
On Tue, Jul 15, 2008 at 09:42:05 +, Gerard Mensoif wrote: If using: Option Device/dev/input/mice in my /etc/X11/xorg.conf, vmmouse does not work any longer. It worked before last update. If I comment this lise the driver falls back to mouse, wich removes the ability of switching from guest OS to host OS. iThe visible cursor is moving, but every click goes to the bottom right corner of the screen. It's seems to be an old bug who surfaced again http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=442853 and http://bugs.freedesktop.org/show_bug.cgi?id=12506. The old proposed patch resolves this bug. Hi, as far as I can see, the server expects the driver to setup the axis min and max values correctly so it can do the scaling, and vmmouse doesn't do that. Can some of you try the patch below, which should fix this issue, and report back? Thanks in advance, Julien From 74d1f41d644e113bee86929b5d0c638a3b2c25d6 Mon Sep 17 00:00:00 2001 From: Julien Cristau [EMAIL PROTECTED] Date: Sun, 12 Oct 2008 12:09:17 +0200 Subject: [PATCH] Pass max_value when setting up valuators Without this, the server doesn't scale events properly. Should fix Debian bug#490912. --- src/vmmouse.c |4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/vmmouse.c b/src/vmmouse.c index 1e2a1c9..86a71f5 100644 --- a/src/vmmouse.c +++ b/src/vmmouse.c @@ -807,10 +807,10 @@ VMMouseDeviceControl(DeviceIntPtr device, int mode) ); /* X valuator */ - xf86InitValuatorAxisStruct(device, 0, 0, -1, 1, 0, 1); + xf86InitValuatorAxisStruct(device, 0, 0, 65535, 1, 0, 1); xf86InitValuatorDefaults(device, 0); /* Y valuator */ - xf86InitValuatorAxisStruct(device, 1, 0, -1, 1, 0, 1); + xf86InitValuatorAxisStruct(device, 1, 0, 65535, 1, 0, 1); xf86InitValuatorDefaults(device, 1); #if GET_ABI_MAJOR(ABI_XINPUT_VERSION) == 0 xf86MotionHistoryAllocate(pInfo); -- 1.5.6.5 -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Bug#490912: Cursor Stucked at bottom right
Hi, I still have the same problem with Kernel 2.6.26+15 Regards Gerard -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Bug#490912: Cursor Stucked at bottom right
Hi, I met the same problem. It works well on kernel 2.6.24, but fails on 2.6.25. Here is my Xorg.conf. # xorg.conf (xorg X Window System server configuration file) # # This file was generated by dexconf, the Debian X Configuration tool, using # values from the debconf database. # # Edit this file with caution, and see the xorg.conf manual page. # (Type man xorg.conf at the shell prompt.) # # This file is automatically updated on xserver-xorg package upgrades *only* # if it has not been modified since the last upgrade of the xserver-xorg # package. # # If you have edited this file but would like it to be automatically updated # again, run the following command: # sudo dpkg-reconfigure -phigh xserver-xorg Section Files FontPath/usr/share/fonts/X11/misc FontPath/usr/share/fonts/truetype/arphic FontPath/usr/share/fonts/ttf-bitstream-vera FontPath/usr/share/fonts/wqy EndSection Section InputDevice Identifier Generic Keyboard Driver kbd Option CoreKeyboard Option XkbRules xorg Option XkbModel pc104 Option XkbLayout us EndSection Section InputDevice Identifier Configured Mouse Driver vmmouse Option CorePointer Option Device/dev/input/mice Option Protocol ImPS/2 Option Emulate3Buttons true Option ZAxisMapping 4 5 EndSection Section Device Identifier VMware SVGA Driver vmware EndSection Section Screen Identifier Default Screen Device VMware SVGA Monitor vmware # Don't specify DefaultColorDepth unless you know what you're # doing. It will override the driver's preferences which can # cause the X server not to run if the host doesn't support the # depth. Subsection Display # VGA mode: better left untouched Depth 4 Modes 640x480 ViewPort0 0 EndSubsection Subsection Display Depth 8 Modes 1440x900 ViewPort0 0 EndSubsection Subsection Display Depth 15 Modes 1440x900 ViewPort0 0 EndSubsection Subsection Display Depth 16 Modes 1440x900 ViewPort0 0 EndSubsection Subsection Display Depth 24 Modes 1440x900 ViewPort0 0 EndSubsection EndSection Section ServerLayout Identifier Default Layout Screen Default Screen InputDevice Generic Keyboard InputDevice Configured Mouse EndSection Section Monitor Identifier vmware VendorName VMware, Inc HorizSync 1-1 VertRefresh 1-1 EndSection And my /var/log/Xorg.0.log X.Org X Server 1.4.2 Release Date: 11 June 2008 X Protocol Version 11, Revision 0 Build Operating System: Linux Debian (xorg-server 2:1.4.2-1) Current Operating System: Linux xixi 2.6.25-2-amd64 #1 SMP Fri Jun 27 00:16:12 UTC 2008 x86_64 Build Date: 26 June 2008 01:06:16AM Before reporting problems, check http://wiki.x.org to make sure that you have the latest version. Module Loader present 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: Thu Jul 17 11:00:41 2008 (==) Using config file: /etc/X11/xorg.conf (==) ServerLayout Default Layout (**) |--Screen Default Screen (0) (**) | |--Monitor vmware (**) | |--Device VMware SVGA (**) |--Input Device Generic Keyboard (**) |--Input Device Configured Mouse (==) Automatically adding devices (==) Automatically enabling devices (WW) `fonts.dir' not found (or not valid) in /usr/share/fonts/truetype/arphic. Entry deleted from font path. (Run 'mkfontdir' on /usr/share/fonts/truetype/arphic). (WW) The directory /usr/share/fonts/ttf-bitstream-vera does not exist. Entry deleted from font path. (WW) The directory /usr/share/fonts/wqy does not exist. Entry deleted from font path. (==) Including the default font path /usr/share/fonts/X11/misc,/usr/share/fonts/X11/cyrillic,/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. (**) FontPath set to: /usr/share/fonts/X11/misc, /usr/share/fonts/X11/misc, /usr/share/fonts/X11/cyrillic, /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,