From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from pigeon.gentoo.org ([208.92.234.80] helo=lists.gentoo.org) by finch.gentoo.org with esmtp (Exim 4.60) (envelope-from ) id 1NhmCV-0001AE-Sn for garchives@archives.gentoo.org; Wed, 17 Feb 2010 15:52:32 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 64B50E079A; Wed, 17 Feb 2010 15:52:18 +0000 (UTC) Received: from mail-iw0-f200.google.com (mail-iw0-f200.google.com [209.85.223.200]) by pigeon.gentoo.org (Postfix) with ESMTP id 26707E079A for ; Wed, 17 Feb 2010 15:52:18 +0000 (UTC) Received: by iwn38 with SMTP id 38so1229678iwn.11 for ; Wed, 17 Feb 2010 07:52:18 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:content-type :content-transfer-encoding; bh=96RBKpsPuycA+4KbGAEDg/HtyL96V6dvsOZLSAgjeco=; b=IWUSehKbhnI8D2AtdoXL6m4VZRooA/PpmSKMTLUMvvRP1F5va0UB1S4UjYILPPnVXD NkR5kKCFWLLyp6mh8Fo1RDp0ziXl027FYk1UU0xunNFLlXAXAB1wwUPn+DDr8xFeHvsq vod4ZOIq9BCPV4smuLbusDysscjPHYm60cmpY= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type:content-transfer-encoding; b=IUNMGHyjmEcGHdnxRmz+xZ+7OoJyqmZkiUHh3X5z9ihFWXMTHeoQhHKSgIbXP0vmQh 4VdIDYsQsm3g7eYadqO7o4PG06hdLxkxIbenHZm6yN4bNjcDCn7Lc50/qaWLDpi8MbUy 0QLp2I7ScvbDuc4wwpD22rPOvFFnBF73/BgxM= Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-user@lists.gentoo.org Reply-to: gentoo-user@lists.gentoo.org MIME-Version: 1.0 Received: by 10.143.154.39 with SMTP id g39mr175893wfo.193.1266421937506; Wed, 17 Feb 2010 07:52:17 -0800 (PST) In-Reply-To: <20100217091506.GB2392@muc.de> References: <20100216145412.GA3456@muc.de> <5bdc1c8b1002161620o3ad074di7bea5d26bd68e02c@mail.gmail.com> <20100217091506.GB2392@muc.de> Date: Wed, 17 Feb 2010 07:52:17 -0800 Message-ID: <5bdc1c8b1002170752o4a423151oeab69dddb49f9e7b@mail.gmail.com> Subject: Re: [gentoo-user] Can't hear anything. :-( From: Mark Knecht To: gentoo-user@lists.gentoo.org Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Archives-Salt: 5262ab42-6472-49d1-8ee8-52f1102ea6b3 X-Archives-Hash: fb98c75aabcab0fde3c0b040eb746546 On Wed, Feb 17, 2010 at 1:15 AM, Alan Mackenzie wrote: > Hi, Mark, > > >> VERY strange that you don't see pcm as a mixer control... > > I've got alsamixer 1.0.21. =C2=A0Could it be that it choses its controls > according to the capabilities of the sound card? > OK, so did you run alsaconf? This will often (but in my experience not always) unmute everything required to get sound. However MANY people (including myself for about a day) have had problems with the HDA-Intel stuff. I'm not exactly sure what HDA ATI SB means thought. If alsaconf finds and unmutes what you need to get sound then alsa run alsactl store to save state. BTW - On a new motherboard I found the Intel HDA analog output (the green plug is analog) wouldn't drive cheap speakers at all. I get sound on that output if I use headphones or a power amp but nothing at all when driving cheap speakers with no power amp. That's the first motherboard I've had which had this problem. If you have some good headphones give them a try. OK - what did you put in /etc/modprobe.d/alsa? Here's mine: firefly ~ # cat /etc/modprobe.d/alsa.conf # ALSA portion alias char-major-116 snd # OSS/Free portion alias char-major-14 soundcore ### IMPORTANT: ### You need to customise this section for your specific sound card(s) ### and then run `update-modules' command. ### Read alsa-driver's INSTALL file in /usr/share/doc for more info. ### ### ALSA portion alias snd-card-0 snd-hda-intel options snd-hda-intel index=3D0 alias snd-card-1 snd-hdsp options snd-hdsp index=3D1 ### OSS/Free portion alias sound-slot-0 snd-card-0 #alias sound-slot-1 snd-card-1 ### # ## OSS/Free portion - card #1 alias sound-service-0-0 snd-mixer-oss alias sound-service-0-1 snd-seq-oss alias sound-service-0-3 snd-pcm-oss alias sound-service-0-8 snd-seq-oss alias sound-service-0-12 snd-pcm-oss ### OSS/Free portion - card #2 ### alias sound-service-1-0 snd-mixer-oss ### alias sound-service-1-3 snd-pcm-oss ### alias sound-service-1-12 snd-pcm-oss # alias /dev/mixer snd-mixer-oss alias /dev/dsp snd-pcm-oss alias /dev/midi snd-seq-oss # ## Set this to the correct number of cards. options snd cards_limit=3D2 # firefly ~ # >> It's a bit hard to say much with so little info but I'll offer a >> couple of things: > >> 1) IMO Alsa has never run so well when drivers are compiled into the >> kernel. I do a lot of audio in Linux and have always had the best >> results using modules. I would strongly suggest you give it a try... > > Oh deity! =C2=A0I was hoping not to have to do this. =C2=A0I've never use= d modules > before, since they are (or were) an unnecessary complication, and might > introduce security risks. =C2=A0Maybe I'll have to read up on this. OK - I get that you don't want to, and that you have good reasons, but I'm suggesting you do it at least for debug. Once you have it working you can try building them into the kernel. I will report that I've had trouble over the years doing this, but I've used a lot of strange cards here so maybe it's old issues that have been fixed. I know the Alsa developers used to insist we do it with modules. That was 1999-2000 so likely it's all fixed but I still use modules here. > >> 2) Under /proc/asound/card0 (or whatever card you are using if you >> have more than 1) do you see any pcm directories? > > =C2=A0 =C2=A0# ls /proc/asound/card0 > =C2=A0 =C2=A0 =C2=A0codec#0 =C2=A0id =C2=A0oss_mixer =C2=A0pcm0c =C2=A0pc= m0p pcm1p =C2=A0pcm2c > > , so yes, I can see some pcm directories. > >> 3) Post back a little more info? > >> cat /proc/asound/cards > > =C2=A0 0 [SB =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 ]: HDA-Intel - HDA= ATI SB > =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0 =C2=A0HDA ATI SB at 0xfbcf8000 irq 16 > =C2=A0 1 [HDMI =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 ]: HDA-Intel - HDA ATI = HDMI > =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0 =C2=A0HDA ATI HDMI at 0xfbffc000 irq 19 > > >> aplay -l > > =C2=A0 **** List of PLAYBACK Hardware Devices **** > =C2=A0 card 0: SB [HDA ATI SB], device 0: ALC1200 Analog [ALC1200 Analog] > =C2=A0 =C2=A0 Subdevices: 1/1 > =C2=A0 =C2=A0 Subdevice #0: subdevice #0 > =C2=A0 card 0: SB [HDA ATI SB], device 1: ALC1200 Digital [ALC1200 Digita= l] > =C2=A0 =C2=A0 Subdevices: 1/1 > =C2=A0 =C2=A0 Subdevice #0: subdevice #0 > =C2=A0 card 1: HDMI [HDA ATI HDMI], device 3: ATI HDMI [ATI HDMI] > =C2=A0 =C2=A0 Subdevices: 1/1 > =C2=A0 =C2=A0 Subdevice #0: subdevice #0 > >> aplay -L > > =C2=A0 default:CARD=3DSB > =C2=A0 =C2=A0 =C2=A0 HDA ATI SB, ALC1200 Analog > =C2=A0 =C2=A0 =C2=A0 Default Audio Device > =C2=A0 front:CARD=3DSB,DEV=3D0 > =C2=A0 =C2=A0 =C2=A0 HDA ATI SB, ALC1200 Analog > =C2=A0 =C2=A0 =C2=A0 Front speakers > =C2=A0 surround40:CARD=3DSB,DEV=3D0 > =C2=A0 =C2=A0 =C2=A0 HDA ATI SB, ALC1200 Analog > =C2=A0 =C2=A0 =C2=A0 4.0 Surround output to Front and Rear speakers > =C2=A0 surround41:CARD=3DSB,DEV=3D0 > =C2=A0 =C2=A0 =C2=A0 HDA ATI SB, ALC1200 Analog > =C2=A0 =C2=A0 =C2=A0 4.1 Surround output to Front, Rear and Subwoofer spe= akers > =C2=A0 surround50:CARD=3DSB,DEV=3D0 > =C2=A0 =C2=A0 =C2=A0 HDA ATI SB, ALC1200 Analog > =C2=A0 =C2=A0 =C2=A0 5.0 Surround output to Front, Center and Rear speake= rs > =C2=A0 surround51:CARD=3DSB,DEV=3D0 > =C2=A0 =C2=A0 =C2=A0 HDA ATI SB, ALC1200 Analog > =C2=A0 =C2=A0 =C2=A0 5.1 Surround output to Front, Center, Rear and Subwo= ofer speakers > =C2=A0 surround71:CARD=3DSB,DEV=3D0 > =C2=A0 =C2=A0 =C2=A0 HDA ATI SB, ALC1200 Analog > =C2=A0 =C2=A0 =C2=A0 7.1 Surround output to Front, Center, Side, Rear and= Woofer speakers > =C2=A0 iec958:CARD=3DSB,DEV=3D0 > =C2=A0 =C2=A0 =C2=A0 HDA ATI SB, ALC1200 Digital > =C2=A0 =C2=A0 =C2=A0 IEC958 (S/PDIF) Digital Audio Output > =C2=A0 null > =C2=A0 =C2=A0 =C2=A0 Discard all samples (playback) or generate zero samp= les (capture) > =C2=A0 hdmi:CARD=3DHDMI > =C2=A0 =C2=A0 =C2=A0 HDA ATI HDMI, ATI HDMI > =C2=A0 =C2=A0 =C2=A0 HDMI Audio Output > > So it seems that the Intel SB cards - what's SB? Sound Blaster? - is being chosen as default. That implies to me it's got a reasonable driver. It may well be that the card is routing audio to the digital output when you are trying to get analog. >> lsmod > > =C2=A0 Opening /proc/modules: No such file or directory > >> Good luck, > > Thanks! > >> Mark > > -- > Alan Mackenzie (Nuremberg, Germany). > >