From owner-freebsd-sparc64@FreeBSD.ORG Fri Dec 25 01:17:52 2009 Return-Path: Delivered-To: freebsd-sparc64@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 285061065672 for ; Fri, 25 Dec 2009 01:17:52 +0000 (UTC) (envelope-from gpalmer@freebsd.org) Received: from noop.in-addr.com (mail.in-addr.com [IPv6:2001:470:8:162::1]) by mx1.freebsd.org (Postfix) with ESMTP id F13FA8FC0A for ; Fri, 25 Dec 2009 01:17:51 +0000 (UTC) Received: from gjp by noop.in-addr.com with local (Exim 4.54 (FreeBSD)) id 1NNyoQ-000Jjp-As; Thu, 24 Dec 2009 20:17:50 -0500 Date: Thu, 24 Dec 2009 20:17:50 -0500 From: Gary Palmer To: Anton Shterenlikht Message-ID: <20091225011750.GA67818@in-addr.com> References: <20091224193546.GA29965@mech-cluster241.men.bris.ac.uk> <4B33D8EB.2000107@acm.poly.edu> <20091224214312.GA1344@mech-cluster241.men.bris.ac.uk> <20091225005652.GA2322@mech-cluster241.men.bris.ac.uk> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20091225005652.GA2322@mech-cluster241.men.bris.ac.uk> Cc: freebsd-sparc64@freebsd.org Subject: Re: sound on blade 1500? X-BeenThere: freebsd-sparc64@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting FreeBSD to the Sparc List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 25 Dec 2009 01:17:52 -0000 On Fri, Dec 25, 2009 at 12:56:52AM +0000, Anton Shterenlikht wrote: > On Thu, Dec 24, 2009 at 09:43:12PM +0000, Anton Shterenlikht wrote: > > On Thu, Dec 24, 2009 at 04:11:07PM -0500, Boris Kochergin wrote: > > > > How can I check which chip I've got in blade 1500? > > > > I couldn't find anything is dmesg > > > > > > > Have a look at the output of "pciconf -lv". A device in the multimedia > > > class and audio subclass will be your sound card. > > > > cool, thank you > > > > none1@pci0:0:8:0: class=0x040100 card=0x545110b9 chip=0x545110b9 rev=0x02 > > hdr=0x00 > > vendor = 'Acer Labs Incorporated (ALi/ULi)' > > device = 'ALI M5451 PCI AC-Link Controller Audio Device' > > class = multimedia > > subclass = audio > > > > I see here > > http://www.freebsd.org/news/status/report-2009-04-2009-09.html#FreeBSD/sparc64 > > > > that snd_t4dwave(4) might be working on sparc64 for this device. > > kind of worked: > > mech-anton242# dmesg|grep pcm > pcm1: port 0x900-0x9ff mem 0x100000-0x100fff at device 8.0 on pci0 > pcm1: > pcm1: [GIANT-LOCKED] > pcm1: [ITHREAD] > > mech-anton242# cat /dev/sndstat > FreeBSD Audio Driver (newpcm: 64bit 2009061500/sparc64) > Installed devices: > pcm1: at io 0x900 irq 1956 [GIANT] (1p:1v/1r:1v channels duplex default) > > and 'ls -al > /dev/dsp' produces some sound, > however, playing a cd with cdcontrol gives only > perfect silence: > > cdcontrol> status > Audio status = 17, current track = 1, current position = 0:25.05 > No media catalog info available > Left volume = 255, right volume = 255 > cdcontrol> > > The volume is max (I think) and no other obvious problems. > > How can I debug this further? Playing a CD normally uses an audio output from the CD drive to the sound system of the motherboard rather than decoding the sound and playing it back through the CPU. Try the "mixer" command to see if there is separate volume controls for a CD input. Regards, Gary