[pve-devel] [Qemu-devel] qemu 1.4 : ubuntu 12.10 : ehci + companion + usb-tablet -> vmmouse not loaded + usb-tablet not working

Alexandre DERUMIER aderumier at odiso.com
Thu Feb 21 16:50:54 CET 2013


with usb-tablet on ehci:

I  have also look into Xorg.0.log of ubuntu 12.10,

The usb-tablet is seen
(II) config/udev: Adding input device QEMU USB TABLET (/dev/input/js0)

but no driver is found

(II) no input driver specified,ignoring this device


I don't know if something is different with the new usb-tablet for handling ehci ?
http://git.qemu.org/?p=qemu.git;a=commit;h=427e3aa151c749225364d0c30640e2e3c1756d9d


----- Mail original ----- 

De: "Alexandre DERUMIER" <aderumier at odiso.com> 
À: "tiziano mueller" <tiziano.mueller at stepping-stone.ch> 
Cc: "qemu-devel" <qemu-devel at nongnu.org>, pve-devel at pve.proxmox.com 
Envoyé: Jeudi 21 Février 2013 14:43:43 
Objet: Re: [pve-devel] [Qemu-devel] qemu 1.4 : ubuntu 12.10 : ehci + companion + usb-tablet -> vmmouse not loaded + usb-tablet not working 

Here some news : 

It's not a vmmouse problem, as vmmouse is simply loaded when we move the mouse only if it's a PS/2 mouse. 



FOR USB-TABLET ON EHCI 
--------------------- 
The problem is that usb-tablet don't work on ehci, so it's not moving 

And the default mouse is not the same with or without companion 

without companion 

# info mice 
Mouse #1: QEMU HID Tablet (absolute) 
* Mouse #0: QEMU PS/2 Mouse 


with companion 

# info mice 
Mouse #0: QEMU PS/2 Mouse 
* Mouse #1: QEMU HID Tablet (absolute) 


that explain why without companion, as ps/2 mouse is the default, the mouse move and vmmouse is loaded. 


FOR USB-TABLET ON UHCI 
---------------------- 
I don't have problem here, usb-tablet is working fine. (But vmmouse is not loaded because usb-tablet is the default mouse and not ps/2) 



So the problem is : 

- usb-tablet is not working on ehci on ubuntu 12.10, centos 6.3,... But it's work fine on windows. So is it a linux guest bug ? 

- the companion change the default select mouse ??? 





----- Mail original ----- 

De: "Alexandre DERUMIER" <aderumier at odiso.com> 
À: "tiziano mueller" <tiziano.mueller at stepping-stone.ch> 
Cc: "qemu-devel" <qemu-devel at nongnu.org> 
Envoyé: Mercredi 20 Février 2013 14:44:33 
Objet: Re: [Qemu-devel] qemu 1.4 : ubuntu 12.10 : ehci + companion + usb-tablet -> vmmouse not loaded + usb-tablet not working 

>>No solution yet, but I can reproduce bug 2) with Fedora 18 64bit as guest. 
Thanks, I can reproduce also with centos 6.3 



I have also tried to put usb-tablet on another ehci controller, it doesn't work too, vmmouse is not loaded 

ehci1 + companion 
ehci2 without companion + tablet 

Maybe somebody known how/when the vmmouse is loaded ? 

----- Mail original ----- 

De: "Tiziano Müller" <tiziano.mueller at stepping-stone.ch> 
À: "Alexandre DERUMIER" <aderumier at odiso.com> 
Cc: "qemu-devel" <qemu-devel at nongnu.org> 
Envoyé: Mercredi 20 Février 2013 14:12:59 
Objet: Re: [Qemu-devel] qemu 1.4 : ubuntu 12.10 : ehci + companion + usb-tablet -> vmmouse not loaded + usb-tablet not working 

Hi Alexandre 

No solution yet, but I can reproduce bug 2) with Fedora 18 64bit as 
guest. 

Regards, 
Tiziano 

