Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 21 Aug 2009 00:13:51 +0200
From:      Christian Ramseyer <rc@networkz.ch>
To:        freebsd-sparc64@freebsd.org
Subject:   Re: Audio on Sunblade 100
Message-ID:  <4A8DCA9F.80902@networkz.ch>
In-Reply-To: <20090820214938.GC1262@michelle.cdnetworks.com>
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> <20090820214938.GC1262@michelle.cdnetworks.com>

next in thread | previous in thread | raw e-mail | index | archive | help

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

Setting this in /boot/loader.conf didn't seem to have any effect:

[root@ds9000 ~]# cat /boot/loader.conf
dev.pcm.0.play.vchans="0"

(reboot)

[root@ds9000 ~]# sysctl dev.pcm.0.play
dev.pcm.0.play.vchans: 1

However, I was able to set it via sysctl (is this the same?):

[root@ds9000 ~]# sysctl dev.pcm.0.play.vchans="0"
dev.pcm.0.play.vchans: 1 -> 0

There isn't any sound either, but the logged message changes:

pcm0:play:dsp0.p0: play interrupt timeout, channel dead


Thanks
Christian



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