X86 Hardware issues (WiFi, DAC, Disks, Boot etc.)

Yes, the label needs to be one of

"issd", "ihdd", "Internal SSD" or "Internal HDD"

anything else will be skipped, just to make sure that other internal disk devices are not scanned, which can be unneccesary, time-consuming and even unwanted (think of an internal windows disk with its huge list of short beep and whistle sound files becoming part of the music library).

Sorry - I had misread your previous note. I thought you meant I had to create a manual rule myself, not that I was lucky that you’d already done so! My bad. Appreciate you looking it up. But all is well.

If I had a request, it’d be to increase the verbosity and longevity of messaging on the UI during network configuration to avoid this stupid “it seems like it’s working, let me restart and see if it really is” loop I got stuck in. Because it seems that it has been working - it just takes several minutes after reboot to successfully config. And when I had hotspot on, for whatever reason that Wyse device was failing to find the WiFi network immediately some percentage of the time. So I’m better off leaving hotspot totally off post config. Anyways, all is well, and it seems like it’s working stably for 12 hours. I’ll see how it works the next time that my network goes down or I have to power cycle the device. But right now it’s working great!

Cheers, many thanks for the support and what a cool product!

I’m afraid that is a core Volumio issue, unrelated to the x86 build. I can’t help with that.
Glad you’ve got it all running well.

Hi,
I have installed the latest Volumio on a intel nuc.
Add some nas folders etc all without any problem.
Now i connect the Spdif from the nuc to my Denon avr.
Unfortunally there is now sound when choosing the right input on the Denon.
Output Volumio is on spdif?
Anybody can help me out with this?
Many thanks in advance

@Wil please provide a system log

1 Like

Hello Community

I cannot get my toslink (optical out) on my soundcard working.

It is a “Asus Xonar SE” PciE soundcard. It uses an USB 3.1 controller and attaches the sound chip via that USB controller (01:00.0 USB controller: ASMedia Technology Inc. ASM2142 USB 3.1 Host Controller).

I can select the “Xonar SoundCard” in Volumio, but i cannot select the toslink of it. Only the normal analog out works. The optical out is visible in alsa as “iec958”:

iec958:CARD=SoundCard,DEV=0
Xonar SoundCard, USB Audio
IEC958 (S/PDIF) Digital Audio Output

So i think in general it should be accessible also by volumio. Maybe the device filtering needs to be adjusted.

Also when i check the card in ubuntu, i can select the optical out without issues and the light turns on. So i think this is not a driver issue.

Can someone help please?

Thanks a lot in advance.
In case of any additional information is required, please tell me what to provide.

Card details:

Audio Processor Cmedia 6620A
D-A Converter Realtek S1220A
A-D Converter Realtek S1220A

Technical outputs:
Edit: See log report.
http://logs.volumio.org/volumio/Wr3QqbU.html

