![]() |
USB SPDIF Configuration? - Printable Version +- Moode Forum (https://moodeaudio.org/forum) +-- Forum: moOde audio player (https://moodeaudio.org/forum/forumdisplay.php?fid=3) +--- Forum: Support (https://moodeaudio.org/forum/forumdisplay.php?fid=7) +--- Thread: USB SPDIF Configuration? (/showthread.php?tid=6101) |
USB SPDIF Configuration? - SerbJ - 01-03-2024 I have been up and running for 2 days, now. Very happy with the sound and interfacing with an old iPad. ![]() I had been running with a Peachtree X1 converter. This is an older converter, but the software identified it and works nicely. Today, I tried switching to a Douk Audio U2 Pro. It auto configures it to HIFI DSD, and does not provide an other option outside of the headphone and HDMI. This converter does support DSD and PCM. It starts out at PCM, but Moode switches it to DSD. FWIW, I run the converters on the USB 2.0 ports, and the memory stick on the USB 3.0 ones. I didn't find anything in the documentation or searches on the forum. Douk says it is compatable with Native Linux with UAC2 (no driver needed). I'm not sure what that all means. If this is not configurable, is there a list of the USB to SPDIF converters that are supported? RE: USB SPDIF Configuration? - Tim Curtis - 01-03-2024 What happens when you play a PCM file? RE: USB SPDIF Configuration? - SerbJ - 01-04-2024 (01-03-2024, 11:08 PM)Tim Curtis Wrote: What happens when you play a PCM file? The indicator on the converter stays on DSD and no sound comes out. When it was on the laptop (W10), it ran fine and indicater was on PCM. RE: USB SPDIF Configuration? - Tim Curtis - 01-04-2024 It's not obvious to me what might be happening with this particular device. moOde uses the stock Linux kernel USB audio driver. RE: USB SPDIF Configuration? - DRONE7 - 01-04-2024 I see that the manufacturers site has this to say... "Please set the volume of operation system to maximum(100) if you want to listen to DSD music." Not sure what that entails but assume they expect MoOde to be set at 100% output and you have a downstream control for system volume. https://doukaudio.com/products/douk-audio-u2-pro-xmos-xu208-usb-to-coax-opt-hdmi-converter-digital-interface-dsd256 RE: USB SPDIF Configuration? - SerbJ - 01-04-2024 (01-04-2024, 06:39 AM)DRONE7 Wrote: I see that the manufacturers site has this to say... My library is flac, so want it to output pcm. It does say this about Linux, but don't know linux archetecture or what specificly is used in Moode/Pi4. an use the system's own driver. And Native Linux with UAC2 compliant kernel also can use the system's own driver.(Has tested on Ubuntu and Daphile systems, based on INTEL X86)
RE: USB SPDIF Configuration? - Tim Curtis - 01-04-2024 moOde uses Linux kernel 6.1.21 as shipped with Raspberry Pi OS Bulleseye. The USB audio driver in Linux has been UAC2 compliant for many years and works perfectly with most USB audio devices. Your particular audio device may not be compatible with modern Linux kernels. Maybe ask the manufacture if they tested on Raspberry Pi OS and kernel 6.1.21. RE: USB SPDIF Configuration? - SerbJ - 01-04-2024 (01-04-2024, 02:57 PM)Tim Curtis Wrote: moOde uses Linux kernel 6.1.21 as shipped with Raspberry Pi OS Bulleseye. The USB audio driver in Linux has been UAC2 compliant for many years and works perfectly with most USB audio devices. I sent the question, but I highly doubt the answer will be yes. I did ask if there is a way to force the PCM vs DSD output. I highly suspect that the issue is that this device supports both. Linux is defaulting to the USB/DSD vs USB/PCM. This was purchased just a year ago and is still in production, where as the Peachtree X1 has long been out of production. While it would drive a case change, does it support HiFiBerry DIGI2 Pro SPDIF hat? RE: USB SPDIF Configuration? - Tim Curtis - 01-04-2024 Yes, as long as there is an I2S driver for that board in the Linux kernel. The list of Hifiberry drivers currently in kernel 6.1.21 is below. I don't know which driver if any is for that particular board. You may want ask Hifiberry. Code: pi@moode:~ $ ls -l /boot/overlays/hifiberry* RE: USB SPDIF Configuration? - TheOldPresbyope - 01-04-2024 @SerbJ I'm having trouble deciding what the Douk website is saying about your device but I do see words like "XMOS XU208" (which is the microcontroller which handles the USB interface), and PCM, native DSD, and DSD over PCM (DoP). These put it in the same class as my Khadas Tone 1 Board which also uses the XMOS XU208 microcontroller to handle the USB input and, in this case, an onboard ESS ES9038Q2M DAC chip. There's no onboard PCM/DSD indicator or bitrate display such as the Topping DACs have. My board has no trouble playing native PCM streams, native DSD streams, and DoP streams from moOde. Like many USB DACs in its price range, it offers hardware volume control only of PCM streams so, like your device, it requires downstream volume control for incoming DSD streams. That's not a big deal for me because I have only a smattering of DSD-encoded tracks which I use mostly for testing purposes. Out of curiosity, what output do you get when you run the alsacap command from the moOde command line? Here's what I get Code: pi@moode837:~ $ alsacap As you can see, the Khadas Tone 1 is ALSA Card 2. It has informed Linux that it can accept 32-bit PCM (the S32_LE format) and 32-bit DSD (the DSD_U32_BE format). ETA - I wrote the above without thinking. DSD is a 1-bit encoding scheme. That "32-bit DSD" refers to the way the bits are packed into bytes/words. I have no trouble playing PCM tracks (such as my extensive collection of FLAC tracks) or DSD tracks through my Khadas Tone1. The ESS 9038 chip can accept either native DSD or DoP; my preference is to stream native DSD. Here's what the "audio info" feature of moOde returns for a FLAC track I just played using hardware volume control (software volume control would have worked as well) - Code: INPUT / OUTPUT and a DSD track playing with mooOde's volume type set to "Fixed (0dB output)" Code: INPUT / OUTPUT Regards, Kent |