Welcome, Guest
Username: Password: Remember me
NOTE: This forum is community powered. Please be mindful that long time community members are here to help as part of a community effort. If you have a specific issue (e.g. hardware, failure), please use our tech support portal (Support menu - > Contact Us). Thanks a lot of your help in making a better community. :-)

TOPIC: U-DAC 8 / Ubuntu / Alsa / Configuration Issue

U-DAC 8 / Ubuntu / Alsa / Configuration Issue 1 year 1 month ago #21975

  • kalexm
  • kalexm's Avatar
  • Offline
  • Fresh Boarder
  • Posts: 10
  • Thank you received: 1
  • Karma: 0
Hi,

-- context - skip as irrelevant for the problem --

DHL dropped the parcel yesterday and I am the proud owner of a U-DAC 8. I already have a Odroid XU4 running as a media server for all rooms and as it is located near the main stereo it is also a music client. An USB Spdif Interface is already streaming music for a couple of months to my AVR. As I have a sharc running as an FIR X-Over I have some experience in FIR Crossovers. The Sharc is somewhat limited in FIR and thus Bass resolution - I plan to use the odroid with linux and brutefir as a crossover. The U-Dac provides 8 channels too. The odroid is capable of 132k Taps and more runnning 8 channels at less than 20% CPU. Now I need to integrate and the linux fiddling fun strikes back...

-- context - skip as irrelevant for the problem --


--- the problem

ODroid XU4 running Ubuntu style Linux. U-Dac 8 connected.

dmesg shows device is correctly recognized:

[16225.585975] [c0] usb 1-1.2: USB disconnect, device number 4
[16229.103605] [c0] usb 1-1.2: new high-speed USB device number 6 using s5p-ehci


aplay -l shows:

[email protected]:~# aplay -l
**** List of PLAYBACK Hardware Devices ****
card 0: odroidaudio [odroid-audio], device 0: i2s0-pri dummy-aif1-0 []
Subdevices: 1/1
Subdevice #0: subdevice #0
card 0: odroidaudio [odroid-audio], device 1: i2s-sec dummy-aif2-1 []
Subdevices: 1/1
Subdevice #0: subdevice #0
card 1: USBStreamer [USBStreamer], device 0: USB Audio [USB Audio]
Subdevices: 1/1
Subdevice #0: subdevice #0
card 2: Device [USB PnP Sound Device], device 0: USB Audio [USB Audio]
Subdevices: 1/1
Subdevice #0: subdevice #0


USBStreamer is listed.

aplay -L shows:


[email protected]:~# aplay -L
null
Discard all samples (playback) or generate zero samples (capture)
pulse
PulseAudio Sound Server
dmixer
DMixer for hw:0,0
default
plugdmixer
plugequal
Equalizer for DMixer
equal
sysdefault:CARD=odroidaudio
odroid-audio,
Default Audio Device
dmix:CARD=odroidaudio,DEV=0
odroid-audio,
Direct sample mixing device
dmix:CARD=odroidaudio,DEV=1
odroid-audio,
Direct sample mixing device
dsnoop:CARD=odroidaudio,DEV=0
odroid-audio,
Direct sample snooping device
dsnoop:CARD=odroidaudio,DEV=1
odroid-audio,
Direct sample snooping device
hw:CARD=odroidaudio,DEV=0
odroid-audio,
Direct hardware device without any conversions
hw:CARD=odroidaudio,DEV=1
odroid-audio,
Direct hardware device without any conversions
plughw:CARD=odroidaudio,DEV=0
odroid-audio,
Hardware device with all software conversions
plughw:CARD=odroidaudio,DEV=1
odroid-audio,
Hardware device with all software conversions
sysdefault:CARD=USBStreamer
USBStreamer, USB Audio
Default Audio Device
front:CARD=USBStreamer,DEV=0
USBStreamer, USB Audio
Front speakers
surround21:CARD=USBStreamer,DEV=0
USBStreamer, USB Audio
2.1 Surround output to Front and Subwoofer speakers
surround40:CARD=USBStreamer,DEV=0
USBStreamer, USB Audio
4.0 Surround output to Front and Rear speakers
surround41:CARD=USBStreamer,DEV=0
USBStreamer, USB Audio
4.1 Surround output to Front, Rear and Subwoofer speakers
surround50:CARD=USBStreamer,DEV=0
USBStreamer, USB Audio
5.0 Surround output to Front, Center and Rear speakers
surround51:CARD=USBStreamer,DEV=0
USBStreamer, USB Audio
5.1 Surround output to Front, Center, Rear and Subwoofer speakers
surround71:CARD=USBStreamer,DEV=0
USBStreamer, USB Audio
7.1 Surround output to Front, Center, Side, Rear and Woofer speakers
iec958:CARD=USBStreamer,DEV=0
USBStreamer, USB Audio
IEC958 (S/PDIF) Digital Audio Output
dmix:CARD=USBStreamer,DEV=0
USBStreamer, USB Audio
Direct sample mixing device
dsnoop:CARD=USBStreamer,DEV=0
USBStreamer, USB Audio
Direct sample snooping device
hw:CARD=USBStreamer,DEV=0
USBStreamer, USB Audio
Direct hardware device without any conversions
plughw:CARD=USBStreamer,DEV=0
USBStreamer, USB Audio
Hardware device with all software conversions
sysdefault:CARD=Device
USB PnP Sound Device, USB Audio
Default Audio Device
front:CARD=Device,DEV=0
USB PnP Sound Device, USB Audio
Front speakers
surround21:CARD=Device,DEV=0
USB PnP Sound Device, USB Audio
2.1 Surround output to Front and Subwoofer speakers
surround40:CARD=Device,DEV=0
USB PnP Sound Device, USB Audio
4.0 Surround output to Front and Rear speakers
surround41:CARD=Device,DEV=0
USB PnP Sound Device, USB Audio
4.1 Surround output to Front, Rear and Subwoofer speakers
surround50:CARD=Device,DEV=0
USB PnP Sound Device, USB Audio
5.0 Surround output to Front, Center and Rear speakers
surround51:CARD=Device,DEV=0
USB PnP Sound Device, USB Audio
5.1 Surround output to Front, Center, Rear and Subwoofer speakers
surround71:CARD=Device,DEV=0
USB PnP Sound Device, USB Audio
7.1 Surround output to Front, Center, Side, Rear and Woofer speakers
iec958:CARD=Device,DEV=0
USB PnP Sound Device, USB Audio
IEC958 (S/PDIF) Digital Audio Output
dmix:CARD=Device,DEV=0
USB PnP Sound Device, USB Audio
Direct sample mixing device
dsnoop:CARD=Device,DEV=0
USB PnP Sound Device, USB Audio
Direct sample snooping device
hw:CARD=Device,DEV=0
USB PnP Sound Device, USB Audio
Direct hardware device without any conversions
plughw:CARD=Device,DEV=0
USB PnP Sound Device, USB Audio
Hardware device with all software conversions

