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

Re: how to disable unused sound chip



On Wed, 2008-11-05 at 13:58 +1000, Bob wrote:
> Damon L. Chesser wrote:
> > On Tue, 2008-11-04 at 18:07 +0200, Juha Tuuna wrote:
> >   
> >> Damon L. Chesser wrote:
> >>     
> >>> ...
> >>> How to I use udev (and hotplug?) to disable this unused ATI sound chip
> >>> and to select my onboard Nvidia sound chip?
> >>>       
> >> Try /etc/modprobe.d/blacklist
> >> Add the ATI module to the list, that should do it.
> >>
> >>     
> > Juha,
> >
> > Yes, that worked.  Just to make a close loop, I am posting what I did
> > here:
> >
> > lsmod did not show any ati driver for anything, but did show
> > snd_ha_intel and since I know I am not running an intel sound chip and
> > the sound device is listed as ATI HA with lspci, I ran rmmod
> > snd_ha_intel and I had sound.  
> >
> > I added "blacklist snd_ha_intel" to the /etc/modprobe.d/blacklist and
> > rebooted.  It came up with sound, and my selected "sound device" for
> > gkrellm volume was still active (previously, gkrellm would not have any
> > volume controls after a reboot).
> >   
> 
> Another solution would be not to disable / blacklist it but to stop it 
> from becoming the
> default sound device by putting a line at the bottom of 
> /etc/modprobe.d/alsa-base like this
> 
> options snd-ha-intel index=-2
> 
> I have to do something similar to stop the microphone in my webcam from 
> randomly becoming master, it has the advantage that you can still use 
> the device when / if you want / need.
> 
> Good luck

Bob,

Yes, that also worked just fine.  The only problem remaining is my
volume plugin for gkrellm does not come back up with my controls
enabled:  After every reboot, I have to reconfigure the plug in to have
volume sliders for Master, PCM, CD, etc etc.  This happens if I
blacklist it or set alsa priority to -2



-- 
Damon L. Chesser <damon@damtek.com>


Reply to: