[Spice-devel] Error trying usb_redir
Hans de Goede
hdegoede at redhat.com
Sun Dec 11 02:45:50 PST 2011
Hi,
Hmm, your device first gives a stall error (that is normal in
some conditions) but then fails to recover...
I'll try to get one of these devices myself and see if I can reproduce,
can you give me the exact type info of the model you have?
Thanks & Regards,
Hans
On 12/06/2011 10:57 PM, Amador Pahim wrote:
> [root at localhost sandbox]#qemu-kvm vm01.img -m 1024 -smp 1 -net nic,macaddr=00:11:22:33:44:55,model=rtl8139 -net tap,ifname=tap1,script=qemu-ifup.sh -vga qxl -spice port=5932,disable-ticketing -device virtio-serial -chardev spicevmc,id=vdagent,name=vdagent -device virtserialport,chardev=vdagent,name=com.redhat.spice.0 -readconfig /etc/qemu/ich9-ehci-uhci.cfg -chardev spicevmc,name=usbredir,id=usbredirchardev1 -device usb-redir,chardev=usbredirchardev1,id=usbredirdev1,debug=4 -chardev spicevmc,name=usbredir,id=usbredirchardev2 -device usb-redir,chardev=usbredirchardev2,id=usbredirdev2,debug=4 -chardev spicevmc,name=usbredir,id=usbredirchardev3 -device usb-redir,chardev=usbredirchardev3,id=usbredirdev3,debug=4
>
>
> Adding tap1 to ...
> Bringing up tap1 for bridged mode...
> do_spice_init: starting 0.9.1
> spice_server_add_interface: SPICE_INTERFACE_KEYBOARD
> spice_server_add_interface: SPICE_INTERFACE_MOUSE
> spice_server_add_interface: SPICE_INTERFACE_QXL
> red_worker_main: begin
> ensure_display_channel_created: create display channel
> ensure_cursor_channel_created: create cursor channel
> *** EHCI support is under development ***
> spice_server_char_device_add_interface: CHAR_DEVICE usbredir
> spice_server_char_device_add_interface: CHAR_DEVICE usbredir
> spice_server_char_device_add_interface: CHAR_DEVICE usbredir
> handle_dev_input: start
> reds_handle_auth_mechanism: Auth method: 1
> reds_handle_main_link:
> reds_disconnect:
> reds_show_new_channel: channel 1:0, connected successfully, over Non Secure link
> main_channel_link: add main channel client
> reds_handle_main_link: NEW Client 0x7f6a57c66860 mcc 0x7f6a57c72b30 connect-id 1804289383
> main_channel_handle_parsed: net test: latency 350.509000 ms, bitrate 230460 bps (0.219784 Mbps) LOW BANDWIDTH
> reds_handle_auth_mechanism: Auth method: 1
> reds_show_new_channel: channel 4:0, connected successfully, over Non Secure link
> red_dispatcher_set_cursor_peer:
> handle_dev_input: cursor connect
> reds_handle_auth_mechanism: Auth method: 1
> red_connect_cursor: add cursor channel client
> listen_to_new_client_channel: NEW ID = 0
> reds_show_new_channel: channel 2:0, connected successfully, over Non Secure link
> red_dispatcher_set_display_peer:
> handle_dev_input: connect
> handle_new_display_channel: add display channel client
> handle_new_display_channel: New display (client 0x7f6a57c66860) dcc 0x7f69f006d920 stream 0x7f6a57c67510
> handle_new_display_channel: jpeg enabled
> handle_new_display_channel: zlib-over-glz enabled
> listen_to_new_client_channel: NEW ID = 0
> reds_handle_auth_mechanism: Auth method: 1
> display_channel_client_wait_for_init: creating encoder with id == 0
> reds_show_new_channel: channel 3:0, connected successfully, over Non Secure link
> inputs_connect: inputs channel client create
> display_channel_release_item: not pushed (101)
> spice_server_char_device_add_interface: CHAR_DEVICE vdagent
> main_channel_release_pipe_item: SPICE_MSG_MAIN_AGENT_DATA 0x7f6a57c732a0 0x7f6a57cd9e50, 0
> handle_dev_input: mouse mode 2
> main_channel_handle_parsed: agent start
> main_channel_release_pipe_item: SPICE_MSG_MAIN_AGENT_DATA 0x7f6a57c732a0 0x7f6a57cd9e50, 0
> main_channel_release_pipe_item: SPICE_MSG_MAIN_AGENT_DATA 0x7f6a57c732a0 0x7f6a57cd9e50, 0
> main_channel_release_pipe_item: SPICE_MSG_MAIN_AGENT_DATA 0x7f6a57c732a0 0x7f6a57cd9e50, 0
> reds_handle_auth_mechanism: Auth method: 1
> reds_show_new_channel: channel 9:0, connected successfully, over Non Secure link
> qemu-kvm: usbredirparser info: Peer version: spice-gtk 0.7.39-ab64
>
> qemu-kvm: usb-redir: ep: 00 type: 0 interface: 0
>
> qemu-kvm: usb-redir: ep: 02 type: 2 interface: 0
>
> qemu-kvm: usb-redir: ep: 80 type: 0 interface: 0
>
> qemu-kvm: usb-redir: ep: 81 type: 2 interface: 0
>
> qemu-kvm: usb-redir: attaching high speed device
>
> qemu-kvm: usb-redir: reset device
>
> qemu-kvm: usb-redir: ctrl-out type 0x80 req 0x6 val 0x100 index 0 len 64 id 0
>
> qemu-kvm: usb-redir: ctrl-in status 0 len 18 id 0
>
> qemu-kvm: usb-redir: reset device
>
> qemu-kvm: usb-redir: set address 1
>
> qemu-kvm: usb-redir: ctrl-out type 0x80 req 0x6 val 0x100 index 0 len 18 id 1
>
> qemu-kvm: usb-redir: ctrl-in status 0 len 18 id 1
>
> qemu-kvm: usb-redir: ctrl-out type 0x80 req 0x6 val 0x200 index 0 len 9 id 2
>
> qemu-kvm: usb-redir: ctrl-in status 0 len 9 id 2
>
> qemu-kvm: usb-redir: ctrl-out type 0x80 req 0x6 val 0x300 index 0 len 255 id 3
>
> qemu-kvm: usb-redir: ctrl-in status 0 len 4 id 3
>
> qemu-kvm: usb-redir: ctrl-out type 0x80 req 0x6 val 0x303 index 1033 len 255 id 4
>
> qemu-kvm: usb-redir: ctrl-in status 0 len 42 id 4
>
> qemu-kvm: usb-redir: ctrl-out type 0x80 req 0x6 val 0x200 index 0 len 255 id 5
>
> qemu-kvm: usb-redir: ctrl-in status 0 len 32 id 5
>
> qemu-kvm: usb-redir: ctrl-out type 0x80 req 0x6 val 0x300 index 0 len 255 id 6
>
> qemu-kvm: usb-redir: ctrl-in status 0 len 4 id 6
>
> qemu-kvm: usb-redir: ctrl-out type 0x80 req 0x6 val 0x302 index 1033 len 255 id 7
>
> qemu-kvm: usb-redir: ctrl-in status 0 len 26 id 7
>
> qemu-kvm: usb-redir: ctrl-out type 0x80 req 0x6 val 0x300 index 0 len 255 id 8
>
> qemu-kvm: usb-redir: ctrl-in status 0 len 4 id 8
>
> qemu-kvm: usb-redir: ctrl-out type 0x80 req 0x6 val 0x302 index 1033 len 255 id 9
>
> qemu-kvm: usb-redir: ctrl-in status 0 len 26 id 9
>
> qemu-kvm: usb-redir: ctrl-out type 0x80 req 0x6 val 0x100 index 0 len 18 id 10
>
> qemu-kvm: usb-redir: ctrl-in status 0 len 18 id 10
>
> qemu-kvm: usb-redir: ctrl-out type 0x80 req 0x6 val 0x200 index 0 len 9 id 11
>
> qemu-kvm: usb-redir: ctrl-in status 0 len 9 id 11
>
> qemu-kvm: usb-redir: ctrl-out type 0x80 req 0x6 val 0x200 index 0 len 32 id 12
>
> qemu-kvm: usb-redir: ctrl-in status 0 len 32 id 12
>
> qemu-kvm: usb-redir: ctrl-out type 0x80 req 0x6 val 0x300 index 0 len 2 id 13
>
> qemu-kvm: usb-redir: ctrl-in status 0 len 2 id 13
>
> qemu-kvm: usb-redir: ctrl-out type 0x80 req 0x6 val 0x300 index 0 len 4 id 14
>
> qemu-kvm: usb-redir: ctrl-in status 0 len 4 id 14
>
> qemu-kvm: usb-redir: ctrl-out type 0x80 req 0x6 val 0x303 index 1033 len 2 id 15
>
> qemu-kvm: usb-redir: ctrl-in status 0 len 2 id 15
>
> qemu-kvm: usb-redir: ctrl-out type 0x80 req 0x6 val 0x303 index 1033 len 42 id 16
>
> qemu-kvm: usb-redir: ctrl-in status 0 len 42 id 16
>
> qemu-kvm: usb-redir: set config 1 id 17
>
> qemu-kvm: usb-redir: set config status 0 config 1 id 17
>
> qemu-kvm: usb-redir: ctrl-out type 0xa1 req 0xfe val 0x0 index 0 len 1 id 18
>
> qemu-kvm: usb-redir: ctrl-in status 0 len 1 id 18
>
> qemu-kvm: usb-redir: bulk-out ep 02 len 31 id 19
>
> qemu-kvm: usb-redir: bulk-in status 0 ep 02 len 31 id 19
>
> qemu-kvm: usb-redir: bulk-out ep 81 len 36 id 20
>
> qemu-kvm: usb-redir: bulk-in status 0 ep 81 len 36 id 20
>
> qemu-kvm: usb-redir: bulk-out ep 81 len 512 id 21
>
> qemu-kvm: usb-redir: bulk-in status 0 ep 81 len 13 id 21
>
> qemu-kvm: usb-redir: bulk-out ep 02 len 31 id 22
>
> qemu-kvm: usb-redir: bulk-in status 0 ep 02 len 31 id 22
>
> qemu-kvm: usb-redir: bulk-out ep 81 len 252 id 23
>
> qemu-kvm: usb-redir: bulk-in status 0 ep 81 len 12 id 23
>
> qemu-kvm: usb-redir: bulk-out ep 81 len 512 id 24
>
> qemu-kvm: usb-redir: bulk-in status 4 ep 81 len 0 id 24
>
> qemu-kvm: usb-redir: ctrl-out type 0x2 req 0x1 val 0x0 index 129 len 0 id 25
>
> qemu-kvm: usb-redir: ctrl-in status 0 len 0 id 25
>
> qemu-kvm: usb-redir: bulk-out ep 81 len 512 id 26
>
> qemu-kvm: usb-redir: bulk-in status 5 ep 81 len 0 id 26
>
> qemu-kvm: usb-redir: bulk-out ep 81 len 512 id 27
>
> qemu-kvm: usb-redir: bulk-in status 5 ep 81 len 0 id 27
>
> qemu-kvm: usb-redir: bulk-out ep 81 len 512 id 28
>
> qemu-kvm: usb-redir: bulk-in status 5 ep 81 len 0 id 28
>
> qemu-kvm: usb-redir: bulk-out ep 81 len 512 id 29
>
> qemu-kvm: usb-redir: async cancel id 29
>
> qemu-kvm: usb-redir: reset device
>
> qemu-kvm: usb-redir: ctrl-out type 0x80 req 0x6 val 0x100 index 0 len 64 id 30
>
> qemu-kvm: usb-redir: async cancel id 30
>
> qemu-kvm: usb-redir: bulk-in status 3 ep 81 len 0 id 29
>
> qemu-kvm: usb-redir error: could not find async urb for packet_id 29
>
> qemu-kvm: usb-redir: ctrl-in status 3 len 0 id 30
>
> qemu-kvm: usb-redir error: could not find async urb for packet_id 30
>
> red_channel_client_disconnect: 0x7f6a57c67ac0 (channel 0x7f6a57cf6760 type 9 id 0)
> spice_server_char_device_remove_interface: remove CHAR_DEVICE vdagent
> handle_dev_input: mouse mode 1
> /etc/qemu-ifdown: could not launch network script
>
>
>
> _______________________________________________
> Spice-devel mailing list
> Spice-devel at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/spice-devel
More information about the Spice-devel
mailing list