From owner-freebsd-questions@freebsd.org Thu Nov 10 18:20:35 2016 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 681EAC3AE81 for ; Thu, 10 Nov 2016 18:20:35 +0000 (UTC) (envelope-from mailinglists@high5.alioth.uberspace.de) Received: from alioth.uberspace.de (alioth.uberspace.de [185.26.156.45]) (using TLSv1.2 with cipher DHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id EC62CA27 for ; Thu, 10 Nov 2016 18:20:34 +0000 (UTC) (envelope-from mailinglists@high5.alioth.uberspace.de) Received: (qmail 30749 invoked from network); 10 Nov 2016 18:20:30 -0000 Received: from localhost (HELO localhost) (127.0.0.1) by alioth.uberspace.de with SMTP; 10 Nov 2016 18:20:30 -0000 Date: Thu, 10 Nov 2016 19:20:25 +0100 From: No Spam To: Polytropon Cc: No Spam , freebsd-questions@freebsd.org Subject: Re: Sound Problems [Noob Question] Message-ID: <20161110182025.GB1204@bsd.duckdns.org> References: <20161108084122.GB1197@bsd.lan> <20161108095743.1b5c46ed.freebsd@edvax.de> <20161108092024.GC1197@bsd.lan> <20161108111024.677bb22e.freebsd@edvax.de> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <20161108111024.677bb22e.freebsd@edvax.de> X-Info: Keep It Simple, Stupid. X-Operating-System: FreeBSD, kernel 11.0-RELEASE-p1 X-Message-Flag: WARNING!! Microsoft sucks User-Agent: Every email client sucks, this one just sucks less. X-Geek-Reference: https://www.ifohancroft.com/geek.html X-Geek-Version: Version 3.1 X-Geek: GCS/CC/IT/M/S d- s:+ a-- C++ L++ P E--- W N* o? K? w !O !M V? PS+ PE Y++ PGP++ t+ 5 X R tv+ b+ DI D? G e>++ h-- r-/++ z+ X-Grepthis: Nazi Bomb Kosovo Heroin Gun Gay RAF Kuba Krypto IS ISIS NSA Anonymous Iraq - sorry for that stuff, but I do not want security agencies to spy too much on our emails X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 10 Nov 2016 18:20:35 -0000 Sorry for the long wait On 16-11-08 11:10:24, Polytropon wrote: > On Tue, 8 Nov 2016 10:20:24 +0100, No Spam wrote: > > On 16-11-08 09:57:43, Polytropon wrote: > > > On Tue, 8 Nov 2016 09:41:22 +0100, Jens wrote: > > > > Hi Guys, > > > > > > > > the solution to my problem is probably easy but i can't find it. > > > > > > > > The only sound i get from my > > > > > > > > \code > > > > # uname -a > > > > > > > > FreeBSD bsd.lan 11.0-RELEASE-p1 FreeBSD > > > > 11.0-RELEASE-p1 #0 r306420: Thu Sep 29 01:43:23 UTC 2016 > > > > root@releng2.nyi.freebsd.org:/usr/obj/usr/src/sys/GENERIC amd64 > > > > \endcode > > > > > > > > i was testing audio with differnt userland applications, > > eg firefox and now again with a root vlcp-player which generates an > > audio "artifact" ( a sound rumbling stopping version of what was the > > original sound) > > Can you test something really simple like "madplay somefile.mp3" > or "play someotherfile.wav" (the "play" command is part of the > "sox" package)? Just to make sure it isn't related to any more > or less complex codec or muxer format? play does plain nothing ( no progress ) vlc does give this output ( while trying all devices): jens@bsd:~ % vlc mpthreetest.mp3 VLC media player 2.2.4 Weatherwax (revision 2.2.3-37-g888b7e89) [0000000801e61050] core libvlc: VLC wird mit dem Standard-Interface ausgeführt. Benutzen Sie 'cvlc', um VLC ohne Interface zu verwenden. [0000000801fd7250] oss audio output error: cannot open OSS device /dev/dsp0.p0: Device busy [0000000801fd7250] core audio output error: module not functional [0000000801fd7250] oss audio output error: cannot open OSS device /dev/dsp0.p0: Device busy [0000000801fd7250] core audio output error: module not functional [000000080ec3cf50] core decoder error: failed to create audio output [0000000801fd7250] oss audio output error: cannot open OSS device /dev/dsp1.p0: Device busy [0000000801fd7250] core audio output error: module not functional [0000000801fd7250] oss audio output error: cannot open OSS device /dev/dsp1.p0: Device busy [0000000801fd7250] core audio output error: module not functional [000000080ec3cf50] core decoder error: failed to create audio output [0000000801fd7250] oss audio output error: cannot open OSS device /dev/dsp2.p0: Device busy [0000000801fd7250] core audio output error: module not functional [000000080ec3cf50] core decoder error: failed to create audio output [000000082c836050] mpgatofixed32 audio converter error: libmad error: bad main_data_begin pointer [000000082c836050] mpgatofixed32 audio converter error: libmad error: bad main_data_begin pointer so it is returning sound now, just the sound is wrong and when i pause the playback in the sound it sticks to it and it only generates sound on the /dev/dsp2.vp0 > > > > > > > If you have any ideas what i can try or which configs you need, i will > > > > try to answer ASAP. > > > > > > Always check the output of the following commands: > > > > > > % dmesg | grep ^pcm > > > % cat /dev/sndstat > > > > > > Verify that the correct sound driver has successfully been loaded. > > > > > > > > dmesg is currently not giving any pcm entrys ( because my ath card has > > filles the log) > > will reboot and send that one later > > Relevant lines from other message: > > pcm0: at nid 20 and 27 on hdaa0 > pcm1: at nid 33 on hdaa0 > pcm2: at nid 4 on hdaa1 > > The "High Definition Audio" driver should be the right one to deal > with that hardware. See "man 4 snd_hda" for possible configuration > options. > i fear i screwed womething up big as this returns No manual entry for snd_hda > However, you wrote that you see this problem when closing the notebook. > FreeBSD's support for suspend/resume and hibernation (whatever applies > to your specific setup when closing the lid) sometimes requires to load > an additional ACPI kernel module (like for example acpi_ibm.ko), and in > other cases, it doesn't work at all. While I've seen this kind of > operation working on Linux, the FreeBSD experience is that it often > does not work as expected. So it seems here is a microphone in the lid which is directly on an output where would I search such a thing ? Greets J