Date: Tue, 25 May 2010 02:44:20 +0200 From: Pieter de Goeje <pieter@degoeje.nl> To: freebsd-questions@freebsd.org Cc: Chip Camden <sterling@camdensoftware.com> Subject: Re: What have I done? Message-ID: <201005250244.20628.pieter@degoeje.nl> In-Reply-To: <20100524200244.GA2085@libertas.local.camdensoftware.com> References: <20100524180853.GC62601@libertas.local.camdensoftware.com> <AANLkTil9OWjfAOafnhXfLP56JvNnAmsJ4fO-4SL_oIxT@mail.gmail.com> <20100524200244.GA2085@libertas.local.camdensoftware.com>
next in thread | previous in thread | raw e-mail | index | archive | help
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 > > > > <sterling@camdensoftware.com> 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: <HDA IDT 92HD81B1X PCM #0 Analog> (play/rec) default > pcm1: <HDA IDT 92HD81B1X PCM #1 Analog> (rec) > pcm2: <HDA Intel G45 HDMI PCM #0 DisplayPort> (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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201005250244.20628.pieter>