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