Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 27 Jun 2001 22:20:56 +0300
From:      Maxim Sobolev <sobomax@FreeBSD.org>
To:        Alexander Leidinger <Alexander@Leidinger.net>
Cc:        cg@FreeBSD.org, current@FreeBSD.org
Subject:   Re: -current & /dev/dsp: device busy
Message-ID:  <3B3A3218.7AF7F9B1@FreeBSD.org>
References:  <200106271614.f5RGEOZ27480@Magelan.Leidinger.net>

next in thread | previous in thread | raw e-mail | index | archive | help
Alexander Leidinger wrote:

> Hi,
>
> I can't access the audio hardware anymore.
>
> after a fresh boot:
> ---snip---
> % cat /dev/sndstat
> FreeBSD Audio Driver (newpcm) Jun 27 2001 16:27:06
> Installed devices:
> pcm0: <SB16 DSP 4.13> at io 0x220 irq 5 drq 1:5 (1p/1r/0v channels duplex default)
>
> % sysctl -a |grep snd
> hw.snd.verbose: 0
> hw.snd.unit: 0
> hw.snd.autovchans: 0
> hw.snd.pcm0.vchans: 0
>
> % madplay something.mp3
> MPEG Audio Decoder 0.13.0 (beta) - Copyright (C) 2000-2001 Robert Leslie
> audio: /dev/dsp: Device busy
>
> # sysctl -w hw.snd.autovchans=2
> hw.snd.autovchans: 0 -> 2
>
> % madplay something.mp3
> MPEG Audio Decoder 0.13.0 (beta) - Copyright (C) 2000-2001 Robert Leslie
> audio: /dev/dsp: Device busy
>
> # sysctl -w hw.snd.pcm0.vchans=2
> hw.snd.pcm0.vchans: 0
> sysctl: hw.snd.pcm0.vchans: Device busy
>
> % dmesg
> [...]
> Preloaded elf module "snd_pcm.ko" at 0xc04301dc.
> Preloaded elf module "snd_sbc.ko" at 0xc043027c.
> Preloaded elf module "snd_sb16.ko" at 0xc043031c.
> [Yes, they're up to date with the kernel]
> [...]
> sbc0: <Creative ViBRA16C> at port 0x220-0x22f,0x330-0x331,0x388-0x38b irq 5 drq 1,5 on isa0
> pcm0: <SB16 DSP 4.13> on sbc0
> [...]
>
> # cat /dev/urandom >/dev/dsp
> zsh: device busy: /dev/dsp
> ---snip---
>
> -current as of today in the morning (~ 10am CEST).

Same is here (SB16).

-Maxim


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-current" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?3B3A3218.7AF7F9B1>