Re: -current & /dev/dsp: device busy

2001-06-27 Thread Cameron Grant

> Same here, but with an SB64 PCI (chipset ES1370).  So it's not limited
> to SB16 cards.

fixed in sys/dev/sound/pcm/sound.c rev 1.56, just committed.

-cg
 


To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-current" in the body of the message



Re: -current & /dev/dsp: device busy

2001-06-27 Thread Maxime Henrion

Maxim Sobolev wrote:
> 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

Same here, but with an SB64 PCI (chipset ES1370).  So it's not limited
to SB16 cards.

Maxime
-- 
Don't be fooled by cheap finnish imitations ; BSD is the One True Code
Key fingerprint = F9B6 1D5A 4963 331C 88FC  CA6A AB50 1EF2 8CBE 99D6
Public Key : http://www.epita.fr/~henrio_m/

To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-current" in the body of the message



Re: -current & /dev/dsp: device busy

2001-06-27 Thread Maxim Sobolev

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 [EMAIL PROTECTED]
with "unsubscribe freebsd-current" in the body of the message



-current & /dev/dsp: device busy

2001-06-27 Thread Alexander Leidinger

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

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 [EMAIL PROTECTED]
with "unsubscribe freebsd-current" in the body of the message