You are not logged in.
And does the fact that I have the controls that are listed with the command:
$ amixer -c U192k controlsmean that alsaucm is currently using the HiFi "verb" setting?
$ alsaucm --version
alsaucm: version 1.2.14$ apt-cache show alsa-ucm-conf | grep Version
Version: 1.2.14-1Broken *!#£? Any possibility of pining this alsa with earlier version of alsaucm? Other work around?
Alsa refuses to cooperate:
$ alsaucm -c U192k list _cards
ALSA lib main.c:1554:(snd_use_case_mgr_open) error: failed to import U192k use case configuration -2
alsaucm: error failed to open sound card U192k: No such file or directoryThe sound card is now default again:
$ cat /proc/asound/cards
0 [U192k ]: USB-Audio - UMC404HD 192k
BEHRINGER UMC404HD 192k at usb-0000:08:00.3-1, high speed
1 [Generic ]: HDA-Intel - HD-Audio Generic
HD-Audio Generic at 0xd05c8000 irq 81
2 [Generic_1 ]: HDA-Intel - HD-Audio Generic
HD-Audio Generic at 0xd05c0000 irq 82The symlinks appear to be correct:
$ ls /usr/share/alsa/ucm2/conf.d/USB-Audio/
UMC404HD.conf UMC404HD-HiFi.conf USB-Audio.conf$ alsaucm -n -b - <<EOM
open U192k
set _verb HiFi
list _devices
EOM
ALSA lib main.c:1554:(snd_use_case_mgr_open) error: failed to import U192k use case configuration -2
alsaucm: error failed to open sound card U192k: No such file or directoryNo dice.
After restart:
$ alsaucm reloadNothing returned.
$ alsaucm -c U192k list _verbs
ALSA lib main.c:1554:(snd_use_case_mgr_open) error: failed to import U192k use case configuration -2
alsaucm: error failed to open sound card U192k: No such file or directory$ cat /proc/asound/cards
0 [U192k ]: USB-Audio - UMC404HD 192k
BEHRINGER UMC404HD 192k at usb-0000:08:00.3-1, high speed
1 [Generic ]: HDA-Intel - HD-Audio Generic
HD-Audio Generic at 0xd05c8000 irq 81
2 [Generic_1 ]: HDA-Intel - HD-Audio Generic
HD-Audio Generic at 0xd05c0000 irq 82Not sure what is going on. Please advise.
Hmmm. I ran
$ alsaucm reloadNo complaints. However, the next command didn't work. Unfortunately I didn't copy the result down. I then rebooted and this is the result:
$ alsaucm reload
ALSA lib parser.c:244:(error_node) UCM is not supported for this HDA model (HD-Audio Generic at 0xd05c8000 irq 81)
ALSA lib main.c:1554:(snd_use_case_mgr_open) error: failed to import hw:0 use case configuration -6
alsaucm: error failed to open sound card hw:0: No such device or addressSuddenly, the Behringer card is in the wrong order priority, despite the ~/.asoundrc file supposedly setting the Behringer card to default:
$ cat /proc/asound/cards
0 [Generic ]: HDA-Intel - HD-Audio Generic
HD-Audio Generic at 0xd05c8000 irq 81
1 [Generic_1 ]: HDA-Intel - HD-Audio Generic
HD-Audio Generic at 0xd05c0000 irq 82
2 [U192k ]: USB-Audio - UMC404HD 192k
BEHRINGER UMC404HD 192k at usb-0000:08:00.3-1, high speedI then tried unplugging and replugging the Behringer card, but still nothing:
$ alsaucm reload
ALSA lib parser.c:244:(error_node) UCM is not supported for this HDA model (HD-Audio Generic at 0xd05c8000 irq 81)
ALSA lib main.c:1554:(snd_use_case_mgr_open) error: failed to import hw:0 use case configuration -6
alsaucm: error failed to open sound card hw:0: No such device or address$ cat /proc/asound/cards
0 [Generic ]: HDA-Intel - HD-Audio Generic
HD-Audio Generic at 0xd05c8000 irq 81
1 [Generic_1 ]: HDA-Intel - HD-Audio Generic
HD-Audio Generic at 0xd05c0000 irq 82
2 [U192k ]: USB-Audio - UMC404HD 192k
BEHRINGER UMC404HD 192k at usb-0000:08:00.3-1, high speedWill try another restart.
It is still connected:
$ cat /proc/asound/cards
0 [Generic ]: HDA-Intel - HD-Audio Generic
HD-Audio Generic at 0xd05c8000 irq 81
1 [Generic_1 ]: HDA-Intel - HD-Audio Generic
HD-Audio Generic at 0xd05c0000 irq 82
2 [U192k ]: USB-Audio - UMC404HD 192k
BEHRINGER UMC404HD 192k at usb-0000:08:00.3-1, high speedI haven't tried unplugging the USB cable, but it still works:
$ amixer -c U192k controls
numid=19,iface=CARD,name='Internal Validity'
numid=15,iface=MIXER,name='PCM Playback Switch'
numid=16,iface=MIXER,name='PCM Playback Switch',index=1
numid=17,iface=MIXER,name='PCM Playback Volume'
numid=18,iface=MIXER,name='PCM Playback Volume',index=1
numid=2,iface=MIXER,name='Line A Playback Switch'
numid=1,iface=MIXER,name='Line A Playback Volume'
numid=4,iface=MIXER,name='Line B Playback Switch'
numid=3,iface=MIXER,name='Line B Playback Volume'
numid=20,iface=MIXER,name='Mic Capture Switch'
numid=21,iface=MIXER,name='Mic Capture Switch',index=1
numid=22,iface=MIXER,name='Mic Capture Volume'
numid=23,iface=MIXER,name='Mic Capture Volume',index=1
numid=6,iface=MIXER,name='Input 1 Capture Switch'
numid=5,iface=MIXER,name='Input 1 Capture Volume'
numid=8,iface=MIXER,name='Input 2 Capture Switch'
numid=7,iface=MIXER,name='Input 2 Capture Volume'
numid=10,iface=MIXER,name='Input 3 Capture Switch'
numid=9,iface=MIXER,name='Input 3 Capture Volume'
numid=12,iface=MIXER,name='Input 4 Capture Switch'
numid=11,iface=MIXER,name='Input 4 Capture Volume'
numid=14,iface=PCM,name='Capture Channel Map'
numid=13,iface=PCM,name='Playback Channel Map'Only rebooted since last post.
OK, here they are.
# dmesg | grep -i ucmNothing returned.
$ whereis alsaucm
alsaucm: /usr/bin/alsaucm /usr/share/man/man1/alsaucm.1.gz$ alsaucm reload
ALSA lib parser.c:244:(error_node) UCM is not supported for this HDA model (HD-Audio Generic at 0xd05c8000 irq 81)
ALSA lib main.c:1554:(snd_use_case_mgr_open) error: failed to import hw:0 use case configuration -6
alsaucm: error failed to open sound card hw:0: No such device or address$ alsaucm -c U192k list _verbs
ALSA lib main.c:1554:(snd_use_case_mgr_open) error: failed to import U192k use case configuration -2
alsaucm: error failed to open sound card U192k: No such file or directory$ alsaucm -c U192k set _verb HiFi
ALSA lib main.c:1554:(snd_use_case_mgr_open) error: failed to import U192k use case configuration -2
alsaucm: error failed to open sound card U192k: No such file or directory$ amixer -c U192k controls
numid=19,iface=CARD,name='Internal Validity'
numid=15,iface=MIXER,name='PCM Playback Switch'
numid=16,iface=MIXER,name='PCM Playback Switch',index=1
numid=17,iface=MIXER,name='PCM Playback Volume'
numid=18,iface=MIXER,name='PCM Playback Volume',index=1
numid=2,iface=MIXER,name='Line A Playback Switch'
numid=1,iface=MIXER,name='Line A Playback Volume'
numid=4,iface=MIXER,name='Line B Playback Switch'
numid=3,iface=MIXER,name='Line B Playback Volume'
numid=20,iface=MIXER,name='Mic Capture Switch'
numid=21,iface=MIXER,name='Mic Capture Switch',index=1
numid=22,iface=MIXER,name='Mic Capture Volume'
numid=23,iface=MIXER,name='Mic Capture Volume',index=1
numid=6,iface=MIXER,name='Input 1 Capture Switch'
numid=5,iface=MIXER,name='Input 1 Capture Volume'
numid=8,iface=MIXER,name='Input 2 Capture Switch'
numid=7,iface=MIXER,name='Input 2 Capture Volume'
numid=10,iface=MIXER,name='Input 3 Capture Switch'
numid=9,iface=MIXER,name='Input 3 Capture Volume'
numid=12,iface=MIXER,name='Input 4 Capture Switch'
numid=11,iface=MIXER,name='Input 4 Capture Volume'
numid=14,iface=PCM,name='Capture Channel Map'
numid=13,iface=PCM,name='Playback Channel Map'$ ls -1 /usr/share/alsa/ucm2/USB-Audio/Behringer
Flow8-Recording.conf
Flow8-Recording-Hifi.conf
Flow8-Streaming.conf
Flow8-Streaming-Hifi.conf
UMC202HD.conf
UMC202HD-HiFi.conf
UMC204HD.conf
UMC204HD-HiFi.conf
UMC404HD.conf
UMC404HD-HiFi.confIt looks like all three are supported with HiFi output in Devuan Excalibur...
So, the Behringer UMC204HD USB sound card has better support in Devuan Excalibur than the UMC404HD? This is upstream ALSA project support?
$ lsusb
---
Bus 003 Device 002: ID 1397:0509 BEHRINGER International GmbH UMC404HD 192k
---That is the only USB sound card plugged in at this time.
I will get cracking on your suggestion when I have more time today. However, I wanted to post the following as I thought that it was extremely interesting in the context of this thread:
$ cat /proc/asound/cards
0 [Generic ]: HDA-Intel - HD-Audio Generic
HD-Audio Generic at 0xd05c8000 irq 81
1 [Generic_1 ]: HDA-Intel - HD-Audio Generic
HD-Audio Generic at 0xd05c0000 irq 82
2 [U192k ]: USB-Audio - UMC404HD 192k
BEHRINGER UMC404HD 192k at usb-0000:08:00.3-1, high speedAs you can see, I have connected a Behringer UMC404HD to the system that this thread is about. The main difference (other than more inputs and outputs) is that it has a power supply, and isn't powered through the USB connection. I haven't changed my ~/.asoundrc file for the new sound card, as for some reason, the card is identified with the same name as the previous card. At least on this boot, I am getting the default output despite not being the default card according to the above command. It should also be noted that while there are more than with the previous sound card, there are only controls for PCM Front, Rear and PCM 1 for output. The input controls are off as well, but of less importance to me at this time.
From looking at postings about the UMC202HD, it appears that in the past, kernel support needed to be manually compiled in, whereas the UMC204HD was known to "just work" plug and play. Despite its reputation as plug and play, I know that sndio has problems / difficulty with the UMC204HD, according to the sndio developer, because the voltage (or wattage) wasn't completely class compliant. OpenBSD tends to be a stickler with that kind of thing and not "what 'evs" like Windows.
I am of course wondering if what we are seeing with the UMC204HD and UMC404HD cards is either variations in the kernel support for these devices (or the devices variation in support of class compliance) or an issue of the quality of the signal that the computer receives based on electrical variations?
Regardless, I find the most startling thing to be that the system in some fashion sees the UMC204HD and UMC404HD cards as basically the same, with the same name...
As the sun rises everyday, alsamixer craps out again, which is recurring but not a normal course of things:
$ alsamixer -c U192k
cannot load mixer controls: No such file or directoryHmm. Interesting. After a restart, all of a sudden the Behringer USB card is card 0, and is working correctly:
$ cat /proc/asound/cards
0 [U192k ]: USB-Audio - UMC204HD 192k
BEHRINGER UMC204HD 192k at usb-0000:08:00.3-1, high speed
1 [Generic ]: HDA-Intel - HD-Audio Generic
HD-Audio Generic at 0xd05c8000 irq 82
2 [Generic_1 ]: HDA-Intel - HD-Audio Generic
HD-Audio Generic at 0xd05c0000 irq 83Not really sure how that happened as I currently don't have an ~/.asoundrc file at as I needed last time around to get the card as default...
Wondering if it will change again after another reboot...
Thanks. Basically, what I am going for (medium term) is to be able to eventually create my own backing tracks. Possibly using something like Jjazzlab as an alternative to Band in a Box. So I am not so worried about input at this time. Currently, I am fighting with output issues. First and foremost the Behringer card, but also the vagaries of midi on web. Things like metronome, backing track not in sync with each other under certain circumstances (Tomplay).
$ cat /proc/asound/cards
0 [Generic ]: HDA-Intel - HD-Audio Generic
HD-Audio Generic at 0xd05c8000 irq 81
1 [Generic_1 ]: HDA-Intel - HD-Audio Generic
HD-Audio Generic at 0xd05c0000 irq 82
2 [U192k ]: USB-Audio - UMC204HD 192k
BEHRINGER UMC204HD 192k at usb-0000:08:00.3-1, high speed$ cat /sys/class/sound/card*/id
Generic
Generic_1
U192kI have tried rebooting before, but the Behringer card remained as card 0. However, this time (where I have been using the USB sound card with a different computer) it has moved to card 2 after plugging it into the computer with my Devuan install. I was able to run alsamixer and adjust the controls:
$ alsamixer -c U192kI am of course wondering how alsamixer will behave once the Behringer card is set to default again, but this is so far an improvement on the situation...
I am trying to get the Beehringer sound card to work with Alsa, including alsmixer. Audio is coming out,, but is way too low in volume to be of any use, and I can't access alsamixer for the Behringer card, to increase the master volume.
At this point, I am mainly looking for a solution to the current issue. There are other variables with what I plan to do, among other things using the following:
The first is more e-learning oriented, the second is sheet music and backing tracks for various instruments. Both use midi over web and webgl. Beyond this, I would like to start using midi input with a daw.
While in general I like sndio a lot and think it is a much simpler and more rational solution to piling pulseaudio and pipewire as extra layers on top of alsa, my mileage has varied, even with an lmms version compiled for sndio. Sndio is very finicky about usb devices being completely class compliant. It doesn't like wattage variations in the hardware, nor hardware kludges. On the other hand, if your setup is simple and most can be done via the command line, it just works.
$ amixer -c 0
amixer: Mixer sysdefault:0 load error: No such file or directory$ amixer -c Generic
amixer: Mixer sysdefault:0 load error: No such file or directoryOK, this is getting weird. I have renamed ~/.asoundrc so that it doesn't get loaded, and removed the Behringer card. Now there are just two devices:
$ aplay -l
**** List of PLAYBACK Hardware Devices ****
card 0: Generic [HD-Audio Generic], device 3: HDMI 0 [S24C650]
Subdevices: 1/1
Subdevice #0: subdevice #0
card 1: Generic_1 [HD-Audio Generic], device 0: ALC256 Analog [ALC256 Analog]
Subdevices: 1/1
Subdevice #0: subdevice #0Alsamixer still doesn't work:
$ alsamixer
cannot load mixer controls: No such file or directorySpecifying card 0 gives me the same error as above.
If I run:
$ alsamixer -c 1the interface appears as normal behavior.
inxi gives me the following:
$ inxi -A
Audio:
Device-1: Advanced Micro Devices [AMD/ATI] Renoir Radeon High Definition
Audio driver: snd_hda_intel
Device-2: Advanced Micro Devices [AMD] Audio Coprocessor driver: N/A
Device-3: Advanced Micro Devices [AMD] Family 17h/19h/1ah HD Audio
driver: snd_hda_intel
API: ALSA v: k6.12.63+deb13-amd64 status: kernel-apiIn most ways, this thread is the same as my last, regarding a new Devuan Excalibur install with Alsa. However, I originally experienced this on another new install (exactly the same Devuan Excalibur install with LXDE and Alsa), on another computer (obviously with other components), but I moved this over to my original computer system from my last thread, to remove any variables that aren't part of the problem.
The new variable is that I am using my Behringer UMC204HD USB sound card as default audio output. The USB sound card works, but the output is very low. Sooo, I naturally wanted to go into alsamixer and adjust the master volume. I was met with the following:
$ alsamixer
cannot load mixer controls: No such file or directoryIf I run (for example):
$ alsamixer -c 2I get a visual (as expected) of that sound card and the various settings. So what is the issue with my Behringer card? Is this a Behringer issue or is this something that is experienced with other USB sound cards as well?
BTW, in my last thread, the USB sound device is just a cheap Chinese dongle to get the sound working. The Behringer is a USB sound card with inputs and outputs that should just work on various computers (class compliant).
Success. First time I have been able to get audio on this computer with Devuan. Thanks.
On a reboot, looks like the order is moving around:
$ aplay -l
**** List of PLAYBACK Hardware Devices ****
card 0: Generic [HD-Audio Generic], device 3: HDMI 0 [S24C650]
Subdevices: 1/1
Subdevice #0: subdevice #0
card 1: Device [USB PnP Sound Device], device 0: USB Audio [USB Audio]
Subdevices: 1/1
Subdevice #0: subdevice #0
card 2: Generic_1 [HD-Audio Generic], device 0: ALC256 Analog [ALC256 Analog]
Subdevices: 1/1
Subdevice #0: subdevice #0$ fuser -av $(find /dev/snd -type c 2>/dev/null)
USER PID ACCESS COMMAND
/dev/snd/controlC2:
/dev/snd/controlC1:
/dev/snd/pcmC1D0c:
/dev/snd/pcmC1D0p:
/dev/snd/hwC2D0:
/dev/snd/pcmC2D2c:
/dev/snd/pcmC2D0c:
/dev/snd/pcmC2D0p:
/dev/snd/controlC0:
/dev/snd/hwC0D0:
/dev/snd/pcmC0D3p:
/dev/snd/seq:
/dev/snd/timer:$ inxi -Axxx
Audio:
Device-1: Advanced Micro Devices [AMD/ATI] Renoir Radeon High Definition
Audio driver: snd_hda_intel v: kernel pcie: speed: 8 GT/s lanes: 16
bus-ID: 08:00.1 chip-ID: 1002:1637 class-ID: 0403
Device-2: Advanced Micro Devices [AMD] Audio Coprocessor driver: N/A pcie:
speed: 8 GT/s lanes: 16 bus-ID: 08:00.5 chip-ID: 1022:15e2 class-ID: 0480
Device-3: Advanced Micro Devices [AMD] Family 17h/19h/1ah HD Audio
driver: snd_hda_intel v: kernel pcie: speed: 8 GT/s lanes: 16
bus-ID: 08:00.6 chip-ID: 1022:15e3 class-ID: 0403
Device-4: Intel USB PnP Sound Device
driver: hid-generic,snd-usb-audio,usbhid type: USB rev: 1.1 speed: 12 Mb/s
lanes: 1 bus-ID: 3-1:2 chip-ID: 8086:0808 class-ID: 0300
API: ALSA v: k6.12.63+deb13-amd64 status: kernel-apiSo, according to the nomenclature of inxi, I am trying to set Device-4 as default.
$ cat /proc/asound/cards
0 [Generic ]: HDA-Intel - HD-Audio Generic
HD-Audio Generic at 0xd05c8000 irq 81
1 [Device ]: USB-Audio - USB PnP Sound Device
C-Media Electronics Inc. USB PnP Sound Device at usb-0000:08:00.3-1, full speed
2 [Generic_1 ]: HDA-Intel - HD-Audio Generic
HD-Audio Generic at 0xd05c0000 irq 82Shows what I want as the default as what is now card 1.
I have now changed ~/.asoundrc to read as follows:
defaults.pcm.!card Device
defaults.ctl.!card DeviceI will see what happens after a reboot...
I am currently using LXDE, but I want to just use a window manager.
$ whereis simplenote
simplenote: /usr/bin/simplenoteWow, you are right.