Home > Cannot Open > Alsactl: State_lock:125: File /var/lib/alsa/asound.state Lock Error: File Exists

Alsactl: State_lock:125: File /var/lib/alsa/asound.state Lock Error: File Exists

Contents

After booting with the new kernel, "alsactl restore" tries to feed this asound.state to the (new 'n' improved) driver and the driver gags because the mixer descriptions have changed. /etc/init.d/alsa-utils already Usage: amixer [command] Available options: -h,--help this help -c,--card N select the card -D,--device N select the device, default 'default' -d,--debug debug mode -n,--nocheck do not perform range checking -v,--version Not sure if i should delete the /var/lib/alsa/asound.state subdirectory/files and just copy it to /usr/local/etc/asound.state then delete the /var/lib/alsa/asound.state unlock file from backup and add the new directory and unlocked file Username Forum Password I've forgotten my password Remember me This is not recommended for shared computers Sign in anonymously Don't add me to the active users list Privacy Policy jump to this contact form

Also, I just cannot get restoring after rebooting to work; Currently using rc.local, is that not good? The stuff with the jack plug is configurable. Jan 11 18:18:27 945GCT-M2 kernel: [ 17.297603] Adding 1030980k swap on /dev/zram0. To disable # restoring of mixer levels on bootup, rename the # "S50alsa-utils" symbolic link in /etc/rcS.d/ to # "K50alsa-utils". ### END INIT INFO # Don't use set -e; check exit

Alsactl: State_lock:125: File /var/lib/alsa/asound.state Lock Error: File Exists

I'm sure i have already done too much for this sound to work as i've read over the comments section that either the script would do the job unless you want if it is about the password query, you can turn it off... The time now is 01:21 AM. Allegedly Bodhi uses upstart as no longer depends on init.d but looking into /etc/init and /etc/init.d I can find no such script(2) sudo /sbin/alsa force-reload sudo find / -name alsa /usr/src/linux-headers-3.0.0-12-generic/include/config/thinkpad/acpi/alsa

Done Building dependency tree Reading state information... Mark as duplicate Convert to a question Link a related branch Link to CVE Duplicates of this bug Bug #21765 Bug #24002 Bug #24011 Bug #44033 Bug #45246 You are not Bad Wolf Back to top Report #8 Guest_aus9_* Guest_aus9_* Guests Posted 11 January 2012 - 01:24 AM I can reboot that is not the issue My post is titled for a No soliciting of any kind.

Can I use that to take out what he owes me? Alsactl Store Submission Guidelines Please include your system specs, such as Windows/Linux/Mac version/build, model numbers, troubleshooting steps, symptoms, etc. alsa-utils should be changed so that instead of doing a mere "alsactl restore" it takes the following steps in the "start" method (on boot): Move old asound.state to asound.state_PREV Run "alsactl http://www.linuxforums.org/forum/arch-linux/173331-cannot-open-var-lib-alsa-asound-state-writing.html Rules Posts consisting only of a title/link will be deleted.

Why there are no approximation algorithms for SAT and other decision problems? If you'd like to contribute content, let us know. Toggles turn back, but no sound returns. I try to run Code: # alsactl -f /var/lib/alsa/asound.state store but it gives me the error message save_state:1532: Cannot open /var/lib/alsa/asound.state for writing: No such file or directory Help!

Alsactl Store

alsactl -F restore $CARD >/dev/null 2>&1 log_action_cont_msg "warning: 'alsactl restore${CARD:+ $CARD}' failed with error message '$MSG'" return 1 fi } # $1 | "all" store_levels() { CARD="$1" [ "$1" https://bugs.launchpad.net/bugs/21804 Try this as root Code: rm /var/lib/alsa/asound.state.lock mkdir /sys Then reboot and see how you get on. Alsactl: State_lock:125: File /var/lib/alsa/asound.state Lock Error: File Exists else [ -d "/proc/asound/card$1" ] || [ -d "/proc/asound/$1" ] return $? sukumar (wittyguysuku) wrote on 2009-12-15: #23 My sound is muted and when I tried: sudo service alsa-utils restart * Shutting down ALSA... [ OK ] * Setting up ALSA... * warning:

Why did the best potions master have greasy hair? weblink No [Meta] posts about jobs on tech support, only about the subreddit itself. Browse other questions tagged sound alsa or ask your own question. Visit the following links: Site Howto | Site FAQ | Sitemap | Register Now If you have any problems with the registration process or your account login, please contact us.

