View unanswered posts    View active topics

All times are UTC - 6 hours





Post new topic Reply to topic  [ 9 posts ] 
Print view Previous topic   Next topic  
Author Message
Search for:
PostPosted: Wed Jun 02, 2004 2:24 pm 
Offline
Joined: Thu Apr 01, 2004 10:44 am
Posts: 677
Location: WA
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.??? :(


Top
 Profile  
 
 Post subject:
PostPosted: Wed Jun 02, 2004 3:42 pm 
Offline
Joined: Fri Dec 26, 2003 2:25 pm
Posts: 244
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.


Top
 Profile  
 
 Post subject:
PostPosted: Wed Jun 02, 2004 4:33 pm 
Offline
Joined: Thu Apr 01, 2004 10:44 am
Posts: 677
Location: WA
i did apt-get install alsa-utils

couldnt resolve the dependicies <sp?> LOL i suck at spelling :lol:

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???

:roll:


Top
 Profile  
 
 Post subject:
PostPosted: Wed Jun 02, 2004 5:42 pm 
Offline
Joined: Fri Dec 26, 2003 2:25 pm
Posts: 244
What? The method I described doesn't work for you?


Top
 Profile  
 
 Post subject:
PostPosted: Wed Jun 02, 2004 6:02 pm 
Offline
Joined: Thu Apr 01, 2004 10:44 am
Posts: 677
Location: WA
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.

:D [/code]


Top
 Profile  
 
 Post subject:
PostPosted: Thu Jun 03, 2004 9:01 am 
Offline
Joined: Fri Dec 26, 2003 2:25 pm
Posts: 244
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.


Top
 Profile  
 
 Post subject:
PostPosted: Thu Jun 03, 2004 12:47 pm 
Offline
Joined: Thu Apr 01, 2004 10:44 am
Posts: 677
Location: WA
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!


Top
 Profile  
 
 Post subject:
PostPosted: Thu Jun 03, 2004 1:08 pm 
Offline
Joined: Thu Apr 01, 2004 10:44 am
Posts: 677
Location: WA
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 :)


Top
 Profile  
 
 Post subject:
PostPosted: Wed Jun 23, 2004 8:03 am 
Offline
Joined: Tue Apr 13, 2004 6:51 pm
Posts: 890
Location: Groton, MA
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

_________________
R5F1 - Dell P4 2.4Ghz 500MB - PVR250 x 2 - GeForce FX 5200 - Onboard sound/NIC 80GB ATA/250GB ATA/400GB SATA


Top
 Profile  
 

Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 9 posts ] 


All times are UTC - 6 hours




Who is online

Users browsing this forum: No registered users and 9 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Jump to:  
cron
Powered by phpBB® Forum Software © phpBB Group

Theme Created By ceyhansuyu