Audio on Sunblade 100

Pyun YongHyeon pyunyh at gmail.com
Thu Aug 20 21:50:19 UTC 2009


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 at 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")


More information about the freebsd-sparc64 mailing list