LinHES Forums http://forums.linhes.org/ |
|
aumix and alsamix settings reset when machine is rebooted http://forums.linhes.org/viewtopic.php?f=6&t=1613 |
Page 1 of 1 |
Author: | gr8nash [ Wed Jun 02, 2004 2:24 pm ] |
Post subject: | aumix and alsamix settings reset when machine is rebooted |
Hi guys i ran into this a couple months ago and never figured it out.. I need to set the microphone input to the capture setting so TV will work with sound.. When i do this with either aumix or alsamixer it works fine. when i reboot the machine the settings revert and tv sounds it dead.??? ![]() |
Author: | Dinki [ Wed Jun 02, 2004 3:42 pm ] |
Post subject: | |
You need to set your volume using 'alsamixer'. Once you have that done you can use 'alsactl store' to save the settings. I had to 'apt-get install alsa-utils' to get the 'alsactl' command. To load the settings, you'll need to do 'alsactl restore' to load the settings. I put mine in my /etc/init.d/local file. You may have to create this file, so do a search for /etc/init.d/local if you need help setting that up. If all goes well, each time you boot the settings will be restored. Note that I only had trouble with my settings when I added a second sound card, but this method should work for you if you only have one sound card also. |
Author: | gr8nash [ Wed Jun 02, 2004 4:33 pm ] |
Post subject: | |
i did apt-get install alsa-utils couldnt resolve the dependicies <sp?> LOL i suck at spelling ![]() The search reveals lots of posts on this exact topic. but i didnt find any that actualy answered it, to my understanding anyway. hmm i know there must be people that dont have to redo there mixer settings everyboot??? ![]() |
Author: | Dinki [ Wed Jun 02, 2004 5:42 pm ] |
Post subject: | |
What? The method I described doesn't work for you? |
Author: | gr8nash [ Wed Jun 02, 2004 6:02 pm ] |
Post subject: | |
sorry Dinki didnt me to slight your fix, it just didnt work for me. I did the "apt-get install alsa-utils" heres what it would say: Get:1 http://ftp.de.debian.org unstable/main libasound2-dev 1.0.4-1 [424kB] Get:2 http://ftp.de.debian.org unstable/main libasound2 1.0.4-1 [294kB] Get:3 http://ftp.de.debian.org unstable/main alsa-utils 1.0.4-1 [129kB] Get:4 http://ftp.de.debian.org unstable/main alsa-base 1.0.4-3 [46.3kB] Fetched 893kB in 9s (89.5kB/s) Preconfiguring packages ... (Reading database ... 52743 files and directories currently installed.) Preparing to replace libasound2-dev 1.0.3b-1 (using .../libasound2-dev_1.0.4-1_i386.deb) ... Unpacking replacement libasound2-dev ... Preparing to replace libasound2 1.0.3b-1 (using .../libasound2_1.0.4-1_i386.deb) ... Unpacking replacement libasound2 ... Selecting previously deselected package alsa-utils. Unpacking alsa-utils (from .../alsa-utils_1.0.4-1_i386.deb) ... dpkg: error processing /var/cache/apt/archives/alsa-utils_1.0.4-1_i386.deb (--unpack): trying to overwrite `/usr/bin/alsamixer', which is also in package knx-alsa dpkg-deb: subprocess paste killed by signal (Broken pipe) Selecting previously deselected package alsa-base. Unpacking alsa-base (from .../alsa-base_1.0.4-3_all.deb) ... Errors were encountered while processing: /var/cache/apt/archives/alsa-utils_1.0.4-1_i386.deb E: Sub-process /usr/bin/dpkg returned an error code (1) After that i could run "alsactl store" but it says alsactl: save_state:1088: Cannot open /var/lib/alsa/asound.state for writing after that apt says i need to run apt-get -f install. When that didnt fix it i had to run apt-get remove alsa-base, to fix apt. so thats where im at. ![]() |
Author: | Dinki [ Thu Jun 03, 2004 9:01 am ] |
Post subject: | |
After upgrading to r4v4.1 I'm getting the same errors as above when I 'apt-get install alsa-utils'. I did the 'apt-get remove alsa-base' as you suggested. I had to create /var/lib/alsa as root, and now all is well. |
Author: | gr8nash [ Thu Jun 03, 2004 12:47 pm ] |
Post subject: | |
ok i got it...at least heres on way. I DONT know if this is the best..but it worked on my system. Code: apt-get update Code: apt-get install alsa-base It then says this: Errors were encountered while processing: /var/cache/apt/archives/alsa-utils_1.0.4-1_i386.deb E: Sub-process /usr/bin/dpkg returned an error code (1) Code: dpkg -i --force-overwrite /var/cache/apt/archives/alsa-utils_1.0.4-1_i386.deb It then says this: (Reading database ... 52772 files and directories currently installed.) Unpacking alsa-utils (from .../alsa-utils_1.0.4-1_i386.deb) ... dpkg - warning, overriding problem because --force enabled: trying to overwrite `/usr/bin/alsamixer', which is also in package knx-alsa dpkg: dependency problems prevent configuration of alsa-utils: alsa-utils depends on libasound2 (>> 1.0.4); however: Package libasound2 is not configured yet. alsa-utils depends on alsa-base (>= 1.0.4); however: Package alsa-base is not configured yet. dpkg: error processing alsa-utils (--install): dependency problems - leaving unconfigured Errors were encountered while processing: alsa-utils Code: apt-get install alsa-base
Now alsa is upgraded and when you save...IT SAVES!!! wow.. If anyone thinks im wrong, or there is a better way... please weigh in! |
Author: | gr8nash [ Thu Jun 03, 2004 1:08 pm ] |
Post subject: | |
Ok my computer no longer starts gdm by itself.. so i recomend not using the previous post until someone with some athority chips in. It seems like this would be an important thread being that sound doesnt work without changing settings EVERY BOOT. I could REALLY use some help here if cecil/cesman/xsecrets/anyone with a better clue then me ![]() |
Author: | khrusher [ Wed Jun 23, 2004 8:03 am ] |
Post subject: | |
I had similar depenancy issues. I removed xine then was able to successfull install alsa-base. then reinstall of xine and all was well Code: apt-get remove ui-xine apt-get install alsa-base apt-get install ui-xine I needed to create the /var/lib/alsa/ directory inorder to save settings Code: mkdir /var/lib/alsa/ alsactl store then I added the following to ~/.fvwm/.fvwm2rc just before the exec KnoppMyth-run command Code: exec /usr/sbin/alsactl restore
|
Page 1 of 1 | All times are UTC - 6 hours |
Powered by phpBB® Forum Software © phpBB Group http://www.phpbb.com/ |