From owner-freebsd-sparc64@FreeBSD.ORG Fri Dec 25 01:28:34 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 8FD55106568F for ; Fri, 25 Dec 2009 01:28:34 +0000 (UTC) (envelope-from mexas@bristol.ac.uk) Received: from dirg.bris.ac.uk (dirg.bris.ac.uk [137.222.10.102]) by mx1.freebsd.org (Postfix) with ESMTP id 4BF208FC18 for ; Fri, 25 Dec 2009 01:28:34 +0000 (UTC) Received: from seis.bris.ac.uk ([137.222.10.93]) by dirg.bris.ac.uk with esmtp (Exim 4.69) (envelope-from ) id 1NNyyk-0000nV-FC; Fri, 25 Dec 2009 01:28:33 +0000 Received: from mech-cluster241.men.bris.ac.uk ([137.222.187.241]) by seis.bris.ac.uk with esmtp (Exim 4.67) (envelope-from ) id 1NNyyj-0004U5-DP; Fri, 25 Dec 2009 01:28:30 +0000 Received: from mech-cluster241.men.bris.ac.uk (localhost [127.0.0.1]) by mech-cluster241.men.bris.ac.uk (8.14.3/8.14.3) with ESMTP id nBP1STaV002481; Fri, 25 Dec 2009 01:28:29 GMT (envelope-from mexas@bristol.ac.uk) Received: (from mexas@localhost) by mech-cluster241.men.bris.ac.uk (8.14.3/8.14.3/Submit) id nBP1SS8N002480; Fri, 25 Dec 2009 01:28:29 GMT (envelope-from mexas@bristol.ac.uk) X-Authentication-Warning: mech-cluster241.men.bris.ac.uk: mexas set sender to mexas@bristol.ac.uk using -f Date: Fri, 25 Dec 2009 01:28:28 +0000 From: Anton Shterenlikht To: Gary Palmer Message-ID: <20091225012828.GA2464@mech-cluster241.men.bris.ac.uk> 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> <20091225011750.GA67818@in-addr.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20091225011750.GA67818@in-addr.com> User-Agent: Mutt/1.5.20 (2009-06-14) X-Spam-Score: -1.5 X-Spam-Level: - 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:28:34 -0000 On Thu, Dec 24, 2009 at 08:17:50PM -0500, Gary Palmer wrote: > 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. HAMOR> mixer Mixer vol is currently set to 75:75 Mixer pcm is currently set to 75:75 Mixer speaker is currently set to 75:75 Mixer line is currently set to 75:75 Mixer mic is currently set to 0:0 Mixer cd is currently set to 75:75 Mixer rec is currently set to 0:0 Mixer igain is currently set to 0:0 Mixer line1 is currently set to 75:75 Mixer phin is currently set to 0:0 Mixer phout is currently set to 75:75 Mixer video is currently set to 75:75 Recording source: mic HAMOR> mixer -f /dev/mixer1 Mixer vol is currently set to 75:75 Mixer pcm is currently set to 75:75 Mixer speaker is currently set to 75:75 Mixer line is currently set to 75:75 Mixer mic is currently set to 0:0 Mixer cd is currently set to 75:75 Mixer rec is currently set to 0:0 Mixer igain is currently set to 0:0 Mixer line1 is currently set to 75:75 Mixer phin is currently set to 0:0 Mixer phout is currently set to 75:75 Mixer video is currently set to 75:75 Recording source: mic HAMOR> mixer cd 100 Setting the mixer cd from 75:75 to 100:100. HAMOR> no change. I don't think the issue is in volume, because it's not just quiet, but completely silent. I suspect the cd output is just not going anywhere many thanks -- Anton Shterenlikht Room 2.6, Queen's Building Mech Eng Dept Bristol University University Walk, Bristol BS8 1TR, UK Tel: +44 (0)117 331 5944 Fax: +44 (0)117 929 4423