You are not logged in.

#1 2016-07-13 18:14:52

mazhar
Member
From: Sanandaj
Registered: 2016-07-12
Posts: 60

[solved] deleted ".asound" accidentally

Hi, I deleted my /etc/.asound file by accident and reading arch wiki didn't give me a straight answer to solve it. Anyway can you give me a hint to start with fixing it? i'll really appreciate it. thanks for your time

Last edited by mazhar (2016-07-23 17:14:17)


We are archers, we live in dark to serve the light.

Offline

#2 2016-07-13 18:17:57

dockland
Member
From: Sweden
Registered: 2015-06-06
Posts: 861

Re: [solved] deleted ".asound" accidentally

mazhar wrote:

Hi, I deleted my /etc/.asound file by accident and reading arch wiki didn't give me a straight answer to solve it. Anyway can you give me a hint to start with fixing it? i'll really appreciate it. thanks for your time

Try reinstalling alsa-utils


I possess a device, in my pocket, that is capable of accessing the entirety of information known to man.
I use it to look at funny pictures of cats and to argue with strangers.

Offline

#3 2016-07-13 18:22:45

mazhar
Member
From: Sanandaj
Registered: 2016-07-12
Posts: 60

Re: [solved] deleted ".asound" accidentally

tried it twice sad not working


We are archers, we live in dark to serve the light.

Offline

#4 2016-07-13 18:33:08

Alad
Wiki Admin/IRC Op
From: Bagelstan
Registered: 2014-05-04
Posts: 2,412
Website

Re: [solved] deleted ".asound" accidentally

So, what's the actual problem here? /etc/asound.conf (not /etc/.asound, which has no effect) is a user created file.


Mods are just community members who have the occasionally necessary option to move threads around and edit posts. -- Trilby

Offline

#5 2016-07-13 20:04:14

mazhar
Member
From: Sanandaj
Registered: 2016-07-12
Posts: 60

Re: [solved] deleted ".asound" accidentally

Alad wrote:

So, what's the actual problem here? /etc/asound.conf (not /etc/.asound, which has no effect) is a user created file.

after deleting that file i am recieving this problem opening moc(Music Player Console):

Can't load plugin libmusepack_decoder: file not found
Running the server...
Trying JACK...
Trying ALSA...
ALSA lib pcm_dmix.c:1029:(snd_pcm_dmix_open) unable to open slave
Trying OSS...

FATAL_ERROR: No valid sound driver!


FATAL_ERROR: Server exited!

And also Mplayer won't play audio in video playing.
Im sure i never did anything causing damage to sound driver. Im saying that deletation caused it because in /'arch wiki'/'ALSA page'  i saw this :

"The system configuration file is /etc/asound.conf, and the per-user configuration file is ~/.asoundrc."

Last edited by mazhar (2016-07-13 20:04:36)


We are archers, we live in dark to serve the light.

Offline

#6 2016-07-13 20:15:24

ewaller
Administrator
From: Pasadena, CA
Registered: 2009-07-13
Posts: 19,772

Re: [solved] deleted ".asound" accidentally

mazhar wrote:

Im saying that deletation caused it because in /'arch wiki'/'ALSA page'  i saw this :

"The system configuration file is /etc/asound.conf, and the per-user configuration file is ~/.asoundrc."

You make Alad's point.  The presence or absence of /etc/.asound should have no effect.

As a sanity check, what are the output of uname -a and of pacman -Qi linux
Specifically, do the reported versions for the kernel match?


Nothing is too wonderful to be true, if it be consistent with the laws of nature -- Michael Faraday
Sometimes it is the people no one can imagine anything of who do the things no one can imagine. -- Alan Turing
---
How to Ask Questions the Smart Way

Offline

#7 2016-07-13 20:26:26

mazhar
Member
From: Sanandaj
Registered: 2016-07-12
Posts: 60

Re: [solved] deleted ".asound" accidentally

ewaller wrote:
mazhar wrote:

Im saying that deletation caused it because in /'arch wiki'/'ALSA page'  i saw this :

"The system configuration file is /etc/asound.conf, and the per-user configuration file is ~/.asoundrc."

You make Alad's point.  The presence or absence of /etc/.asound should have no effect.

As a sanity check, what are the output of uname -a and of pacman -Qi linux
Specifically, do the reported versions for the kernel match?

