Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 16 Jan 2006 16:23:30 +0100
From:      Claude Buisson <cbuisson@nerim.net>
To:        freebsd-multimedia@freebsd.org
Subject:   mixed results after the Dec 30 sound MFC to stable
Message-ID:  <43CBBA72.5000300@nerim.net>

next in thread | raw e-mail | index | archive | help
Hello all,

I updated a number of 6.0-stable systems from a Dec 26 cvsup to a Jan 9
cvsup, and got mixed results.

First, the good news:

1. No sound problem on a Dell Inspiron 9300 (ICH6) with snd_ich.ko

2. Small problem on a Dell Dimension 4550 + Sound Blaster Live! with
snd_emu10k1.ko:

when "catting" sound files to /dev/audio or /dev/dsp the sound was
vveerryy ssllooww.., but everything was fine with esdplay, xmcd, or
firefox + java or flashplugin6

This problem seems to be corrected by MFCing today update 1.91 of dsp.c

Now, for the bad news:

No sound at all on a (oldish) Compaq Armada 3500 with an OEMed ES1869.
No progress after the MFCing of dsp.c 1.91

Everything is fine after reverting the sound sources to the pre Dec 30
state: catting files, esdplay, firefox 1.07 native + java 1.4.2 native +
linux flashplayer 6, or linux firefox 1.5 + linux sun java 1.4.2 + linux
flashplayer 7.

Here are an kldstat output:

Id Refs Address    Size     Name
  1   26 0xc0400000 355d90   kernel
  2    1 0xc0756000 549c     vesa.ko
  3    1 0xc075c000 7070     linprocfs.ko
  4    2 0xc0764000 653c     procfs.ko
  5    2 0xc076b000 1f268    linux.ko
  6    1 0xc078b000 c6d4     if_dc.ko
  7    2 0xc0798000 1bbf8    miibus.ko
  8    1 0xc07b4000 655c     snd_ess.ko
  9    4 0xc07bb000 20688    sound.ko
10    2 0xc07dc000 4eac     snd_sbc.ko
11    1 0xc07e1000 418c     ums.ko
12    1 0xc07e6000 5940     apm.ko
13    1 0xc07ec000 442c     intpm.ko
14    2 0xc07f1000 3684     smbus.ko
15    1 0xc161a000 34000    pf.ko
16    1 0xc16a2000 33000    nfsclient.ko
17    1 0xc1705000 2000     star_saver.ko

and a partial verbose dmesg:

ESS0006: adding io range 0x250-0x257, size=0x8, align=0
pnpbios: handle 5 device ID ESS0006 (06007316)
CPQb0ac: adding io range 0x220-0x22f, size=0x10, align=0
CPQb0ac: adding io range 0x388-0x38b, size=0x4, align=0
CPQb0ac: adding io range 0x330-0x331, size=0x2, align=0
CPQb0ac: adding irq mask 0x20
CPQb0ac: adding dma mask 0x2
CPQb0ac: adding dma mask 0x20
pnpbios: handle 6 device ID CPQb0ac (acb0110e)

sbc0: <ESS ES1869 (Compaq OEM)> at port
0x220-0x22f,0x388-0x38b,0x330-0x331 irq 5 drq 1,5 on isa0
sbc0: [GIANT-LOCKED]
pcm0: <ESS 18xx DSP> on sbc0
pcm0: ESS1869 detected, newspeed
pcm0: [GIANT-LOCKED]
pcm0: sndbuf_setmap ff4000, 1000; 0xc9b95000 -> ff4000
pcm0: sndbuf_setmap ff3000, 1000; 0xc9b96000 -> ff3000

Results of cat /dev/sndstat on the BROKEN system
-------------------------------------------------

Just after boot

FreeBSD Audio Driver (newpcm)
Installed devices:
pcm0: <ESS 1869 DSP> at io 0x220 irq 5 drq 1:5 bufsz 4096 kld snd_ess
(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 0, fmt 0x00000000/0x00000008, flags
0x00000000, 0x00000000
         interrupts 0, overruns 0, hfree 4096, sfree 0
         {hardware} -> feeder_root(0x00000000) -> {userland}

After catting some file..

FreeBSD Audio Driver (newpcm)
Installed devices:
pcm0: <ESS 1869 DSP> at io 0x220 irq 5 drq 1:5 bufsz 4096 kld snd_ess
(1p/1r/0v channels default)
         [pcm0:play:0]: spd 5000/-7456, fmt 0x00000000/0x10000010, flags
0x00000000, 0x00000010
         interrupts 0, underruns 0, ready 0
         {userland} -> feeder_root(0x00000000) -> {hardware}
         [pcm0:record:0]: spd 0, fmt 0x00000000/0x00000008, flags
0x00000000, 0x00000000
         interrupts 0, overruns 0, hfree 4096, sfree 0
         {hardware} -> feeder_root(0x00000000) -> {userland}

Results of cat /dev/sndstat on the WORKING system
-------------------------------------------------

Just after boot

FreeBSD Audio Driver (newpcm)
Installed devices:
pcm0: <ESS 1869 DSP> at io 0x220 irq 5 drq 1:5 bufsz 4096 kld snd_ess
(1p/1r/0v channels duplex default)
         [pcm0:record:0]: spd 0, fmt 0x00000000/0x00000008, flags
0x00000000, 0x00000000
         interrupts 0, overruns 0, hfree 4096, sfree 0
         {hardware} -> feeder_root(0x00000000) -> {userland}
         [pcm0:play:0]: spd 0, fmt 0x00000000/0x00000008, flags
0x00000000, 0x00000000
         interrupts 0, underruns 0, ready 0
         {userland} -> feeder_root(0x00000000) -> {hardware}

After catting some file..

FreeBSD Audio Driver (newpcm)
Installed devices:
pcm0: <ESS 1869 DSP> at io 0x220 irq 5 drq 1:5 bufsz 4096 kld snd_ess
(1p/1r/0v channels duplex default)
         [pcm0:record:0]: spd 0, fmt 0x00000000/0x00000008, flags
0x00000000, 0x00000000
         interrupts 0, overruns 0, hfree 4096, sfree 0
         {hardware} -> feeder_root(0x00000000) -> {userland}
         [pcm0:play:0]: spd 8000, fmt 0x00000008, flags 0x00000000,
0x00000000
         interrupts 1, underruns 1, ready 0
         {userland} -> feeder_root(0x00000008) -> {hardware}


Hope this help

Claude Buisson

P.S. I am not subscribed to this list, so keep me in the to: or cc:



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