[fedora-virt] F11 sensible mouse pointer movement

Daniel P. Berrange berrange at redhat.com
Tue Feb 24 10:39:18 UTC 2009


Just done some experimentation with USB tablet in Fedora 11 guests. It 
turns out we were just one tiny step away from it working correctly.
Indeed, same applies for F10 and we didn't realize :-(
 
In the guest, edit the HAL file
 
   /usr/share/hal/fdi/policy/10osvendor/10-x11-input.fdi
 
just adding
 
     <match key="input.product" contains="QEMU USB Tablet">
       <merge key="input.x11_driver" type="string">evdev</merge>
     </match>
 
Now shutdown the guest, and use virsh edit to add
 
   <input type='tablet' bus='usb'/>
 
Now start the guest.
 
The USB tablet will automatically configure and provide 1-for-1 mouse
motion tracking with no pointer grab required
 
Added 2 bugs to track this work so we get it done for F11 beta
 
      HAL  https://bugzilla.redhat.com/show_bug.cgi?id=487025
 virtinst  https://bugzilla.redhat.com/show_bug.cgi?id=487028


You can try out the FDI change just fine on F10 if you're so inclined

Regards,
Daniel
-- 
|: Red Hat, Engineering, London   -o-   http://people.redhat.com/berrange/ :|
|: http://libvirt.org  -o-  http://virt-manager.org  -o-  http://ovirt.org :|
|: http://autobuild.org       -o-         http://search.cpan.org/~danberr/ :|
|: GnuPG: 7D3B9505  -o-  F3C9 553F A1DA 4AC2 5648 23C1 B3DF F742 7D3B 9505 :|




More information about the Fedora-virt mailing list