From owner-freebsd-questions@FreeBSD.ORG Sat Mar 12 01:30:09 2011 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 6A703106566C for ; Sat, 12 Mar 2011 01:30:09 +0000 (UTC) (envelope-from brianmwaters@gmail.com) Received: from mail-gw0-f54.google.com (mail-gw0-f54.google.com [74.125.83.54]) by mx1.freebsd.org (Postfix) with ESMTP id 1A8548FC17 for ; Sat, 12 Mar 2011 01:30:08 +0000 (UTC) Received: by gwb15 with SMTP id 15so1322779gwb.13 for ; Fri, 11 Mar 2011 17:30:08 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:in-reply-to:references:date :message-id:subject:from:to:content-type:content-transfer-encoding; bh=uOfZ1U/71hR8qwV9HYqM34Ya3/A4FzJ7uNilLtDdXfI=; b=anXfzOp8GzKwpnxktvyRMe0M7fpZ8bZEOmup7uz4EvPqxqmJtB56TcorF9eqzliodN JkkSPYFZNwyRvNbifyrCCyeWe+NKLmFy2h80RSLcI2DzPYpwsXajo8O0wOD82MqLJScD aNbPeRnb7/TyzspiV5JLq/HVj3L4aAkOisap8= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type:content-transfer-encoding; b=j1pwXg7qamNPwTCkgLr184eVPJCqp63hISeu3IvE8HArsAQ1Ft7qHS2jYSRFbsRPLT t6+MvbXsxXWO6betcztbdmk5S16N0dyY3H7goycYFalu7wZNVaZnTd+eXZYb2HnVfon+ X5f63RL2spsQEmUrknz/vwxQeucuJdsO6obmk= MIME-Version: 1.0 Received: by 10.151.105.6 with SMTP id h6mr1968733ybm.261.1299893408341; Fri, 11 Mar 2011 17:30:08 -0800 (PST) Received: by 10.147.167.13 with HTTP; Fri, 11 Mar 2011 17:30:08 -0800 (PST) In-Reply-To: <20110311233148.GA38813@orange.esperance-linux.co.uk> References: <20110311233148.GA38813@orange.esperance-linux.co.uk> Date: Fri, 11 Mar 2011 20:30:08 -0500 Message-ID: From: Brian Waters To: Frank Shute , freebsd-questions@freebsd.org Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Cc: Subject: Re: Quick question about sound drivers (esp. snd_hda) 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, 12 Mar 2011 01:30:09 -0000 Yeah, I have tried all the basic stuff. At this point, I've basically accepted that solving the problem on my machine is going to involve a whole bunch of technical stuff that I don't have the patience for - reading the HDA spec and the codec datasheet, reading the driver code, and making changes to the driver and default settings where necessary. (The hardware does work fine with the Linux kernel.) So yeah... that's probably never going to happen. I'm still wondering where the numbers in the names for the device special files come from. And thanks, Frank. - BW On Fri, Mar 11, 2011 at 6:31 PM, Frank Shute wrote: > On Fri, Mar 11, 2011 at 03:29:44PM -0500, Brian Waters wrote: >> >> It seems to me that under /dev, you can have the following >> sound-related device files: >> >> dspX >> dspX.Y >> (among others) >> >> I'm having some trouble getting my sound to work (Dell Inspiron >> E1705/Inspiron 9400 with Sigmatel STAC9220 codec). I've read the >> manpages for snd and snd_hda (which is the appropriate driver), and >> increased the verbosity of the drivers and read the kernel log and >> /dev/sndstat, but I still can't quite wrap my head around everything. >> >> What I'm wondering is: what exactly is the meaning of X and Y above? >> I'm assuming that X comes from the "association numbers" in the >> snd_hda driver, but I could be wrong. Please correct me! >> >> Thanks, >> Brian Waters > > Have you tried setting the default unit: > > # sysctl hw.snd.default_unit=3D1 > > If that works, you can make it permanent with: > > # echo "hw.snd.default_unit=3D1" >> /etc/sysctl.conf > > If it doesn't, you have to post the output of: > > $ cat /dev/sndstat > > Make sure your volume is turned up: mixer(8) > > HTH. > > Regards, > > -- > > =C2=A0Frank > > =C2=A0Contact info: http://www.shute.org.uk/misc/contact.html > > >