From: John Haxby <john.haxby@oracle.com>
To: M A Young <m.a.young@durham.ac.uk>
Cc: "xen-devel@lists.xensource.com" <xen-devel@lists.xensource.com>,
Stefano Stabellini <stefano.stabellini@eu.citrix.com>
Subject: Re: Re: Problems with guest mouse Was: More issues with xl on 4.1.0-rc
Date: Wed, 09 Mar 2011 09:31:08 +0000 [thread overview]
Message-ID: <4D7748DC.9050401@oracle.com> (raw)
In-Reply-To: <alpine.LFD.2.02.1103082149300.10391@vega1.dur.ac.uk>
On 08/03/11 22:03, M A Young wrote:
> On Mon, 7 Mar 2011, Stefano Stabellini wrote:
>
>> On Sun, 6 Mar 2011, M A Young wrote:
>>
>> Is there any difference in the VMs between the system that works and the
>> one that does not? In particular I am think about kernel or xorg
>> versions.
>
> I think this could be it. The mouse doesn't work on newer VMs but does
> work on older ones (I am not sure my earlier test results quite fitted
> that pattern but I could be mis-remembering or have been mis-testing).
I thought this sounded familiar. In the bad log you have
(==) Using system config directory "/usr/share/X11/xorg.conf.d"
...
(II) config/udev: Adding input device Xen Virtual Pointer
(/dev/input/event1)
(**) Xen Virtual Pointer: Applying InputClass "evdev pointer catchall"
(II) Loading /usr/lib64/xorg/modules/input/evdev_drv.so
(**) Xen Virtual Pointer: always reports core events
(**) Xen Virtual Pointer: Device: "/dev/input/event1"
(--) Xen Virtual Pointer: Found 12 mouse buttons
(--) Xen Virtual Pointer: Found scroll wheel(s)
(--) Xen Virtual Pointer: Found relative axes
(--) Xen Virtual Pointer: Found x and y relative axes
(--) Xen Virtual Pointer: Found absolute axes
(--) Xen Virtual Pointer: Found x and y absolute axes
(II) Xen Virtual Pointer: Configuring as mouse
(II) Xen Virtual Pointer: Adding scrollwheel support
(**) Xen Virtual Pointer: YAxisMapping: buttons 4 and 5
(**) Xen Virtual Pointer: EmulateWheelButton: 4, EmulateWheelInertia:
10, EmulateWheelTimeout: 200
(**) Option "config_info" "udev:/sys/devices/virtual/input/input1/event1"
(II) XINPUT: Adding extended input device "Xen Virtual Pointer" (type:
MOUSE)
(II) Xen Virtual Pointer: initialized for relative axes.
(WW) Xen Virtual Pointer: ignoring absolute axes.
(**) Xen Virtual Pointer: (accel) keeping acceleration scheme 1
(**) Xen Virtual Pointer: (accel) acceleration profile 0
(**) Xen Virtual Pointer: (accel) acceleration factor: 2.000
(**) Xen Virtual Pointer: (accel) acceleration threshold: 4
The critical bit it "ignoring absolute axes". If you look at the evdev
man page it says
The X
server cannot deal with devices that have both relative
and absolute axes. Evdev tries to guess wich axes to
ignore given the device type and disables absolute axes
for mice and relative axes for tablets, touchscreens and
touchpad.
Your "good" log file indicates that something was done about this in the
configuration, but the easiest thing to do is to put this in
/usr/share/X11/xorg.conf.d/xen.conf (that file doesn't exist):
Section "InputClass"
Identifier "Xen Virtual Pointer"
MatchProduct "Xen Virtual Pointer"
Option "IgnoreRelativeAxes" "True"
EndSection
When you start up the X server the log file will show that this option
has been taken and all will be sweetness and light.
The underlying problem seems to be that the xen virtual mouse driver is
advertising both relative and absolute axes (duh) but the back end is
only supplying absolute axes.
I haven't had the time to look since I discovered this a week ago -- but
I think that the front end shouldn't be advertising relative axes if the
back end is supplying absolute ones. Perhaps now I should actually
look ...
jch
next prev parent reply other threads:[~2011-03-09 9:31 UTC|newest]
Thread overview: 16+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-02-03 20:59 More issues with xl on 4.1.0-rc M A Young
2011-02-04 14:44 ` Stefano Stabellini
2011-02-04 15:10 ` M A Young
2011-02-04 15:32 ` Stefano Stabellini
2011-02-04 15:48 ` M A Young
2011-02-04 15:51 ` M A Young
2011-02-04 16:07 ` Stefano Stabellini
2011-03-06 21:36 ` Problems with guest mouse Was: " M A Young
2011-03-07 18:16 ` Stefano Stabellini
2011-03-08 22:03 ` M A Young
2011-03-09 9:31 ` John Haxby [this message]
2011-03-09 10:41 ` Olaf Hering
2011-03-09 13:50 ` Stefano Stabellini
2011-03-10 18:00 ` Olaf Hering
2011-03-10 18:10 ` Stefano Stabellini
2011-03-09 11:37 ` M A Young
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=4D7748DC.9050401@oracle.com \
--to=john.haxby@oracle.com \
--cc=m.a.young@durham.ac.uk \
--cc=stefano.stabellini@eu.citrix.com \
--cc=xen-devel@lists.xensource.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.