sorry i didn't understand it well, ill post the output.
here's the output:
[root@mazhar ~]# uname -a
Linux mazhar 4.6.3-1-ARCH #1 SMP PREEMPT Fri Jun 24 21:19:13 CEST 2016 x86_64 GNU/Linux
[root@mazhar ~]# pacman -Qi linux
Name            : linux
Version         : 4.6.3-1
Description     : The Linux kernel and modules
Architecture    : x86_64
URL             : http://www.kernel.org/
Licenses        : GPL2
Groups          : base
Provides        : None
Depends On      : coreutils  linux-firmware  kmod  mkinitcpio>=0.7
Optional Deps   : crda: to set the correct wireless channels of your country
Required By     : None
Optional For    : None
Conflicts With  : None
Replaces        : None
Installed Size  : 75.85 MiB
Packager        : Tobias Powalowski <tpowa@archlinux.org>
Build Date      : Fri Jun 24 19:20:35 2016
Install Date    : Wed Jul 6 23:12:17 2016
Install Reason  : Explicitly installed
Install Script  : Yes
Validated By    : Signature


We are archers, we live in dark to serve the light.

Offline

#8 2016-07-13 20:57:02

Alad
Wiki Admin/IRC Op
From: Bagelstan
Registered: 2014-05-04
Posts: 2,412
Website

Re: [solved] deleted ".asound" accidentally

The fact you're logged in as root might explain the issues and confusion you're having. Create a regular user as the wiki tells you, and login from there.

https://wiki.archlinux.org/index.php/Us … management


Mods are just community members who have the occasionally necessary option to move threads around and edit posts. -- Trilby

Offline

#9 2016-07-13 21:08:30

ewaller
Administrator
From: Pasadena, CA
Registered: 2009-07-13
Posts: 19,772

Re: [solved] deleted ".asound" accidentally

Alad wrote:

The fact you're logged in as root might explain the issues and confusion you're having. Create a regular user as the wiki tells you, and login from there.

This ^^

But, the running kernel does match the installed modules.  This is a good thing smile

Edit:  Are you using pulseaudio?


Nothing is too wonderful to be true, if it be consistent with the laws of nature -- Michael Faraday
Sometimes it is the people no one can imagine anything of who do the things no one can imagine. -- Alan Turing
---
How to Ask Questions the Smart Way

Offline

#10 2016-07-14 06:25:50

mazhar
Member
From: Sanandaj
Registered: 2016-07-12
Posts: 60

Re: [solved] deleted ".asound" accidentally

Alad wrote:

The fact you're logged in as root might explain the issues and confusion you're having. Create a regular user as the wiki tells you, and login from there.

https://wiki.archlinux.org/index.php/Us … management

That is not solving my problem, it only prevents me to make a new one! i wanna have trouble smile because i learn more when i have more problems. I appreciate your effort but changing user (which i did) didn't solve it thought it may have caused it, because all forums talk about a ~/.asoundrc file which i don't seen to have in root (~).
If you have any other solution or hint, cheer me up. unless thanks for everything.

Last edited by mazhar (2016-07-14 07:01:58)


We are archers, we live in dark to serve the light.

Offline

#11 2016-07-14 06:28:55

mazhar
Member
From: Sanandaj
Registered: 2016-07-12
Posts: 60

Re: [solved] deleted ".asound" accidentally

ewaller wrote:
Alad wrote:

The fact you're logged in as root might explain the issues and confusion you're having. Create a regular user as the wiki tells you, and login from there.

This ^^

But, the running kernel does match the installed modules.  This is a good thing smile

Edit:  Are you using pulseaudio?

Well thats good to know.

yes! i just tried to install some packages according to this https://bbs.archlinux.org/viewtopic.php?id=176997
and this
https://bbs.archlinux.org/viewtopic.php?id=210507

now my /etc/asound.conf is back, but still the same error hmm

Last edited by mazhar (2016-07-14 07:06:22)


We are archers, we live in dark to serve the light.

Offline

#12 2016-07-14 07:24:17

mazhar
Member
From: Sanandaj
Registered: 2016-07-12
Posts: 60

Re: [solved] deleted ".asound" accidentally

Heeeeeeeeeeeeeeey big_smile finally fixed! i made so much reinstalling and finally found ".asoundrc" in the / instead of /root and moved it into /root which was my ~ by that time. Then i logged into new user i created and now im listening to music playing on MOC! thank you so much ewaller and Alad. I hope you have the best day as me smile now the fun part is i have another chance costomizing new user desktop big_smile

Last edited by mazhar (2016-07-14 07:24:43)


We are archers, we live in dark to serve the light.

Offline

Board footer

Powered by FluxBB