public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-user] disabling module autoloading in udev 1003
@ 2006-12-10 11:57 henkg
  2006-12-10 22:09 ` Richard Fish
  0 siblings, 1 reply; 3+ messages in thread
From: henkg @ 2006-12-10 11:57 UTC (permalink / raw
  To: gentoo-user

Hello,

I have 2 soundcards i my computer, one from the mainboard and a 
soundblaster live. My moduels.autoload.d is setup to only load the 
emu10k1 driver and this has worked vor over 2 years now, however since 
the latest udev snd-cmpci gets loaded automatically, and often before 
the emu10k1 driver, so the c-media card becomes the default sound card.

I have tried /etc/hotplug/blacklist, but that doesn't seem to work any 
more.

So: how do I disable autoloading of the c-media driver?

I have a simular problem with a pc that has va via builtin and a sb live 
as it's second card.

Also /dev/eth0 for some reason had become ethernet over firewire 9never 
knew this even existed), which I solved by simply disabling ethernet 
over firewire and recompiling.

Kind regards,

Henk.
-- 
gentoo-user@gentoo.org mailing list



^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [gentoo-user] disabling module autoloading in udev 1003
  2006-12-10 11:57 [gentoo-user] disabling module autoloading in udev 1003 henkg
@ 2006-12-10 22:09 ` Richard Fish
  2006-12-11 18:25   ` henkg
  0 siblings, 1 reply; 3+ messages in thread
From: Richard Fish @ 2006-12-10 22:09 UTC (permalink / raw
  To: gentoo-user

On 12/10/06, henkg@brankie.xs4all.nl <henkg@brankie.xs4all.nl> wrote:
> Hello,
>
> I have 2 soundcards i my computer, one from the mainboard and a
> soundblaster live. My moduels.autoload.d is setup to only load the
> emu10k1 driver and this has worked vor over 2 years now, however since
> the latest udev snd-cmpci gets loaded automatically, and often before
> the emu10k1 driver, so the c-media card becomes the default sound card.

I think there is an alsa-specific solution to this, but I can't
remember what it is.  More generally though, you can prevent udev from
loading modules by aliasing their PCI aliases to off.  Fex I have a
problem ipw3945 being autoloaded at boot, so my /etc/modules.d/ipw3945
contains:

alias pci:v00008086d00004222sv*sd*bc*sc*i* off
alias pci:v00008086d00004227sv*sd*bc*sc*i* off

You could do something similar in /etc/modules.d/alsa (just remember
to re-run modules-update for changes to take effect).  To find the
appropriate pci:foo strings, grep /lib/modules/`uname
-r`/modules.alias for the driver.

You can then load the modules in the order you want in
modules.autoload.d/kernel-2.6

HTH,
-Richard
-- 
gentoo-user@gentoo.org mailing list



^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [gentoo-user] disabling module autoloading in udev 1003
  2006-12-10 22:09 ` Richard Fish
@ 2006-12-11 18:25   ` henkg
  0 siblings, 0 replies; 3+ messages in thread
From: henkg @ 2006-12-11 18:25 UTC (permalink / raw
  To: gentoo-user

On Sun, Dec 10, 2006 at 03:09:42PM -0700, Richard Fish wrote:
> I think there is an alsa-specific solution to this, but I can't
> remember what it is.  

I have what I think is the 'alsa solution' activated:

alias snd-card-0 snd-emu10k1

however this is completely ignored. I will try your solution next.

thanks,

Henk.

-- 
gentoo-user@gentoo.org mailing list



^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2006-12-11 18:32 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-12-10 11:57 [gentoo-user] disabling module autoloading in udev 1003 henkg
2006-12-10 22:09 ` Richard Fish
2006-12-11 18:25   ` henkg

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox