1 |
Michael Sullivan schreef: |
2 |
> On Sat, 2005-10-22 at 00:53 -0700, Richard Fish wrote: |
3 |
> |
4 |
>> Mark Knecht wrote: |
5 |
>> |
6 |
>> |
7 |
>>> On 10/21/05, Richard Fish <bigfish@××××××××××.org> wrote: |
8 |
>>> |
9 |
>>> |
10 |
>>> |
11 |
>>>> Mark Knecht wrote: |
12 |
>>>> |
13 |
>>>> |
14 |
>>>> |
15 |
>>>> |
16 |
>>>>> I'm tellin' ya. alsamixer is jsut a gui for amixer and amixer |
17 |
>>>>> does not work for every Alsa supported card. You need to |
18 |
>>>>> find out from the Alsa folks what is the supported mixer for |
19 |
>>>>> this card. |
20 |
>>>>> |
21 |
>>>>> |
22 |
>>>>> |
23 |
>>>>> |
24 |
>>>> |
25 |
>>>> Just an FYI, I also have an intel-hda (in my laptop). Alsamixer |
26 |
>>>> supports it just fine, except that the stupid card doesn't |
27 |
>>>> provide a "Master Volume" control, so you have to adjust the |
28 |
>>>> speaker volume with the "Front" control. Stupid card. |
29 |
>>>> |
30 |
>>>> -Richard |
31 |
>>>> |
32 |
>>>> |
33 |
>>> |
34 |
>>> What kernel are you running? Can you give Michael a hint as to |
35 |
>>> how you set it up? |
36 |
>>> |
37 |
>>> |
38 |
>> |
39 |
>> Kernel version is from suspend2-sources-2.6.13-r5. I didn't have |
40 |
>> to do anything special for setup though..."it just worked". |
41 |
>> |
42 |
>> I suspect you are correct that it is a driver bug and a newer |
43 |
>> version of the driver would help. Michael, sorry I haven't been |
44 |
>> following this thread closely, but have you tried a .14-rc kernel? |
45 |
>> I just looked at vanilla-sources-2.6.14-rc5, and there seems to be |
46 |
>> some significant changes with the newest kernel. |
47 |
>> |
48 |
>> Anyway, some basic information about my setup follows. I can |
49 |
>> provide more if desired (particularly /etc/asound.state, |
50 |
>> ~/.asoundrc, or amixer output). |
51 |
>> |
52 |
>> carcharias linux # lsmod Module Size Used by ... |
53 |
>> snd_hda_intel 15872 1 snd_hda_codec 73536 1 |
54 |
>> snd_hda_intel snd_pcm 78600 2 |
55 |
>> snd_hda_intel,snd_hda_codec snd_timer 22212 1 snd_pcm |
56 |
>> snd 43192 6 |
57 |
>> snd_hda_intel,snd_hda_codec,snd_pcm,snd_timer soundcore 9056 1 snd |
58 |
>> snd_page_alloc 9800 2 snd_hda_intel,snd_pcm ... |
59 |
>> |
60 |
>> carcharias linux # emerge -vp alsa-lib alsa-utils alsa-tools |
61 |
>> alsa-headers These are the packages that I would merge, in order: |
62 |
>> Calculating dependencies ...done! [ebuild R ] |
63 |
>> media-libs/alsa-lib-1.0.9 +doc -jack 0 kB [ebuild R ] |
64 |
>> media-sound/alsa-utils-1.0.9a-r1 +nls 0 kB [ebuild R ] |
65 |
>> media-sound/alsa-tools-1.0.9 +X 0 kB [ebuild R ] |
66 |
>> media-sound/alsa-headers-1.0.9b 0 kB |
67 |
>> |
68 |
>> carcharias linux # lspci -n ... 00:1b.0 0403: 8086:2668 (rev 04) |
69 |
>> ... |
70 |
>> |
71 |
>> carcharias linux # lspci -vv ... 00:1b.0 Class 0403: Intel |
72 |
>> Corporation 82801FB/FBM/FR/FW/FRW (ICH6 Family) High Definition |
73 |
>> Audio Controller (rev 04) Subsystem: ASUSTeK Computer Inc. Unknown |
74 |
>> device 10c3 Control: I/O- Mem+ BusMaster+ SpecCycle- MemWINV- |
75 |
>> VGASnoop- ParErr- Stepping- SERR- FastB2B- Status: Cap+ 66MHz- UDF- |
76 |
>> FastB2B- ParErr- DEVSEL=fast >TAbort- <TAbort- <MAbort- >SERR- |
77 |
>> <PERR- Latency: 0, Cache Line Size 08 Interrupt: pin A routed to |
78 |
>> IRQ 16 Region 0: Memory at febf8000 (64-bit, non-prefetchable) |
79 |
>> [size=16K] Capabilities: [50] Power Management version 2 Flags: |
80 |
>> PMEClk- DSI- D1- D2- AuxCurrent=55mA |
81 |
>> PME(D0+,D1-,D2-,D3hot+,D3cold+) Status: D0 PME-Enable- DSel=0 |
82 |
>> DScale=0 PME- Capabilities: [60] Message Signalled Interrupts: |
83 |
>> 64bit+ Queue=0/0 Enable- Address: 0000000000000000 Data: 0000 |
84 |
>> Capabilities: [70] Express Unknown type IRQ 0 Device: Supported: |
85 |
>> MaxPayload 128 bytes, PhantFunc 0, ExtTag- Device: Latency L0s |
86 |
>> <64ns, L1 <1us Device: Errors: Correctable- Non-Fatal- Fatal- |
87 |
>> Unsupported- Device: RlxdOrd- ExtTag- PhantFunc- AuxPwr- NoSnoop+ |
88 |
>> Device: MaxPayload 128 bytes, MaxReadReq 128 bytes Link: Supported |
89 |
>> Speed unknown, Width x0, ASPM unknown, Port 0 Link: Latency L0s |
90 |
>> <64ns, L1 <1us Link: ASPM Disabled CommClk- ExtSynch- Link: Speed |
91 |
>> unknown, Width x0 Capabilities: [100] Virtual Channel Capabilities: |
92 |
>> [130] Unknown (5) ... |
93 |
>> |
94 |
>> -Richard |
95 |
>> |
96 |
> |
97 |
> |
98 |
> I built and rebooted with the vanilla kernel 2.6.14-rc5 and started |
99 |
> /etc/init.d/alsasound: |
100 |
> |
101 |
> camille ~ # /etc/init.d/alsasound start * Loading ALSA modules ... * |
102 |
> Loading: snd-card-0 ... [ ok ] * Loading: snd-seq-oss ... [ ok ] * |
103 |
> Loading: snd-pcm-oss ... [ ok ] * Restoring Mixer Levels ... * No |
104 |
> mixer config in /etc/asound.state, you have to unmute your card! [ ok |
105 |
> ] |
106 |
|
107 |
OK that works (we know you haven't unmuted your card, and we know (or |
108 |
are almost sure) that running alsamixer is what creates |
109 |
/etc/asound.state, so it's no surprise that it's not there. |
110 |
|
111 |
> I can modprobe snd-hda-intel successfully. |
112 |
> |
113 |
> Here is lsmod: |
114 |
> |
115 |
> camille ~ # lsmod Module Size Used by snd_pcm_oss |
116 |
> 36256 0 snd_mixer_oss 12224 1 snd_pcm_oss snd_seq_oss |
117 |
> 21280 0 snd_seq_midi_event 2976 1 snd_seq_oss snd_seq 30384 4 |
118 |
> snd_seq_oss,snd_seq_midi_event snd_seq_device 4588 2 |
119 |
> snd_seq_oss,snd_seq snd_hda_intel 11328 0 snd_hda_codec |
120 |
> 58816 1 snd_hda_intel snd_pcm 49960 3 |
121 |
> snd_pcm_oss,snd_hda_intel,snd_hda_codec snd_timer 14436 |
122 |
> 2 snd_seq,snd_pcm snd 28676 9 |
123 |
> snd_pcm_oss,snd_mixer_oss,snd_seq_oss,snd_seq,snd_seq_device,snd_hda_intel,snd_hda_codec,snd_pcm,snd_timer |
124 |
> snd_page_alloc 6312 2 snd_hda_intel,snd_pcm |
125 |
<snip> |
126 |
|
127 |
looks good |
128 |
|
129 |
> |
130 |
> camille ~ # emerge -vp alsa-lib alsa-utils alsa-tools |
131 |
> |
132 |
> These are the packages that I would merge, in order: |
133 |
> |
134 |
> Calculating dependencies ...done! [ebuild R ] |
135 |
> media-libs/alsa-lib-1.0.10_rc2 +doc +jack* 0 kB [ebuild R ] |
136 |
> media-sound/alsa-utils-1.0.10_rc2 +nls 0 kB [ebuild R ] |
137 |
> media-sound/alsa-tools-1.0.8-r1 +X 0 kB |
138 |
|
139 |
|
140 |
You could probably use alsa-oss as well, since you're using ALSA OSS |
141 |
emulation; you might consider alsa-headers, and alsa-firmware, too. |
142 |
|
143 |
> |
144 |
> |
145 |
<snip> |
146 |
> |
147 |
> 0000:00:1b.0 Class 0403: Intel Corporation 82801FB/FBM/FR/FW/FRW |
148 |
> (ICH6 Family) High Definition Audio Controller (rev 03) Subsystem: |
149 |
> Intel Corporation: Unknown device e213 Control: I/O- Mem+ BusMaster+ |
150 |
> SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- |
151 |
> Status: Cap+ 66Mhz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort- |
152 |
> <TAbort- <MAbort- >SERR- <PERR- Latency: 0, cache line size 10 |
153 |
> Interrupt: pin A routed to IRQ 11 Region 0: Memory at ffac0000 |
154 |
> (64-bit, non-prefetchable) [size=16K] Capabilities: [50] Power |
155 |
> Management version 2 Flags: PMEClk- DSI- D1- D2- AuxCurrent=55mA |
156 |
> PME(D0+,D1-,D2-,D3hot+,D3cold+) Status: D0 PME-Enable- |
157 |
> DSel=0 DScale=0 PME- Capabilities: [60] Message Signalled |
158 |
> Interrupts: 64bit+ Queue=0/0 Enable- Address: 0000000000000000 Data: |
159 |
> 0000 Capabilities: [70] #10 [0091] |
160 |
|
161 |
Well, we knew the card was being detected, so that's good. I wonder if |
162 |
any of this additional information needs to be set as extra parameters |
163 |
for the card in one or more of the ALSA configuration files? |
164 |
|
165 |
> |
166 |
> |
167 |
> alsamixer and amixer still refuse to start. When I restart |
168 |
> /etc/init.d/alsasound it gives me an alsactl error on stopping: |
169 |
> |
170 |
> camille ~ # /etc/init.d/alsasound restart * Storing ALSA Mixer Levels |
171 |
> ... /usr/sbin/alsactl: get_control:149: Cannot read control info |
172 |
> '2,0,0,Front Playback Volume,0': Invalid argument [ !! ] * Unloading |
173 |
> ALSA ... [ ok ] * Unloading ALSA modules ... [ ok ] * Loading ALSA |
174 |
> modules ... * Loading: snd-card-0 ... [ ok ] * Loading: |
175 |
> snd-seq-oss ... [ ok ] * Loading: snd-pcm-oss ... [ ok ] * |
176 |
> Restoring Mixer Levels ... * No mixer config in /etc/asound.state, |
177 |
> you have to unmute your card! [ ok |
178 |
> |
179 |
First of all, what error does *alsamixer* (not amixer) give you when you |
180 |
attempt to start it. |
181 |
|
182 |
Second of all.. I just attempted a restart of alsasound to see what |
183 |
'correct' output should be, and I noticed that one instance of GKrellm2 |
184 |
closed (the instance that uses the 'Volume' plugin, unsurprisingly). |
185 |
Which got me thinking... are you doing this under a loaded DE/WM? if so, |
186 |
which one? Both GNOME and KDE have audio subsystems which kinda actively |
187 |
interfere with ALSA when first installed (or rather, until you get them |
188 |
synchronized). It's possible that aRTS or eds is interfering with ALSA |
189 |
reading the card information, but..... |
190 |
|
191 |
...third of all, I notice that the error you're getting just *happens* |
192 |
to be in the very control that Richard says is a 'problem': |
193 |
|
194 |
Richard Fish schreef: |
195 |
> Just an FYI, I also have an intel-hda (in my laptop). Alsamixer |
196 |
> supports it just fine, except that the stupid card doesn't provide a |
197 |
> "Master Volume" control, so you have to adjust the speaker volume |
198 |
> with the "Front" control. Stupid card. |
199 |
|
200 |
Right, so the idea (generally) is that this card maps Master to Front, |
201 |
which seems to be confusing to alsasound, which cannot read 'Front' for |
202 |
some reason (possibly because it does not understand/has not been told |
203 |
that Master=Front, so it's still looking for a 'Master' control that |
204 |
does not exist, and is not expecting the 'Master' control output to be |
205 |
labelled 'Front'?). |
206 |
|
207 |
Richard, did you have to do anything to make ALSA understand that there |
208 |
was no Master control and that Front should be used for this purpose? |
209 |
|
210 |
Holly |
211 |
-- |
212 |
gentoo-user@g.o mailing list |