[Pkg-alsa-devel] Bug#498078: Bug#498078: alsa-base: PC-Speaker-Device blocks sound card

Elimar Riesebieter riesebie at lxtec.de
Sun Sep 7 15:42:44 UTC 2008


* Lars Behrens [080907 14:50 +0200]
> Am Sonntag, 7. September 2008 schrieb Elimar Riesebieter:
> 
> > > Before alsaconf:
> > > #######################################
> > >  0 snd_pcsp
> > >  1 snd_mpu401
> > >  2 snd_via82xx
> > > #######################################
> >
> > Hmm: We have in /etc/modprobe.d/alsa-base:
> >
> > # Keep snd-pcsp from beeing loaded as first soundcard
> > options snd-pcsp index=-2
> 
> Yepp, and I also had tried changing it to '2' and also snd_pcsp instead 
> of snd-pcsp but that didn't work either.
> 
> > Put the following in /etc/modprobe.d/sound:
> >
> > alias snd-card-0 snd-via82xx
> > options snd-via82xx index=0
> > alias snd-card-1 snd_mpu401
> > options snd_mpu401 index=1
> > alias snd-card-2 snd_pcsp
> > options snd_pcsp index=2
> 
> Still snd_pcsp is the winner:
> #######################################
> cat /proc/asound/modules
>  0 snd_pcsp
>  1 snd_via82xx
>  2 snd_mpu401
> #######################################
> 
> As I understand, the sound devices are assigned by udev nowadays (at 
> least that's what claims alsaconf). Maybe something should be 
> blacklisted there? But how, and what?

Try:
# echo "blacklist snd_pcsp" > /etc/modprobe.d/blacklist.local

This file won't be purged by updates.


> Btw.: I have a message concerning pcsp during boot:
> 
> #######################################
> dmesg | grep pcsp
> [   12.290322] Error: Driver 'pcspkr' is already registered, aborting...
> #######################################

This comes from:

$ grep -r pcsp /etc/udev/*
/etc/udev/rules.d/60-persistent-input.rules:DRIVERS=="pcspkr",			ENV{ID_CLASS}="spkr"

If the above dosn't help try to comment the pcspkr line in
/etc/udev/rules.d/60-persistent-input.rules.

Elimar

-- 
  On the keyboard of life you have always
  to keep a finger at the escape key;-)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 197 bytes
Desc: Digital signature
Url : http://lists.alioth.debian.org/pipermail/pkg-alsa-devel/attachments/20080907/d99ffb46/attachment.pgp 


More information about the Pkg-alsa-devel mailing list