Am Mittwoch, den 20.02.2013, 13:56 +0100 schrieb Alexandre DERUMIER: 
> Hi List, 
> 
> I'm testing qemu 1.4, without ubuntu desktop 12.10 with graphical installer 
> 
> I found 2 bugs: 
> 
> 1) vmmouse is not loaded if an usb-tablet is plugged on an ehci controller with companion 
> --------------------------------------------------------------------------------- 
> 
> 4 cases with mixed options: 
> 
> 
> a)ehci +companion +tablet: vmmouse is not loaded 
> 
> qemu command line : -readconfig /usr/share/qemu-server/pve-usb-companion.cfg -device usb-tablet,id=tablet,bus=ehci.0,port=6 
> 
> # info mice 
> Mouse #0: QEMU PS/2 Mouse 
> * Mouse #1: QEMU HID Tablet (absolute) 
> 
> 
> b)ehci +companion -tablet: vmmouse is loaded 
> 
> qemu command line : -readconfig /usr/share/qemu-server/pve-usb-companion.cfg 
> 
> # info mice 
> Mouse #0: QEMU PS/2 Mouse 
> * Mouse #1: vmmouse (absolute) 
> 
> 
> c)ehci -companion + tablet : vmmouse is loaded 
> 
> qemu command line : -readconfig /usr/share/qemu-server/pve-usb-nocompanion.cfg -device usb-tablet,id=tablet,bus=ehci.0,port=6 
> 
> # info mice 
> Mouse #1: QEMU HID Tablet (absolute) 
> Mouse #0: QEMU PS/2 Mouse 
> * Mouse #2: vmmouse (absolute) 
> 
> 
> 
> d)ehci -companion -tablet : vmmouse is loaded 
> 
> qemu command line : -readconfig /usr/share/qemu-server/pve-usb-nocompanion.cfg 
> 
> # info mice 
> Mouse #0: QEMU PS/2 Mouse 
> * Mouse #1: vmmouse (absolute) 
> 
> 
> pve-usb-companion.cfg: 
> 
> [device "ehci"] 
> driver = "ich9-usb-ehci1" 
> addr = "1d.7" 
> multifunction = "on" 
> 
> [device "uhci-1"] 
> driver = "ich9-usb-uhci1" 
> addr = "1d.0" 
> multifunction = "on" 
> masterbus = "ehci.0" 
> firstport = "0" 
> 
> [device "uhci-2"] 
> driver = "ich9-usb-uhci2" 
> addr = "1d.1" 
> multifunction = "on" 
> masterbus = "ehci.0" 
> firstport = "2" 
> 
> [device "uhci-3"] 
> driver = "ich9-usb-uhci3" 
> addr = "1d.2" 
> multifunction = "on" 
> masterbus = "ehci.0" 
> firstport = "4" 
> 
> 
> 
> pve-usb-nocompanion.cfg: 
> 
> [device "ehci"] 
> driver = "ich9-usb-ehci1" 
> addr = "1d.7" 
> multifunction = "off" 
> 
> 
> 2) -usb-tablet don't work on ehci with ubuntu 
> ---------------------------------------------- 
> - don't work (mouse not moving) with or without companion 
> - device is correctly displayed with #lsusb,so maybe it's an xorg driver problem. 
> - It's working fine on windows guest. 
> 
> 
> 
> 
> Both bugs result to don't have a working mouse in ubuntu installer. 
> (vmmouse is not available, and usb-tablet is selected but it's not working). 
> 
> 
> 
> 
> Any idea ? 
> 
> Regards, 
> 
> Alexandre Derumier 
> 
> 

-- 
stepping stone GmbH 
Neufeldstrasse 9 
CH-3012 Bern 
Telefon: +41 31 332 53 63 
www.stepping-stone.ch 
tiziano.mueller at stepping-stone.ch 
_______________________________________________ 
pve-devel mailing list 
pve-devel at pve.proxmox.com 
http://pve.proxmox.com/cgi-bin/mailman/listinfo/pve-devel 



More information about the pve-devel mailing list