The officially official Devuan Forum!

You are not logged in.

#26 2025-09-05 15:17:02

igorzwx
Member
Registered: 2024-05-06
Posts: 262  

Re: [SOLVED] (alsa) arateconf not saving properly

golinux wrote:

AI has absolutely nothing to do with Devuan and would be totally OT on a Devuan wiki even though it is tolerated on the forum in moderation.
_https://dev1galaxy.org/viewtopic.php?pid=56023#p56023

If you quote AI, you might be mobbed by AI haters.
_https://dev1galaxy.org/viewtopic.php?pid=56023#p56023

EDIT:

It is a sort of "public censorship"

delgado wrote:

You marked the AI stuff, which is the correct way to site it - good.
On the other hand ...
AI translates to Artificial Idiot in my world. I like stupid things in (e.g.) movies, but not in a technical al forum. Please do not (re-)post such stuff. Thanks.
_https://dev1galaxy.org/viewtopic.php?pid=55991#p55991

The term "public censorship" implies situations where people self-censor, choosing not to express their views publicly for fear of backlash or to conform to perceived public opinion, a phenomenon sometimes called public opinion pressure.

Certain philosophers, particularly Plato in The Republic, claimed that the state's legal censorship is much better than public censorship. The state was supposed to protect the freedom of the individual from the public.

Trial of Socrates
_https://en.wikipedia.org/wiki/Trial_of_Socrates

The theoretical end-stage of communism is a stateless society. That is why, perhaps, the Russian geneticist Nikolai Vavilov was sentenced to death in 1941.

Last edited by igorzwx (2025-09-05 16:32:26)

Offline

#27 2025-09-05 15:35:39

golinux
Administrator
Registered: 2016-11-25
Posts: 3,539  

Re: [SOLVED] (alsa) arateconf not saving properly

@kapqa . . . That is because it is nonsense. You might find it interesting that that statement was made by the most likely candidate to fit that description. Oh, the irony of it all!

Edit: The swift response by "the one who never sleeps" says it all.

Some discussion of AI is one thing but participation is another. There has never been an official discussion of this issue. This is just my personal take on things  . . .

What a waste of time and bits discussing this nonsense . . .

Offline

#28 2025-09-05 18:48:59

kapqa
Member
Registered: 2019-01-02
Posts: 413  

Re: [SOLVED] (alsa) arateconf not saving properly

If you quote AI, you might be mobbed by AI haters.

it is the thin line called "satira" that a lot of fall prey to; so it is best avoided, such to  give less space to misinterpretations.

but pungent remarks can hardly be called satira, and as such should be fully welcomed by awakening minds and  such type.

i dislike censorshop, but even more so disonesty, travestie, misguidance, untruthfulness, and fautora of AI dominance are in for a rude awakening;

Offline

#29 2025-09-05 19:04:58

kapqa
Member
Registered: 2019-01-02
Posts: 413  

Re: [SOLVED] (alsa) arateconf not saving properly

to get back to original topic:

now have installed devuan 5.0 (with cinnamon, alas);

issue at hand is that i don't have fallback mechanism; it seems with arateconf i can not easily implement?

for example at the moment i have only

internal audio +
hdmi audio

translates to

(arateconf)

0 >> hdmi
1 >> intel audio hd?
2 >> intel audio hd?

intel audio hd is listed twice, but i have only one audio card to my knowlegdge?

so i need to set (2) as (default playback) because if i set (1) then there is no sound;

now, however, i would like to for example, fallback to (0>hdmi) if i switch off the loudspeakers ; and switch back to (2>intel audio hd) if i turn on the loudspeaker;

normally , this would be also achievable through sound applet in task bar; but cinnamon does not seem to offer such option; maybe i have made again a bad decision by not heeding your advice of using M A T E, but the window management is nice on cinnamon, can also be adapted on mate;

do you think this is issue with cinnamon or how could i improve the situation with alsa - arateconf? do  ineed to manually set options for switchting sound card in alsa configuration?

thanks.

https://ibb.co/VY616VkM

Offline

#30 2025-09-05 19:42:07

igorzwx
Member
Registered: 2024-05-06
Posts: 262  

Re: [SOLVED] (alsa) arateconf not saving properly

This is your inxi:

$ inxi -A
Audio:
  Device-1: AMD Navi 31 HDMI/DP Audio driver: snd_hda_intel
  Device-2: AMD Rembrandt Radeon High Definition Audio driver: snd_hda_intel
  Device-3: AMD Family 17h/19h HD Audio driver: snd_hda_intel
  Device-4: Cambridge Audio USB 1.0 driver: snd-usb-audio type: USB
  API: ALSA v: k6.8.0-79-generic status: kernel-api

You have
1-2. two HDA codecs
3. HDMI codec
4. USB DAC

Everything should work.

Run arateconf and configure ALSA for your needs.

