Bug#454263: xserver-xorg-input-vmmouse: vmmouse not used if specified in xorg.conf
reassign 454263 xserver-xorg-core 2:1.4.2-1 retitle 454263 vmmouse section should be used as core pointer device kthxbye On Tue, Dec 4, 2007 at 13:33:25 +0100, Philipp Kolmann wrote: I just installed a plain new Debian Sid in a vmware and wanted to change the mouse to vmmouse. But since the new X Server is in Sid, it doesn't take the vmmouse anymore. (==) |--Input Device default pointer (==) |--Input Device Generic Keyboard (==) The core pointer device wasn't specified explicitly in the layout. Using the default mouse configuration. (==) The core keyboard device wasn't specified explicitly in the layout. Using the first keyboard device. Could you try the following patch (against xorg-server)? The server should then use the vmmouse section as its core pointer device instead of adding a mouse device. If you can quickly confirm that this works, I'll try to include it in the xserver for lenny. Cheers, Julien From 92788a4b8c240231ab9f2ec2365afd3c6fdc1a5c Mon Sep 17 00:00:00 2001 From: Julien Cristau [EMAIL PROTECTED] Date: Sun, 16 Nov 2008 01:22:58 +0100 Subject: [PATCH] Look for a device using 'vmmouse' if we can't find one with 'mouse' When looking for the core pointer device, fall back to the 'vmmouse' driver if no device in xorg.conf uses 'mouse'. --- hw/xfree86/common/xf86Config.c |4 1 files changed, 4 insertions(+), 0 deletions(-) diff --git a/hw/xfree86/common/xf86Config.c b/hw/xfree86/common/xf86Config.c index 3c29497..dec6711 100644 --- a/hw/xfree86/common/xf86Config.c +++ b/hw/xfree86/common/xf86Config.c @@ -1326,6 +1326,10 @@ checkCoreInputDevices(serverLayoutPtr servlayoutp, Bool implicitLayout) confInput = xf86findInputByDriver(mouse, xf86configptr-conf_input_lst); } + if (!confInput) { + confInput = xf86findInputByDriver(vmmouse, + xf86configptr-conf_input_lst); + } if (confInput) { foundPointer = TRUE; from = X_DEFAULT; -- 1.5.6.5 -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Bug#454263: xserver-xorg-input-vmmouse: vmmouse not used if specified in xorg.conf
On Tue, Dec 04, 2007 at 08:41:19PM +0100, Brice Goglin wrote: What if you add a ServerLayout section such as the following? Section ServerLayout Identifier Default Layout Screen Default Screen InputDevice Generic Keyboard InputDevice Configured Mouse EndSection I have added it, and now X loades both vmmouse and mouse drivers, unloads them and defaults back to generic input. Attached see both xorg.conf and Xorg.0.log Thanks Philipp -- The more I learn about people, the more I like my dog! X.Org X Server 1.4.0 Release Date: 5 September 2007 X Protocol Version 11, Revision 0 Build Operating System: Linux Debian (xorg-server 2:1.4.1~git20071119-1) Current Operating System: Linux pkt8 2.6.22-3-686 #1 SMP Mon Nov 12 08:32:57 UTC 2007 i686 Build Date: 20 November 2007 01:48:55AM 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: Wed Dec 5 09:36:46 2007 (==) Using config file: /etc/X11/xorg.conf (==) ServerLayout Default Layout (**) |--Screen Default Screen (0) (**) | |--Monitor Configured Monitor (==) No device specified for screen Default Screen. Using the first device section listed. (**) | |--Device VMware Inc [VMware SVGA II] PCI Display Adapter (**) |--Input Device Generic Keyboard (**) |--Input Device Configured Mouse (==) 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. (WW) `fonts.dir' not found (or not valid) in /var/lib/defoma/x-ttcidfont-conf.d/dirs/TrueType. Entry deleted from font path. (Run 'mkfontdir' on /var/lib/defoma/x-ttcidfont-conf.d/dirs/TrueType). (==) 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 (==) RgbPath set to /etc/X11/rgb (==) ModulePath set to /usr/lib/xorg/modules (==) |--Input Device default pointer (==) |--Input Device Generic Keyboard (==) The core pointer device wasn't specified explicitly in the layout. Using the default mouse configuration. (==) The core keyboard device wasn't specified explicitly in the layout. Using the first keyboard device. (II) Open ACPI successful (/var/run/acpid.socket) (II) Loader magic: 0x81d7500 (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.0, 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 1000,0030 card , 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: 0x0080 (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
Bug#454263: xserver-xorg-input-vmmouse: vmmouse not used if specified in xorg.conf
Package: xserver-xorg-input-vmmouse Version: 1:12.4.3-1 Severity: normal Hi, I just installed a plain new Debian Sid in a vmware and wanted to change the mouse to vmmouse. But since the new X Server is in Sid, it doesn't take the vmmouse anymore. I'd appreciate any hint, what is wrong here. Additionally, it would be nice, if the vmware as screen driver is detected, to ask if vmmouse want's to be chosen as mouse in dpkg-reconfigure xserver-xorg. Thanks Philipp Kolmann -- Package-specific info: Contents of /var/lib/x11/X.roster: xserver-xorg /var/lib/x11/X.md5sum does not exist. X server symlink status: lrwxrwxrwx 1 root root 13 2007-12-04 13:03 /etc/X11/X - /usr/bin/Xorg -rwxr-xr-x 1 root root 1672732 2007-11-20 03:03 /usr/bin/Xorg Contents of /var/lib/x11/xorg.conf.roster: xserver-xorg VGA-compatible devices on PCI bus: 00:0f.0 VGA compatible controller: VMware Inc [VMware SVGA II] PCI Display Adapter /etc/X11/xorg.conf does not match checksum in /var/lib/x11/xorg.conf.md5sum. Xorg X server configuration file status: -rw-r--r-- 1 root root 1348 2007-12-04 13:17 /etc/X11/xorg.conf Contents of /etc/X11/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 manual page. # (Type man at the shell prompt.) # # This file is automatically updated on package upgrades *only* # if it has not been modified since the last upgrade of the # package. # # If you have edited this file but would like it to be automatically updated # again, run the following command: # sudo dpkg-reconfigure -phigh Section InputDevice Identifier Generic Keyboard Driver kbd Option XkbRules xorg Option XkbModel pc105 Option XkbLayout de Option XkbVariantnodeadkeys EndSection Section InputDevice Identifier Configured Mouse Driver vmmouse EndSection Section Device Identifier VMware Inc [VMware SVGA II] PCI Display Adapter Driver vmware BusID PCI:0:15:0 EndSection Section Monitor Identifier Configured Monitor Option DPMS HorizSync 28-64 VertRefresh 43-60 EndSection Section Screen Identifier Default Screen Monitor Configured Monitor DefaultDepth24 SubSection Display Modes 1280x1024 1280x960 1280x854 1280x800 1280x768 1200x800 1152x864 1152x768 1024x768 800x600 640x480 EndSubSection EndSection Xorg X server log files on system: -rw-r--r-- 1 root root 28462 2007-12-04 13:29 /var/log/Xorg.0.log Contents of most recent Xorg X server log file /var/log/Xorg.0.log: X.Org X Server 1.4.0 Release Date: 5 September 2007 X Protocol Version 11, Revision 0 Build Operating System: Linux Debian (xorg-server 2:1.4.1~git20071119-1) Current Operating System: Linux pkt8 2.6.22-3-686 #1 SMP Mon Nov 12 08:32:57 UTC 2007 i686 Build Date: 20 November 2007 01:48:55AM 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: Tue Dec 4 13:29:00 2007 (==) 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 VMware Inc [VMware SVGA II] PCI Display Adapter (==) |--Input Device default pointer (==) |--Input Device Generic Keyboard (==) The core pointer device wasn't specified explicitly in the layout. Using the default mouse configuration. (==) 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. (WW) `fonts.dir' not found (or not valid) in /var/lib/defoma/x-ttcidfont-conf.d/dirs/TrueType. Entry deleted from font path. (Run 'mkfontdir' on /var/lib/defoma/x-ttcidfont-conf.d/dirs/TrueType). (==) 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 (==) RgbPath set to /etc/X11/rgb (==) ModulePath set to
Bug#454263: xserver-xorg-input-vmmouse: vmmouse not used if specified in xorg.conf
Philipp Kolmann wrote: Package: xserver-xorg-input-vmmouse Version: 1:12.4.3-1 Severity: normal Hi, I just installed a plain new Debian Sid in a vmware and wanted to change the mouse to vmmouse. But since the new X Server is in Sid, it doesn't take the vmmouse anymore. Do you mean the vmmouse doesn't move? If so, that would be #442853. Additionally, it would be nice, if the vmware as screen driver is detected, to ask if vmmouse want's to be chosen as mouse in dpkg-reconfigure xserver-xorg. It might be even better if the X server could do that for you. Most static config given by dpkg-reconfigure xserver-xorg is supposed to go away and be replaced by automatic configuration from the server at startup. If you know a reliable way to find out that the server is running within vmware, it might be good to talk to upstream about it. I guess the vmmouse maintainer would be interested (it seems to be Philip Langdale). Brice -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Bug#454263: xserver-xorg-input-vmmouse: vmmouse not used if specified in xorg.conf
Philipp Kolmann wrote: On Tue, Dec 04, 2007 at 07:43:43PM +0100, Brice Goglin wrote: Philipp Kolmann wrote: I just installed a plain new Debian Sid in a vmware and wanted to change the mouse to vmmouse. But since the new X Server is in Sid, it doesn't take the vmmouse anymore. Do you mean the vmmouse doesn't move? If so, that would be #442853. No, I have seen this BR. But as you can see in my log-file, the vmmouse module is never used but the normal mouse module is loaded. So I have to click into vmware window each time to catch the mouse in the vmware and press crtl-alt to release the mouse. It's like you would not have the vmware-tools installed. Thanks Philipp What if you add a ServerLayout section such as the following? Section ServerLayout Identifier Default Layout Screen Default Screen InputDevice Generic Keyboard InputDevice Configured Mouse EndSection The code to handle partial config files changed a bit recently. I guess it adds a mouse section using the mouse driver and ignores yours. We might need to fix this. Brice -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Bug#454263: xserver-xorg-input-vmmouse: vmmouse not used if specified in xorg.conf
On Tue, Dec 04, 2007 at 07:43:43PM +0100, Brice Goglin wrote: Philipp Kolmann wrote: I just installed a plain new Debian Sid in a vmware and wanted to change the mouse to vmmouse. But since the new X Server is in Sid, it doesn't take the vmmouse anymore. Do you mean the vmmouse doesn't move? If so, that would be #442853. No, I have seen this BR. But as you can see in my log-file, the vmmouse module is never used but the normal mouse module is loaded. So I have to click into vmware window each time to catch the mouse in the vmware and press crtl-alt to release the mouse. It's like you would not have the vmware-tools installed. Thanks Philipp -- The more I learn about people, the more I like my dog! -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Bug#454263: xserver-xorg-input-vmmouse: vmmouse not used if specified in xorg.conf
Am Dienstag, 4. Dezember 2007 schrieb Philipp Kolmann: Hi, I just installed a plain new Debian Sid in a vmware and wanted to change the mouse to vmmouse. But since the new X Server is in Sid, it doesn't take the vmmouse anymore. Section InputDevice Identifier Configured Mouse Driver vmmouse EndSection Try to add: Option CorePointer But then most likely your mouse pointer will not move... regards, Jörg
Bug#454263: xserver-xorg-input-vmmouse: vmmouse not used if specified in xorg.conf
On Tue, Dec 04, 2007 at 08:55:48PM +0100, Joerg Platte wrote: Am Dienstag, 4. Dezember 2007 schrieb Philipp Kolmann: Hi, I just installed a plain new Debian Sid in a vmware and wanted to change the mouse to vmmouse. But since the new X Server is in Sid, it doesn't take the vmmouse anymore. Section InputDevice Identifier Configured Mouse Driver vmmouse EndSection Try to add: Option CorePointer But then most likely your mouse pointer will not move... I just hit this bug myself today. I'll try to take a look at it this weekend. - David Nusinow -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]