1 |
On Tue, 07 Dec 2004 02:29, james wrote: |
2 |
> > Glenn Enright <elinar <at> ihug.co.nz> writes: |
3 |
> > > can you post the result of 'lsmod' please and describe your sound |
4 |
> > > hardware |
5 |
> |
6 |
> grep sound: |
7 |
> <is empty> |
8 |
> |
9 |
<warning: long message> |
10 |
|
11 |
Right. Looks like there is no sound support in your kernel. We can fix |
12 |
that :). There are two options. Recompile your otherwise perfectly good |
13 |
kernel and choose the alsa modules you need (can be guess work sometimes :p. |
14 |
Or alternatively emerge -avD alsa-drivers, which will have the latest version |
15 |
of all the sound support you need. Note that this is equivaslent to a lot of |
16 |
the stuff you find in the alsa howto on their site. |
17 |
|
18 |
I suggest you try the latter and if that works you can unmerge it and fiddle |
19 |
around to get the kernel modules correct whenever you feel like it ;). You |
20 |
may find the emerge pulls in some other stuff. Just make a note of what it is |
21 |
and any instructions that may be given. Since you already have alsasound in |
22 |
your runlevel then that done. |
23 |
|
24 |
Go to /etc/modules.d and edit the file alsa. Once youve finished it should |
25 |
look something like the following. The <<< are my addition. Look at them :) |
26 |
|
27 |
# ALSA portion |
28 |
alias char-major-116 snd |
29 |
# OSS/Free portion |
30 |
alias char-major-14 soundcore |
31 |
|
32 |
## |
33 |
## IMPORTANT: |
34 |
## You need to customise this section for your specific sound card(s) |
35 |
## and then run `update-modules' command. |
36 |
## Read alsa-driver's INSTALL file in /usr/share/doc for more info. |
37 |
## |
38 |
## ALSA portion |
39 |
alias snd-card-0 snd-intel8x0 <<<< This is where you specify |
40 |
<<<< the correct module for your |
41 |
<<<< sound hardware. Look in the |
42 |
<<<< /lib/modules/<kernelversion> |
43 |
<<<< under kernel/drivers for |
44 |
<<<< options. |
45 |
## alias snd-card-1 snd-ens1371 |
46 |
## OSS/Free portion |
47 |
alias sound-slot-0 snd-card-0 |
48 |
## alias sound-slot-1 snd-card-1 |
49 |
|
50 |
|
51 |
# OSS/Free portion - card #1 |
52 |
alias sound-service-0-0 snd-mixer-oss |
53 |
alias sound-service-0-1 snd-seq-oss |
54 |
alias sound-service-0-3 snd-pcm-oss |
55 |
alias sound-service-0-8 snd-seq-oss |
56 |
alias sound-service-0-12 snd-pcm-oss |
57 |
## OSS/Free portion - card #2 |
58 |
## alias sound-service-1-0 snd-mixer-oss |
59 |
## alias sound-service-1-3 snd-pcm-oss |
60 |
## alias sound-service-1-12 snd-pcm-oss |
61 |
|
62 |
|
63 |
alias /dev/mixer snd-mixer-oss |
64 |
alias /dev/dsp snd-pcm-oss |
65 |
alias /dev/midi snd-seq-oss |
66 |
|
67 |
# Set this to the correct number of cards. |
68 |
options snd cards_limit=1 |
69 |
|
70 |
-- |
71 |
|
72 |
BOFH Excuse #20: |
73 |
|
74 |
divide-by-zero error |