LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 10-10-2017, 08:36 PM   #1
LQSlacker
Member
 
Registered: Jul 2016
Posts: 43

Rep: Reputation: Disabled
/etc/asound.state is a deak link?


I'm running 14.2 x64 with only Openbox, and I noticed in /etc that asound.state is a dead link, suppose to be pointing to, /var/lib/alsa/asound.state, but /var/lib/alsa is empty.

Is this suppose to be an active symlink /etc/asound.state and /var/lib/alsa/asound.state should exist with Pulse as the default audio in Slack?

Thanks
 
Old 10-10-2017, 08:44 PM   #2
frankbell
LQ Guru
 
Registered: Jan 2006
Location: Virginia, USA
Distribution: Slackware, Debian, Mageia, and whatever VMs I happen to be playing with
Posts: 12,657
Blog Entries: 17

Rep: Reputation: 3259Reputation: 3259Reputation: 3259Reputation: 3259Reputation: 3259Reputation: 3259Reputation: 3259Reputation: 3259Reputation: 3259Reputation: 3259Reputation: 3259
On my --Current, /etc/asound.state is a file that's over 1000 lines long and, according to diff, it's identical to /var/lib/alsa/asound.state.

Code:
$ diff -s /etc/asound.state /var/lib/alsa/asound.state
Files /etc/asound.state and /var/lib/alsa/asound.state are identical
 
Old 10-10-2017, 08:48 PM   #3
LQSlacker
Member
 
Registered: Jul 2016
Posts: 43

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by frankbell View Post
On my --Current, /etc/asound.state is a file that's over 1000 lines long and, according to diff, it's identical to /var/lib/alsa/asound.state.

Code:
$ diff -s /etc/asound.state /var/lib/alsa/asound.state
Files /etc/asound.state and /var/lib/alsa/asound.state are identical

Oh wait, even though using Pulse, still should run? 'alsactl store', I'm assuning alsactl is what creates the asound.state? Been awhile since I've been messing with alsa I forgot...
 
Old 10-10-2017, 09:06 PM   #4
LQSlacker
Member
 
Registered: Jul 2016
Posts: 43

Original Poster
Rep: Reputation: Disabled
Yeah that was it, needed to run, 'alsactl store'...
 
Old 10-10-2017, 09:10 PM   #5
frankbell
LQ Guru
 
Registered: Jan 2006
Location: Virginia, USA
Distribution: Slackware, Debian, Mageia, and whatever VMs I happen to be playing with
Posts: 12,657
Blog Entries: 17

Rep: Reputation: 3259Reputation: 3259Reputation: 3259Reputation: 3259Reputation: 3259Reputation: 3259Reputation: 3259Reputation: 3259Reputation: 3259Reputation: 3259Reputation: 3259
Quote:
I'm assuning alsactl is what creates the asound.state?
I don't know, but I think that's a good guess. I've been running --Current on this machine since before Pulse Audio before a part of Slackware.

Here's what the alsactl man page says:

Quote:
/var/lib/alsa/asound.state (or whatever file you specify with the -f flag) is used to store current settings for your soundcards. The settings include all the usual soundcard mixer settings. More importantly, alsactl is capable of controlling other card-specific features that mixer apps usually don't know about.

The configuration file is generated automatically by running alsactl store. Editing the configuration file by hand may be necessary for some soundcard features (e.g. enabling/disabling automatic mic gain, digital output, joystick/game ports, some future MIDI routing options, etc).
I am confident that I did not ever use the -f flag with alsactl store.

Maybe someone who knows for sure will put us both out of our misery!

Last edited by frankbell; 10-10-2017 at 09:12 PM.
 
Old 10-10-2017, 10:46 PM   #6
LQSlacker
Member
 
Registered: Jul 2016
Posts: 43

Original Poster
Rep: Reputation: Disabled
All I've ever done in the past is 'alsactl store'...
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
/etc/asound.conf NEED CHANGES USUARIONUEVO Slackware 4 02-09-2016 05:22 PM
Purpose of asound.conf? ananth86coolguy Linux - Newbie 1 11-30-2009 03:11 AM
/etc/bluetooth/asound.conf in 12.2 Woodsman Slackware 2 08-23-2009 02:59 PM
asound.conf adrsound advanced config phanohanover Linux - Hardware 0 02-06-2009 10:46 AM
Making progs use definitions in asound.conf? tuxedo-notebook Linux - Hardware 4 03-20-2006 02:16 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 01:12 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration