snd_solo broken after big MFC to RELENG_6

Simon Barner barner at FreeBSD.org
Tue Jan 3 13:36:59 PST 2006


Hi,

It seems that the update broke my (old) sound card. When I try to play an
mp3 file with mplayer (yes I rebuilt it) or mpg123, I get the following
error message:

==========================================================================
Opening audio decoder: [mp3lib] MPEG layer-2, layer-3
AUDIO: 44100 Hz, 2 ch, s16le, 128.0 kbit/9.07% (ratio: 16000->176400)
Selected audio codec: [mp3] afm:mp3lib (mp3lib MPEG layer-2, layer-3)
==========================================================================
Checking audio filter chain for 44100Hz/2ch/s16le -> 44100Hz/2ch/s16le...
AF_pre: 44100Hz/2ch/s16le
[AO OSS] audio_setup: Can't open audio device /dev/dsp: Operation not supported by device
/dev/dsp: Operation not supported by device

Playing audio cds with cdcontrol works, though. Am I doing something
horribly stupid, or is this a regression?

It would be nice if you could have a look at this...

Here's some information:

pcm0: <ESS Solo-1 (unknown vendor)> port 0xb000-0xb03f,0xb400-0xb40f,0xb800-0xb80f,0xbc00-0xbc03,0xc000-0xc003 irq 10 at device 20.0 on pci0
pcm0: [GIANT-LOCKED]

pcm0 at pci0:20:0: class=0x040100 card=0x111350b2 chip=0x1969125d rev=0x01 hdr=0x00
    vendor   = 'ESS Technology'
    device   = 'ES72222 Solo-1 PCI AudioDrive family'
    class    = multimedia
    subclass = audio

cat /dev/sndstat 
FreeBSD Audio Driver (newpcm)
Installed devices:
pcm0: <ESS Solo-1 (unknown vendor)> at io 0xb000,0xb400,0xb800 irq 10 kld snd_solo (1p/1r/0v channels default)
        [pcm0:play:0]: spd 0, fmt 0x00000000/0x00000008, flags 0x00000000, 0x00000000
        interrupts 0, underruns 0, ready 0
        {userland} -> feeder_root(0x00000000) -> {hardware}
        [pcm0:record:0]: spd 5000/-7456, fmt 0x00000000/0x10000020, flags 0x00000000, 0x00000010
        interrupts 0, overruns 0, hfree 16384, sfree 131072
        {hardware} -> feeder_root(0x10000020) -> feeder_endian16(0x10000020 -> 0x10000010) -> feeder_rate(8000 -> 8000) -> {userland}

File Versions:
$FreeBSD: src/sys/dev/sound/pci/solo.c,v 1.35 2005/03/01 08:58:05 imp Exp $
$FreeBSD: src/sys/dev/sound/isa/sndbuf_dma.c,v 1.3 2005/01/06 01:43:17 imp Exp $
$FreeBSD: src/sys/dev/sound/pcm/vchan.c,v 1.17.2.2 2005/12/30 19:55:54 netchild Exp $
$FreeBSD: src/sys/dev/sound/pcm/sound.c,v 1.93.2.2 2005/12/30 19:55:54 netchild Exp $
$FreeBSD: src/sys/dev/sound/pcm/sndstat.c,v 1.20.2.2 2005/12/30 19:55:54 netchild Exp $
$FreeBSD: src/sys/dev/sound/pcm/mixer.c,v 1.43.2.3 2005/12/30 19:55:54 netchild Exp $
$FreeBSD: src/sys/dev/sound/pcm/feeder_volume.c,v 1.2.2.1 2005/12/30 19:55:54 netchild Exp $
$FreeBSD: src/sys/dev/sound/pcm/feeder_rate.c,v 1.11.2.1 2005/12/30 19:55:54 netchild Exp $
$FreeBSD: src/sys/dev/sound/pcm/feeder_fmt.c,v 1.14.2.1 2005/12/30 19:55:54 netchild Exp $
$FreeBSD: src/sys/dev/sound/pcm/feeder.c,v 1.33.2.1 2005/12/30 19:55:54 netchild Exp $
$FreeBSD: src/sys/dev/sound/pcm/fake.c,v 1.14.2.1 2005/12/30 19:55:54 netchild Exp $
$FreeBSD: src/sys/dev/sound/pcm/dsp.c,v 1.80.2.3 2005/12/31 02:03:48 ariff Exp $
$FreeBSD: src/sys/dev/sound/pcm/channel.c,v 1.99.2.1 2005/12/30 19:55:54 netchild Exp $
$FreeBSD: src/sys/dev/sound/pcm/buffer.c,v 1.25.2.1 2005/12/30 19:55:54 netchild Exp $
$FreeBSD: src/sys/dev/sound/pcm/ac97_patch.c,v 1.3.2.1 2005/12/30 19:55:54 netchild Exp $
$FreeBSD: src/sys/dev/sound/pcm/ac97.c,v 1.53.2.2 2005/12/30 20:44:37 ariff Exp $

ls -l /dev/dsp*
crw-rw-rw-  1 root  wheel    0,  28 Jan  3 21:57 /dev/dsp0.0
crw-rw-rw-  1 root  wheel    0,  32 Jan  3 21:57 /dev/dsp0.1
crw-rw-rw-  1 root  wheel    0,  29 Jan  3 21:57 /dev/dspW0.0
crw-rw-rw-  1 root  wheel    0,  33 Jan  3 21:57 /dev/dspW0.1
crw-rw-rw-  1 root  wheel    0,  31 Jan  3 21:57 /dev/dspr0.0

sysctl hw.snd.
hw.snd.targetirqrate: 32
hw.snd.report_soft_formats: 1
hw.snd.verbose: 3
hw.snd.unit: 0
hw.snd.maxautovchans: 0
hw.snd.pcm0.buffersize: 16384
hw.snd.pcm0.vchans: 0

mixer
Mixer vol      is currently set to  90:90
Mixer synth    is currently set to  75:75
Mixer pcm      is currently set to 100:100
Mixer line     is currently set to  75:75
Mixer mic      is currently set to   0:0
Mixer cd       is currently set to  75:75
Mixer line1    is currently set to  75:75
Recording source: mic

-- 
Best regards / Viele Grüße,                             barner at FreeBSD.org
 Simon Barner                                                barner at gmx.de
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-multimedia/attachments/20060103/a2190ac3/attachment.bin


More information about the freebsd-multimedia mailing list