[PVE-User] USB: the little unusable thing...

Alexandre DERUMIER aderumier at odiso.com
Mon Oct 8 09:37:24 CEST 2012


Forget to say:

the tracefile are written from where you launch the kvm command line.

trace-*



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

De: "Alexandre DERUMIER" <aderumier at odiso.com> 
À: "Giuliano Natali (Diaolin)" <diaolin at diaolin.com> 
Cc: pve-user at pve.proxmox.com 
Envoyé: Lundi 8 Octobre 2012 09:25:57 
Objet: Re: [PVE-User] USB: the little unusable thing... 

sorry, send mail before finish ... 



here a pve-qemu-kvm package with tracepoint enable 
http://odisoweb1.odiso.net/pve-qemu-kvm_1.2-6_amd64.deb 


then activate the usb_host events 

echo usb_host_open_started > /tmp/events 
echo usb_host_open_success >> /tmp/events 
echo usb_host_open_failure >> /tmp/events 
echo usb_host_disconnect >> /tmp/events 
echo usb_host_close >> /tmp/events 
echo usb_host_set_address >> /tmp/events 
echo usb_host_set_config >> /tmp/events 
echo usb_host_set_interface >> /tmp/events 
echo usb_host_claim_interfaces >> /tmp/events 
echo usb_host_release_interfaces >> /tmp/events 
echo usb_host_req_control >> /tmp/events 
echo usb_host_req_data >> /tmp/events 
echo usb_host_req_complete >> /tmp/events 
echo usb_host_req_emulated >> /tmp/events 
echo usb_host_req_canceled >> /tmp/events 
echo usb_host_urb_submit >> /tmp/events 
echo usb_host_urb_complete >> /tmp/events 
echo usb_host_urb_canceled >> /tmp/events 
echo usb_host_ep_set_halt >> /tmp/events 
echo usb_host_ep_clear_halt >> /tmp/events 
echo usb_host_iso_start >> /tmp/events 
echo usb_host_iso_stop >> /tmp/events 
echo usb_host_iso_out_of_bufs >> /tmp/events 
echo usb_host_iso_many_urbs >> /tmp/events 
echo usb_host_reset >> /tmp/events 
echo usb_host_auto_scan_enabled >> /tmp/events 
echo usb_host_auto_scan_disabled >> /tmp/events 
echo usb_host_claim_port >> /tmp/events 
echo usb_host_parse_device >> /tmp/events 
echo usb_host_parse_config >> /tmp/events 
echo usb_host_parse_interface >> /tmp/events 
echo usb_host_parse_endpoint >> /tmp/events 
echo usb_host_parse_unknown >> /tmp/events 
echo usb_host_parse_error >> /tmp/events 


launch the vm with the usb-host key attached, 
get the "kvm" command line generated by proxmox 

then re-launch it with adding 

kvm -trace events=/tmp/events 



try with the 3 differents guest os. 

and submit me the results. 

:) 





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

De: "Alexandre DERUMIER" <aderumier at odiso.com> 
À: "Giuliano Natali (Diaolin)" <diaolin at diaolin.com> 
Cc: pve-user at pve.proxmox.com 
Envoyé: Lundi 8 Octobre 2012 09:23:47 
Objet: Re: [PVE-User] USB: the little unusable thing... 

here a pve-qemu-kvm package with tracepoint enable 
http://odisoweb1.odiso.net/pve-qemu-kvm_1.2-6_amd64.deb 


then activate the usb_host events 

echo usb_host_open_started > /tmp/events 
echo usb_host_open_success >> /tmp/events 
echo usb_host_open_failure >> /tmp/events 
echo usb_host_disconnect >> /tmp/events 
echo usb_host_close >> /tmp/events 
echo usb_host_set_address >> /tmp/events 
echo usb_host_set_config >> /tmp/events 
echo usb_host_set_interface >> /tmp/events 
echo usb_host_claim_interfaces >> /tmp/events 
echo usb_host_release_interfaces >> /tmp/events 
echo usb_host_req_control >> /tmp/events 
echo usb_host_req_data >> /tmp/events 
echo usb_host_req_complete >> /tmp/events 
echo usb_host_req_emulated >> /tmp/events 
echo usb_host_req_canceled >> /tmp/events 
echo usb_host_urb_submit >> /tmp/events 
echo usb_host_urb_complete >> /tmp/events 
echo usb_host_urb_canceled >> /tmp/events 
echo usb_host_ep_set_halt >> /tmp/events 
echo usb_host_ep_clear_halt >> /tmp/events 
echo usb_host_iso_start >> /tmp/events 
echo usb_host_iso_stop >> /tmp/events 
echo usb_host_iso_out_of_bufs >> /tmp/events 
echo usb_host_iso_many_urbs >> /tmp/events 
echo usb_host_reset >> /tmp/events 
echo usb_host_auto_scan_enabled >> /tmp/events 
echo usb_host_auto_scan_disabled >> /tmp/events 
echo usb_host_claim_port >> /tmp/events 
echo usb_host_parse_device >> /tmp/events 
echo usb_host_parse_config >> /tmp/events 
echo usb_host_parse_interface >> /tmp/events 
echo usb_host_parse_endpoint >> /tmp/events 
echo usb_host_parse_unknown >> /tmp/events 
echo usb_host_parse_error >> /tmp/events 


launch the vm with the usb-host key attached, 
get the "kvm" command line generated by proxmox 

then re-launch it 


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

De: "Giuliano Natali (Diaolin)" <diaolin at diaolin.com> 
À: "Alexandre DERUMIER" <aderumier at odiso.com> 
Cc: pve-user at pve.proxmox.com 
Envoyé: Lundi 8 Octobre 2012 09:00:21 
Objet: Re: [PVE-User] USB: the little unusable thing... 

Alexandre DERUMIER wrote: 
> I have see some bugreport here 
> 
> https://bugs.launchpad.net/qemu/+bug/685096 
> 
> (one bug report show that it's work with winxp 32bit but not win7) 
> 
> https://bugs.launchpad.net/qemu/+bug/1033727 
> 
> 
> Do you have time to debug ? 
> I can compile you a pve-qemu-kvm package with traces 
> http://git.qemu.org/?p=qemu.git;a=blob;f=docs/tracing.txt 
> 
> so we can send log to Gerd Hoffmann , the redhat developper which 
> maintain the usb code. 

ok, please send me a link for downloading it... 

i need 2 days... 

:-) 

Diaolin 



> 
> 
> 
> ----- Mail original ----- 
> 
> De: "Giuliano Natali (Diaolin)" <diaolin at diaolin.com> 
> À: pve-user at pve.proxmox.com 
> Envoyé: Lundi 8 Octobre 2012 07:58:37 
> Objet: Re: [PVE-User] USB: the little unusable thing... 
> 
> Alexandre DERUMIER wrote: 
>> which os do you use for your guest ? 
> 
> one guest is debian6.0 
> one guest is winXP 
> one guest is Fedora 
> 
> 
> Sorry, probed even with the upcoming 1.2 
> 
> Diaolin 
> 
> 
> 
> _______________________________________________ 
> pve-user mailing list 
> pve-user at pve.proxmox.com 
> http://pve.proxmox.com/cgi-bin/mailman/listinfo/pve-user 
> 
_______________________________________________ 
pve-user mailing list 
pve-user at pve.proxmox.com 
http://pve.proxmox.com/cgi-bin/mailman/listinfo/pve-user 
_______________________________________________ 
pve-user mailing list 
pve-user at pve.proxmox.com 
http://pve.proxmox.com/cgi-bin/mailman/listinfo/pve-user 



More information about the pve-user mailing list