Date: Fri, 25 Dec 2009 01:28:28 +0000 From: Anton Shterenlikht <mexas@bristol.ac.uk> To: Gary Palmer <gpalmer@freebsd.org> Cc: freebsd-sparc64@freebsd.org Subject: Re: sound on blade 1500? Message-ID: <20091225012828.GA2464@mech-cluster241.men.bris.ac.uk> In-Reply-To: <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> <20091225011750.GA67818@in-addr.com>
next in thread | previous in thread | raw e-mail | index | archive | help
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: <Acer Labs M5451> port 0x900-0x9ff mem 0x100000-0x100fff at device 8.0 on pci0 > > pcm1: <Analog Devices AD1881A AC97 Codec> > > pcm1: [GIANT-LOCKED] > > pcm1: [ITHREAD] > > > > mech-anton242# cat /dev/sndstat > > FreeBSD Audio Driver (newpcm: 64bit 2009061500/sparc64) > > Installed devices: > > pcm1: <Acer Labs M5451> 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<playing>, 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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20091225012828.GA2464>