From owner-freebsd-questions@FreeBSD.ORG Sat May 10 18:53:44 2014 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 7E7F3CFD for ; Sat, 10 May 2014 18:53:44 +0000 (UTC) Received: from mx02.qsc.de (mx02.qsc.de [213.148.130.14]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 145C3DF3 for ; Sat, 10 May 2014 18:53:43 +0000 (UTC) Received: from r56.edvax.de (port-92-195-108-40.dynamic.qsc.de [92.195.108.40]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mx02.qsc.de (Postfix) with ESMTPS id E969927695; Sat, 10 May 2014 20:53:34 +0200 (CEST) Received: from r56.edvax.de (localhost [127.0.0.1]) by r56.edvax.de (8.14.5/8.14.5) with SMTP id s4AIrXAt002523; Sat, 10 May 2014 20:53:33 +0200 (CEST) (envelope-from freebsd@edvax.de) Date: Sat, 10 May 2014 20:53:33 +0200 From: Polytropon To: =?ISO-8859-1?Q?"Nikolai_Fa=DFbender"?= Subject: Re: Freebsd10 32bit Lenovo G550 Laptop Message-Id: <20140510205333.ac82cdb9.freebsd@edvax.de> In-Reply-To: <637E56BC-A830-4BC5-9AED-11B2E97D9075@googlemail.com> References: <94D84012-499B-4E0B-AA96-83F3D6E010FD@googlemail.com> <075A36A1-0281-498C-A5C8-6DC01E32FA35@googlemail.com> <30F56CD6-1AC3-4533-9871-D632769D3FBE@googlemail.com> <52AF644B-8D71-49E4-88E9-E45692411CCC@googlemail.com> <20140510115629.0bcfb89a@X220.alogt.com> <67D60E5F-D440-4E48-841F-B11ADE0208C0@googlemail.com> <20140510133007.67b44965@X220.alogt.com> <637E56BC-A830-4BC5-9AED-11B2E97D9075@googlemail.com> 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=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Cc: "freebsd-questions@freebsd.org" X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 10 May 2014 18:53:44 -0000 On Sat, 10 May 2014 15:20:36 +0200, Nikolai Fa=DFbender wrote: > I have tested the command in the \boot\loader.conf without a change. Again, FreeBSD is not "Windows". The path separator is /. :-) In /boot/loader.conf, try adding hw.snd.default_unit=3D"0" or hw.snd.default_unit=3D"1" But it's easier to run # sysctl hw.snd.default_unit=3D0 as root and then check the audio output, for example with something _simple_, like "mpg123 somefile.mp3" or "play somefile.wav". Also make sure the mixer is always set properly (use the "mixer" command), and note there can be multiple mixers (use "mixer -f /dev/mixer0", "mixer -f /dev/mixer1" and so on). Even multiple PCM devices are possible. If you have found the correct setting, make it permanent by placing it in the file mentioned. See "man mixer" for details. On _some_ Thinkpad models, adding the following lines to /boot/loader.conf can help: hint.hdac.0.cad0.nid25.config=3D"as=3D1 seq=3D15" hint.hdac.0.cad0.nid35.config=3D"as=3D2" hint.hdac.0.cad0.nid27.config=3D"as=3D2 seq=3D15" Sadly, this is mostly a "trial & error" approach... ;-) Maybe some features are documented. Check for example (from my home system, a cheap Medion PC from Aldi): % dmesg | grep hda hdac0: mem 0xbfffc000-0xbfffffff at device 1.0 on pci128 hdac0: HDA Driver Revision: 20100226_0142 hdac0: [ITHREAD] hdac0: HDA Codec #0: VIA VT1708_8 pcm0: at cad 0 nid 1 on hdac0 pcm1: at cad 0 nid 1 on hdac0 pcm2: at cad 0 nid 1 on hdac Also check: % cat /dev/sndstat FreeBSD Audio Driver (newpcm: 32bit 2009061500/i386) Installed devices: pcm0: (play/rec) default pcm1: (rec) pcm2: (play) You can then conclude that there is more documentation available at "man snd_hda" and "man pcm". You'll find the supported devies and the settings you can apply. --=20 Polytropon Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ...