From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: <gentoo-user+bounces-190489-garchives=archives.gentoo.org@lists.gentoo.org> Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id CC44E138350 for <garchives@archives.gentoo.org>; Mon, 13 Apr 2020 17:51:56 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id EBC7FE0D4D; Mon, 13 Apr 2020 17:51:50 +0000 (UTC) Received: from mail-gw.thundermail.uk (mail-gw.thundermail.uk [149.255.60.70]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 7359CE0D47 for <gentoo-user@lists.gentoo.org>; Mon, 13 Apr 2020 17:51:50 +0000 (UTC) Received: from mailgw01.thundermail.uk (mail-gw.thundermail.uk [149.255.60.66]) by mail-gw.thundermail.uk (Postfix) with ESMTPS id AE2C96009C9A for <gentoo-user@lists.gentoo.org>; Mon, 13 Apr 2020 18:51:48 +0100 (BST) X-ASG-Debug-ID: 1586800308-055413682c29d44d0001-LfjuLa Received: from cloud307.thundercloud.uk (cloud307.thundercloud.uk [149.255.58.40]) by mailgw01.thundermail.uk with ESMTP id z8fyVCv98i8i4PYF (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128 verify=NO) for <gentoo-user@lists.gentoo.org>; Mon, 13 Apr 2020 18:51:48 +0100 (BST) X-Barracuda-Envelope-From: confabulate@kintzios.com X-Barracuda-Effective-Source-IP: cloud307.thundercloud.uk[149.255.58.40] X-Barracuda-Apparent-Source-IP: 149.255.58.40 Received: from lenovo.localdomain (230.3.169.217.in-addr.arpa [217.169.3.230]) by cloud307.thundercloud.uk (Postfix) with ESMTPSA id 45F8BC58AF4 for <gentoo-user@lists.gentoo.org>; Mon, 13 Apr 2020 18:51:47 +0100 (BST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=kintzios.com; s=default; t=1586800307; bh=D/v+oeS3o3Medgk2uGMLE95xK2Uoz3KH3l1BVmYgNnw=; h=From:To:Subject; b=Xo78hMum5fRD887me4kaiu5RXtSbe81t0jv7NG/vy/CF84Ieppxwxx5eGDjyLGlzE RtQKcN9wieX57i+icl6mnA2BreEeDU3buVsSVyiAfISMKMMGNcjcNmKKnuvTRAps8G r6HP20vPdFgt60tHDrna//xmHkXKeoKm0egBMFVE= Authentication-Results: cloud307.thundercloud.uk; spf=pass (sender IP is 217.169.3.230) smtp.mailfrom=confabulate@kintzios.com smtp.helo=lenovo.localdomain Received-SPF: pass (cloud307.thundercloud.uk: connection is authenticated) From: Michael <confabulate@kintzios.com> To: gentoo-user@lists.gentoo.org Subject: Re: [gentoo-user] OSS4 Date: Mon, 13 Apr 2020 18:51:46 +0100 X-ASG-Orig-Subj: Re: [gentoo-user] OSS4 Message-ID: <3066766.aeNJFYEL58@lenovo.localdomain> In-Reply-To: <CAKpSnp+VsDXM0PgDi2gRVJXHAR4V_CzVMUOtLCRwg9+X9oYG8A@mail.gmail.com> References: <CAKpSnp+5GDzv2+S039MMVhjR-_oD0=pyEFvhtpkqEzu0uD0hHw@mail.gmail.com> <2178530.n0HT0TaD9V@lenovo.localdomain> <CAKpSnp+VsDXM0PgDi2gRVJXHAR4V_CzVMUOtLCRwg9+X9oYG8A@mail.gmail.com> Precedence: bulk List-Post: <mailto:gentoo-user@lists.gentoo.org> List-Help: <mailto:gentoo-user+help@lists.gentoo.org> List-Unsubscribe: <mailto:gentoo-user+unsubscribe@lists.gentoo.org> List-Subscribe: <mailto:gentoo-user+subscribe@lists.gentoo.org> List-Id: Gentoo Linux mail <gentoo-user.gentoo.org> X-BeenThere: gentoo-user@lists.gentoo.org Reply-to: gentoo-user@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply MIME-Version: 1.0 Content-Type: multipart/signed; boundary="nextPart3072600.44csPzL39Z"; micalg="pgp-sha256"; protocol="application/pgp-signature" X-PPP-Message-ID: <20200413175147.2563240.76105@cloud307.thundercloud.uk> X-PPP-Vhost: kintzios.com X-Barracuda-Connect: cloud307.thundercloud.uk[149.255.58.40] X-Barracuda-Start-Time: 1586800308 X-Barracuda-Encrypted: ECDHE-RSA-AES128-GCM-SHA256 X-Barracuda-URL: https://149.255.60.66:443/cgi-mod/mark.cgi X-Virus-Scanned: by bsmtpd at thundermail.uk X-Barracuda-Scan-Msg-Size: 3581 X-Barracuda-BRTS-Status: 1 X-Barracuda-Spam-Score: 0.00 X-Barracuda-Spam-Status: No, SCORE=0.00 using global scores of TAG_LEVEL=1000.0 QUARANTINE_LEVEL=1000.0 KILL_LEVEL=1.9 tests= X-Barracuda-Spam-Report: Code version 3.2, rules version 3.2.3.81153 Rule breakdown below pts rule name description ---- ---------------------- -------------------------------------------------- X-Archives-Salt: 4ce9becf-5cb9-4900-876e-1c54fcb42f10 X-Archives-Hash: 201c8f21b041eaec525f73925e6a3ec2 --nextPart3072600.44csPzL39Z Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="UTF-8" On Monday, 13 April 2020 18:09:25 BST Jorge Almeida wrote: > On Mon, Apr 13, 2020 at 4:29 PM Michael <confabulate@kintzios.com> wrote: > > Yes, the first step would be to reduce or set to zero the Mic Boost in > > alsamixer and adjust the Capture volume. However, noise with arecord is > > usually a result of incorrect bitrate? > > > > You could try: > > > > arecord -fdat -r 48 test.wav > > OK, I tried "arecord -D hw:0,1 -fdat -r 48 test.wav" and "arecord -D > hw:0,2 -fdat -r 48 test.wav". aplay produces noise, in both cases. I > alse tried with -r 44, same result. > > ## arecord -l > **** List of CAPTURE Hardware Devices **** > card 0: PCH [HDA Intel PCH], device 0: Generic Analog [Generic Analog] > Subdevices: 1/1 > Subdevice #0: subdevice #0 > card 0: PCH [HDA Intel PCH], device 2: Generic Alt Analog [Generic Alt > Analog] Subdevices: 1/1 > Subdevice #0: subdevice #0 I can't see your USB mic anywhere ... Both device 0 and device 2 are on the *same* card. I would think an external device as you posted previously would register on the kernel as a separate card. Is dmesg recognising your USB mic when you plug it in? Do you need some additional driver for it? Is there some On/Off button on it you need to turn it on with? > ## arecord -L > null > Discard all samples (playback) or generate zero samples (capture) > default:CARD=PCH > HDA Intel PCH, Generic Analog > Default Audio Device > sysdefault:CARD=PCH > HDA Intel PCH, Generic Analog > Default Audio Device > front:CARD=PCH,DEV=0 > HDA Intel PCH, Generic Analog > Front speakers > usbstream:CARD=PCH > HDA Intel PCH > USB Stream Output Hmm ... I assume "USB Stream Output" is the USB mic, but I'm not sure and the Output part confuses me. > I assume the two capture devices are LineIn and Mic (mono). Correct? > (But why the device numbers 0 and 2, and not 1?) > OTOH, > ## arecord -fdat -r 48 test.wav > ALSA lib > /var/tmp/portage/media-libs/alsa-lib-1.2.1.2/work/alsa-lib-1.2.1.2/src/pcm/ > pcm_dsnoop.c:641:(snd_pcm_dsnoop_open) unable to open slave > arecord: main:828: audio open error: No such file or directory > > I didn't use any flags for aplay, because aplay foo.wav works fine > when foo.wav is music from a CD (i.e., not from a micro) > > > Also, make sure any hardware buttons have been enabled and the mic is not > > muted. Additional options may be required to use the correct input device > > and driver, which can be specified in /etc/modprobe.d/alsa.conf > > I have /etc/modprobe.d/alsa.conf (not changed) but I have alsa support > built in the kernel, not as a module (could this be a problem?!) > > Jorge Years ago I was having problems with alsa. Audio drivers were not as polished as they are today for Linux. Anyway, I remember contacting some dev who asked me to rebuild my kernel with alsa as modules and run 'alsactl init', which would only produce a full output this way. I don't know if this would still be a problem today and anyway you are not experiencing the same bugs I was troubleshooting 15 years ago. So, in the first instance I would look at a USB driver, if needed, from the output in dmesg. lsusb -v would also show any bInterfaceClass 1 Audio bInterfaceSubClass 1 Control Device and any fields showing "Microphone". Finally, have a look under 'cat /proc/bus/input/devices' or similar for any USB devices, to find out what driver it is using. HTH. --nextPart3072600.44csPzL39Z Content-Type: application/pgp-signature; name="signature.asc" Content-Description: This is a digitally signed message part. Content-Transfer-Encoding: 7Bit -----BEGIN PGP SIGNATURE----- iQIzBAABCAAdFiEEXqhvaVh2ERicA8Ceseqq9sKVZxkFAl6UprIACgkQseqq9sKV Zxlb/A//XhapuakbggMRCshgYmaHY2hJqtp9JPPWYVueqFQ/6du/wvBddnZdsKm7 9639fZj1M3mXRWsVNC2lqcBMcFV7CeccgsIqQyBpFT9p7aiqB+CZME77CMRo7h4i p4v2EpCHj3rrcm/VlPAC2a5nPB60Raw+zkFJE4orrQ6iVFYDHYtyuEXZ06ep4RVx CWbD5qhscgWKcPzV3X2EfBgZ1D9UTp7WKxMNX+3oUQHWGhARGRnEfwrMefUwBLYL WdLbBhsHO822oyQmIHkl8elfYKVvFdUNZ5PkU6A6bCjrjAy//JZ42JYJhmCVYXm0 jL/yB8uNKa/XiNSAkD2+9fl2/NHp0RK8/26Vc7DeW9hUICG9B593NutJ+OS3wR3c T4U3kqb2vOGI97KoWcaFzoIOxegpgZBnhE6tsaM36IIEK6IxZ2+WUT7bzgPoowU2 GozEf8Pb1mZucOQeMZ2TxbFnCcVZ0MlurH0rpoLehSkCbXM+QZhGfkosn8A76873 1W0M2aiUz/hm4drewC+rdR07rvftOb1tr7Qi7u9YrDHrp9z62aRt9MZ2EUEaToX9 dd1f7/iRSuuxxNKdcimTWEPyliuSLkLlcFkixiclXaQIfwhVyhtBh2jd8Og/KY5b PMDCVWV+ZYZD8bPF/yIfHyvNuXhAw6LDOIPvB5T7uWyYDutHuuU= =Awql -----END PGP SIGNATURE----- --nextPart3072600.44csPzL39Z--