-bash-5.0# aplay -l
**** List of PLAYBACK Hardware Devices ****
card 0: HDMI [HDA ATI HDMI], device 3: HDMI 0 [HDMI 0]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 0: HDMI [HDA ATI HDMI], device 7: HDMI 1 [HDMI 1]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 1: Generic [HD-Audio Generic], device 0: ALC671 Analog [ALC671 Analog]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 5: SoundCard [Xonar SoundCard], device 0: USB Audio [USB Audio]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 5: SoundCard [Xonar SoundCard], device 1: USB Audio [USB Audio #1]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 5: SoundCard [Xonar SoundCard], device 2: USB Audio [USB Audio #2]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 5: SoundCard [Xonar SoundCard], device 3: USB Audio [USB Audio #3]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
-bash-5.0# aplay -L
null
    Discard all samples (playback) or generate zero samples (capture)
jack
    JACK Audio Connection Kit
pulse
    PulseAudio Sound Server
default
volumio
volumioOutput
volumioHw
hdmi:CARD=HDMI,DEV=0
    HDA ATI HDMI, HDMI 0
    HDMI Audio Output
hdmi:CARD=HDMI,DEV=1
    HDA ATI HDMI, HDMI 1
    HDMI Audio Output
dmix:CARD=HDMI,DEV=3
    HDA ATI HDMI, HDMI 0
    Direct sample mixing device
dmix:CARD=HDMI,DEV=7
    HDA ATI HDMI, HDMI 1
    Direct sample mixing device
dsnoop:CARD=HDMI,DEV=3
    HDA ATI HDMI, HDMI 0
    Direct sample snooping device
dsnoop:CARD=HDMI,DEV=7
    HDA ATI HDMI, HDMI 1
    Direct sample snooping device
hw:CARD=HDMI,DEV=3
    HDA ATI HDMI, HDMI 0
    Direct hardware device without any conversions
hw:CARD=HDMI,DEV=7
    HDA ATI HDMI, HDMI 1
    Direct hardware device without any conversions
plughw:CARD=HDMI,DEV=3
    HDA ATI HDMI, HDMI 0
    Hardware device with all software conversions
plughw:CARD=HDMI,DEV=7
    HDA ATI HDMI, HDMI 1
    Hardware device with all software conversions
usbstream:CARD=HDMI
    HDA ATI HDMI
    USB Stream Output
sysdefault:CARD=Generic
    HD-Audio Generic, ALC671 Analog
    Default Audio Device
front:CARD=Generic,DEV=0
    HD-Audio Generic, ALC671 Analog
    Front speakers
surround21:CARD=Generic,DEV=0
    HD-Audio Generic, ALC671 Analog
    2.1 Surround output to Front and Subwoofer speakers
surround40:CARD=Generic,DEV=0
    HD-Audio Generic, ALC671 Analog
    4.0 Surround output to Front and Rear speakers
surround41:CARD=Generic,DEV=0
    HD-Audio Generic, ALC671 Analog
    4.1 Surround output to Front, Rear and Subwoofer speakers
surround50:CARD=Generic,DEV=0
    HD-Audio Generic, ALC671 Analog
    5.0 Surround output to Front, Center and Rear speakers
surround51:CARD=Generic,DEV=0
    HD-Audio Generic, ALC671 Analog
    5.1 Surround output to Front, Center, Rear and Subwoofer speakers
surround71:CARD=Generic,DEV=0
    HD-Audio Generic, ALC671 Analog
    7.1 Surround output to Front, Center, Side, Rear and Woofer speakers
dmix:CARD=Generic,DEV=0
    HD-Audio Generic, ALC671 Analog
    Direct sample mixing device
dsnoop:CARD=Generic,DEV=0
    HD-Audio Generic, ALC671 Analog
    Direct sample snooping device
hw:CARD=Generic,DEV=0
    HD-Audio Generic, ALC671 Analog
    Direct hardware device without any conversions
plughw:CARD=Generic,DEV=0
    HD-Audio Generic, ALC671 Analog
    Hardware device with all software conversions
usbstream:CARD=Generic
    HD-Audio Generic
    USB Stream Output
sysdefault:CARD=SoundCard
    Xonar SoundCard, USB Audio
    Default Audio Device
front:CARD=SoundCard,DEV=0
    Xonar SoundCard, USB Audio
    Front speakers
surround21:CARD=SoundCard,DEV=0
    Xonar SoundCard, USB Audio
    2.1 Surround output to Front and Subwoofer speakers
surround40:CARD=SoundCard,DEV=0
    Xonar SoundCard, USB Audio
    4.0 Surround output to Front and Rear speakers
surround41:CARD=SoundCard,DEV=0
    Xonar SoundCard, USB Audio
    4.1 Surround output to Front, Rear and Subwoofer speakers
surround50:CARD=SoundCard,DEV=0
    Xonar SoundCard, USB Audio
    5.0 Surround output to Front, Center and Rear speakers
surround51:CARD=SoundCard,DEV=0
    Xonar SoundCard, USB Audio
    5.1 Surround output to Front, Center, Rear and Subwoofer speakers
surround71:CARD=SoundCard,DEV=0
    Xonar SoundCard, USB Audio
    7.1 Surround output to Front, Center, Side, Rear and Woofer speakers
iec958:CARD=SoundCard,DEV=0
    Xonar SoundCard, USB Audio
    IEC958 (S/PDIF) Digital Audio Output
dmix:CARD=SoundCard,DEV=0
    Xonar SoundCard, USB Audio
    Direct sample mixing device
dmix:CARD=SoundCard,DEV=1
    Xonar SoundCard, USB Audio #1
    Direct sample mixing device
dmix:CARD=SoundCard,DEV=2
    Xonar SoundCard, USB Audio #2
    Direct sample mixing device
dmix:CARD=SoundCard,DEV=3
    Xonar SoundCard, USB Audio #3
    Direct sample mixing device
dsnoop:CARD=SoundCard,DEV=0
    Xonar SoundCard, USB Audio
    Direct sample snooping device
dsnoop:CARD=SoundCard,DEV=1
    Xonar SoundCard, USB Audio #1
    Direct sample snooping device
dsnoop:CARD=SoundCard,DEV=2
    Xonar SoundCard, USB Audio #2
    Direct sample snooping device
dsnoop:CARD=SoundCard,DEV=3
    Xonar SoundCard, USB Audio #3
    Direct sample snooping device
hw:CARD=SoundCard,DEV=0
    Xonar SoundCard, USB Audio
    Direct hardware device without any conversions
hw:CARD=SoundCard,DEV=1
    Xonar SoundCard, USB Audio #1
    Direct hardware device without any conversions
hw:CARD=SoundCard,DEV=2
    Xonar SoundCard, USB Audio #2
    Direct hardware device without any conversions
hw:CARD=SoundCard,DEV=3
    Xonar SoundCard, USB Audio #3
    Direct hardware device without any conversions
plughw:CARD=SoundCard,DEV=0
    Xonar SoundCard, USB Audio
    Hardware device with all software conversions
plughw:CARD=SoundCard,DEV=1
    Xonar SoundCard, USB Audio #1
    Hardware device with all software conversions
plughw:CARD=SoundCard,DEV=2
    Xonar SoundCard, USB Audio #2
    Hardware device with all software conversions
plughw:CARD=SoundCard,DEV=3
    Xonar SoundCard, USB Audio #3
    Hardware device with all software conversions
usbstream:CARD=SoundCard
    Xonar SoundCard
    USB Stream Output

-bash-5.0# lsusb
Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 004 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 003 Device 002: ID 046d:c534 Logitech, Inc. Unifying Receiver
Bus 003 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 006 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 005 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 008 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 007 Device 002: ID 0b05:189d ASUSTek Computer, Inc.
Bus 007 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
-bash-5.0# lsusb -t
/:  Bus 08.Port 1: Dev 1, Class=root_hub, Driver=xhci_hcd/2p, 10000M
/:  Bus 07.Port 1: Dev 1, Class=root_hub, Driver=xhci_hcd/2p, 480M
    |__ Port 1: Dev 2, If 0, Class=Audio, Driver=snd-usb-audio, 480M
    |__ Port 1: Dev 2, If 1, Class=Audio, Driver=snd-usb-audio, 480M
    |__ Port 1: Dev 2, If 2, Class=Audio, Driver=snd-usb-audio, 480M
    |__ Port 1: Dev 2, If 3, Class=Audio, Driver=snd-usb-audio, 480M
    |__ Port 1: Dev 2, If 4, Class=Audio, Driver=snd-usb-audio, 480M
    |__ Port 1: Dev 2, If 5, Class=Audio, Driver=snd-usb-audio, 480M
    |__ Port 1: Dev 2, If 6, Class=Human Interface Device, Driver=usbhid, 480M
/:  Bus 06.Port 1: Dev 1, Class=root_hub, Driver=xhci_hcd/2p, 5000M
/:  Bus 05.Port 1: Dev 1, Class=root_hub, Driver=xhci_hcd/2p, 480M
/:  Bus 04.Port 1: Dev 1, Class=root_hub, Driver=ohci-pci/4p, 12M
/:  Bus 03.Port 1: Dev 1, Class=root_hub, Driver=ohci-pci/4p, 12M
    |__ Port 4: Dev 2, If 0, Class=Human Interface Device, Driver=usbhid, 12M
    |__ Port 4: Dev 2, If 1, Class=Human Interface Device, Driver=usbhid, 12M
/:  Bus 02.Port 1: Dev 1, Class=root_hub, Driver=ehci-pci/4p, 480M
/:  Bus 01.Port 1: Dev 1, Class=root_hub, Driver=ehci-pci/4p, 480M

This is because so far we never enumerated sub devices on USB Audio devices.
With the info you supplied I gather that you know your way around the system.

To check a potential patch, could you replace /volumio/app/plugins/audio-interface/alsa-controller/cards.json with the one I uploaded here?

cards.json (2.9 KB)
Note: this card profile was reduced for testing on x86 only, do not use anywhere else.

Thanks for your reply. I have applied the config and did a reboot of volumio to be sure that the new settings are active. In the volumio device drop down i see 3 options available.

  • HDMI 0
  • HDMI 1
  • Xonar SoundCard

None of the output device selections leads to “light on”.

However, i tested it on os via “aplay” command to see which device selection turns the light on.

KO ---- aplay -D plughw:SoundCard,0 PinkPanther60.wav ----
KO ---- aplay -D plughw:SoundCard,1 PinkPanther60.wav ----
OK ---- aplay -D plughw:SoundCard,2 PinkPanther60.wav ----
OK ---- aplay -D plughw:SoundCard,3 PinkPanther60.wav ----

So maybe the json needs some more customizing… i will try to figure out if i find some way to modify it myself to make it work, but the config format is a bit unclear to me. So if you have any new advice it would be appreciated.

Thanks
Markus

Perhaps I made a wrong assumption regarding the internal soundcard name.
Could you edit the second line in cards.json and replace “Xonar Soundcard” by just “Soundcard”?
You should get 4 usb devices in the dropdown list, we can name them differently when you can tell me which one is which?

Btw. did you not get the analog output in the dropdown list?

I think I found the problem! It should be “Xonar SoundCard”, not “Xonar Soundcard”

When checking the card names with “aplay -l” (lowercase “l”) i see this.

aplay -l | grep card

card 0: HDMI [HDA ATI HDMI], device 3: HDMI 0 [HDMI 0]
card 0: HDMI [HDA ATI HDMI], device 7: HDMI 1 [HDMI 1]
card 5: SoundCard [Xonar SoundCard], device 0: USB Audio [USB Audio]
card 5: SoundCard [Xonar SoundCard], device 1: USB Audio [USB Audio #1]
card 5: SoundCard [Xonar SoundCard], device 2: USB Audio [USB Audio #2]
card 5: SoundCard [Xonar SoundCard], device 3: USB Audio [USB Audio #3]

So the first device is only named “USB Audio” instead of “USB Audio #0” from the template.
There also was a typo mistake in the custom config - so i changed “USB AUdio” to “USB Audio

I now changed the line as below as did a reboot, but still only one entry in the drop down.

{“name”: “Soundcard”, “multidevice”: true, “devices”:[{“number”:0, “prettyname”: “USB Audio”, “defaultmixer”: “”},{“number”:1, “prettyname”: “USB Audio #1”, “defaultmixer”: “”},{“number”:2, “prettyname”: “USB Audio #2”, “defaultmixer”: “”},{“number”:3, “prettyname”: “USB Audio #3”, “defaultmixer”: “”}],“type”:“integrated”},

Is a reboot needed each time or does the json get applied directly by just reloading the settings in the browser?

See my previous post.
You need to reboot, or do killall node

I did a reboot after the last json change… So something seems still not to match…

yes, that can be corrected, it can basically be any name we choose. Volumio maps on device number and displays whatever is in cards.json.

I will try with “name”: “SoundCard [Xonar SoundCard]”, {…}
It seems like there is an issue with identifying the card by correct the name (?)

No, that won’t work, you will need either “SoundCard” or “Xonar SoundCard” (with a capital C for card).
Don’t use what you see in aplay -l, it does not work that way.

Thanks for the remarks what does not make sense to try. That makes it easier to focus on what could make sense.

Both suggested variants we tested, but result KO. Strange that it works on command line well.

aplay -D plughw:SoundCard,2
aplay -D plughw:SoundCard,3

Unless you have some other good idea i will continue to try out some things.
If i get some success i will of course let you know.

Thanks!

The “HDA ATI HDMI” card I added, now gives “HDMI 0” and “HDMI 1”
So it should be “Xonar SoundCard”, anything else cannot work.

cards.json (2.9 KB)

Unfortunately nothing changed after applying the new json and reboot.
Only the devices of the type “plughw” are to be taken into consideration , right?

No, the plughw name is only a parameter for the aplay cli command, it has nothing to do with the way Volumio handles it internally. It needs the full card name (which is “Xonar SoundCard”), uses it to map with an entry in cards.json and matches device number with prettyname (the name which is displayed in the dropdown list).
So if you would select “USB Audio #2” (when it works), it would take subdevice 2 to stream to.

I fear there is an incompatibility somewhere, remember, we never enumerated usb audio subdevices before. Need to have a talk with the devs.