1 |
On Wed, Feb 17, 2010 at 1:15 AM, Alan Mackenzie <acm@×××.de> wrote: |
2 |
> Hi, Mark, |
3 |
> |
4 |
<SNIP> |
5 |
> |
6 |
>> VERY strange that you don't see pcm as a mixer control... |
7 |
> |
8 |
> I've got alsamixer 1.0.21. Could it be that it choses its controls |
9 |
> according to the capabilities of the sound card? |
10 |
> |
11 |
|
12 |
OK, so did you run alsaconf? This will often (but in my experience not |
13 |
always) unmute everything required to get sound. However MANY people |
14 |
(including myself for about a day) have had problems with the |
15 |
HDA-Intel stuff. I'm not exactly sure what HDA ATI SB means thought. |
16 |
|
17 |
If alsaconf finds and unmutes what you need to get sound then alsa run |
18 |
alsactl store to save state. |
19 |
|
20 |
BTW - On a new motherboard I found the Intel HDA analog output (the |
21 |
green plug is analog) wouldn't drive cheap speakers at all. I get |
22 |
sound on that output if I use headphones or a power amp but nothing at |
23 |
all when driving cheap speakers with no power amp. That's the first |
24 |
motherboard I've had which had this problem. |
25 |
|
26 |
If you have some good headphones give them a try. |
27 |
|
28 |
OK - what did you put in /etc/modprobe.d/alsa? Here's mine: |
29 |
|
30 |
firefly ~ # cat /etc/modprobe.d/alsa.conf |
31 |
|
32 |
|
33 |
# ALSA portion |
34 |
alias char-major-116 snd |
35 |
# OSS/Free portion |
36 |
alias char-major-14 soundcore |
37 |
|
38 |
### IMPORTANT: |
39 |
### You need to customise this section for your specific sound card(s) |
40 |
### and then run `update-modules' command. |
41 |
### Read alsa-driver's INSTALL file in /usr/share/doc for more info. |
42 |
### |
43 |
### ALSA portion |
44 |
alias snd-card-0 snd-hda-intel |
45 |
options snd-hda-intel index=0 |
46 |
|
47 |
alias snd-card-1 snd-hdsp |
48 |
options snd-hdsp index=1 |
49 |
|
50 |
### OSS/Free portion |
51 |
alias sound-slot-0 snd-card-0 |
52 |
#alias sound-slot-1 snd-card-1 |
53 |
### |
54 |
# |
55 |
## OSS/Free portion - card #1 |
56 |
alias sound-service-0-0 snd-mixer-oss |
57 |
alias sound-service-0-1 snd-seq-oss |
58 |
alias sound-service-0-3 snd-pcm-oss |
59 |
alias sound-service-0-8 snd-seq-oss |
60 |
alias sound-service-0-12 snd-pcm-oss |
61 |
### OSS/Free portion - card #2 |
62 |
### alias sound-service-1-0 snd-mixer-oss |
63 |
### alias sound-service-1-3 snd-pcm-oss |
64 |
### alias sound-service-1-12 snd-pcm-oss |
65 |
# |
66 |
alias /dev/mixer snd-mixer-oss |
67 |
alias /dev/dsp snd-pcm-oss |
68 |
alias /dev/midi snd-seq-oss |
69 |
# |
70 |
## Set this to the correct number of cards. |
71 |
options snd cards_limit=2 |
72 |
# |
73 |
firefly ~ # |
74 |
|
75 |
>> It's a bit hard to say much with so little info but I'll offer a |
76 |
>> couple of things: |
77 |
> |
78 |
>> 1) IMO Alsa has never run so well when drivers are compiled into the |
79 |
>> kernel. I do a lot of audio in Linux and have always had the best |
80 |
>> results using modules. I would strongly suggest you give it a try... |
81 |
> |
82 |
> Oh deity! I was hoping not to have to do this. I've never used modules |
83 |
> before, since they are (or were) an unnecessary complication, and might |
84 |
> introduce security risks. Maybe I'll have to read up on this. |
85 |
|
86 |
OK - I get that you don't want to, and that you have good reasons, but |
87 |
I'm suggesting you do it at least for debug. Once you have it working |
88 |
you can try building them into the kernel. I will report that I've had |
89 |
trouble over the years doing this, but I've used a lot of strange |
90 |
cards here so maybe it's old issues that have been fixed. |
91 |
|
92 |
I know the Alsa developers used to insist we do it with modules. That |
93 |
was 1999-2000 so likely it's all fixed but I still use modules here. |
94 |
|
95 |
> |
96 |
>> 2) Under /proc/asound/card0 (or whatever card you are using if you |
97 |
>> have more than 1) do you see any pcm directories? |
98 |
> |
99 |
> # ls /proc/asound/card0 |
100 |
> codec#0 id oss_mixer pcm0c pcm0p pcm1p pcm2c |
101 |
> |
102 |
> , so yes, I can see some pcm directories. |
103 |
> |
104 |
>> 3) Post back a little more info? |
105 |
> |
106 |
>> cat /proc/asound/cards |
107 |
> |
108 |
> 0 [SB ]: HDA-Intel - HDA ATI SB |
109 |
> HDA ATI SB at 0xfbcf8000 irq 16 |
110 |
> 1 [HDMI ]: HDA-Intel - HDA ATI HDMI |
111 |
> HDA ATI HDMI at 0xfbffc000 irq 19 |
112 |
> |
113 |
> |
114 |
>> aplay -l |
115 |
> |
116 |
> **** List of PLAYBACK Hardware Devices **** |
117 |
> card 0: SB [HDA ATI SB], device 0: ALC1200 Analog [ALC1200 Analog] |
118 |
> Subdevices: 1/1 |
119 |
> Subdevice #0: subdevice #0 |
120 |
> card 0: SB [HDA ATI SB], device 1: ALC1200 Digital [ALC1200 Digital] |
121 |
> Subdevices: 1/1 |
122 |
> Subdevice #0: subdevice #0 |
123 |
> card 1: HDMI [HDA ATI HDMI], device 3: ATI HDMI [ATI HDMI] |
124 |
> Subdevices: 1/1 |
125 |
> Subdevice #0: subdevice #0 |
126 |
> |
127 |
>> aplay -L |
128 |
> |
129 |
> default:CARD=SB |
130 |
> HDA ATI SB, ALC1200 Analog |
131 |
> Default Audio Device |
132 |
> front:CARD=SB,DEV=0 |
133 |
> HDA ATI SB, ALC1200 Analog |
134 |
> Front speakers |
135 |
> surround40:CARD=SB,DEV=0 |
136 |
> HDA ATI SB, ALC1200 Analog |
137 |
> 4.0 Surround output to Front and Rear speakers |
138 |
> surround41:CARD=SB,DEV=0 |
139 |
> HDA ATI SB, ALC1200 Analog |
140 |
> 4.1 Surround output to Front, Rear and Subwoofer speakers |
141 |
> surround50:CARD=SB,DEV=0 |
142 |
> HDA ATI SB, ALC1200 Analog |
143 |
> 5.0 Surround output to Front, Center and Rear speakers |
144 |
> surround51:CARD=SB,DEV=0 |
145 |
> HDA ATI SB, ALC1200 Analog |
146 |
> 5.1 Surround output to Front, Center, Rear and Subwoofer speakers |
147 |
> surround71:CARD=SB,DEV=0 |
148 |
> HDA ATI SB, ALC1200 Analog |
149 |
> 7.1 Surround output to Front, Center, Side, Rear and Woofer speakers |
150 |
> iec958:CARD=SB,DEV=0 |
151 |
> HDA ATI SB, ALC1200 Digital |
152 |
> IEC958 (S/PDIF) Digital Audio Output |
153 |
> null |
154 |
> Discard all samples (playback) or generate zero samples (capture) |
155 |
> hdmi:CARD=HDMI |
156 |
> HDA ATI HDMI, ATI HDMI |
157 |
> HDMI Audio Output |
158 |
> |
159 |
> |
160 |
|
161 |
So it seems that the Intel SB cards - what's SB? Sound Blaster? - is |
162 |
being chosen as default. That implies to me it's got a reasonable |
163 |
driver. |
164 |
|
165 |
It may well be that the card is routing audio to the digital output |
166 |
when you are trying to get analog. |
167 |
|
168 |
>> lsmod |
169 |
> |
170 |
> Opening /proc/modules: No such file or directory |
171 |
> |
172 |
>> Good luck, |
173 |
> |
174 |
> Thanks! |
175 |
> |
176 |
>> Mark |
177 |
> |
178 |
> -- |
179 |
> Alan Mackenzie (Nuremberg, Germany). |
180 |
> |
181 |
> |