From owner-freebsd-questions@FreeBSD.ORG Mon Apr 18 19:23:26 2011 Return-Path: Delivered-To: questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id B8AE1106566C for ; Mon, 18 Apr 2011 19:23:26 +0000 (UTC) (envelope-from gautham@lisphacker.org) Received: from mail-vx0-f182.google.com (mail-vx0-f182.google.com [209.85.220.182]) by mx1.freebsd.org (Postfix) with ESMTP id 7DA3A8FC13 for ; Mon, 18 Apr 2011 19:23:26 +0000 (UTC) Received: by vxc34 with SMTP id 34so4877013vxc.13 for ; Mon, 18 Apr 2011 12:23:25 -0700 (PDT) MIME-Version: 1.0 Received: by 10.52.89.142 with SMTP id bo14mr619276vdb.299.1303154605564; Mon, 18 Apr 2011 12:23:25 -0700 (PDT) Received: by 10.52.163.8 with HTTP; Mon, 18 Apr 2011 12:23:25 -0700 (PDT) In-Reply-To: References: Date: Mon, 18 Apr 2011 19:23:25 +0000 Message-ID: From: Gautham Ganapathy To: questions@freebsd.org Content-Type: text/plain; charset=ISO-8859-1 Cc: Subject: Re: ZFS on USB / Sound on alienware m11x 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: Mon, 18 Apr 2011 19:23:26 -0000 On Mon, Apr 18, 2011 at 4:58 PM, Gautham Ganapathy wrote: > Hi > > I am trying out FreeBSD on ZFS using the PC-BSD 8.2 installer. I have > it installed on a Western Digital USB HDD connected to an Alienware > m11x laptop. It seems to work well except that once in a while, any > application performing a write freezes for a few seconds (around 15 or > so) and looking at top shows their states to be in zio. Is this > because it was installed on a USB drive? > > I am trying to get sound working on the laptop. After starting snd_hda > at boot, two devices are found and dmesg shows the following > > hdac0: mem > 0xf1000000-0xf1003fff irq 17 at device 0.1 on pci1 > hdac0: HDA Driver Revision: 20100226_0142 > hdac0: [ITHREAD] > > hdac1: mem > 0xf1600000-0xf1603fff irq 22 at device 27.0 on pci0 > hdac1: HDA Driver Revision: 20100226_0142 > hdac1: [ITHREAD] > > hdac0: HDA Codec #0: NVidia (Unknown) > hdac0: HDA Codec #1: NVidia (Unknown) > hdac0: HDA Codec #2: NVidia (Unknown) > hdac0: HDA Codec #3: NVidia (Unknown) > > pcm0: at cad 0 nid 1 on hdac0 > pcm1: at cad 1 nid 1 on hdac0 > pcm2: at cad 2 nid 1 on hdac0 > pcm3: at cad 3 nid 1 on hdac0 > > hdac1: HDA Codec #0: Realtek ALC665 > pcm4: at cad 0 nid 1 on hdac1 > pcm5: at cad 0 nid 1 on hdac1 > > I think the NVIDIA device is for the HDMI output, while the Realtek > codec is for the normal audio. > > Under /dev, I can see six devices dsp0.0,dsp1.1,dsp2.1,dsp3.1,dsp4.0 > and dsp5.1. I tried playing an mp3 file using mpg123 and gave each of > these devices using the -a option, but none of them worked. The output > tab under the GNOME sound preferences shows the devices dsp0, dsp1, > dsp2, dsp3, dsp4 and dsp5. None of them seem to work either. > > Any ideas on how to get the wound working? > > Gautham > Update: This is strange. Apparently, sound works under VLC (default settings) , but not on Totem, flash or mpg123. Gautham