1 |
Hey |
2 |
|
3 |
Normally you don't need the init.d-script... this is the file of the |
4 |
default alsa-installation i think. Mhh. |
5 |
|
6 |
You don't must reboot to take changes effect. Try to call update-modules |
7 |
manually. I don't know if it is done by the system while booting. |
8 |
|
9 |
Remove the entry in modules.autoload. I think it's enough to put some |
10 |
lines to aliases: |
11 |
|
12 |
alias /dev/sound soundcore |
13 |
alias /dev/dsp soundcore |
14 |
post-install soundcore /sbin/mysound.sh start |
15 |
|
16 |
The contents of /sbin/mysound.sh: |
17 |
#!/bin/bash |
18 |
|
19 |
if [ "$1" = "start" ]; then |
20 |
modprobe snd-card-${here paste your driver} |
21 |
modprobe snd-pcm-oss |
22 |
alsactl restore |
23 |
fi |
24 |
|
25 |
... change mode to 755 (chmod 755 /sbin/mysound.sh) |
26 |
|
27 |
You can extend it with a stop-flag... I don't need this. |
28 |
I am set up the volume once and start alsactl store. So i have the |
29 |
correct volume each time i access the sound-device |
30 |
|
31 |
Regards |
32 |
|
33 |
Sebastian Werner |
34 |
|
35 |
|
36 |
|
37 |
Am Mon, 2001-12-31 um 00.18 schrieb Kevin Gordon: |
38 |
> Hi everyone, |
39 |
> While doing sound install : |
40 |
> emerge media-sound/alsa-driver |
41 |
> depmod -a |
42 |
> /etc/init.d/alsa start |
43 |
> received error /etc/asound.conf not found |
44 |
> edited /etc/modules-autoload (with snd-card-sb16 which I think is ok for |
45 |
> Creative Vibra128) |
46 |
> edited /etc/modules.d/aliases |
47 |
> reboot (snd-card-sb16 did not start (!!) ) |
48 |
> Any thoughts please? |
49 |
> Thanks, |
50 |
> Kevin |
51 |
> |
52 |
> _______________________________________________ |
53 |
> gentoo-dev mailing list |
54 |
> gentoo-dev@g.o |
55 |
> http://lists.gentoo.org/mailman/listinfo/gentoo-dev |