You may also need

alsamixer

Run

man alsamixer

and read it.
_https://man.archlinux.org/man/alsamixer.1.en

Unmute with alsamixer - ArchWiki
_https://wiki.archlinux.org/title/Advanced_Linux_Sound_Architecture#Unmute_with_alsamixer

You can create two ALSA configs with different default devices and toggle them with a script
EXAMPLE:
_https://dev1galaxy.org/viewtopic.php?pid=57177#p57177

Off-topic:

Satire is an ancient tool for defending freedom of speech.
Have you read Aristophanes and Juvenal?

Instead of inventing myths, read the output from the terminal and try to understand it.

Last edited by igorzwx (2025-09-05 20:10:06)

Offline

#31 2025-09-05 21:00:25

kapqa
Member
Registered: 2019-01-02
Posts: 413  

Re: [SOLVED] (alsa) arateconf not saving properly

thanks , will look into it; the DAC is relegated into another task, so my config could stand for HDMI and why two Intel HDA.

Audio:
  Device-1: AMD driver: snd_hda_intel
  Device-2: AMD Rembrandt Radeon High Definition Audio driver: snd_hda_intel
  Device-3: AMD Family 17h/19h HD Audio driver: snd_hda_intel
  API: ALSA v: k6.1.0-38-amd64 status: kernel-api

|  Main menu  |
---------------

    Curr. | Used | Play (def) | Rec (def) | Available cards
----------|------|------------|-----------|-----------------------------------
0 - >>>>> |  *   |  *     *   |  *    *   | HDA-Intel - HDA ATI HDMI
1 -       |  *   |  *         |  *        | HDA-Intel - HD-Audio Generic
2 -       |  *   |  *         |  *        | HDA-Intel - HD-Audio Generic

it is AMD graphics, but Intel driver;

Aristophanes, Juvenal? No, i am still learning to read properly. computer screen reading tending to dislike but still on it, also bit of a mystery.

But fallback mechanism would be not bad, maybe KDE has implemented into Phonon, if i remember correctly from KDE 3 or 4.

Thanks for guiding me along to also stand on my own feet.

Gonna take a recess ... to read.
Ciao.

Last edited by kapqa (2025-09-05 21:01:20)

Offline

#32 2025-09-05 21:28:45

igorzwx
Member
Registered: 2024-05-06
Posts: 262  

Re: [SOLVED] (alsa) arateconf not saving properly

"snd" means "sound"
snd_hda_intel is a "generic" ALSA driver for Intel HDA codecs

AMD is not producing audio codecs and sound cards (as far as I know).

AMD primarily focuses on producing central processing units (CPUs) and graphics processing units (GPUs), not standalone audio hardware. Instead, most PCs with AMD processors rely on integrated audio solutions, often Realtek chipsets, on the motherboard, or digital audio output via HDMI from the AMD GPU for sound. The "AMD High Definition Audio Device" mentioned in technical support contexts refers to the audio functionality that comes with the graphics card, not a separate sound card or codec produced by AMD.

A generic driver is a basic driver that provides essential functionality for common hardware without needing a specific driver from the manufacturer. It acts as a placeholder, enabling the computer's operating system to communicate with hardware using standard protocols and features, though it may lack the full capabilities of manufacturer-specific drivers.

$ lsmod | grep oss
oss_hdaudio           155648  4
osscore               618496  3 oss_hdaudio

oss_hdaudio is a generic Open Sound System v.4 (OSS4) driver for Intel HDA codecs.
It provides more functionality and better sound quality than ALSA's snd_hda_intel

Off-topic

_https://en.wikipedia.org/wiki/Yes_Minister
Yes Minister is a British political satire sitcom written by Antony Jay and Jonathan Lynn. Comprising three seven-episode series, it was first transmitted on BBC2 from 1980 to 1984. A sequel, Yes, Prime Minister, ran for 16 episodes from 1986 to 1988.

One can find them in YouTube.

In Linux, /proc/asound/cards is a virtual file that lists the audio sound cards detected by the Advanced Linux Sound Architecture (ALSA) kernel system. It's not a real file but a kernel interface that generates its contents on-the-fly from ALSA's internal list of sound cards. You can read this file to see the registered audio devices, along with their index numbers, driver names, and identifying strings.

cat /proc/asound/cards

and compare with

arateconf

To configure ALSA, you need:
1. arateconf
2. alsamixer (to unmute and/or set volume level)

It is a very simple task, because arateconf is interactive and self-explanatory.

Pressing the F6 key within the alsamixer brings up a list of available sound cards, allowing you to select a different one to adjust its settings, which you can navigate using the arrow keys.

Unmute with alsamixer
_https://wiki.archlinux.org/title/Advanced_Linux_Sound_Architecture#Unmute_with_alsamixer

Last edited by igorzwx (Yesterday 17:03:23)

Offline

Board footer