Is there any DAC compatible with FreeBSD?

inf3rno

Member

Reaction score: 6
Messages: 72

I decided to move from Windows 7 to a BSD or Linux OS on desktop and I'll start a home server probably with FreeBSD. I have a few concerns because I have a few USB devices which has drivers / applications only for Windows. One of them is a Suunto Ambit3 sport watch, the other is a Sabaj D3 DAC. I asked both companies if they could support Linux or BSD, but they did not like the idea. It was a hard decision, but I decided to give my DAC to my brother and buy a new one. I'd like to know if there is any DAC (around $100) that works on the other side of the OS realm. I know this is a little bit grey zone, because the question is not just about FreeBSD, sorry for that.
 

Bobi B.

Well-Known Member

Reaction score: 161
Messages: 378

Since I'm working from home right now :) here it is: FiiO E10K USB DAC:
Code:
ugen0.5: <FiiO DigiHug USB Audio> at usbus0
uhid0 on uhub5
uhid0: <FiiO DigiHug USB Audio, class 0/0, rev 1.10/0.01, addr 5> on usbus0
uaudio0 on uhub5
uaudio0: <FiiO USB DAC-E10> on usbus0
uaudio0: Play: 96000 Hz, 2 ch, 24-bit S-LE PCM format, 2x8ms buffer.
uaudio0: Play: 48000 Hz, 2 ch, 24-bit S-LE PCM format, 2x8ms buffer.
uaudio0: Play: 44100 Hz, 2 ch, 24-bit S-LE PCM format, 2x8ms buffer.
uaudio0: Play: 32000 Hz, 2 ch, 24-bit S-LE PCM format, 2x8ms buffer.
uaudio0: Record: 96000 Hz, 2 ch, 24-bit S-LE PCM format, 2x8ms buffer.
uaudio0: Record: 48000 Hz, 2 ch, 24-bit S-LE PCM format, 2x8ms buffer.
uaudio0: Record: 44100 Hz, 2 ch, 24-bit S-LE PCM format, 2x8ms buffer.
uaudio0: Record: 32000 Hz, 2 ch, 24-bit S-LE PCM format, 2x8ms buffer.
uaudio0: Record: 16000 Hz, 2 ch, 24-bit S-LE PCM format, 2x8ms buffer.
uaudio0: Record: 8000 Hz, 2 ch, 24-bit S-LE PCM format, 2x8ms buffer.
uaudio0: No MIDI sequencer.
pcm0: <USB audio> on uaudio0
uaudio0: HID volume keys found.
Code:
# cat /dev/sndstat
Installed devices:
pcm0: <USB audio> (play/rec) default
# lsusb
Bus /dev/usb Device /dev/ugen0.5: ID 1852:7022 GYROCOM C&C Co., LTD
audio/moc plays music fine. Not sure if higher-fidelity is available, since it is connected to a headless server.
 

SKull

Member

Reaction score: 47
Messages: 79

I decided to move from Windows 7 to a BSD or Linux OS on desktop and I'll start a home server probably with FreeBSD. I have a few concerns because I have a few USB devices which has drivers / applications only for Windows. One of them is a Suunto Ambit3 sport watch, the other is a Sabaj D3 DAC. I asked both companies if they could support Linux or BSD, but they did not like the idea. It was a hard decision, but I decided to give my DAC to my brother and buy a new one. I'd like to know if there is any DAC (around $100) that works on the other side of the OS realm. I know this is a little bit grey zone, because the question is not just about FreeBSD, sorry for that.
As low Ng as the USB audio device isn't extremely peculiar it should work out of the box.
I use a Native Instruments interface that even needs manual driver installation on windows, and yet it works out of the box on FreeBSD.

Except that I haven't figured out yet, how to set it up to use Output 3/4 instead of 1/2. 🙃
 

rigoletto@

Daemon
Developer

Reaction score: 1,141
Messages: 2,201

TL; DR.

The vast majority of the USB DACs support/uses the standard 'USB Audio' driver (non-existent in Windows) and should work out of the box on FreeBSD (and Linux, and likely MacOS).
 

NapoleonWils0n

Well-Known Member

Reaction score: 122
Messages: 259

I also use a Fiio dac connected to a vlink2 by musical fidelity

You can enable bitperfect audio on freebsd which works great with mpd and ncmpc
list your audio devices

Bash:
cat /dev/sndstat
edit /etc/sysctl.conf
replace dev.pcm.2 with the number of your audio device

set vchans to 0 and bitperfect to 1

Bash:
# sysrc dev.pcm.2.play.vchans=0
# sysrc dev.pcm.2.bitperfect=1
note the mpd package is called musicpd on freebsd
 

diizzy

Well-Known Member

Reaction score: 83
Messages: 304

Can report success story with LG Hi-Fi Plus AFD-1200, you can find it quite cheap at various places and is powered by USB so no batteries etc.
 
OP
I

inf3rno

Member

Reaction score: 6
Messages: 72

Wow, thanks! I know the FiiO, I wanted to buy that one or the Sabaj when I decided to buy a DAC. Seeing the answers maybe even this one works with BSD too. I'll try it out. I think there is hope for my Suunto watch too, maybe their application works through Wine and they are supported by the USB driver too.
 

pva

Member

Reaction score: 13
Messages: 38

I might be a bit late to the party, but I'm using the USB edition of JDS Labs' OL DAC ($99):
Code:
uhid0: <Yoyodyne Consulting JDS Labs Element DAC, class 0/0, rev 1.10/0.01, addr 6> on usbus2
uaudio0 on uhub5
uaudio0: <JDS Labs Element DAC> on usbus2
uaudio0: Play: 96000 Hz, 2 ch, 24-bit S-LE PCM format, 2x8ms buffer.
uaudio0: Play: 88200 Hz, 2 ch, 24-bit S-LE PCM format, 2x8ms buffer.
uaudio0: Play: 48000 Hz, 2 ch, 24-bit S-LE PCM format, 2x8ms buffer.
uaudio0: Play: 44100 Hz, 2 ch, 24-bit S-LE PCM format, 2x8ms buffer.
uaudio0: Play: 32000 Hz, 2 ch, 24-bit S-LE PCM format, 2x8ms buffer.
uaudio0: No recording.
uaudio0: No MIDI sequencer.
pcm4: <USB audio> on uaudio0
With the following settings in /etc/sysctl.conf:
Code:
# Assign the default sound unit to the most recently attached device
hw.snd.default_auto=2
# High-quality sample rate conversion
hw.snd.feeder_rate_quality=4
# More verbose /dev/sndstat output
hw.snd.verbose=2
I've also bumped the virtual playback channel up to 88.2 KHz/24 bits per the manufacturer's recommendations (p. 4) in /boot/loader.conf.
For maximum signal fidelity, set the DAC to 24-bit audio and adjust digital volume slightly below 100% at your computer. [...] When using USB mode, set sampling rate to the highest integer multiple of your music collection. For example, use 24/88.2kHz for a collection of 44.1k or 88.2k files. Use 24/96kHz for a collection of 48k or 96k audio files.
Code:
dev.pcm.4.play.vchanformat="s24le:2.0"
dev.pcm.4.play.vchanrate="88200"
 

Alain De Vos

Aspiring Daemon

Reaction score: 131
Messages: 551

I use a general USB scarlet 8i6 focusrite. It works out of the box in Linux, no need for any driver, i.e. usbaudio & alsa.
Could not get it to work in Freebsd.
As long as there is no "qasmixer" application or alternative mixer detecting all channels many will not work ...

ardour5/jack didn't worked neither with my usb-dac.
 
Top