From owner-freebsd-questions@freebsd.org Fri Sep 14 18:53:05 2018 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 4BE701090F1B for ; Fri, 14 Sep 2018 18:53:05 +0000 (UTC) (envelope-from freebsd@edvax.de) Received: from mout.kundenserver.de (mout.kundenserver.de [212.227.126.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "mout.kundenserver.de", Issuer "TeleSec ServerPass DE-2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id AF7868DABA for ; Fri, 14 Sep 2018 18:53:04 +0000 (UTC) (envelope-from freebsd@edvax.de) Received: from r56.edvax.de ([92.195.102.102]) by mrelayeu.kundenserver.de (mreue012 [212.227.15.167]) with ESMTPA (Nemesis) id 1MFJfN-1g3QKK0E49-00Fjvq; Fri, 14 Sep 2018 20:52:53 +0200 Date: Fri, 14 Sep 2018 20:52:52 +0200 From: Polytropon To: Steven Friedrich Cc: freebsd-questions@freebsd.org Subject: Re: No Sound Message-Id: <20180914205252.d79a9a67.freebsd@edvax.de> In-Reply-To: <5065116.8gLySxXtyI@chameleon.friedrich.org> References: <5065116.8gLySxXtyI@chameleon.friedrich.org> Reply-To: Polytropon Organization: EDVAX X-Mailer: Sylpheed 3.1.1 (GTK+ 2.24.5; i386-portbld-freebsd8.2) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Provags-ID: V03:K1:VvKaUIz+Wx6RArHzwRdHjq2qJOqGOdK8M8UkTpANJRo+Pw/iPlc OPkBJ/zg8EoMD5zWQeK/5mQzljYAEM6nRvB4mZSsnpfIW/+VB4xGCHd/HN+NntbdAIa7Gf0 fR4LQrY7dQCY+gpTnd0VS7sGpgJdFqz4EjdUwCwa3KArRaakp6CR3CFqzBVqSSGsRtnk563 dAdCWGG/yVRyWgNnBa+Mw== X-UI-Out-Filterresults: notjunk:1;V01:K0:OtUHzPlu8fE=:i/NvSohhQUywdB0PSzlk3H VA8s3tLAMk61vqilzuYip3gfTEn4JtYpjX6xhu5nOlk8bsLkdhTdl86rHtAtYnaso5QDYngJH 0NhbW9LyXDlD31i6DQe0IAipYBqfEbUKJXBopZImxaYr1BlCo6FzSfiI3jYhv8Dugz3hOTirP H9Oyyf5HimGjBC3cR11wmQKhI9EpnyvvnEcLG3IQAppq8cQhnP7RxCPxyAXVTfd4A0s2m1tmA sYFfWz3Ns6GiY1g0sCyLuCP1Z6JIKp5j28wQ9Qv3CwG5aqL3SNpOD98Zi7MEaW3zakTDfx2K/ i2sYOzbAmjf+MwtAF8Le4+uYXbxy/lufjQ9cyEvuAxBi3OSpx8Q5JXk04Q+wsMEp+Q+QQlour lmfBLDwUu+5Yvp/5XqkMvPWW+w5IZxrOth1oYdp4x5Bu8jUxQYyDbPzIEFX9G+UTjQh3c5TnQ IRyjKVZ/3BgeNAX1zcZSJaxatRZVM3/WSN+xmbiOUl2KCLebKf43rdQMfGjNK4ASnVBUeHSS7 RkjuyuWIW5nfP8WQAhUShshDttIym/6P7IcrrVcGp/+MjwP89pAH2kdZVv1E4h6XMkYBljwqy 9MqAZimGvFjNB3gmGxC+K9DcA7GgZpbJ53b/OEfAUi3zHlYBOt3WU8+KAHslqxn07CMQD6mRE Bgw11x3kanAibD4d5ghgxNAXoPLXmcoHQaQdhW/aWlxzal4+t9KAC9Ctrc1XnKDrUBsltpaWi glxkUE1XqwsLHWHd X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.27 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 14 Sep 2018 18:53:05 -0000 On Fri, 14 Sep 2018 09:26:57 -0400, Steven Friedrich wrote: > I have a new HP Slimline Desktop 290-p0014 which features an Intel i7-8700. > running > FreeBSD Chameleon.friedrich.org 11.2-RELEASE FreeBSD 11.2-RELEASE #2: Thu Sep > 13 12:15:36 EDT 2018 root@Chameleon.friedrich.org:/usr/obj/usr/src/sys/ > CHAMELEON amd64 > > with snd_hda devices: > Installed devices: > pcm0: (play/rec) > pcm1: (play/rec) > pcm2: (play) default > No devices installed from userspace. > I tried cdcontrol -f dev/cd0 play 1. Not sure if this still works... The cdcontrol utility was used for decades with the acd driver (ATAPI), and that supported the command to play audio CDs (usually with output through the internally wired CD Audio connector). The command of course expects /dev/cd0 (full path name), which should be the default anyway. You can check it: # cdcontrol eject Does the drive open? If yes, you don't need to specify the device. :-) You can also set a device with $CDROM in your environment; see "man cdcontrol" for details. > I am using the handbook section 7.2.2, but I have no sound. > How can I troubleshoot this? FIrst check: # pcicontrol -lv | less and see if the system detects your sound hardware as you would expect. Next, check: # dmesg | grep "pcm" as well as # cat /dev/sndstat You should also verify that the corresponding mixer devices appear in /dev (usually mixer0, maybe more). >From your above output, it seems that the device has been recognized correctly, so now check for several other things: 1. Is the mixer set correctly? 2. Is the device using the correct output unit (if there is more than one)? 3. Are you connecting your speakers / headphones / amplifier to the correct output? Commands like # mixer -f /dev/mixer0 and # sysctl -a | grep "snd" will tell you most things, the rest is done with eyes. ;-) -- Polytropon Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ...