NetBSD-Bugs archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
port-sparc/52786: Audio not working on SPARCStation20
>Number: 52786
>Category: port-sparc
>Synopsis: Audio not working on SPARCStation20
>Confidential: no
>Severity: non-critical
>Priority: medium
>Responsible: port-sparc-maintainer
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Mon Dec 04 06:30:00 +0000 2017
>Originator: Eddie Cottongim
>Release: 7.0.1 through 7.1
>Organization:
>Environment:
NetBSD ss20.cottongim.org 8.99.7 NetBSD 8.99.7 (GENERIC) #1: Fri Nov 24 21:53:52 IST 2017 fly@localhost:/home/fly/sparc/sys/arch/sparc/compile/GENERIC sparc
Note this was a "CURRENT" kernel compiled with a fix for port-sparc/5272 to enable ddb to provide some diagnostics.
>Description:
"audioplay sample.au" hangs indefinitely, but can be interrupted by control-C or the kernel debugger. Examination in the debugger shows audioplay in the "dbrifxdt" state.
"cat sample.au > /dev/sound" (or /dev/audio) locks the machine and cannot be recovered by control-C, and the kernel debugger cannot be entered.
Commands were done from the console, with no X11 running.
I have changed sample rates, formats (with audioctl, for example to match the format of the audio file above) etc without any noticeable difference.
Behavior is similar in 7.0.1 and 7.1, though I recall almost any sound command locking the machine in 7.0.1 and stability seems better in "CURRENT" as of about 11/25/17.
I recall at some point hearing some static (not reproducible), so I think the hardware has at least a chance of making some noise.
Other info of interest:
from dmesg:
dbri0: speakerbox detected
dbri0: cs4215 rev E found at offset 8
audio0 at dbri0: full duplex, playback, capture, mmap
dbri0: Virtual format configured - Format SLINEAR, precision 16, channels 2, frequency 48000
dbri0: Latency: 64 milliseconds
audioctl -a
name=CS4215
version=
config=dbri
encodings=slinear_be:16,slinear_le:16*,ulinear_le:16*,ulinear_be:16*,mulaw:8*,alaw:8*
properties=full_duplex,mmap
full_duplex=0
fullduplex=0
blocksize=256
hiwat=256
lowat=192
monitor_gain=0
mode=play
play.rate=8000
play.channels=1
play.precision=8
play.encoding=mulaw
play.gain=124
play.balance=32
play.port=0x0
play.avail_ports=0x0
play.seek=0
play.samples=0
play.eof=0
play.pause=0
play.error=0
play.waiting=0
play.open=1
play.active=0
play.buffer_size=65536
record.rate=8000
record.channels=1
record.precision=8
record.encoding=mulaw
record.gain=0
record.balance=32
record.port=0x2
record.avail_ports=0x3
record.seek=0
record.samples=0
record.eof=0
record.pause=0
record.error=0
record.waiting=0
record.open=0
record.active=0
record.buffer_size=65536
record.errors=0
>How-To-Repeat:
Basic audio commands such as audioplay or "cat" data to the audio devices produce no sound, and the latter hangs the machine.
>Fix:
Home |
Main Index |
Thread Index |
Old Index