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 |
7 |
> update-modules manually. I don't know if it is done by the system while |
8 |
> booting. |
9 |
> |
10 |
> Remove the entry in modules.autoload. I think it's enough to put some |
11 |
> lines to aliases: |
12 |
|
13 |
Why? here's my /etc/modules.autoload: |
14 |
snd-card-0 |
15 |
snd-pcm-oss |
16 |
snd-seq-oss |
17 |
snd-mixer-oss |
18 |
|
19 |
That loads my sound card, and the oss compatability modules. |
20 |
|
21 |
Then i created a /etc/modules.d/alsa file which contains the proper aliases |
22 |
what the alsa docs ask for. This is followed by modules-update. *shrug* |
23 |
While your script works, you're just redoing what's already been done :) |
24 |
|
25 |
|
26 |
|
27 |
|
28 |
> |
29 |
> alias /dev/sound soundcore |
30 |
> alias /dev/dsp soundcore |
31 |
> post-install soundcore /sbin/mysound.sh start |
32 |
> |
33 |
> The contents of /sbin/mysound.sh: |
34 |
> #!/bin/bash |
35 |
> |
36 |
> if [ "$1" = "start" ]; then |
37 |
> modprobe snd-card-${here paste your driver} |
38 |
> modprobe snd-pcm-oss |
39 |
> alsactl restore |
40 |
> fi |
41 |
> |
42 |
> ... change mode to 755 (chmod 755 /sbin/mysound.sh) |
43 |
> |
44 |
> You can extend it with a stop-flag... I don't need this. |
45 |
> I am set up the volume once and start alsactl store. So i have the |
46 |
> correct volume each time i access the sound-device |
47 |
> |
48 |
> Regards |
49 |
> |
50 |
> Sebastian Werner |
51 |
> |
52 |
> |
53 |
> |
54 |
> Am Mon, 2001-12-31 um 00.18 schrieb Kevin Gordon: |
55 |
>> Hi everyone, |
56 |
>> While doing sound install : |
57 |
>> emerge media-sound/alsa-driver |
58 |
>> depmod -a |
59 |
>> /etc/init.d/alsa start |
60 |
>> received error /etc/asound.conf not found |
61 |
>> edited /etc/modules-autoload (with snd-card-sb16 which I think is ok |
62 |
>> for Creative Vibra128) |
63 |
>> edited /etc/modules.d/aliases |
64 |
>> reboot (snd-card-sb16 did not start (!!) ) |
65 |
>> Any thoughts please? |
66 |
>> Thanks, |
67 |
>> Kevin |
68 |
>> |
69 |
>> _______________________________________________ |
70 |
>> gentoo-dev mailing list |
71 |
>> gentoo-dev@g.o |
72 |
>> http://lists.gentoo.org/mailman/listinfo/gentoo-dev |
73 |
> |
74 |
> |
75 |
> _______________________________________________ |
76 |
> gentoo-dev mailing list |
77 |
> gentoo-dev@g.o |
78 |
> http://lists.gentoo.org/mailman/listinfo/gentoo-dev |