Hugo Vanwoerkom wrote:
Hugo Vanwoerkom wrote:
Nigel Henry wrote:
On Wednesday 17 December 2008 21:18, Hugo Vanwoerkom wrote:
Hi,
How does one put a wait in the initialization of the pcspkr module?
I have 2 audio cards:
one the builtin card of the mobo
two a CA0106 PCI card.
They are supposed to be like this:
h...@debian:/etc/udev$ cd /etc/modprobe.d/
h...@debian:/etc/modprobe.d$ more sound
alias snd-card-0 snd-via82xx
options snd-via82xx index=0
alias snd-card-1 snd_ca0106
options snd_ca0106 index=1
<snip>
I "solved" it by changing /etc/modprobe.d/sound:
alias snd-card-0 snd-via82xx
options snd-via82xx index=0
alias snd-card-1 snd_pcsp
options snd_pcsp index=1
alias snd-card-2 snd_ca0106
options snd_ca0106 index=2
And that does the trick.
Needless to say I have no idea what the details of this process actually
are, in particular why snd_pcsp is suddenly showing up after doing this
for years...
perhaps because 2.6.26-1-686 has:
#
# Generic devices
#
CONFIG_SND_PCSP=m
and then this:
===============================================================
PC-Speaker support (READ HELP!) (SND_PCSP)
If you don't have a sound card in your computer, you can include a
driver for the PC speaker which allows it to act like a primitive
sound card.
This driver also replaces the pcspkr driver for beeps.
You can compile this as a module which will be called snd-pcsp.
WARNING: if you already have a soundcard, enabling this
driver may lead to a problem. Namely, it may get loaded
before the other sound driver of yours, making the
pc-speaker a default sound device. Which is likely not
what you want. To make this driver play nicely with other
sound driver, you can add this into your /etc/modprobe.conf:
options snd-pcsp index=2
You don't need this driver if you only want your pc-speaker to beep.
You don't need this driver if you have a tablet piezo beeper
in your PC instead of the real speaker.
===============================================================
In particular the warning: the fix is what I did "by intuition".
More people may run into this
Hugo
--
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org