1 |
Hi, |
2 |
|
3 |
On Sat, 13 Oct 2007 22:23:35 +0800 |
4 |
"Chuanwen Wu" <wcw8410@×××××.com> wrote: |
5 |
|
6 |
> Yes,both my Windows XP and another linux os Redflag have sound. Is |
7 |
> there anyway that I can use the Redflag's modules to driver my |
8 |
> gentoo? |
9 |
|
10 |
Only by using its kernel, too. Then you would just copy the kernel (and |
11 |
initrd, if needed, but this might be a bag of problems if the initrd |
12 |
depends on stuff from the base system) from /boot and the according |
13 |
module tree from /lib/modules. |
14 |
|
15 |
I think it would at least be interesting what /proc/asound/version is |
16 |
like on the redflag distro. Also it would be interesting if they use |
17 |
in-kernel ALSA or separate drivers and if the latter is the case, then |
18 |
they might provide source packages -- which potentially include patches |
19 |
that add support for your device. |
20 |
|
21 |
Before trying all that: Did you had a look at the kernel log (use |
22 |
"dmesg")? Were there errors or warnings around the lines that were |
23 |
printed when the ALSA driver was loaded? |
24 |
|
25 |
When you emerge alsa-drivers, also make sure that there are no stale |
26 |
in-kernel modules in /lib/modules/$(uname -r)/kernel/sound/*. You can |
27 |
delete them manually, just run "depmod -ae" afterwards. |
28 |
|
29 |
> Where can I get the audio related kernel log output? |
30 |
|
31 |
look at the output of "dmesg" (e.g. piping it to "less": dmesg|less). |
32 |
However, for me (different card and all works well), there is zero |
33 |
output. You might change that by enabling ALSA debug output in kernel |
34 |
configuration, though... But I'm not sure whether that's worth it. |
35 |
|
36 |
> > In any case, you should probably use the separate alsa-driver from |
37 |
> > portage, preferably the newest (unstable in portage) version. There |
38 |
> > were many changes (some of them adding support for more devices for the |
39 |
> > hda driver) that are not yet in the kernel ALSA tree. |
40 |
> > |
41 |
> I have tried the version (~)1.0.15_rc2,which I heard from someone in |
42 |
> some webpages that it could drive my hda sound card,but it still can't |
43 |
> in my machine. |
44 |
|
45 |
The newer ALSA versions are at least supposed to handle the hda better |
46 |
w/ regard to supported hardware configurations. Doing a little |
47 |
recherche for the little I know about your laptop, I came across this |
48 |
thread: |
49 |
http://www.mail-archive.com/alsa-user@×××××××××××××××××.net/msg20707.html |
50 |
which seems to indicate similar problems which were partly solved by a |
51 |
newer version of alsa-driver. When experimenting with out-of-kernel |
52 |
drivers, always keep an eye on potential conflicts in |
53 |
/lib/modules/$(uname -r), and compare /proc/asound/version against what |
54 |
you think it should be. |
55 |
The thread also indicates that problems with HDA based audio is not a |
56 |
seldom thing to see. |
57 |
|
58 |
You can download newer versions of alsa-driver from their homepage and |
59 |
experiment with it in /usr/local/src. Currently they offer -1.0.15rc3, |
60 |
you might want to try it, it lists changes w/ regard to the hda driver. |
61 |
http://www.alsa-project.org/ |
62 |
|
63 |
> And the one of version 9999, I think I can never emerge it: |
64 |
> >>> Emerging (1 of 2) media-sound/alsa-headers-9999 to / |
65 |
> * checking ebuild checksums ;-) ... [ ok ] |
66 |
> * checking auxfile checksums ;-) ... [ ok ] |
67 |
> * checking miscfile checksums ;-) ... [ ok ] |
68 |
> >>> Unpacking source... |
69 |
> * hg clone http://hg.alsa-project.org/alsa-kernel ... |
70 |
> real URL is http://hg.alsa-project.org/alsa-kernel/ |
71 |
> requesting all changes |
72 |
> adding changesets |
73 |
> |
74 |
> The network is so slow and this status has already keep couples of hours. |
75 |
|
76 |
Yes, that's the culprit with distributed versioning systems. You have |
77 |
to download the full change history. I've not used mercurial recently, |
78 |
so I don't have a suggestion how to only download HEAD or something |
79 |
like that, if that's possible at all. |
80 |
|
81 |
I think at the moment there is no point in using a current Mercurial |
82 |
checkout. From what I see on |
83 |
http://hg-mirror.alsa-project.org/alsa-driver/ |
84 |
the last changes after 1.0.15rc3 don't matter in your case, so start |
85 |
trying that (as said, you can download it from their homepage). |
86 |
|
87 |
-hwh |
88 |
-- |
89 |
gentoo-user@g.o mailing list |