¿ªÔÆÌåÓý

ctrl + shift + ? for shortcuts
© 2025 Groups.io

USB Audio Passthrough - Newbie Question


 

¿ªÔÆÌåÓý

I am attempting to run several Ham Radio apps in a guest Ubuntu 22.04.1, on a MBP MacOS (Catalina) host. ?I¡¯ll explain why later if it is of interest.
These apps need access to a combo USB audio codec and serial port device called DigiRig. ?I do not know how to make these interfaces available within the VM for these apps. ?In Linux, the apps would use ?plughw:X,Y for audio and /dev/tty.<etc.> for serial port.
One of the apps is an AFSK modem called ¡°ARDOPC¡±.

I¡¯m very new to QEMU, and might have gotten in too deep too quickly with the command line. ?I¡¯m using the following command script cobbled together from several posts:

```
qemu-system-x86_64 \
?? -m 4G \
?? -vga std \
?? -display default,show-cursor=on \
?? -usb \
?? -device usb-host,vendorid=3468,productid=316 \
?? -device usb-tablet \
?? -smp 2 \
?? -drive file=ubuntu.qcow2,if=virtio \
?? -cpu host \
?? -machine type=q35,accel=hvf \
```


The QEMU emulator version 7.2.0 with Ubuntu seems to work fine, but aplay and arecord -l show no audio devices.
Any suggestions would be appreciated.

New Call; N1YB, but haven¡¯t changed my login on .
- Gary





 

You appear to be on the right track.? Here is what my script looks like.

emu-system-s390x? -display none -machine s390-ccw-virtio -m 2048M -cpu max,zpci=on,msa5-base=off -drive file=dasd/ubuntu.qcow2,format=qcow2 \
?-net nic,model=virtio \
-vnc 127.0.0.1:4 \
??? -net nic \
??? -net user,id=user.0,hostfwd=tcp::5555-:22 &



regards;

Rahim
?



??



On Friday, January 6, 2023 at 05:27:39 PM CST, AC1CE <gde.email@...> wrote:


I am attempting to run several Ham Radio apps in a guest Ubuntu 22.04.1, on a MBP MacOS (Catalina) host. ?I¡¯ll explain why later if it is of interest.
These apps need access to a combo USB audio codec and serial port device called DigiRig. ?I do not know how to make these interfaces available within the VM for these apps. ?In Linux, the apps would use ?plughw:X,Y for audio and /dev/tty.<etc.> for serial port.
One of the apps is an AFSK modem called ¡°ARDOPC¡±.

I¡¯m very new to QEMU, and might have gotten in too deep too quickly with the command line. ?I¡¯m using the following command script cobbled together from several posts:

```
qemu-system-x86_64 \
?? -m 4G \
?? -vga std \
?? -display default,show-cursor=on \
?? -usb \
?? -device usb-host,vendorid=3468,productid=316 \
?? -device usb-tablet \
?? -smp 2 \
?? -drive file=ubuntu.qcow2,if=virtio \
?? -cpu host \
?? -machine type=q35,accel=hvf \
```


The QEMU emulator version 7.2.0 with Ubuntu seems to work fine, but aplay and arecord -l show no audio devices.
Any suggestions would be appreciated.

New Call; N1YB, but haven¡¯t changed my login on .
- Gary





 

Thanks, Rahim, for the quick response. But, I do not see anything in your script that relates to USB devices. Can you fill me in?

- Gary


 

This link maybe can help.??


regards;

Rahim



??



On Saturday, January 7, 2023 at 11:44:16 AM CST, AC1CE <gde.email@...> wrote:


Thanks, Rahim, for the quick response.? But, I do not see anything in your script that relates to USB devices.? Can you fill me in?

- Gary








 

¿ªÔÆÌåÓý

Thanks again Rahim,
I found the solution to be starting QEMU as root. ?I may have had the vendor and product IDs wrong, too. ?I now have access to audio codec in the guest.
I appreciate the quick responses. ?Much obliged. ?I¡¯m sure I will have more questions as this project moves along.

- Gary

On Jan 7, 2023, at 2:37 PM, Rahim Azizarab via <rahimazizarab@...> wrote:

This link maybe can help.??


regards;

Rahim



??



On Saturday, January 7, 2023 at 11:44:16 AM CST, AC1CE <gde.email@...> wrote:


Thanks, Rahim, for the quick response.? But, I do not see anything in your script that relates to USB devices.? Can you fill me in?

- Gary