When using brutefir aplay or speaker test it shows configuration errors:

[email protected]:~# speaker-test -D surround71:Device -c 8 -t wav

speaker-test 1.0.28

Playback device is surround71:Device
Stream parameters are 48000Hz, S16_LE, 8 channels
WAV file(s)
Broken configuration for playback: no configurations available: Invalid argument
Setting of hwparams failed: Invalid argument


Alsa Version is:
[email protected]:~# cat /proc/asound/version
Advanced Linux Sound Architecture Driver Version k3.10.82-39.

Linux Version:
Distributor ID: Ubuntu
Description: Ubuntu 15.04
Release: 15.04
Codename: vivid



I would expect 8 subdevices with the USBStreamer U-DAC 8. They are not listed and for some reason I guess some configuration is missing. USB sound works in general as proven with my SPDIF interface. Does someone has an idea what I am missing?

best,

Alex
The administrator has disabled public write access.

U-DAC 8 / Ubuntu / Alsa / Configuration Issue 1 year 4 weeks ago #22006

  • devteam
  • devteam's Avatar
  • Offline
  • Administrator
  • Posts: 5108
  • Thank you received: 632
  • Karma: 119
@ Alex,

Debugging under Linux would be hard since we haven't done much test I'm afraid as we're not Linux gurus on driver dev. There are quite few people using USBStreamer (i.e. exact same firmware as the UDAC8) on Linux and you can find more info online. There is a good thread here: www.minidsp.com/forum/usbstreamer/10128-...ording-linux?start=6

Most likely the issue could be a non standard Linux dist (Odroid XU4 hw) .. maybe debug of a real x86.. Just a thought.

DevTeam
MiniDSP, building a DIY DSP community one board at a time.
The administrator has disabled public write access.
The following user(s) said Thank You: kalexm

U-DAC 8 / Ubuntu / Alsa / Configuration Issue 1 year 2 weeks ago #22200

  • kalexm
  • kalexm's Avatar
  • Offline
  • Fresh Boarder
  • Posts: 10
  • Thank you received: 1
  • Karma: 0
The problem is solved. It was so darn trivial: THE DEVICE WAS MUTED....

Simply opened the alsamixer: chose the device and press 'm' the 'MM' will disappear. Beautiful sound!
The administrator has disabled public write access.

U-DAC 8 / Ubuntu / Alsa / Configuration Issue 1 year 2 weeks ago #22215

  • devteam
  • devteam's Avatar
  • Offline
  • Administrator
  • Posts: 5108
  • Thank you received: 632
  • Karma: 119
hehehe.. yes, without a mute it's sounding even better! ;-)
Thanks for the update and glad to hear that you've worked it out.

DevTeam
MiniDSP, building a DIY DSP community one board at a time.
The administrator has disabled public write access.
Time to create page: 0.128 seconds