Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 3 Jan 2006 22:36:54 +0100
From:      Simon Barner <barner@FreeBSD.org>
To:        freebsd-multimedia@FreeBSD.org
Cc:        netchild@FreeBSD.org, ariff@FreeBSD.org
Subject:   snd_solo broken after big MFC to RELENG_6
Message-ID:  <20060103213654.GA1039@zi025.glh.mhn.de>

next in thread | raw e-mail | index | archive | help

--gBBFr7Ir9EOA20Yy
Content-Type: text/plain; charset=iso-8859-1
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

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:

=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
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)
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
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 suppo=
rted 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@pci0:20:0: class=3D0x040100 card=3D0x111350b2 chip=3D0x1969125d rev=3D=
0x01 hdr=3D0x00
    vendor   =3D 'ESS Technology'
    device   =3D 'ES72222 Solo-1 PCI AudioDrive family'
    class    =3D multimedia
    subclass =3D audio

cat /dev/sndstat=20
FreeBSD Audio Driver (newpcm)
Installed devices:
pcm0: <ESS Solo-1 (unknown vendor)> at io 0xb000,0xb400,0xb800 irq 10 kld s=
nd_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 0=
x00000000, 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 netc=
hild Exp $
$FreeBSD: src/sys/dev/sound/pcm/sound.c,v 1.93.2.2 2005/12/30 19:55:54 netc=
hild Exp $
$FreeBSD: src/sys/dev/sound/pcm/sndstat.c,v 1.20.2.2 2005/12/30 19:55:54 ne=
tchild Exp $
$FreeBSD: src/sys/dev/sound/pcm/mixer.c,v 1.43.2.3 2005/12/30 19:55:54 netc=
hild 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:5=
4 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 net=
child Exp $
$FreeBSD: src/sys/dev/sound/pcm/fake.c,v 1.14.2.1 2005/12/30 19:55:54 netch=
ild 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 ne=
tchild Exp $
$FreeBSD: src/sys/dev/sound/pcm/buffer.c,v 1.25.2.1 2005/12/30 19:55:54 net=
child 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

--=20
Best regards / Viele Gr=FC=DFe,                             barner@FreeBSD.=
org
 Simon Barner                                                barner@gmx.de

--gBBFr7Ir9EOA20Yy
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2 (FreeBSD)

iD8DBQFDuu52Ckn+/eutqCoRAsIyAJ9B44q9HndMgMz/wUKPFZqTz1TYdQCgo8uU
G7Xyd8lobBcF3ZkkA4+Auf8=
=j7fC
-----END PGP SIGNATURE-----

--gBBFr7Ir9EOA20Yy--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20060103213654.GA1039>