Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 27 Jun 2001 18:14:23 +0200 (CEST)
From:      Alexander Leidinger <Alexander@Leidinger.net>
To:        cg@freebsd.org
Cc:        current@freebsd.org
Subject:   -current & /dev/dsp: device busy
Message-ID:  <200106271614.f5RGEOZ27480@Magelan.Leidinger.net>

next in thread | raw e-mail | index | archive | help
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).

Bye,
Alexander.

-- 
   If Bill Gates had a dime for every time a Windows box crashed...
                ...Oh, wait a minute, he already does.

http://www.Leidinger.net                       Alexander @ Leidinger.net
  GPG fingerprint = C518 BC70 E67F 143F BE91  3365 79E2 9C60 B006 3FE7


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?200106271614.f5RGEOZ27480>