![]() |
|
OpenBSD General Other questions regarding OpenBSD which do not fit in any of the categories below. |
![]() |
|
Thread Tools | Display Modes |
|
|||
![]()
Hi there,
fairly recent OpenBSD convert here after a decade on linux. I must say I am pleasantly surprised how often I can just do what "feels like it should work" and it actually works. Nice. However, I still have some things to work out. I am now trying to connect a Focusrite Scarlett 2i4 USB DAC to my OpenBSD system to use as an external sound card. From what I have figured out so far, it seems I need to point an audio "device" (probably audio1) at the one of the stereo output channels of the Scarlett. If I understand these two correctly, the interface should show up in dmesg as connected to audio1 with a line like: Code:
audio1 at uaudio0 Here is my $ dmesg | grep audio Code:
audio0 at azalia1 uaudio0 at uhub0 port 4 configuration 1 interface 0 "Focusrite Scarlett 2i4 USB" rev 2.00/1.25 addr 3 uaudio0: audio descriptors make no sense, error=4 uaudio1 at uhub0 port 4 configuration 1 interface 3 "Focusrite Scarlett 2i4 USB" rev 2.00/1.25 addr 3 uaudio1: audio descriptors make no sense, error=4 uaudio0 detached uaudio1 detached uaudio0 at uhub0 port 4 configuration 1 interface 0 "Focusrite Scarlett 2i4 USB" rev 2.00/1.25 addr 3 uaudio0: audio descriptors make no sense, error=4 uaudio1 at uhub0 port 4 configuration 1 interface 3 "Focusrite Scarlett 2i4 USB" rev 2.00/1.25 addr 3 uaudio1: audio descriptors make no sense, error=4 I did not find a solution (or did not recognize it as the solution) in the man pages of sndio, sndiod, audio, audioctl, or mixerctl. Where else did I miss to look? Any help would be greatly appreciated. Thanks, Os |
|
|||
![]()
First thing to check: is this connected to a USB 3.0 port? uaudio doesn't work on USB 3.0 ports (yet); connect it to a USB 2.0 port if you can.
|
|
|||
![]()
Ah, that is mighty good to know! It is indeed connected to a USB 3.0 port. I cannot right now but I'll check what happens when switching it over to a 2.0 port as soon as I can tomorrow and report back.
Thanks, Os |
|
|||
![]()
Now I moved the DAC over to a USB 2.0 port. Still no
Code:
audio1 at uaudio0 Code:
audio0 at azalia1 uaudio0 at uhub3 port 5 configuration 1 interface 0 "Focusrite Scarlett 2i4 USB" rev 2.00/1.25 addr 2 uaudio0: audio descriptors make no sense, error=4 uaudio1 at uhub3 port 5 configuration 1 interface 3 "Focusrite Scarlett 2i4 USB" rev 2.00/1.25 addr 2 uaudio1: audio descriptors make no sense, error=4 Code:
audio audio0 audio1 audio2 audioctl audioctl0 audioctl1 audioctl2 Quote:
Thanks, Os |
|
|||
![]()
You are trying to use a Class 2 USB Audio (UAC2) device, and these aren't supported in OpenBSD, only UAC1. A popular UAC1 device with a combined DAC/ADC is the Behringer UCA200/202/222, but there are also separates like the ODAC rev. B and Altor's experimental Olivine ADC.
|
|
|||
![]()
@Paianni
Ah, now that sounds like it may solve my problem, thanks! A quick sifting through some USB info seems to suggest that the UAC standard numbers are tied to the general USB standard releases, meaning all USB 1.x devices should have UAC1, all USB 2.x devices should be UAC2 etc. Can anyone confirm ore refute that? If my assumption is correct that would mean I should be able to use a Behringer Xenyx 302 USB, which seems to be USB 1.1 (according to a customer review complaining about this fact, although the manufacturer does not bother to say so anywhere in the obtainable official info) . Has anyone by any chance thried this particular device? It does have a few handy features that the UCA2xx series is missing. Thanks again, Os |
|
|||
![]() Quote:
Last edited by Paianni; 28th October 2018 at 05:48 PM. |
|
|||
![]()
@ Paianni
Quote:
Indeed the Behringer Xenyx 302 USB is 16-bit @ 48 kHz, so indeed not what most people would consider "studio quality". But since I need the thing mainly as a flexible audio output device (D to A) for home entertainment purposes that is not too big a concern to me. I might use it for some quick sketching of musical ideas, but the fact that OpenBSD does not support USB 2.0 audio means that my Linux machine together with the rather good sounding Focusrite interface will remain my actual recording station for the time being. Best Regards, Os |
|
|||
![]()
This may help get your audio device working:
https://marc.info/?l=openbsd-tech&m=154627230907954&w=2 |
|
|||
![]()
Very interesting, and it has been updated https://blog.jdslabs.com/2017/04/odac-vs-ol-dac/
|
|
|||
![]()
USB audio devices may work on USB 3.0 ports now:
https://marc.info/?l=openbsd-cvs&m=155269204722555&w=2 (This commit will make 6.5) |
|
|||
![]()
Support for USB audio is being upgraded from Class 1 to Class 2 in 6.5 as well... https://www.openbsd.org/65.html
Quote:
|
![]() |
Tags |
audio, dac |
Thread Tools | |
Display Modes | |
|
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
how to run 5.1 sound card | philo_neo71 | NetBSD Package System (pkgsrc) | 2 | 7th March 2016 07:45 PM |
USB sound card | J65nko | General Hardware | 3 | 1st November 2014 05:12 PM |
Video card instead of sound card | ripe | OpenBSD General | 12 | 2nd May 2013 04:02 PM |
Getting Xfce4 to recognize sound card | harishankar | NetBSD General | 5 | 13th November 2011 10:30 AM |
Recording sound with external sound card | backrow | OpenBSD General | 5 | 21st August 2009 08:17 PM |