Re: spice scroll problem

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi,

On Po, 2014-04-28 at 08:31 -0400, Marc-André Lureau wrote:
> 
> ----- Original Message -----
> > Hi,
> > i cannot get scroll events from xev screen. and I guess
> > remote-viewer is in client mode:
> > 
> > <graphics type='spice' port='5930' autoport='no'>
> >   <mouse mode='client'/>
> > </graphics
> > 
> 
> I am not sure what this option really do. 

IIRC, <mouse mode='client'/> should be no-op (setting explicitly default
value - use of client mouse if vdagent or vmmouse is available), <mouse
mode='server'/> should OTOH force server mouse even if client mouse is
possible.

David

> In any case, being in client or server mouse mode shouldn't change the events being sent, it should work in both mode.
> 
> Can you check the mouse events received with evtest in guest?
> Can you verify your client has scrolling events 4/5 with xev too? 
> 
> Did you configure X11 input manually?
> 
> > 
> > 
> > 2014-04-28 14:50 GMT+03:00 Marc-André Lureau <mlureau@xxxxxxxxxx>:
> > 
> > > Hi
> > >
> > > ----- Original Message -----
> > > > Hi,
> > > > i use spice client for my kvm virtual environment. Everything is perfect
> > > > except mouse scroll.
> > > > I use spice-vdagent in my guest.
> > > >
> > > > and this is spice related xml script:
> > > >
> > > > <channel type='spicevmc'>
> > > > <target type='virtio' name='com.redhat.spice.0'/>
> > > > <address type='virtio-serial' controller='0' bus='0' port='1'/>
> > > > </channel>
> > > >
> > > > <input type='mouse' bus='ps2'/>
> > > >
> > > > <graphics type='spice' port='5930' autoport='no'>
> > > > <mouse mode='client'/>
> > > > </graphics>
> > > >
> > > >
> > > > I can get output with scroll event from /dev/input/mice.
> > > >
> > > > and this is the kernel output:
> > > > grep -i mouse /var/log/dmesg
> > > > [ 0.536422] mousedev: PS/2 mouse device common for all mice
> > > > [ 29.829300] input: ImExPS/2 Generic Explorer Mouse as
> > > > /devices/platform/i8042/serio1/input/input2
> > > >
> > > > Guest and host systems are Linux Mint XFCE 16
> > > >
> > > > What should i do?
> > >
> > > It looks all quite correct. Are you using remote-viewer as client?
> > >
> > > Can you check with xev that the guest receives events from button 4/5?
> > >
> > > thanks
> > >
> > 
> > 
> > 
> > --
> > FIRAT KÜÇÜK
> > 
> _______________________________________________
> Spice-devel mailing list
> Spice-devel@xxxxxxxxxxxxxxxxxxxxx
> http://lists.freedesktop.org/mailman/listinfo/spice-devel


_______________________________________________
Spice-devel mailing list
Spice-devel@xxxxxxxxxxxxxxxxxxxxx
http://lists.freedesktop.org/mailman/listinfo/spice-devel





[Index of Archives]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux]     [Linux OMAP]     [Linux MIPS]     [ECOS]     [Asterisk Internet PBX]     [Linux API]     [Monitors]