From owner-freebsd-current Wed Jun 27 12:21:22 2001 Delivered-To: freebsd-current@freebsd.org Received: from kalaid.f2f.com.ua (kalaid.f2f.com.ua [62.149.0.33]) by hub.freebsd.org (Postfix) with ESMTP id 6C92237B409; Wed, 27 Jun 2001 12:21:16 -0700 (PDT) (envelope-from sobomax@FreeBSD.org) Received: from mail.uic-in.net (root@[212.35.189.4]) by kalaid.f2f.com.ua (8.11.3/8.11.1) with ESMTP id f5RJMuj88014; Wed, 27 Jun 2001 22:22:57 +0300 (EEST) (envelope-from sobomax@FreeBSD.org) Received: from vega.vega.com (das0-l88.uic-in.net [212.35.189.215]) by mail.uic-in.net (8.11.3/8.11.3) with ESMTP id f5RJL5d09099; Wed, 27 Jun 2001 22:21:05 +0300 (EEST) (envelope-from sobomax@FreeBSD.org) Received: from FreeBSD.org (big_brother.vega.com [192.168.1.1]) by vega.vega.com (8.11.4/8.11.3) with ESMTP id f5RJKw114419; Wed, 27 Jun 2001 22:20:58 +0300 (EEST) (envelope-from sobomax@FreeBSD.org) Message-ID: <3B3A3218.7AF7F9B1@FreeBSD.org> Date: Wed, 27 Jun 2001 22:20:56 +0300 From: Maxim Sobolev Organization: Vega International Capital X-Mailer: Mozilla 4.77 [en] (Windows NT 5.0; U) X-Accept-Language: en,uk,ru MIME-Version: 1.0 To: Alexander Leidinger Cc: cg@FreeBSD.org, current@FreeBSD.org Subject: Re: -current & /dev/dsp: device busy References: <200106271614.f5RGEOZ27480@Magelan.Leidinger.net> Content-Type: text/plain; charset=x-user-defined Content-Transfer-Encoding: 7bit Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG 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: 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: at port 0x220-0x22f,0x330-0x331,0x388-0x38b irq 5 drq 1,5 on isa0 > pcm0: 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