The officially official Devuan Forum!

You are not logged in.

#1 2023-11-19 13:51:07

aluma
Member
Registered: 2022-10-26
Posts: 623  

Global .asoundrc.

In the next thread, a colleague complained about

.asoundrc overrides the automagic. No sound for other users incl root unless I add the rc file to their accounts.

https://dev1galaxy.org/viewtopic.php?pid=45477#p45477

This is easy to fix. You need to move the contents of ~/.asoundrc to /etc/asound.conf.
Delete the ~/.asoundrc file itself.

This is what mine looks like

 root@aa:~# cat /etc/asound.conf
defaults.pcm.card 0
defaults.ctl.card 0

pcm.!default {
  type hw
  card 0
             }

ctl.!default {
   type hw
  card 0
             }
root@aa:~#
 

Both root and user have sound.

Offline

#2 2023-11-21 08:12:50

GlennW
Member
From: Brisbane, Australia
Registered: 2019-07-18
Posts: 613  

Re: Global .asoundrc.

If I may, that was not a complaint, but a statement. Thank you.


pic from 1993, new guitar day.

Offline

#3 2023-11-21 10:10:38

aluma
Member
Registered: 2022-10-26
Posts: 623  

Re: Global .asoundrc.

I'm sorry, English is not my native language.

Regards.

Last edited by aluma (2023-11-21 10:10:59)

Offline

#4 2023-11-22 00:59:02

GlennW
Member
From: Brisbane, Australia
Registered: 2019-07-18
Posts: 613  

Re: Global .asoundrc.

No problem, I understand (I only speak english). Thank you


pic from 1993, new guitar day.

Offline

Board footer