From owner-freebsd-questions@FreeBSD.ORG Tue May 25 00:44:33 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id BD048106566C for ; Tue, 25 May 2010 00:44:33 +0000 (UTC) (envelope-from pieter@degoeje.nl) Received: from mx.utwente.nl (mx1.utsp.utwente.nl [130.89.2.12]) by mx1.freebsd.org (Postfix) with ESMTP id 3F7DB8FC16 for ; Tue, 25 May 2010 00:44:32 +0000 (UTC) Received: from nox-laptop.student.utwente.nl (nox-laptop.student.utwente.nl [130.89.160.140]) by mx.utwente.nl (8.12.10/SuSE Linux 0.7) with ESMTP id o4P0iKAK010865; Tue, 25 May 2010 02:44:20 +0200 From: Pieter de Goeje To: freebsd-questions@freebsd.org Date: Tue, 25 May 2010 02:44:20 +0200 User-Agent: KMail/1.9.10 References: <20100524180853.GC62601@libertas.local.camdensoftware.com> <20100524200244.GA2085@libertas.local.camdensoftware.com> In-Reply-To: <20100524200244.GA2085@libertas.local.camdensoftware.com> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Content-Disposition: inline Message-Id: <201005250244.20628.pieter@degoeje.nl> X-UTwente-MailScanner-Information: Scanned by MailScanner. Contact icts.servicedesk@utwente.nl for more information. X-UTwente-MailScanner: Found to be clean X-UTwente-MailScanner-From: pieter@degoeje.nl X-Spam-Status: No Cc: Chip Camden Subject: Re: What have I done? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 25 May 2010 00:44:33 -0000 On Monday 24 May 2010 22:02:44 Chip Camden wrote: > On May 24 2010 12:21, William Vining wrote: > > I experienced a similar situation under different circumstances. It > > turned out that the sysctl > > variable hw.snd.default_unit was refering to the wrong sound card. Not > > sure if thats the > > problem, but it might be worth checking if you have multiple sound card= s. > > > > -- WFV > > wfvining@gmail.com > > > > On Mon, May 24, 2010 at 12:08 PM, Chip Camden > > > > wrote: > > > This question is going to make me sound pretty stupid, but I haven't > > > been able to figure it out. > > > > > > I had mplayer (the console version) running in one urxvt, and I thoug= ht > > > I had a different urxvt focused when I typed a command (I think it was > > > 'make install clean') -- but mplayer was actually focused instead. = =A0The > > > ENTER caused mplayer to close (I was listening to a stream URL), and > > > because I had exec'd mplayer its terminal window closed as well. > > > > > > I cursed myself for losing focus on my focus, and attempted to restart > > > mplayer. =A0It acts like it is playing the track, but no sound. =A0I'= ve > > > tried unmute, turning the volume all the way up, deleting my .mplayer > > > files, still no joy. =A0I even shutdown and powered off and then > > > rebooted. =A0Any other suggestions? > > > -- > > OK, there's more going on here than I realized. My sound seems to be > disabled if I load the driver in /boot/loader.conf, but works OK if I use > kldload after booting instead. Bizarre. I've repeated the experiment > several times with the same results, using either snd_driver or snd_hda. > > cat /dev/sndstat (when working): > > FreeBSD Audio Driver (newpcm: 64bit 2009061500/amd64) > Installed devices: > pcm0: (play/rec) default > pcm1: (rec) > pcm2: (play) The order of the the devices may change depending on wether you kldload the= =20 driver or use loader.conf. As suggested by William Vining, use the sysctl=20 hw.snd.default_unit to select the correct default pcm device. =2D-=20 Pieter de Goeje