Re: Alsa - the ghost in the machine?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 13/10/07 17:47:22, Dominique Michel wrote:
> Le Sat, 13 Oct 2007 12:06:31 +0100,
> Barry Samuels <beejay.samuels@xxxxxxxxx> a écrit :
> 
> > I have a computer with a Asus P5W DH DeLuxe mainboard and Intel HD 
> > on-board sound chip. I am running Debian Testing, up to date as of 
> > yesterday, with a 2.6.23 kernel.
> > 
> > cat /proc/asound/cards:
> >  0 [Intel          ]: HDA-Intel - HDA Intel
> >                       HDA Intel at 0xfebfc000 irq 17
> > 
> > I've had a LOT of trouble in getting Alsa to work with sound input
> > via a microphone. Sound output via the speakers has never been a
> > problem.
> > 
> > The biggest problem is that the input sound is so inconsistent. For 
> > example - a few days ago I was running a 2.6.22.6 kernel and, after
> > a lot of fiddling with mixer controls, I managed to get reasonable 
> > quality and volume of recorded sound. Then I upgraded the kernel as 
> > above. After that the sound actually improved a little and I even
> > had to reduce input and output volume levels. Then I needed to 
> > reboot the machine and I ended up with sound that I could barely 
> > hear coupled with a tremdous hum - same kernel, same mixer 
> > settings. After many, many adjustments I decided that it was 
> > unusable in that state and left it.
> > 
> > This morning I find that the hum has gone and although the sound
> > volume level was low it could be improved using the 'mic boost' and 
> > there was no hum.
> > 
> > My computer normally runs 24 hours a day so it wasn't changed in 
> > any way between yesterday and today.
> > 
> > So I'm baffled. I seem to have these problems regularly if anything 
> > does change e.g. Debian updates, new kernel, computer reboot (not
> > very often) and so on.
> > 
> > I'm beginning to think that my machine is haunted.
> > 
> > Will it ever be possible to get a stable Alsa system?
> > 
> 
> The version of the different alsa packages must reasonably match with
> the alsa driver. Another sources of trouble can be that udev load the 
> alsa driver before alsasound at boot time and the sound card order 
> can change. That especially if you have multiple sound card like a 
> webcam with mic or whatever.
> This can be solved in the alsa config file /etc/modules.d/alsa with
> something like:
> 
> alias snd-card-0 snd-emu10k1
> options snd-emu10k1 index=0
> alias snd-card-1 snd-usb-audio
> options snd-usb-audio index=1
> alias sound-slot-0 snd-card-0
> alias sound-slot-1 snd-card-1
> ...
> options snd cards_limit=2
> 
> Another possible source of trouble after an upgrade
> is /var/lib/alsa/asound.state
> You must stop alsa:
> /etc/init.d/alsasound stop
> remove this file and restart alsa.
> 
> Dominique

I use the alsa modules from the kernel. I don't have anything called 
'alsa' or 'alsasound' running. There is an /etc/init.d/alsa-utils 
which, I believe, saves and restores mixer settings.

Does that make any difference?

-- 
Barry Samuels
http://www.beenthere-donethat.org.uk
The Unofficial Guide to Great Britain


-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
_______________________________________________
Alsa-user mailing list
Alsa-user@xxxxxxxxxxxxxxxxxxxxx
https://lists.sourceforge.net/lists/listinfo/alsa-user


[Index of Archives]     [ALSA Devel]     [Linux Audio Users]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]

  Powered by Linux