From owner-freebsd-questions@FreeBSD.ORG Sat Aug 25 16:26:46 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 74248106566B for ; Sat, 25 Aug 2012 16:26:46 +0000 (UTC) (envelope-from gobble.wa@gmail.com) Received: from mail-wg0-f50.google.com (mail-wg0-f50.google.com [74.125.82.50]) by mx1.freebsd.org (Postfix) with ESMTP id 0311D8FC14 for ; Sat, 25 Aug 2012 16:26:45 +0000 (UTC) Received: by wgbds11 with SMTP id ds11so2070841wgb.31 for ; Sat, 25 Aug 2012 09:26:44 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=viz8WvFDQE0SPbeWWx+4s3k3MH/okHJYynzI8XIDdwg=; b=Go0xzgxUR/M6SQjIkXNLCIIuC5ucH+Ig3poTFmnZwzvcnjMsxsDqQ4c1tIWdrODT+C E/fWRzsaYddegdlkL1Q3fWnWYIw+aau0UjhREqFVWwTtt4jGx8xP6cq12OFX7WH8hI94 rL3ovsYmZtzg0cwePKGBM1PKGRlOZvjZa+2ygCUVJdp6hVx/c49J4wT1kcriSFNqc7uL B6XvPkyCpLhoMS4vIK0KRwnnFagf8/nf1fzwpMSi3rBKdyK9DJU1Z/DuAy8keKSOXos6 pgw2FSVWSE7MN8Gesebw6vssivIGoOCo/Bvb/HAyiTa8KeDSXCjwMRsTKuJ452POTUv1 TE1Q== MIME-Version: 1.0 Received: by 10.180.100.35 with SMTP id ev3mr13285374wib.7.1345912004586; Sat, 25 Aug 2012 09:26:44 -0700 (PDT) Received: by 10.216.190.153 with HTTP; Sat, 25 Aug 2012 09:26:44 -0700 (PDT) In-Reply-To: <5038F1A5.5040109@gmail.com> References: <5038F1A5.5040109@gmail.com> Date: Sat, 25 Aug 2012 09:26:44 -0700 Message-ID: From: Waitman Gobble To: Alexander Kapshuk Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: freebsd-questions Subject: Re: built-in mic configuration [compaq presario laptop] 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: Sat, 25 Aug 2012 16:26:46 -0000 On Sat, Aug 25, 2012 at 8:39 AM, Alexander Kapshuk < alexander.kapshuk@gmail.com> wrote: > I would like to be able to use the built-in mic to record audio and to use > Skype with. An external mic seems to work out-of-the-box. > > Any input would be appreciated. > > :; uname -a > FreeBSD box2 9.0-RELEASE-p4 FreeBSD 9.0-RELEASE-p4 #0: Fri Aug 17 21:53:39 > EEST 2012 root@box2:/usr/obj/usr/src/**sys/GENERIC i386 > > :; dmesg | grep pcm > pcm0: at cad 0 nid 1 on hdac0 > pcm1: at cad 2 nid 1 on hdac0 > > > ______________________________**_________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/**mailman/listinfo/freebsd-**questions > To unsubscribe, send any mail to "freebsd-questions-** > unsubscribe@freebsd.org " > Hi, you need to specify the device, take a look at # ls /dev/dsp* /dev/dsp0.0 /dev/dsp0.1 /dev/dsp1.0 /dev/dsp2.0 /dev/dsp2.1 for example, i can send audio output to headphone jack: # mplayer -zoom -x 1280 -y 720 -fs -ao oss:/dev/dsp1 -mixer /dev/mixer2 /path/to/file Haven't tried skype on FreeBSD but there should be a device setting. I've noticed that some machines seem to automatically switch, ie when I plug in headphones to the headphone jack or a mic into a microphone jack it "just works". But other machines don't work automatically and I have to set the device manually as above. A simple way, you can try setting each device to see which one works. :) # cat /dev/sndstat FreeBSD Audio Driver (newpcm: 64bit 2009061500/amd64) Installed devices: pcm0: (play) pcm1: (play/rec) default pcm2: (rec) # mixer Mixer vol is currently set to 90:90 Mixer pcm is currently set to 85:85 Mixer speaker is currently set to 100:100 Mixer mic is currently set to 67:67 Mixer mix is currently set to 1:1 Mixer rec is currently set to 1:1 Mixer ogain is currently set to 100:100 Recording source: mic Waitman Gobble San Jose California USA