I don't want to offer some large list of reasons here please. share|improve this answer answered Jul 15 '15 at 10:08 senthor 214 add a comment| Your Answer draft saved draft discarded Sign up or log in Sign up using Google Sign UbuntuCommunityAsk!DeveloperDesignDiscourseHardwareInsightsJujuShopMore ›AppsHelpForumLaunchpadMAASCanonical current community chat Ask Ubuntu Ask Ubuntu Meta your communities Sign up or log in to customize your list. http://scriptkeeper.net/cannot-open/cannot-open-var-lib-alsa-asound-state-for-writing-permission-denied.html On shutting down the mixer state is stored in /var/lib/alsa/asound.state.

My model is 2525 - this shouldn't matter. NeoFax (neofax99) wrote on 2009-06-13: #17 Download full text (17.2 KiB) I am having the problem with Jaunty. Daniel T Chen (crimsun) wrote on 2009-12-15: Re: [Bug 21804] Re: alsa-utils cannot always restore mixer settings correctly across upgrades #24 @sukumar Which Ubuntu release?

Is adding the ‘tbl’ prefix to table names really a problem?

Not a member yet? When you have a three computers in the family room for wife, kids and me, we need to use headphones. Logged Misalf Hero Member Posts: 1146 Re: alsa sound not loading properly « Reply #4 on: September 21, 2013, 04:34:12 PM » ~/.X.d/ is the 'autostart' folder.Any file in there will This change closes LP: #21804, LP: #208920, #227505, #360108, #432660, #449783, #553132, #564472, LP: #584609, #592016, #596360, #613054, #617516, #622487, #632019. * debian/patches/alsactl_init_update_to_52bd2f8a_head.patch: Add upstream git changesets: dcb90a77 - Use "Found

Does anyone know how this is triggered. and is falsely executed with a virtual terminal login. Edit bug mail Other bug subscribers Subscribe someone else Bug attachments Output from amixer (edit) Add attachment Remote bug watches ubuntu-bugzilla #15585 Edit Bug watches keep track of this bug in http://scriptkeeper.net/cannot-open/cannot-open-bayes-databases-lock-failed-file-exists.html Use common sense.

Please attach the output from ''amixer''. Are you new to LinuxQuestions.org? Baden Württemberg Ticket usage How should horizontal dashboard numbers react on a responsive page? Could that interface trigger on the Headphone jack.

Daniel T Chen (crimsun) wrote on 2005-09-19: #4 Simple mixer control 'Headphone Jack Sense',0 Capabilities: pswitch pswitch-joined Playback channels: Mono Mono: Playback [on] ^^^^ This needs to be muted as it Logged Download a copy and keep it handy: Core book ;) Misalf Hero Member Posts: 1146 Re: alsa sound not loading properly « Reply #14 on: September 21, 2013, 07:33:25 PM more stack exchange communities company blog Stack Exchange Inbox Reputation and Badges sign up log in tour help Tour Start here for a quick overview of the site Help Center Detailed I read somewhere that pulseaudio can play a music as a logon greating.

Having a problem logging in? b) where I can intercept a logoff or switch user command so that I can memorize the amixer settings for a return at some time. Thank you! It was quite tricky to fix, unfortunately, since on my hardware (Thinkpad T40) enabling "Line Jack Sense" inhibits all audio output as a side-effect; attempting to manually recreate a working alsamixer

Not sure if i am suppose to delete #/usr/local/etc/init.d/alsasound start at this point. When you mention ~/.X.d/audio are you referring to /home/tc/.X.d/audio, because i'm not able to locate that folder "audio" in that subdirectory. Please advance importance to High. I have also added etc/modprobe.conf to the backup since it has already backed up the whole opt folder which has the alsa folder and the other two files in its subdirectory.

Then sudo apt-get install alsa-base permalinkembedsaveparentgive gold[–][deleted] 1 point2 points3 points 11 months ago(4 children)Did that, rebooted, still nothing v_____v permalinkembedsaveparent[–]root_unix 0 points1 point2 points 11 months ago(3 children)Might be that the OS is not If it is not stored, suggest where I can save it (as root). Jan 11 18:18:27 945GCT-M2 kernel: [ 17.251248] zram: Creating 2 devices ... I started changing things (though not this particular item, or any other item in kmix's "Switches" tab) only after realizing there was no sound anymore.

fi } # If a card identifier is provided in $2 then regard it as an error # if that card is not present; otherwise don't regard it as an error. It may not be clear because it's only in the title, and not in the comment, but the kernel in which it doesn't work is 2.6.12-8.