Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 20 Aug 2009 14:49:38 -0700
From:      Pyun YongHyeon <pyunyh@gmail.com>
To:        Christian Ramseyer <rc@networkz.ch>
Cc:        freebsd-sparc64@freebsd.org
Subject:   Re: Audio on Sunblade 100
Message-ID:  <20090820214938.GC1262@michelle.cdnetworks.com>
In-Reply-To: <4A8DC0DF.4040701@networkz.ch>
References:  <4A7C6B50.3070503@networkz.ch> <20090817205340.GA75477@alchemy.franken.de> <20090817215612.GB75477@alchemy.franken.de> <20090818192748.GA6585@alchemy.franken.de> <20090819161410.GA19351@alchemy.franken.de> <4A8DC0DF.4040701@networkz.ch>

next in thread | previous in thread | raw e-mail | index | archive | help
On Thu, Aug 20, 2009 at 11:32:15PM +0200, Christian Ramseyer wrote:
> Marius Strobl wrote:
> >> Ok, I think I've identified the incorrect bus_dma(9) settings
> >> with the help of Tatsuo YOKOGAWA's ali(4) (which as least for
> >> the alignment requirement also matches the NetBSD autri(4). A
> >> new patch is at:
> >> http://people.freebsd.org/~marius/t4dwave_M5451_32-bit.diff
> 
> Hi
> 
> Thanks for the patch, I've applied it and the driver seems to load properly:
> 
> pcm0: <Acer Labs M5451> port 0x900-0x9ff mem 0x424000-0x424fff at device
> 8.0 on pci0
> pcm0: <Analog Devices AD1881A AC97 Codec>
> pcm0: [GIANT-LOCKED]
> pcm0: [ITHREAD]
> 
> Unfortunately, the actual "playing sound part" is not going too well.
> When I do e.g. :
> 
> rc@ds9000:~ $ mpg321 03\ Wonderful\ Night\ \(feat\ Lateef\).mp3
> High Performance MPEG 1.0/2.0/2.5 Audio Player for Layer 1, 2, and 3.
> ...
> Playing MPEG stream from 03 Wonderful Night (feat Lateef).mp3 ...
> MPEG 1.0 layer III, 192 kbit/s, 44100 Hz stereo
> 
> I sometimes get some seconds of sound, but most of the time only silence
> or a short burst of static, and then
> 
> pcm0:virtual:dsp0.vp0: play interrupt timeout, channel dead
> 
> appears on the console.
> 

How about disabling vchans in /boot/loader.conf?
(dev.pcm.0.play.vchans="0")



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20090820214938.GC1262>