/dev/speaker broken in 5.x? (fwd)
smithi at nimnet.asn.au
Sun Apr 30 01:53:04 UTC 2006
On Fri, 28 Apr 2006, Ulrich Spoerlein wrote:
> Ian Smith wrote:
> > paqi# echo "T250L8CE-GE-C" > /dev/speaker # works fine the 1st time ..
> > paqi# fstat | grep speaker # but leaves speaker open ..
> > root csh 1919 4 /dev 72 crw-rw---- speaker w
> > root fstat 1918 4 /dev 72 crw-rw---- speaker w
> > root csh 1116 4 /dev 72 crw-rw---- speaker w
> > paqi# echo "T250L8CE-GE-C" > /dev/speaker # no sound every 2nd time ..
> > /dev/speaker: Device busy.
> Interessting, but at least I am unable to reproduce it. What soundcard
> do you have?
> % dmesg|egrep spea\|pcm
> pcm0: <Intel ICH4 (82801DB)> port 0xb800-0xb8ff,0xbc40-0xbc7f mem 0xf4fff800-0xf4fff9ff,0xf4fff400-0xf4fff4ff irq 9 at device 31.5 on pci0
> pcm0: <SigmaTel STAC9750/51 AC97 Codec>
> speaker0: <PC speaker> port 0x61,0x63,0x65,0x67 on acpi0
paqi# dmesg | grep "sbc\|speaker"
sbc0: <ESS ES1869 (Compaq OEM)> at port 0x330-0x331,0x388-0x38b,0x220-0x22f irq 5 drq 5,1 on isa0
pcm0: <ESS 18xx DSP> on sbc0
speaker0: <PC speaker> at port 0x61 on isa0
However I don't think the soundcard is relevant to /dev/speaker, which
here is on ISA (using APM) while I see yours is on ACPI, which might be
a clue. OS version so far seems to matter more - are you running 6.x?
paqi# uname -a
FreeBSD paqi.nimnet.asn.au 5.4-RELEASE FreeBSD 5.4-RELEASE #0: Tue Feb 21 19:18:27 EST 2006
root at paqi.nimnet.asn.au:/usr/src/sys/i386/compile/PAQI54_1 i386
Thanks for the datapoint Ulrich,
More information about the freebsd-multimedia