Gentoo Archives: gentoo-user

From: James <wireless@×××××××××××.com>
To: gentoo-user@l.g.o
Subject: [gentoo-user] kernel audio config issue
Date: Sun, 25 Dec 2005 19:53:32
Message-Id: loom.20051225T202825-287@post.gmane.org
1 Hello,
2
3 I have been trying get the right combination of kernel modules selected
4 for building a kernel that allows me to select the output and input
5 hardware via kmix. The machine laptop has an onboard frame grabber:
6
7 lspci:
8 02:04.1 Multimedia controller: Brooktree Corporation Bt878 Audio Capture (rev 11)
9 00:1f.5 Multimedia audio controller: Intel Corporation 82801CA/CAM AC'97 Audio
10 Controller (rev 02)
11
12 Kmix shows these options for "Current Mixer"
13 Intel 82801CA-ICH3
14 Intel 82801CA-ICH3 Modem
15
16 With these selections for Sound drivers in the 2.6.14.gentoo.r4 kernel are
17 used:
18 # Sound
19 CONFIG_SOUND=y
20 # Advanced Linux Sound Architecture
21 CONFIG_SND=y
22 CONFIG_SND_TIMER=y
23 CONFIG_SND_PCM=y
24 CONFIG_SND_SEQUENCER=y
25 CONFIG_SND_SEQ_DUMMY=y
26 CONFIG_SND_OSSEMUL=y
27 CONFIG_SND_MIXER_OSS=y
28 CONFIG_SND_PCM_OSS=y
29 CONFIG_SND_SEQUENCER_OSS=y
30 CONFIG_SND_VERBOSE_PRINTK=y
31 CONFIG_SND_DEBUG=y
32 CONFIG_SND_DEBUG_MEMORY=y
33 CONFIG_SND_DEBUG_DETECT=y
34 # ISA devices
35 CONFIG_SND_AC97_
36 CONFIG_SND_AC97_BUS=y
37 # PCI devices
38 CONFIG_SND_BT87X=y
39 CONFIG_SND_BT87X_OVERCLOCK=y
40 CONFIG_SND_INTEL8X0=y
41 CONFIG_SND_INTEL8X0M=y
42 CONFIG_SND_HDA_INTEL=y
43 # Open Sound System
44 CONFIG_SOUND_PRIME=y
45 CONFIG_SOUND_BT878=y
46
47 However with a '2.6.12-gentoo-r10' kernel I Kmix shows the correct choice
48 between the intel device and the BT878 device options for "Current Mixer".
49
50 Here are the settings for the 2.6.12-gentoo-r10 kernel which correctly
51 shows the bt878 and the intel hardware:
52 # Sound
53 CONFIG_SOUND=y
54 # Advanced Linux Sound Architecture
55 CONFIG_SND=y
56 CONFIG_SND_TIMER=y
57 CONFIG_SND_PCM=y
58 CONFIG_SND_SEQUENCER=y
59 # CONFIG_SND_SEQ_DUMMY is not set
60 CONFIG_SND_OSSEMUL=y
61 CONFIG_SND_MIXER_OSS=y
62 CONFIG_SND_PCM_OSS=y
63 CONFIG_SND_SEQUENCER_OSS=y
64 # CONFIG_SND_VERBOSE_PRINTK is not set
65 # CONFIG_SND_DEBUG is not set
66 # PCI devices
67 CONFIG_SND_AC97_CODEC=y
68 CONFIG_SND_BT87X=y
69 CONFIG_SND_BT87X_OVERCLOCK=y
70 CONFIG_SND_INTEL8X0=y
71 # Open Sound System
72 CONFIG_SOUND_PRIME=y
73 CONFIG_SOUND_BT878=y
74
75
76 The obvious differences in the /usr/src/linux/.config files for the
77 2.6.14-r4 and the 1.6.12.r10 have been modified for every conceivable
78 combination, including exactly identical, yet I cannot get the
79 "Current mixer" options in 2.6.14 to make those of 2.6.12....
80
81 This issue is on the same
82 laptop, not different laptops and all other configs are the same, so
83 it must be in how the kernel is configured. I even directly editing
84 the /usr/src/linux/.config file directly so as to not make a mistake
85 via make menuconfig. After making modifications to the /usr/src/linux/.config
86 file I run these commands (from /usr/src/linux):
87
88 make && make modules_install
89 cp .config /boot/config-2.6.14-gentoo-r4
90 cp System.map /boot/System.map-2.6.14-gentoo-r4
91 cp arch/i386/boot/bzImage /boot/kernel-2.6.14-gentoo-r4
92 reboot <and test>
93
94 Thoughts and ideas are most appreciated.
95 James
96
97
98
99
100
101 --
102 gentoo-user@g.o mailing list