Page 1 of 1
USB Audio
Posted: Sun Nov 01, 2020 9:25 pm
by CarlosRobayo23
Hello everyone.
Is there any way to get audio from USB. I would like to connect a wireless headset that comes with a USB dongle/transmitter. I already tried connecting the dongle to the OTC hub but I didn’t get any audio.
Re: USB Audio
Posted: Mon Nov 02, 2020 4:30 pm
by AngelicLiver
My understanding is that no, this would not be possible without significant modification to the Linux sub-system (and potentially drivers for the dongle).
Re: USB Audio
Posted: Mon Nov 02, 2020 6:43 pm
by zource
I was able to get sound from my simple USB sound dongle. My USB sound dognle drivers was recognized. You can check with aplay -l
/usr/share/alsa# aplay -l
**** List of PLAYBACK Hardware Devices ****
card 0: Dummy [Dummy], device 0: Dummy PCM [Dummy PCM]
Subdevices: 8/8
Subdevice #0: subdevice #0
Subdevice #1: subdevice #1
Subdevice #2: subdevice #2
Subdevice #3: subdevice #3
Subdevice #4: subdevice #4
Subdevice #5: subdevice #5
Subdevice #6: subdevice #6
Subdevice #7: subdevice #7
card 1: Device [USB PnP Sound Device], device 0: USB Audio [USB Audio]
Subdevices: 1/1
Subdevice #0: subdevice #0
I changed card 0 to card 1 in /usr/share/alsa/alsa.conf and I changed to card 1 on: /etc/asound.conf
I hear the sound when I play a wave file:
aplay /usr/share/sounds/alsa/Front_Right.wav
But somehow I am not able to get sound from the different cores
Re: USB Audio
Posted: Tue Nov 03, 2020 12:59 am
by Newsdee
I don't think the cores send the mixed audio to the linux side for output.
Re: USB Audio
Posted: Tue Nov 03, 2020 6:45 pm
by aberu
You all are correct. The audio is not sent to the linux side of things, so unless you heavily modified the code of the MiSTer platform in general, usb audio devices won't work.
Re: USB Audio
Posted: Sat Nov 07, 2020 4:06 pm
by Mellified
Note that external MIDI sound modules (Roland MT-32 etc) do work. Linux is providing ALSA detection and MidiLink is integrated as well. Additionally, cores have a UART setting, which is set to send audio from the core to the MidiLink driver.
So it is possible, but probably not something we'll see anytime soon.