* [Bug 1920752] [NEW] USB SoundCard Passthrough not working on arm64
@ 2021-03-22 12:15 Ravishankar
2021-03-22 13:24 ` [Bug 1920752] " Philippe Mathieu-Daudé
` (7 more replies)
0 siblings, 8 replies; 9+ messages in thread
From: Ravishankar @ 2021-03-22 12:15 UTC (permalink / raw)
To: qemu-devel
Public bug reported:
Hello,
I am virtualizing a armhf guest on a aarch64 host and was to use my
Sound Blaster USB Soundcard as passthrough.
armhf Guest is: Debian Buster
aarch64 host is a jetson nano. KVM is enabled.
Latest qemu is built from sources.
The command I use for running is as follows:
../qemu/build/qemu-system-aarch64 -M virt -m 2048 -smp 2 -cpu host,aarch64=off -enable-kvm \
-kernel vmlinuz-4.19.0-14-armmp-lpae -initrd initrd.img-4.19.0-14-armmp-lpae -append 'root=/dev/vda2' \
-device nec-usb-xhci -device usb-kbd -device usb-mouse -device usb-host,hostbus=1,hostport=2.3 -serial stdio \
-device virtio-gpu-pci,virgl=on,xres=1600,yres=900 -display sdl,gl=on \
-drive if=none,file=hda2.qcow2,format=qcow2,id=hd -device virtio-blk-device,drive=hd \
-netdev user,id=mynet -device virtio-net-device,netdev=mynet \
-bios edk2-arm-code.fd -no-reboot
Where are my lsusb -t shows:
rreddy78@jetson-nano:~/Downloads$ lsusb -t
/: Bus 02.Port 1: Dev 1, Class=root_hub, Driver=tegra-xusb/4p, 5000M
|__ Port 1: Dev 3, If 0, Class=Hub, Driver=hub/4p, 5000M
/: Bus 01.Port 1: Dev 1, Class=root_hub, Driver=tegra-xusb/5p, 480M
|__ Port 2: Dev 6, If 0, Class=Hub, Driver=hub/4p, 480M
|__ Port 1: Dev 7, If 0, Class=Human Interface Device, Driver=usbhid, 1.5M
|__ Port 1: Dev 7, If 1, Class=Human Interface Device, Driver=usbhid, 1.5M
|__ Port 3: Dev 8, If 3, Class=Human Interface Device, Driver=usbhid, 12M
|__ Port 3: Dev 8, If 1, Class=Audio, Driver=snd-usb-audio, 12M
|__ Port 3: Dev 8, If 2, Class=Audio, Driver=snd-usb-audio, 12M
|__ Port 3: Dev 8, If 0, Class=Audio, Driver=snd-usb-audio, 12M
|__ Port 4: Dev 9, If 0, Class=Human Interface Device, Driver=usbhid, 1.5M
Within the VM I can see the usb as follows
rreddy78@debian:~$ lsusb -t
/: Bus 02.Port 1: Dev 1, Class=root_hub, Driver=xhci_hcd/4p, 5000M
/: Bus 01.Port 1: Dev 1, Class=root_hub, Driver=xhci_hcd/4p, 480M
|__ Port 1: Dev 2, If 0, Class=Human Interface Device, Driver=usbhid, 480M
|__ Port 2: Dev 3, If 0, Class=Human Interface Device, Driver=usbhid, 480M
Its looks like some passthrough as but it seems like only for
_ Port 3: Dev 8, If 3, Class=Human Interface Device, Driver=usbhid, 12M
I am not sure if passthrough even works because this post I saw
https://community.arm.com/developer/ip-products/system/f/embedded-
forum/48031/usb-pass-through-in-qemu-command-line-for-arm-
machines/168764#168764
** Affects: qemu
Importance: Undecided
Status: New
** Tags: passthrough usb
--
You received this bug notification because you are a member of qemu-
devel-ml, which is subscribed to QEMU.
https://bugs.launchpad.net/bugs/1920752
Title:
USB SoundCard Passthrough not working on arm64
Status in QEMU:
New
Bug description:
Hello,
I am virtualizing a armhf guest on a aarch64 host and was to use my
Sound Blaster USB Soundcard as passthrough.
armhf Guest is: Debian Buster
aarch64 host is a jetson nano. KVM is enabled.
Latest qemu is built from sources.
The command I use for running is as follows:
../qemu/build/qemu-system-aarch64 -M virt -m 2048 -smp 2 -cpu host,aarch64=off -enable-kvm \
-kernel vmlinuz-4.19.0-14-armmp-lpae -initrd initrd.img-4.19.0-14-armmp-lpae -append 'root=/dev/vda2' \
-device nec-usb-xhci -device usb-kbd -device usb-mouse -device usb-host,hostbus=1,hostport=2.3 -serial stdio \
-device virtio-gpu-pci,virgl=on,xres=1600,yres=900 -display sdl,gl=on \
-drive if=none,file=hda2.qcow2,format=qcow2,id=hd -device virtio-blk-device,drive=hd \
-netdev user,id=mynet -device virtio-net-device,netdev=mynet \
-bios edk2-arm-code.fd -no-reboot
Where are my lsusb -t shows:
rreddy78@jetson-nano:~/Downloads$ lsusb -t
/: Bus 02.Port 1: Dev 1, Class=root_hub, Driver=tegra-xusb/4p, 5000M
|__ Port 1: Dev 3, If 0, Class=Hub, Driver=hub/4p, 5000M
/: Bus 01.Port 1: Dev 1, Class=root_hub, Driver=tegra-xusb/5p, 480M
|__ Port 2: Dev 6, If 0, Class=Hub, Driver=hub/4p, 480M
|__ Port 1: Dev 7, If 0, Class=Human Interface Device, Driver=usbhid, 1.5M
|__ Port 1: Dev 7, If 1, Class=Human Interface Device, Driver=usbhid, 1.5M
|__ Port 3: Dev 8, If 3, Class=Human Interface Device, Driver=usbhid, 12M
|__ Port 3: Dev 8, If 1, Class=Audio, Driver=snd-usb-audio, 12M
|__ Port 3: Dev 8, If 2, Class=Audio, Driver=snd-usb-audio, 12M
|__ Port 3: Dev 8, If 0, Class=Audio, Driver=snd-usb-audio, 12M
|__ Port 4: Dev 9, If 0, Class=Human Interface Device, Driver=usbhid, 1.5M
Within the VM I can see the usb as follows
rreddy78@debian:~$ lsusb -t
/: Bus 02.Port 1: Dev 1, Class=root_hub, Driver=xhci_hcd/4p, 5000M
/: Bus 01.Port 1: Dev 1, Class=root_hub, Driver=xhci_hcd/4p, 480M
|__ Port 1: Dev 2, If 0, Class=Human Interface Device, Driver=usbhid, 480M
|__ Port 2: Dev 3, If 0, Class=Human Interface Device, Driver=usbhid, 480M
Its looks like some passthrough as but it seems like only for
_ Port 3: Dev 8, If 3, Class=Human Interface Device, Driver=usbhid,
12M
I am not sure if passthrough even works because this post I saw
https://community.arm.com/developer/ip-products/system/f/embedded-
forum/48031/usb-pass-through-in-qemu-command-line-for-arm-
machines/168764#168764
To manage notifications about this bug go to:
https://bugs.launchpad.net/qemu/+bug/1920752/+subscriptions
^ permalink raw reply [flat|nested] 9+ messages in thread
* [Bug 1920752] Re: USB SoundCard Passthrough not working on arm64
2021-03-22 12:15 [Bug 1920752] [NEW] USB SoundCard Passthrough not working on arm64 Ravishankar
@ 2021-03-22 13:24 ` Philippe Mathieu-Daudé
2021-03-22 14:50 ` Ravishankar
` (6 subsequent siblings)
7 siblings, 0 replies; 9+ messages in thread
From: Philippe Mathieu-Daudé @ 2021-03-22 13:24 UTC (permalink / raw)
To: qemu-devel
Hi, do you see errors on stderr when running with "-d guest_errors"?
If so can you attach the log produced by using "-D guest_errors.log -d guest_errors"?
--
You received this bug notification because you are a member of qemu-
devel-ml, which is subscribed to QEMU.
https://bugs.launchpad.net/bugs/1920752
Title:
USB SoundCard Passthrough not working on arm64
Status in QEMU:
New
Bug description:
Hello,
I am virtualizing a armhf guest on a aarch64 host and was to use my
Sound Blaster USB Soundcard as passthrough.
armhf Guest is: Debian Buster
aarch64 host is a jetson nano. KVM is enabled.
Latest qemu is built from sources.
The command I use for running is as follows:
../qemu/build/qemu-system-aarch64 -M virt -m 2048 -smp 2 -cpu host,aarch64=off -enable-kvm \
-kernel vmlinuz-4.19.0-14-armmp-lpae -initrd initrd.img-4.19.0-14-armmp-lpae -append 'root=/dev/vda2' \
-device nec-usb-xhci -device usb-kbd -device usb-mouse -device usb-host,hostbus=1,hostport=2.3 -serial stdio \
-device virtio-gpu-pci,virgl=on,xres=1600,yres=900 -display sdl,gl=on \
-drive if=none,file=hda2.qcow2,format=qcow2,id=hd -device virtio-blk-device,drive=hd \
-netdev user,id=mynet -device virtio-net-device,netdev=mynet \
-bios edk2-arm-code.fd -no-reboot
Where are my lsusb -t shows:
rreddy78@jetson-nano:~/Downloads$ lsusb -t
/: Bus 02.Port 1: Dev 1, Class=root_hub, Driver=tegra-xusb/4p, 5000M
|__ Port 1: Dev 3, If 0, Class=Hub, Driver=hub/4p, 5000M
/: Bus 01.Port 1: Dev 1, Class=root_hub, Driver=tegra-xusb/5p, 480M
|__ Port 2: Dev 6, If 0, Class=Hub, Driver=hub/4p, 480M
|__ Port 1: Dev 7, If 0, Class=Human Interface Device, Driver=usbhid, 1.5M
|__ Port 1: Dev 7, If 1, Class=Human Interface Device, Driver=usbhid, 1.5M
|__ Port 3: Dev 8, If 3, Class=Human Interface Device, Driver=usbhid, 12M
|__ Port 3: Dev 8, If 1, Class=Audio, Driver=snd-usb-audio, 12M
|__ Port 3: Dev 8, If 2, Class=Audio, Driver=snd-usb-audio, 12M
|__ Port 3: Dev 8, If 0, Class=Audio, Driver=snd-usb-audio, 12M
|__ Port 4: Dev 9, If 0, Class=Human Interface Device, Driver=usbhid, 1.5M
Within the VM I can see the usb as follows
rreddy78@debian:~$ lsusb -t
/: Bus 02.Port 1: Dev 1, Class=root_hub, Driver=xhci_hcd/4p, 5000M
/: Bus 01.Port 1: Dev 1, Class=root_hub, Driver=xhci_hcd/4p, 480M
|__ Port 1: Dev 2, If 0, Class=Human Interface Device, Driver=usbhid, 480M
|__ Port 2: Dev 3, If 0, Class=Human Interface Device, Driver=usbhid, 480M
Its looks like some passthrough as but it seems like only for
_ Port 3: Dev 8, If 3, Class=Human Interface Device, Driver=usbhid,
12M
I am not sure if passthrough even works because this post I saw
https://community.arm.com/developer/ip-products/system/f/embedded-
forum/48031/usb-pass-through-in-qemu-command-line-for-arm-
machines/168764#168764
To manage notifications about this bug go to:
https://bugs.launchpad.net/qemu/+bug/1920752/+subscriptions
^ permalink raw reply [flat|nested] 9+ messages in thread
* [Bug 1920752] Re: USB SoundCard Passthrough not working on arm64
2021-03-22 12:15 [Bug 1920752] [NEW] USB SoundCard Passthrough not working on arm64 Ravishankar
2021-03-22 13:24 ` [Bug 1920752] " Philippe Mathieu-Daudé
@ 2021-03-22 14:50 ` Ravishankar
2021-03-22 14:51 ` Ravishankar
` (5 subsequent siblings)
7 siblings, 0 replies; 9+ messages in thread
From: Ravishankar @ 2021-03-22 14:50 UTC (permalink / raw)
To: qemu-devel
Not much.
Here is the log
gic_cpu_read: Bad offset fc
gic_cpu_read: Bad offset fc
virtio_mmio_write: attempt to write guest features with guest_features_sel > 0 in legacy mode
virtio_mmio_write: attempt to write guest features with guest_features_sel > 0 in legacy mode
--
You received this bug notification because you are a member of qemu-
devel-ml, which is subscribed to QEMU.
https://bugs.launchpad.net/bugs/1920752
Title:
USB SoundCard Passthrough not working on arm64
Status in QEMU:
New
Bug description:
Hello,
I am virtualizing a armhf guest on a aarch64 host and was to use my
Sound Blaster USB Soundcard as passthrough.
armhf Guest is: Debian Buster
aarch64 host is a jetson nano. KVM is enabled.
Latest qemu is built from sources.
The command I use for running is as follows:
../qemu/build/qemu-system-aarch64 -M virt -m 2048 -smp 2 -cpu host,aarch64=off -enable-kvm \
-kernel vmlinuz-4.19.0-14-armmp-lpae -initrd initrd.img-4.19.0-14-armmp-lpae -append 'root=/dev/vda2' \
-device nec-usb-xhci -device usb-kbd -device usb-mouse -device usb-host,hostbus=1,hostport=2.3 -serial stdio \
-device virtio-gpu-pci,virgl=on,xres=1600,yres=900 -display sdl,gl=on \
-drive if=none,file=hda2.qcow2,format=qcow2,id=hd -device virtio-blk-device,drive=hd \
-netdev user,id=mynet -device virtio-net-device,netdev=mynet \
-bios edk2-arm-code.fd -no-reboot
Where are my lsusb -t shows:
rreddy78@jetson-nano:~/Downloads$ lsusb -t
/: Bus 02.Port 1: Dev 1, Class=root_hub, Driver=tegra-xusb/4p, 5000M
|__ Port 1: Dev 3, If 0, Class=Hub, Driver=hub/4p, 5000M
/: Bus 01.Port 1: Dev 1, Class=root_hub, Driver=tegra-xusb/5p, 480M
|__ Port 2: Dev 6, If 0, Class=Hub, Driver=hub/4p, 480M
|__ Port 1: Dev 7, If 0, Class=Human Interface Device, Driver=usbhid, 1.5M
|__ Port 1: Dev 7, If 1, Class=Human Interface Device, Driver=usbhid, 1.5M
|__ Port 3: Dev 8, If 3, Class=Human Interface Device, Driver=usbhid, 12M
|__ Port 3: Dev 8, If 1, Class=Audio, Driver=snd-usb-audio, 12M
|__ Port 3: Dev 8, If 2, Class=Audio, Driver=snd-usb-audio, 12M
|__ Port 3: Dev 8, If 0, Class=Audio, Driver=snd-usb-audio, 12M
|__ Port 4: Dev 9, If 0, Class=Human Interface Device, Driver=usbhid, 1.5M
Within the VM I can see the usb as follows
rreddy78@debian:~$ lsusb -t
/: Bus 02.Port 1: Dev 1, Class=root_hub, Driver=xhci_hcd/4p, 5000M
/: Bus 01.Port 1: Dev 1, Class=root_hub, Driver=xhci_hcd/4p, 480M
|__ Port 1: Dev 2, If 0, Class=Human Interface Device, Driver=usbhid, 480M
|__ Port 2: Dev 3, If 0, Class=Human Interface Device, Driver=usbhid, 480M
Its looks like some passthrough as but it seems like only for
_ Port 3: Dev 8, If 3, Class=Human Interface Device, Driver=usbhid,
12M
I am not sure if passthrough even works because this post I saw
https://community.arm.com/developer/ip-products/system/f/embedded-
forum/48031/usb-pass-through-in-qemu-command-line-for-arm-
machines/168764#168764
To manage notifications about this bug go to:
https://bugs.launchpad.net/qemu/+bug/1920752/+subscriptions
^ permalink raw reply [flat|nested] 9+ messages in thread
* [Bug 1920752] Re: USB SoundCard Passthrough not working on arm64
2021-03-22 12:15 [Bug 1920752] [NEW] USB SoundCard Passthrough not working on arm64 Ravishankar
2021-03-22 13:24 ` [Bug 1920752] " Philippe Mathieu-Daudé
2021-03-22 14:50 ` Ravishankar
@ 2021-03-22 14:51 ` Ravishankar
2021-03-26 9:59 ` Gerd Hoffmann
` (4 subsequent siblings)
7 siblings, 0 replies; 9+ messages in thread
From: Ravishankar @ 2021-03-22 14:51 UTC (permalink / raw)
To: qemu-devel
This time I used it differently i.e:
rreddy78@jetson-nano:~/debian-buster-qemu$ lsusb -s 1:8
Bus 001 Device 008: ID 041e:324d Creative Technology, Ltd
And
-device usb-host,vendorid=0x041e,productid=0x324d -D guest_errors.log -d
guest_errors
--
You received this bug notification because you are a member of qemu-
devel-ml, which is subscribed to QEMU.
https://bugs.launchpad.net/bugs/1920752
Title:
USB SoundCard Passthrough not working on arm64
Status in QEMU:
New
Bug description:
Hello,
I am virtualizing a armhf guest on a aarch64 host and was to use my
Sound Blaster USB Soundcard as passthrough.
armhf Guest is: Debian Buster
aarch64 host is a jetson nano. KVM is enabled.
Latest qemu is built from sources.
The command I use for running is as follows:
../qemu/build/qemu-system-aarch64 -M virt -m 2048 -smp 2 -cpu host,aarch64=off -enable-kvm \
-kernel vmlinuz-4.19.0-14-armmp-lpae -initrd initrd.img-4.19.0-14-armmp-lpae -append 'root=/dev/vda2' \
-device nec-usb-xhci -device usb-kbd -device usb-mouse -device usb-host,hostbus=1,hostport=2.3 -serial stdio \
-device virtio-gpu-pci,virgl=on,xres=1600,yres=900 -display sdl,gl=on \
-drive if=none,file=hda2.qcow2,format=qcow2,id=hd -device virtio-blk-device,drive=hd \
-netdev user,id=mynet -device virtio-net-device,netdev=mynet \
-bios edk2-arm-code.fd -no-reboot
Where are my lsusb -t shows:
rreddy78@jetson-nano:~/Downloads$ lsusb -t
/: Bus 02.Port 1: Dev 1, Class=root_hub, Driver=tegra-xusb/4p, 5000M
|__ Port 1: Dev 3, If 0, Class=Hub, Driver=hub/4p, 5000M
/: Bus 01.Port 1: Dev 1, Class=root_hub, Driver=tegra-xusb/5p, 480M
|__ Port 2: Dev 6, If 0, Class=Hub, Driver=hub/4p, 480M
|__ Port 1: Dev 7, If 0, Class=Human Interface Device, Driver=usbhid, 1.5M
|__ Port 1: Dev 7, If 1, Class=Human Interface Device, Driver=usbhid, 1.5M
|__ Port 3: Dev 8, If 3, Class=Human Interface Device, Driver=usbhid, 12M
|__ Port 3: Dev 8, If 1, Class=Audio, Driver=snd-usb-audio, 12M
|__ Port 3: Dev 8, If 2, Class=Audio, Driver=snd-usb-audio, 12M
|__ Port 3: Dev 8, If 0, Class=Audio, Driver=snd-usb-audio, 12M
|__ Port 4: Dev 9, If 0, Class=Human Interface Device, Driver=usbhid, 1.5M
Within the VM I can see the usb as follows
rreddy78@debian:~$ lsusb -t
/: Bus 02.Port 1: Dev 1, Class=root_hub, Driver=xhci_hcd/4p, 5000M
/: Bus 01.Port 1: Dev 1, Class=root_hub, Driver=xhci_hcd/4p, 480M
|__ Port 1: Dev 2, If 0, Class=Human Interface Device, Driver=usbhid, 480M
|__ Port 2: Dev 3, If 0, Class=Human Interface Device, Driver=usbhid, 480M
Its looks like some passthrough as but it seems like only for
_ Port 3: Dev 8, If 3, Class=Human Interface Device, Driver=usbhid,
12M
I am not sure if passthrough even works because this post I saw
https://community.arm.com/developer/ip-products/system/f/embedded-
forum/48031/usb-pass-through-in-qemu-command-line-for-arm-
machines/168764#168764
To manage notifications about this bug go to:
https://bugs.launchpad.net/qemu/+bug/1920752/+subscriptions
^ permalink raw reply [flat|nested] 9+ messages in thread
* [Bug 1920752] Re: USB SoundCard Passthrough not working on arm64
2021-03-22 12:15 [Bug 1920752] [NEW] USB SoundCard Passthrough not working on arm64 Ravishankar
` (2 preceding siblings ...)
2021-03-22 14:51 ` Ravishankar
@ 2021-03-26 9:59 ` Gerd Hoffmann
2021-04-22 10:32 ` Ravishankar
` (3 subsequent siblings)
7 siblings, 0 replies; 9+ messages in thread
From: Gerd Hoffmann @ 2021-03-26 9:59 UTC (permalink / raw)
To: qemu-devel
Can you record usb traffic (add pcap=<file> to usb-host)?
--
You received this bug notification because you are a member of qemu-
devel-ml, which is subscribed to QEMU.
https://bugs.launchpad.net/bugs/1920752
Title:
USB SoundCard Passthrough not working on arm64
Status in QEMU:
New
Bug description:
Hello,
I am virtualizing a armhf guest on a aarch64 host and was to use my
Sound Blaster USB Soundcard as passthrough.
armhf Guest is: Debian Buster
aarch64 host is a jetson nano. KVM is enabled.
Latest qemu is built from sources.
The command I use for running is as follows:
../qemu/build/qemu-system-aarch64 -M virt -m 2048 -smp 2 -cpu host,aarch64=off -enable-kvm \
-kernel vmlinuz-4.19.0-14-armmp-lpae -initrd initrd.img-4.19.0-14-armmp-lpae -append 'root=/dev/vda2' \
-device nec-usb-xhci -device usb-kbd -device usb-mouse -device usb-host,hostbus=1,hostport=2.3 -serial stdio \
-device virtio-gpu-pci,virgl=on,xres=1600,yres=900 -display sdl,gl=on \
-drive if=none,file=hda2.qcow2,format=qcow2,id=hd -device virtio-blk-device,drive=hd \
-netdev user,id=mynet -device virtio-net-device,netdev=mynet \
-bios edk2-arm-code.fd -no-reboot
Where are my lsusb -t shows:
rreddy78@jetson-nano:~/Downloads$ lsusb -t
/: Bus 02.Port 1: Dev 1, Class=root_hub, Driver=tegra-xusb/4p, 5000M
|__ Port 1: Dev 3, If 0, Class=Hub, Driver=hub/4p, 5000M
/: Bus 01.Port 1: Dev 1, Class=root_hub, Driver=tegra-xusb/5p, 480M
|__ Port 2: Dev 6, If 0, Class=Hub, Driver=hub/4p, 480M
|__ Port 1: Dev 7, If 0, Class=Human Interface Device, Driver=usbhid, 1.5M
|__ Port 1: Dev 7, If 1, Class=Human Interface Device, Driver=usbhid, 1.5M
|__ Port 3: Dev 8, If 3, Class=Human Interface Device, Driver=usbhid, 12M
|__ Port 3: Dev 8, If 1, Class=Audio, Driver=snd-usb-audio, 12M
|__ Port 3: Dev 8, If 2, Class=Audio, Driver=snd-usb-audio, 12M
|__ Port 3: Dev 8, If 0, Class=Audio, Driver=snd-usb-audio, 12M
|__ Port 4: Dev 9, If 0, Class=Human Interface Device, Driver=usbhid, 1.5M
Within the VM I can see the usb as follows
rreddy78@debian:~$ lsusb -t
/: Bus 02.Port 1: Dev 1, Class=root_hub, Driver=xhci_hcd/4p, 5000M
/: Bus 01.Port 1: Dev 1, Class=root_hub, Driver=xhci_hcd/4p, 480M
|__ Port 1: Dev 2, If 0, Class=Human Interface Device, Driver=usbhid, 480M
|__ Port 2: Dev 3, If 0, Class=Human Interface Device, Driver=usbhid, 480M
Its looks like some passthrough as but it seems like only for
_ Port 3: Dev 8, If 3, Class=Human Interface Device, Driver=usbhid,
12M
I am not sure if passthrough even works because this post I saw
https://community.arm.com/developer/ip-products/system/f/embedded-
forum/48031/usb-pass-through-in-qemu-command-line-for-arm-
machines/168764#168764
To manage notifications about this bug go to:
https://bugs.launchpad.net/qemu/+bug/1920752/+subscriptions
^ permalink raw reply [flat|nested] 9+ messages in thread
* [Bug 1920752] Re: USB SoundCard Passthrough not working on arm64
2021-03-22 12:15 [Bug 1920752] [NEW] USB SoundCard Passthrough not working on arm64 Ravishankar
` (3 preceding siblings ...)
2021-03-26 9:59 ` Gerd Hoffmann
@ 2021-04-22 10:32 ` Ravishankar
2021-04-22 10:59 ` Ravishankar
` (2 subsequent siblings)
7 siblings, 0 replies; 9+ messages in thread
From: Ravishankar @ 2021-04-22 10:32 UTC (permalink / raw)
To: qemu-devel
I ran it as follows:
qemu-system-aarch64 -M virt -m 2048 -smp 2 -cpu host,aarch64=off
-enable-kvm -kernel vmlinuz-4.19.0-14-armmp-lpae -initrd
initrd.img-4.19.0-14-armmp-lpae -append 'root=/dev/vda2' -device nec-
usb-xhci -device usb-kbd -device usb-mouse -device usb-
host,pcap=test.pcap,hostbus=1,hostport=2.1 -serial stdio -device virtio-
gpu-pci,virgl=on,xres=1600,yres=900 -display sdl,gl=on -drive
if=none,file=hda2.qcow2,format=qcow2,id=hd -device virtio-blk-
device,drive=hd -netdev user,id=mynet -device virtio-net-
device,netdev=mynet -bios edk2-arm-code.fd -no-reboot
But the pcap file is empty:
file test.pcap
test.pcap: empty
--
You received this bug notification because you are a member of qemu-
devel-ml, which is subscribed to QEMU.
https://bugs.launchpad.net/bugs/1920752
Title:
USB SoundCard Passthrough not working on arm64
Status in QEMU:
New
Bug description:
Hello,
I am virtualizing a armhf guest on a aarch64 host and was to use my
Sound Blaster USB Soundcard as passthrough.
armhf Guest is: Debian Buster
aarch64 host is a jetson nano. KVM is enabled.
Latest qemu is built from sources.
The command I use for running is as follows:
../qemu/build/qemu-system-aarch64 -M virt -m 2048 -smp 2 -cpu host,aarch64=off -enable-kvm \
-kernel vmlinuz-4.19.0-14-armmp-lpae -initrd initrd.img-4.19.0-14-armmp-lpae -append 'root=/dev/vda2' \
-device nec-usb-xhci -device usb-kbd -device usb-mouse -device usb-host,hostbus=1,hostport=2.3 -serial stdio \
-device virtio-gpu-pci,virgl=on,xres=1600,yres=900 -display sdl,gl=on \
-drive if=none,file=hda2.qcow2,format=qcow2,id=hd -device virtio-blk-device,drive=hd \
-netdev user,id=mynet -device virtio-net-device,netdev=mynet \
-bios edk2-arm-code.fd -no-reboot
Where are my lsusb -t shows:
rreddy78@jetson-nano:~/Downloads$ lsusb -t
/: Bus 02.Port 1: Dev 1, Class=root_hub, Driver=tegra-xusb/4p, 5000M
|__ Port 1: Dev 3, If 0, Class=Hub, Driver=hub/4p, 5000M
/: Bus 01.Port 1: Dev 1, Class=root_hub, Driver=tegra-xusb/5p, 480M
|__ Port 2: Dev 6, If 0, Class=Hub, Driver=hub/4p, 480M
|__ Port 1: Dev 7, If 0, Class=Human Interface Device, Driver=usbhid, 1.5M
|__ Port 1: Dev 7, If 1, Class=Human Interface Device, Driver=usbhid, 1.5M
|__ Port 3: Dev 8, If 3, Class=Human Interface Device, Driver=usbhid, 12M
|__ Port 3: Dev 8, If 1, Class=Audio, Driver=snd-usb-audio, 12M
|__ Port 3: Dev 8, If 2, Class=Audio, Driver=snd-usb-audio, 12M
|__ Port 3: Dev 8, If 0, Class=Audio, Driver=snd-usb-audio, 12M
|__ Port 4: Dev 9, If 0, Class=Human Interface Device, Driver=usbhid, 1.5M
Within the VM I can see the usb as follows
rreddy78@debian:~$ lsusb -t
/: Bus 02.Port 1: Dev 1, Class=root_hub, Driver=xhci_hcd/4p, 5000M
/: Bus 01.Port 1: Dev 1, Class=root_hub, Driver=xhci_hcd/4p, 480M
|__ Port 1: Dev 2, If 0, Class=Human Interface Device, Driver=usbhid, 480M
|__ Port 2: Dev 3, If 0, Class=Human Interface Device, Driver=usbhid, 480M
Its looks like some passthrough as but it seems like only for
_ Port 3: Dev 8, If 3, Class=Human Interface Device, Driver=usbhid,
12M
I am not sure if passthrough even works because this post I saw
https://community.arm.com/developer/ip-products/system/f/embedded-
forum/48031/usb-pass-through-in-qemu-command-line-for-arm-
machines/168764#168764
To manage notifications about this bug go to:
https://bugs.launchpad.net/qemu/+bug/1920752/+subscriptions
^ permalink raw reply [flat|nested] 9+ messages in thread
* [Bug 1920752] Re: USB SoundCard Passthrough not working on arm64
2021-03-22 12:15 [Bug 1920752] [NEW] USB SoundCard Passthrough not working on arm64 Ravishankar
` (4 preceding siblings ...)
2021-04-22 10:32 ` Ravishankar
@ 2021-04-22 10:59 ` Ravishankar
2021-05-03 8:05 ` Ravishankar
2021-05-15 10:45 ` Thomas Huth
7 siblings, 0 replies; 9+ messages in thread
From: Ravishankar @ 2021-04-22 10:59 UTC (permalink / raw)
To: qemu-devel
Hello,
You can close this bug as as a simple usb-audio switch is working fine for me:
I just added -device usb-audio and set the -device nec-usb-xhci and sound within the qemu is working fine..
qemu-system-aarch64 -M virt -m 2048 -smp 2 -cpu host,aarch64=off
-enable-kvm -kernel vmlinuz-4.19.0-14-armmp-lpae -initrd
initrd.img-4.19.0-14-armmp-lpae -append 'root=/dev/vda2' -device nec-
usb-xhci,id=xhci -device usb-kbd -device usb-mouse -device usb-audio
-serial stdio -device virtio-gpu-pci,virgl=on,xres=1600,yres=900
-display sdl,gl=on -drive if=none,file=hda2.qcow2,format=qcow2,id=hd
-device virtio-blk-device,drive=hd -netdev user,id=mynet -device virtio-
net-device,netdev=mynet -bios edk2-arm-code.fd -no-reboot
--
You received this bug notification because you are a member of qemu-
devel-ml, which is subscribed to QEMU.
https://bugs.launchpad.net/bugs/1920752
Title:
USB SoundCard Passthrough not working on arm64
Status in QEMU:
New
Bug description:
Hello,
I am virtualizing a armhf guest on a aarch64 host and was to use my
Sound Blaster USB Soundcard as passthrough.
armhf Guest is: Debian Buster
aarch64 host is a jetson nano. KVM is enabled.
Latest qemu is built from sources.
The command I use for running is as follows:
../qemu/build/qemu-system-aarch64 -M virt -m 2048 -smp 2 -cpu host,aarch64=off -enable-kvm \
-kernel vmlinuz-4.19.0-14-armmp-lpae -initrd initrd.img-4.19.0-14-armmp-lpae -append 'root=/dev/vda2' \
-device nec-usb-xhci -device usb-kbd -device usb-mouse -device usb-host,hostbus=1,hostport=2.3 -serial stdio \
-device virtio-gpu-pci,virgl=on,xres=1600,yres=900 -display sdl,gl=on \
-drive if=none,file=hda2.qcow2,format=qcow2,id=hd -device virtio-blk-device,drive=hd \
-netdev user,id=mynet -device virtio-net-device,netdev=mynet \
-bios edk2-arm-code.fd -no-reboot
Where are my lsusb -t shows:
rreddy78@jetson-nano:~/Downloads$ lsusb -t
/: Bus 02.Port 1: Dev 1, Class=root_hub, Driver=tegra-xusb/4p, 5000M
|__ Port 1: Dev 3, If 0, Class=Hub, Driver=hub/4p, 5000M
/: Bus 01.Port 1: Dev 1, Class=root_hub, Driver=tegra-xusb/5p, 480M
|__ Port 2: Dev 6, If 0, Class=Hub, Driver=hub/4p, 480M
|__ Port 1: Dev 7, If 0, Class=Human Interface Device, Driver=usbhid, 1.5M
|__ Port 1: Dev 7, If 1, Class=Human Interface Device, Driver=usbhid, 1.5M
|__ Port 3: Dev 8, If 3, Class=Human Interface Device, Driver=usbhid, 12M
|__ Port 3: Dev 8, If 1, Class=Audio, Driver=snd-usb-audio, 12M
|__ Port 3: Dev 8, If 2, Class=Audio, Driver=snd-usb-audio, 12M
|__ Port 3: Dev 8, If 0, Class=Audio, Driver=snd-usb-audio, 12M
|__ Port 4: Dev 9, If 0, Class=Human Interface Device, Driver=usbhid, 1.5M
Within the VM I can see the usb as follows
rreddy78@debian:~$ lsusb -t
/: Bus 02.Port 1: Dev 1, Class=root_hub, Driver=xhci_hcd/4p, 5000M
/: Bus 01.Port 1: Dev 1, Class=root_hub, Driver=xhci_hcd/4p, 480M
|__ Port 1: Dev 2, If 0, Class=Human Interface Device, Driver=usbhid, 480M
|__ Port 2: Dev 3, If 0, Class=Human Interface Device, Driver=usbhid, 480M
Its looks like some passthrough as but it seems like only for
_ Port 3: Dev 8, If 3, Class=Human Interface Device, Driver=usbhid,
12M
I am not sure if passthrough even works because this post I saw
https://community.arm.com/developer/ip-products/system/f/embedded-
forum/48031/usb-pass-through-in-qemu-command-line-for-arm-
machines/168764#168764
To manage notifications about this bug go to:
https://bugs.launchpad.net/qemu/+bug/1920752/+subscriptions
^ permalink raw reply [flat|nested] 9+ messages in thread
* [Bug 1920752] Re: USB SoundCard Passthrough not working on arm64
2021-03-22 12:15 [Bug 1920752] [NEW] USB SoundCard Passthrough not working on arm64 Ravishankar
` (5 preceding siblings ...)
2021-04-22 10:59 ` Ravishankar
@ 2021-05-03 8:05 ` Ravishankar
2021-05-15 10:45 ` Thomas Huth
7 siblings, 0 replies; 9+ messages in thread
From: Ravishankar @ 2021-05-03 8:05 UTC (permalink / raw)
To: qemu-devel
One more point. The solution above is not usb passthrough.
I just noticed that qemu needs to be configured for usb passthrough. I am trying that out now
Configure with --enable-libusb
libusb libusb (for usb passthrough)
--
You received this bug notification because you are a member of qemu-
devel-ml, which is subscribed to QEMU.
https://bugs.launchpad.net/bugs/1920752
Title:
USB SoundCard Passthrough not working on arm64
Status in QEMU:
New
Bug description:
Hello,
I am virtualizing a armhf guest on a aarch64 host and was to use my
Sound Blaster USB Soundcard as passthrough.
armhf Guest is: Debian Buster
aarch64 host is a jetson nano. KVM is enabled.
Latest qemu is built from sources.
The command I use for running is as follows:
../qemu/build/qemu-system-aarch64 -M virt -m 2048 -smp 2 -cpu host,aarch64=off -enable-kvm \
-kernel vmlinuz-4.19.0-14-armmp-lpae -initrd initrd.img-4.19.0-14-armmp-lpae -append 'root=/dev/vda2' \
-device nec-usb-xhci -device usb-kbd -device usb-mouse -device usb-host,hostbus=1,hostport=2.3 -serial stdio \
-device virtio-gpu-pci,virgl=on,xres=1600,yres=900 -display sdl,gl=on \
-drive if=none,file=hda2.qcow2,format=qcow2,id=hd -device virtio-blk-device,drive=hd \
-netdev user,id=mynet -device virtio-net-device,netdev=mynet \
-bios edk2-arm-code.fd -no-reboot
Where are my lsusb -t shows:
rreddy78@jetson-nano:~/Downloads$ lsusb -t
/: Bus 02.Port 1: Dev 1, Class=root_hub, Driver=tegra-xusb/4p, 5000M
|__ Port 1: Dev 3, If 0, Class=Hub, Driver=hub/4p, 5000M
/: Bus 01.Port 1: Dev 1, Class=root_hub, Driver=tegra-xusb/5p, 480M
|__ Port 2: Dev 6, If 0, Class=Hub, Driver=hub/4p, 480M
|__ Port 1: Dev 7, If 0, Class=Human Interface Device, Driver=usbhid, 1.5M
|__ Port 1: Dev 7, If 1, Class=Human Interface Device, Driver=usbhid, 1.5M
|__ Port 3: Dev 8, If 3, Class=Human Interface Device, Driver=usbhid, 12M
|__ Port 3: Dev 8, If 1, Class=Audio, Driver=snd-usb-audio, 12M
|__ Port 3: Dev 8, If 2, Class=Audio, Driver=snd-usb-audio, 12M
|__ Port 3: Dev 8, If 0, Class=Audio, Driver=snd-usb-audio, 12M
|__ Port 4: Dev 9, If 0, Class=Human Interface Device, Driver=usbhid, 1.5M
Within the VM I can see the usb as follows
rreddy78@debian:~$ lsusb -t
/: Bus 02.Port 1: Dev 1, Class=root_hub, Driver=xhci_hcd/4p, 5000M
/: Bus 01.Port 1: Dev 1, Class=root_hub, Driver=xhci_hcd/4p, 480M
|__ Port 1: Dev 2, If 0, Class=Human Interface Device, Driver=usbhid, 480M
|__ Port 2: Dev 3, If 0, Class=Human Interface Device, Driver=usbhid, 480M
Its looks like some passthrough as but it seems like only for
_ Port 3: Dev 8, If 3, Class=Human Interface Device, Driver=usbhid,
12M
I am not sure if passthrough even works because this post I saw
https://community.arm.com/developer/ip-products/system/f/embedded-
forum/48031/usb-pass-through-in-qemu-command-line-for-arm-
machines/168764#168764
To manage notifications about this bug go to:
https://bugs.launchpad.net/qemu/+bug/1920752/+subscriptions
^ permalink raw reply [flat|nested] 9+ messages in thread
* [Bug 1920752] Re: USB SoundCard Passthrough not working on arm64
2021-03-22 12:15 [Bug 1920752] [NEW] USB SoundCard Passthrough not working on arm64 Ravishankar
` (6 preceding siblings ...)
2021-05-03 8:05 ` Ravishankar
@ 2021-05-15 10:45 ` Thomas Huth
7 siblings, 0 replies; 9+ messages in thread
From: Thomas Huth @ 2021-05-15 10:45 UTC (permalink / raw)
To: qemu-devel
Closing as requested in comment #6
** Changed in: qemu
Status: New => Invalid
--
You received this bug notification because you are a member of qemu-
devel-ml, which is subscribed to QEMU.
https://bugs.launchpad.net/bugs/1920752
Title:
USB SoundCard Passthrough not working on arm64
Status in QEMU:
Invalid
Bug description:
Hello,
I am virtualizing a armhf guest on a aarch64 host and was to use my
Sound Blaster USB Soundcard as passthrough.
armhf Guest is: Debian Buster
aarch64 host is a jetson nano. KVM is enabled.
Latest qemu is built from sources.
The command I use for running is as follows:
../qemu/build/qemu-system-aarch64 -M virt -m 2048 -smp 2 -cpu host,aarch64=off -enable-kvm \
-kernel vmlinuz-4.19.0-14-armmp-lpae -initrd initrd.img-4.19.0-14-armmp-lpae -append 'root=/dev/vda2' \
-device nec-usb-xhci -device usb-kbd -device usb-mouse -device usb-host,hostbus=1,hostport=2.3 -serial stdio \
-device virtio-gpu-pci,virgl=on,xres=1600,yres=900 -display sdl,gl=on \
-drive if=none,file=hda2.qcow2,format=qcow2,id=hd -device virtio-blk-device,drive=hd \
-netdev user,id=mynet -device virtio-net-device,netdev=mynet \
-bios edk2-arm-code.fd -no-reboot
Where are my lsusb -t shows:
rreddy78@jetson-nano:~/Downloads$ lsusb -t
/: Bus 02.Port 1: Dev 1, Class=root_hub, Driver=tegra-xusb/4p, 5000M
|__ Port 1: Dev 3, If 0, Class=Hub, Driver=hub/4p, 5000M
/: Bus 01.Port 1: Dev 1, Class=root_hub, Driver=tegra-xusb/5p, 480M
|__ Port 2: Dev 6, If 0, Class=Hub, Driver=hub/4p, 480M
|__ Port 1: Dev 7, If 0, Class=Human Interface Device, Driver=usbhid, 1.5M
|__ Port 1: Dev 7, If 1, Class=Human Interface Device, Driver=usbhid, 1.5M
|__ Port 3: Dev 8, If 3, Class=Human Interface Device, Driver=usbhid, 12M
|__ Port 3: Dev 8, If 1, Class=Audio, Driver=snd-usb-audio, 12M
|__ Port 3: Dev 8, If 2, Class=Audio, Driver=snd-usb-audio, 12M
|__ Port 3: Dev 8, If 0, Class=Audio, Driver=snd-usb-audio, 12M
|__ Port 4: Dev 9, If 0, Class=Human Interface Device, Driver=usbhid, 1.5M
Within the VM I can see the usb as follows
rreddy78@debian:~$ lsusb -t
/: Bus 02.Port 1: Dev 1, Class=root_hub, Driver=xhci_hcd/4p, 5000M
/: Bus 01.Port 1: Dev 1, Class=root_hub, Driver=xhci_hcd/4p, 480M
|__ Port 1: Dev 2, If 0, Class=Human Interface Device, Driver=usbhid, 480M
|__ Port 2: Dev 3, If 0, Class=Human Interface Device, Driver=usbhid, 480M
Its looks like some passthrough as but it seems like only for
_ Port 3: Dev 8, If 3, Class=Human Interface Device, Driver=usbhid,
12M
I am not sure if passthrough even works because this post I saw
https://community.arm.com/developer/ip-products/system/f/embedded-
forum/48031/usb-pass-through-in-qemu-command-line-for-arm-
machines/168764#168764
To manage notifications about this bug go to:
https://bugs.launchpad.net/qemu/+bug/1920752/+subscriptions
^ permalink raw reply [flat|nested] 9+ messages in thread
end of thread, other threads:[~2021-05-15 10:56 UTC | newest]
Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-03-22 12:15 [Bug 1920752] [NEW] USB SoundCard Passthrough not working on arm64 Ravishankar
2021-03-22 13:24 ` [Bug 1920752] " Philippe Mathieu-Daudé
2021-03-22 14:50 ` Ravishankar
2021-03-22 14:51 ` Ravishankar
2021-03-26 9:59 ` Gerd Hoffmann
2021-04-22 10:32 ` Ravishankar
2021-04-22 10:59 ` Ravishankar
2021-05-03 8:05 ` Ravishankar
2021-05-15 10:45 ` Thomas Huth
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.